body {
  font-family: "Montserrat", sans-serif;
  margin: 0;
  padding: 0;
  color: #785944;
  background-color: #fffaf0;
}

/* Cuenta Regresiva y Título */
.countdown-section {
  background-color: #fffaf0;
  text-align: center;
  padding: -10px -50px -50px;
}

.countdown-logo {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 250px;
}

.countdown-header {
  position: relative;
  height: 80px;
}

.countdown-section h1 {
  font-family: "Playfair Display", serif;
  font-size: 100px;
  color: #4b3523;
  margin-bottom: 40px;
  line-height: 1.2;
}

/* Título con Fondo */
.hero-section {
  position: relative; /* Es importante para posicionar el overlay */
  width: 100%; /* Ocupa el ancho completo */
  height: 350px; /* Ajusta la altura según necesites */
  background-image: url("../images/FOTOS MOLE/MOLE95.jpg"); /* ¡Reemplaza con la ruta correcta de tu imagen! */
  background-size: cover; /* Cubre todo el área sin distorsionarse */
  background-position: center; /* Centra la imagen */
  background-repeat: no-repeat; /* Evita que la imagen se repita */
  display: flex; /* Para centrar el h1 */
  justify-content: center; /* Centra horizontalmente */
  align-items: center; /* Centra verticalmente */
  overflow: hidden; /* Asegura que la imagen y el overlay se ajusten al border-radius */
  margin-bottom: 40px; /* Espacio debajo de la imagen */
  margin-top: 100px;
}

/* Capa semitransparente (overlay) */
.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(
    0,
    0,
    0,
    0.4
  ); /* Color negro con 40% de transparencia */
  z-index: 1; /* Asegura que el overlay esté sobre la imagen pero debajo del texto */
}

/* --- CSS de tu título h1 modificado --- */
.hero-section h1 {
  /* Asegúrate de que este selector apunte al h1 dentro de hero-section */
  font-family: "Playfair Display", serif;
  font-size: 100px;
  color: #ffffff; /* Texto blanco para que resalte sobre el fondo oscuro */
  margin: 0; /* Elimina márgenes por defecto para que se centre bien */
  line-height: 1.2;
  text-align: center;
  position: relative; /* Importante para que el h1 esté sobre el overlay */
  z-index: 2; /* Asegura que el texto esté sobre el overlay */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* Sombra suave para que el texto se lea mejor */
}

.countdown-container {
  display: flex;
  justify-content: center;
  align-items: center;
  border: 2px solid #a6a38e;
  border-radius: 50px;
  padding: 20px 40px;
  max-width: 800px;
  margin: 0 auto;
}

.countdown-item {
  display: flex;
  align-items: center;
  margin: 0 15px;
  gap: 25px;
}

.countdown-number {
  font-family: "Playfair Display", serif;
  font-size: 50px;
  font-weight: bold;
  margin-bottom: 5px;
}

#dias {
  color: #cd7c49;
}
#horas {
  color: #94bbce;
}
#minutos {
  color: #3f5f3f;
}
#segundos {
  color: #f7acb5;
}

.countdown-text {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: bold;
  color: #4b3523;
  letter-spacing: 1px;
}

/* Estilos para el contenedor del póster */
.poster-fijo-top {
    text-align: center;
    padding: 15px 0;
}

/* Estilos para la imagen del póster */
.poster-fijo-top img {
    max-width: 57%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Poster Info */
.poster-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
/* Sección de información y botón "Mi Historia" */
.info-section {
  padding: 50px 100px;
  text-align: center;
  color: #4b3523;
}

.info-section p {
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  line-height: 1.6;
  max-width: 900px;
  margin: 0 auto 30px;
}

.btn-historia {
  background-color: #8c7155;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  padding: 12px 30px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-historia:hover {
  background-color: #f1c40f;
}

/* Video Intro */
.espera-seccion {
  padding: 50px 20px;
  text-align: center;
}

.espera-seccion h2 {
  font-family: "Playfair Display", serif;
  font-size: 40px;
  color: #4b3523;
  margin-bottom: 20px;
}

.espera-seccion p {
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: #4b3523;
  max-width: 900px;
  margin: 0 auto 30px;
}

.video-wrapper {
  width: 100%;
  max-width: 800px;
  margin: 0 auto 30px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.video-wrapper video {
  width: 100%;
  height: auto;
  display: block;
}

.programa-btn {
  display: inline-block;
  background-color: #8c7155;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: bold;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.programa-btn:hover {
  background-color: #f1c40f;
}

/* Carrusel Poster */
.carrusel-artistas-seccion {
  padding: 50px 20px;
  text-align: center;
}

.show-carousel-btn {
  display: inline-block;
  background-color: #8c7155;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: bold;
  padding: 15px 30px;
  text-decoration: none;
  border: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  cursor: pointer;
}

.carrusel-container {
  display: flex;
  overflow-x: hidden; /* Oculta la barra de desplazamiento */
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto 30px;
  gap: 30px;
}

.carrusel-item {
  flex-shrink: 0;
  width: 300px; /* Ajusta el ancho para que las imágenes se vean más grandes */
  height: 450px; /* Dale una altura fija para que todas las imágenes tengan el mismo tamaño */
  scroll-snap-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  overflow: hidden;
}

.carrusel-item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.carrusel-container.active {
  display: block; /* Muestra el carrusel cuando la clase está activa */
}

.programa-btn {
  display: inline-block;
  background-color: #8c7155;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: bold;
  padding: 15px 30px;
  text-decoration: none;
  border: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  margin-top: 70px;
}

.programa-btn:hover {
  background-color: #a6a38e;
}

/* Galeria del Mole */
.galeriaMole {
  text-align: center;
  padding: 50px 20px;
}

.galeriaMole h2 {
  font-family: "Playfair Display", serif;
  font-size: 40px;
  color: #4b3523;
  margin-bottom: 50px;
}

/* Contenedor de las imágenes */
.gallery-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Permite que las imágenes se ajusten en pantallas pequeñas */
}

.gallery-item {
  width: 300px;
  height: 300px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Botón "VER MÁS" */
.btn-ver-mas {
  background-color: #8c7155;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  padding: 12px 30px;
  margin-top: 50px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-ver-mas:hover {
  background-color: #a6a38e;
}

/* Ubicación */
/* Sección de Ubicación */
.ubicacion {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* Centra los elementos */
  background-color: #f7f2eb; /* Color de fondo claro para la sección completa */
  padding: 20px;
  gap: 20px;
}

/* Galería de imágenes con carrusel */
.gallery-location {
  flex: 1;
  min-width: 300px; /* Ancho mínimo para que no se vea muy pequeño */
  max-width: 500px; /* Ancho máximo para el diseño */
  position: relative;
  overflow: hidden;
  background-color: #2c2c2c; /* Fondo oscuro detrás de la imagen */
  border-radius: 20px; /* Bordes redondeados */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); /* Sombra para profundidad */
}

.slider-container {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
  height: 400px; /* Altura fija para el carrusel */
}

.slide {
  min-width: 100%;
  height: 100%;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block; /* Elimina espacio extra debajo de la imagen */
}

/* Barra de progreso */
.slider-nav {
  position: absolute;
  top: 20px; /* Mueve la barra de progreso a la parte superior */
  left: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 5px;
  z-index: 10;
}

.progress-bar {
  flex-grow: 1; /* La barra ocupará el espacio disponible */
  height: 5px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 5px;
  overflow: hidden;
  margin-right: 15px; /* Espacio entre la barra y el primer botón */
}

.progress-fill {
  height: 100%;
  background-color: #fff;
  width: 0%;
  transition: width 0.5s ease-in-out;
}

/* Botones de navegación (anterior y siguiente) */
.nav-button {
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

#prevBtn {
  left: 15px;
  top: 350px;
}

#nextBtn {
  right: 15px;
  top: 350px;
}

.location-title {
  position: absolute;
  top: 50px;
  left: 15px;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  z-index: 10;
  padding: 5px 10px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 5px;
}

/* Mapa de ubicación */
.map-location {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  background-color: #2c2c2c;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.map-location iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border-radius: 20px; /* Asegura que el iframe también tenga bordes redondeados */
}

/* Weather section */
.weather {
  flex: 1;
  min-width: 250px;
  max-width: 300px;
  padding: 20px;
  background-color: #1a1a1a;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.weather h3 {
  margin-top: 0;
  margin-bottom: 20px;
}

.weather-info-row {
  display: flex;
  justify-content: space-around;
  width: 100%;
  margin-bottom: 20px;
}

.weather-day {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.weather-day img {
  width: 40px;
  height: 40px;
  margin: 5px 0;
}

.weather a {
  color: #87b2c5;
  text-decoration: none;
  font-size: 0.9em;
}

/* Menu Hamburguesa */
.sidebar-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 300px;
  height: 100%;
  background-color: #fffaf0;
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
}

.sidebar-menu.active {
  transform: translateX(0);
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 40px;
  color: #785944;
  cursor: pointer;
  font-weight: 300;
}

.sidebar-logo img {
  width: 100px;
  height: auto;
  margin-bottom: 30px;
}

.menu-items {
  display: flex;
  flex-direction: column;
  width: 100%;
  text-align: center;
}

.menu-items a {
  text-decoration: none;
  color: #785944;
  font-family: "Playfair Display", serif;
  font-size: 24px;
  padding: 20px 10px;
  margin: 10px 0;
  transition: all 0.3s ease;
  border-radius: 5px;
}

/* Hover effect */
.menu-items a:hover {
  background-color: #a6a38e;
}

/* Active state for the clicked link */
.menu-items a.clicked {
  background-color: #f7f2eb;
  color: #4b3523;
}

/* Responsive */
@media (max-width: 768px) {
  @media (max-width: 480px) {
    .hero-section {
      height: 200px;
    }

    .hero-section h1 {
      font-size: 35px;
    }
  }
  .countdown-container {
    flex-direction: row;
    flex-wrap: wrap; /* Permite que los elementos se envuelvan */
    justify-content: center;
    align-items: center;
    width: 90%;
    gap: 10px;
    padding: 10px;
  }
  
      .poster-fijo-top img {
        max-width: 95%; /* La imagen ocupará casi todo el ancho en móviles */
    }

  .countdown-item {
    padding: 0 5px;
    flex-direction: row;
    align-items: baseline;
  }

  .countdown-section h1 {
    font-size: 2.5rem; /* Título más chico en móviles pequeños */
    margin-top: 0.5rem;
  }

  .countdown-number {
    font-size: 1.8rem;
  }

  .countdown-text {
        font-size: 0.7rem;
    }
}
.navbar nav {
  display: none; /* Oculta el menú por defecto */
  flex-direction: column;
  width: 100%;
  position: absolute;
  top: 80px; /* Ajusta según la altura de tu navbar */
  left: 0;
  background-color: #f7f2eb;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  text-align: center;
  z-index: 999;
}

.navbar nav ul {
  flex-direction: column;
}

.navbar nav li {
  margin: 0;
  padding: 15px 0;
  border-bottom: 1px solid #e0e0e0;
}

/* Estilo del menú cuando está activo */
.navbar nav.active {
  display: flex;
}

.menu-icon {
  display: block; /* Muestra el ícono del menú en pantallas pequeñas */
  cursor: pointer;
}