/* General */

body main .history{
    padding-bottom: 0px !important;
}
body main .history .container h2{
  font-family: Alex Brush;
  font-weight: 400;
  font-size: 2rem;
  margin-top: 1rem;
}
.hero {
  position: relative;
  margin-top: 5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero > h2{
  font-family: Alex Brush;
  font-weight: 400;
  font-size: 2rem;
  margin-top: 1rem;
}
.hero > img{
  margin-left: 9px;
  width: 250px;
}


.container {
  max-width: 42rem;
  line-height: 1.625;
  font-size: 1rem;
  text-align: center;
  padding: 0 3rem;
}

.container p {
    max-width: 42rem;
    line-height: 1.625;
    font-size: .9rem;
    text-align: center;
}

.container h1 {
    font-size: 2.25rem;
    line-height: 2.5rem;
    font-weight: 300;
}

/* Grid Images - modificada para Swiper */
.gridImages {
    background-color: #fff;
    /* Fondo blanco para contraste */

}

.gridImages h2 {
    margin-bottom: 3rem;
    color: black;
    /* Título en negro */
    text-align: center;
    font-size: 2rem;
}

/* Antigua configuración del grid (comentada)
.gridImages .gridImages__item {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
}
*/

/* Estilos para el slider Swiper */
.gridImages .swiper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    background-color: white;
}


/* Contenedor de cada imagen */
.gridImages .grid-carts {
    border-radius: 0.5rem;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

/* Hover sobre el contenedor */
.gridImages .grid-carts:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}



/* Estilos para la imagen */
.gridImages .grid-carts img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease;
    display: block;
}

/* Zoom al hacer hover */
.gridImages .grid-carts:hover img {
    transform: scale(1.1);
}

/* Personalización de controles Swiper (opcional) */
.swiper-button-prev,
.swiper-button-next {
    color: #09588B;
    /* Color acorde al diseño */
}

.swiper-pagination-bullet {
    background: white;
    opacity: .5;
}

.swiper-pagination-bullet-active {
    opacity: var(--swiper-pagination-bullet-opacity, 1);
}

/* Event Detail */
.event-detail {
    background-color: #fff;
    color: black;
}

.evento-detalles {
  font-family: 'Arimo', sans-serif;
  text-align: center;
  padding: 0 0 2rem 0;
  background-color: #fff;
  border-radius: 8px;
  max-width: 350px;
  margin: 0 auto;
}

.evento-detalles h1 {
  font-family: 'Alex Brush', cursive;
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: normal;
}

.fecha-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  gap: .5rem;
}

.fecha-item {
  flex: 0 0 25%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: relative;
}

.fecha-item span {
  color: #555;
  font-size: 0.9rem;
  padding: 10px 0;
}
.fecha-item.date_main span{
    padding: unset;
}
.fecha-item.date_main span:nth-child(1){
    margin-top: 10px;
    padding: unset;
    width: 100%;
    font-size: 38px;
    height: 44px;
    color: #09588B;
}

.fecha-dia {
  font-family: 'Alex Brush', cursive;
  font-size: 2rem;
  color: #09588B;
}

.fecha-item:first-child::before,
.fecha-item:first-child::after,
.fecha-item:last-child::before,
.fecha-item:last-child::after {
  content: '';
  position: absolute;
  left: 10%;
  right: 10%;
  height: 1px;
  background-color:#09588B;
}

.fecha-item:first-child::before,
.fecha-item:last-child::before {
  top: 0;
}

.fecha-item:first-child::after,
.fecha-item:last-child::after {
  bottom: 0;
}

.event-detail .event-container {
    padding-bottom: 2.5rem;
    color: #fff;
    display: flex;
    flex-direction: row;
    padding-left: 1rem;
    padding-right: 1rem;
    justify-content: center;
    gap: .5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.event-detail .event-container .cart {
    color: black;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
    border-radius: 0.5rem;
    width: 33%;
}

.event-detail .event-container .cart img {
    width: 32px;
}
.event-detail .event-container .cart h4 {
}
.event-detail .event-container .cart span {
  font-size: .9rem;
    width: 70%;
    text-align: center;
}
.event-detail .event-container .cart a, .event-detail .event-container .cart button {
  background-color: #09588B;
  color: #fff;
  padding: 0.8rem 2rem;
  font-size: .8rem;
  border: none;
  display: block;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 53%;
  text-align: center;
  margin-top: 1rem;
  box-sizing: border-box;
  border-radius: 20px;
  text-decoration: none;
}



/* ===== Estilos para el pop-up de Registro de Participantes ===== */
.asistencia-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: none; /* Se mostrará al añadir la clase .show */
    justify-content: center;
    align-items: center;
    z-index: 9999;
  }
  
  /* Mostrar el overlay cuando tenga la clase .show */
  .asistencia-overlay.show {
    display: flex;
  }
  
  /* Contenedor modal */
  .asistencia-modal {
    background-color: #fff;
    color: #09588B;
    padding: 2rem;
    border-radius: 0.5rem;
    width: 90%;
    max-width: 400px;
    position: relative;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  }
  
  /* Botón para cerrar el modal */
  .close-modal {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: #333;
    position: absolute;
    top: 1rem;
    right: 1rem;
    cursor: pointer;
  }
  
  /* Título del modal */
  .asistencia-modal h2 {
    text-align: center;
    margin-bottom: 1rem;
  }
  
  /* Estilos para los grupos del formulario */
  .asistencia-modal .form-group {
    margin-bottom: 1.5rem;
    text-align: left;
  }
  
  .asistencia-modal .form-group label {
    display: block;
    font-size: 1rem;
    color: #09588B;
    margin-bottom: 0.5rem;
  }
  
  .asistencia-modal .form-group input {
    width: 100%;
    padding: 0.8rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 0.5rem;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
  }
  
  .asistencia-modal .form-group input:focus {
    border-color: #09588B;
    outline: none;
  }
  
  /* Botón de envío */
  .asistencia-modal .submit-button {
    display: block;
    background-color: #09588B;
    color: #fff;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
  }
  
  .asistencia-modal .submit-button:hover {
    background-color: #09588B;
  }
  
  /* Mensaje de respuesta */
  #asistenciaResponse {
    margin-top: 1rem;
    font-size: 1rem;
    text-align: center;
    color: #09588B;
  }
  

/* Sección de cuenta atrás */
.countdown-container {
  /* Para centrar todo vertical y horizontalmente */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.countdown-title {
  font-family: 'Alex Brush', cursive;
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: .5rem;
  text-align: center;
}

.countdown-timer {
  /* Para que los círculos aparezcan en línea */
  display: flex;
  justify-content: center;
  gap: 1.5rem; /* Espacio horizontal entre cada círculo */
  flex-wrap: wrap; /* Permite que se acomoden en varias líneas si la pantalla es pequeña */
}

.time-box {
  /* Cada bloque (Días, Horas, Minutos, Segundos) */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.time-value {
  /* El círculo que contiene el número */
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;           /* Ajusta el ancho */
  height: 50px;          /* Ajusta la altura (mismo valor que width para ser círculo) */
  font-size: 1.5rem;     /* Tamaño de fuente del número */
  font-weight: bold;
  background-color: #09588B; /* Color de fondo del círculo */
  color: #fff;               /* Color de texto dentro del círculo */
  border-radius: 50%;        /* Hace que sea un círculo perfecto */
  margin-bottom: 0.5rem;     /* Espacio debajo del círculo, antes de la etiqueta */
}

.time-label {
  /* El texto de “Días”, “Horas”, etc. */
  font-size: 1rem;      /* Ajusta a tu gusto */
  font-weight: normal;
  color: #000000;       /* Color del texto */
  text-align: center;
}

  /* detalles */
  /* ===== Estilos para el pop-up de Registro de Alergias ===== */

/* Overlay que cubre toda la pantalla */
.alergias-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: none;
  /* Se muestra cuando se añade la clase .show */
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Mostrar el overlay cuando tenga la clase .show */
.alergias-overlay.show {
  display: flex;
}

/* Contenedor modal */
.alergias-modal {
  background-color: #fff;
  color: #09588B;
  padding: 2rem;
  border-radius: 0.5rem;
  width: 90%;
  max-width: 400px;
  position: relative;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Botón para cerrar el modal */
.close-modal {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: #333;
  position: absolute;
  top: 1rem;
  right: 1rem;
  cursor: pointer;
}

/* Títulos del modal */
.alergias-modal h2 {
  text-align: center;
  margin-bottom: 1rem;
}

/* Estilos para los grupos del formulario */
.alergias-modal .form-group {
  margin-bottom: 1.5rem;
  text-align: left;
}

.alergias-modal .form-group label {
  display: block;
  font-size: 1rem;
  color: #09588B;
  margin-bottom: 0.5rem;
}

.alergias-modal .form-group input,
.alergias-modal .form-group textarea {
  width: 100%;
  padding: 0.8rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 0.5rem;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}

.alergias-modal .form-group input:focus,
.alergias-modal .form-group textarea:focus {
  border-color: #09588B;
  outline: none;
}

/* Botón de envío del formulario */
.alergias-modal .submit-button {
  display: block;
  background-color: #09588B;
  color: #fff;
  padding: 0.8rem 2rem;
  font-size: 1rem;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 100%;
}

.alergias-modal .submit-button:hover {
  background-color: #09588B;
}

/* Estilo para el mensaje de respuesta del formulario */
#alergiasResponse {
  margin-top: 1rem;
  font-size: 1rem;
  text-align: center;
  color: #09588B;
}
.despedida {
  margin-top: 3rem;
  margin-bottom: 3rem;
  text-align: center;
}

.despedida .despedida-text {
  font-family: 'Alex Brush', cursive; /* O la que prefieras */
  font-size: 3rem;                   /* Ajusta según tus gustos */
  font-weight: 400;
  color: #09588B;                    /* O el color que prefieras */
  line-height: 1.2;
}

  /* ===== Ajustes Responsivos ===== */
  /* Para dispositivos móviles en vertical */
  @media (max-width: 480px) {
    .asistencia-modal {
      width: 100%;
      max-width: 80%;
      padding: 1.5rem;
    }
    
    .asistencia-modal h2 {
      font-size: 1.5rem;
    }
    
    .asistencia-modal .submit-button {
      padding: 0.8rem;
    }
  }
  


/* Media Query: Pantallas medianas */
@media (max-width: 768px) {
    .gridImages .swiper {
        max-width: 100%;
    }
}

/* Media Query: Pantallas pequeñas */
@media (max-width: 480px) {
    .gridImages .swiper {
        max-width: 100%;
    }

    /* Estilos para el slider Swiper */
    .gridImages .swiper {
        background-color: white;
    }

    .event-detail .event-container .cart {
        width: auto;
    }

    .event-detail .event-container {
        flex-direction: column;
    }


}
  /* Para móviles en horizontal o pantallas pequeñas */
  @media only screen and (max-width: 956px) and (orientation: landscape) {
    .asistencia-modal {
        width: 80%;
        max-width: 500px;
        max-height: 70vh;
        overflow: scroll;
    }
    .asistencia-modal .form-group {
        display: flex;
        align-items: center;
    }
    .cart > h2{
        font-size: 23px
    }
    .asistencia-modal .form-group label {
        flex: 0 0 25%;
    }
    .gridImages .swiper {
        max-width: 60%;
    }
    .event-detail .event-container {
        flex-wrap: wrap;
    }
  }

