/* ===========================
   MODULAR STYLES - MAIN CSS FILE
   =========================== */

/* Import all component stylesheets */
@import url('variables.css');
@import url('base.css');
/* @import url('header.css'); */ /* Comentado para evitar conflictos */
@import url('buttons.css');
@import url('components.css');
@import url('animations.css');
@import url('gallery.css');
@import url('modals.css');

/* ===========================
   HERO SECTION - AHORA MANEJADO POR hero-carousel.css
   =========================== */
/* 
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(0,0,0,0.4), rgba(0,0,0,0.6)), url('../images/portada.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-overlay);
  opacity: 0.3;
  z-index: 1;
}

.img-portada {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transform: scale(1.1);
  animation: heroZoom 20s ease-in-out infinite alternate;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: var(--spacing-md);
  animation: fadeInUp 1.5s ease-out;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-content h1 {
  font-size: clamp(3rem, 7vw, 5rem);
  color: var(--hero-title-color) !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: var(--hero-title-color) !important;
  background-clip: unset !important;
  margin-bottom: 1.5rem;
  font-family: var(--font-title);
  letter-spacing: 2px;
  line-height: 1.1;
  font-weight: 700;
  text-align: center;
  position: relative;
  z-index: 3;
}

.hero-content p {
  font-family: var(--font-elegant);
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  color: var(--hero-subtitle-color);
  margin-bottom: var(--spacing-md);
  font-style: italic;
  letter-spacing: 1px;
  line-height: 1.4;
  max-width: 600px;
  font-weight: 600;
}
*/

/* ===========================
   FOOTER
   =========================== */
.footer {
  background: linear-gradient(135deg, var(--color-footer) 0%, var(--color-card) 100%);
  padding: var(--spacing-xl) var(--spacing-md) var(--spacing-md);
  text-align: center;
  color: var(--color-text);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

.footer p {
  font-size: 1.1rem;
  margin-bottom: var(--spacing-md);
  font-family: var(--font-elegant);
  color: var(--color-text-light);
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
}

.social-icons a {
  color: var(--color-primary);
  font-size: 2.5rem;
  padding: var(--spacing-sm);
  border-radius: 50%;
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
  transition: all var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  position: relative;
  overflow: hidden;
}

.social-icons a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  transform: scale(0);
  transition: transform var(--transition-normal);
  border-radius: 50%;
  z-index: -1;
}

.social-icons a:hover::before {
  transform: scale(1);
}

.social-icons a:hover {
  color: var(--color-white);
  transform: translateY(-8px) scale(1.1);
  box-shadow: var(--shadow-strong);
}

/* Social Media Specific Hover Effects */
.social-icons a[href*="facebook"]:hover {
  box-shadow: 0 10px 30px rgba(59, 89, 152, 0.4);
}

.social-icons a[href*="youtube"]:hover {
  box-shadow: 0 10px 30px rgba(255, 0, 0, 0.4);
}

.social-icons a[href*="instagram"]:hover {
  box-shadow: 0 10px 30px rgba(193, 53, 132, 0.4);
}

/* ===========================
   MAP RESPONSIVE
   =========================== */
.map-responsive {
  overflow: hidden;
  padding-bottom: 56.25%;
  position: relative;
  height: 0;
  border-radius: var(--border-radius-md);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  width: 100%;
  max-width: 900px;
  margin: auto;
}

.map-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ===========================
   PLACEHOLDER SECTIONS
   =========================== */
.placeholder-section {
  background: rgba(196, 167, 109, 0.05);
  border: 2px dashed rgba(196, 167, 109, 0.3);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-xl);
  text-align: center;
  margin: var(--spacing-md) 0;
}

.placeholder-section p {
  color: var(--color-text-light);
  font-style: italic;
  font-size: 1.2rem;
  margin: 0;
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */
@media (max-width: 1024px) {
  .container {
    width: 95%;
  }
  
  .section {
    padding: var(--spacing-xl) 1.5rem var(--spacing-lg);
  }
  
  .hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
  }
}

@media (max-width: 768px) {
  .hero {
    height: 100vh;
    background-attachment: scroll;
    padding: 0 var(--spacing-sm);
  }
  
  .hero-content {
    padding: var(--spacing-md) var(--spacing-sm);
    width: 100%;
    max-width: 100%;
  }
  
  .hero-content h1 {
    font-size: clamp(2.2rem, 8vw, 3.5rem);
    letter-spacing: 1px;
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
  }
  
  .hero-content p {
    font-size: clamp(1rem, 4vw, 1.3rem);
    margin-bottom: 1.5rem;
    max-width: 90%;
    line-height: 1.5;
  }
  
  .footer {
    padding: var(--spacing-lg) var(--spacing-sm) 1.5rem;
  }
  
  .social-icons {
    gap: var(--spacing-sm);
  }
  
  .social-icons a {
    width: 50px;
    height: 50px;
    font-size: 1.8rem;
  }
}

@media (max-width: 600px) {
  .section {
    padding: var(--spacing-lg) var(--spacing-sm) var(--spacing-md);
  }
  
  .hero {
    min-height: 100vh;
    padding: 0 0.5rem;
  }
  
  .hero-content {
    padding: 1.5rem 0.5rem;
    margin-top: 0;
  }
  
  .hero-content h1 {
    font-size: clamp(2rem, 9vw, 3rem);
    margin-bottom: var(--spacing-sm);
  }
  
  .hero-content p {
    font-size: clamp(0.9rem, 4vw, 1.2rem);
    margin-bottom: 1.5rem;
    max-width: 95%;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 0 0.25rem;
  }
  
  .hero-content {
    padding: var(--spacing-sm) 0.25rem;
  }
  
  .hero-content h1 {
    font-size: clamp(1.8rem, 10vw, 2.5rem);
    letter-spacing: 0.5px;
  }
  
  .hero-content p {
    font-size: clamp(0.85rem, 4vw, 1.1rem);
    margin-bottom: var(--spacing-sm);
  }
  
  .section {
    padding: 2.5rem 0.5rem var(--spacing-md);
  }
}
