/* ==== RESET GENERAL ==== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  overflow-x: hidden !important;
  scroll-behavior: smooth;
  font-family: 'Open Sans', sans-serif;
}

/* ==== NAVBAR GLASS ==== */
.glass {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

/* ==== SECCIONES ==== */
section {
  scroll-snap-align: start;
  scroll-snap-stop: always;
  min-height: 100vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-x: hidden;
}

/* ==== SCROLL CONTAINER 3D ==== */
.perspective-3d {
  perspective: 1000px;
}

.transform-style-preserve-3d {
  transform-style: preserve-3d;
}

/* ==== SWIPER SLIDES ==== */
.swiper-slide {
  width: 280px;
}

.swiper-slide img {
  transition: transform 0.3s ease;
}

.swiper-slide:hover img {
  transform: scale(1.05);
}

/* ==== FOOTER ÉPICO ==== */
footer {
  background: linear-gradient(to right, #0f766e, #db2777);
  color: white;
  padding: 3rem 1.5rem;
  position: relative;
  z-index: 10;
  overflow-x: hidden;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo img {
  width: 50px;
  margin-bottom: 0.5rem;
}

.footer-grid h3 {
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-grid a {
  color: white;
  text-decoration: none;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

.footer-grid a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-copy {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.875rem;
  opacity: 0.75;
}

/* ==== RESPONSIVE ==== */
@media (max-width: 768px) {
  .footer-grid {
    text-align: center;
    grid-template-columns: 1fr;
  }

  .footer-logo {
    align-items: center;
  }

  .glass {
    flex-direction: column;
    gap: 1rem;
  }

  #navbar {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ==== CLASES UTILITARIAS ==== */
.shadow-glass {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #be185d;
  margin-bottom: 1rem;
  text-align: center;
}

/* ==== EFECTOS EXTRA ==== */
.active-link {
  color: #db2777;
  font-weight: bold;
  border-bottom: 2px solid #db2777;
}

/* ==== AJUSTES PARA MÓVILES ==== */
@media (max-width: 640px) {
  nav .nav-link {
    font-size: 0.875rem;
  }

  section h1, section h2 {
    font-size: 1.5rem !important;
    text-align: center;
  }

  .swiper-slide img {
    height: 12rem;
  }
}
