body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: Arial, sans-serif;
  color: #fff;
  scroll-behavior: smooth; /* scroll suave */
  overflow-y: auto;
}

#hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.bg-video-hero {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.promo {
  position: relative;
  z-index: 1;
  text-align: center;
  top: 50%;
  transform: translateY(-50%);
}

.promo h1.middle-text {
  font-family: 'Dancing Script', cursive;
  font-size: 150px;
  color: #C084FC;
  text-align: center;
  margin: 0;
  animation: colorChange 6s infinite alternate;
}

/* Animación de color */
@keyframes colorChange {
  0% { color: #C084FC; }
  50% { color: #E879F9; }
  100% { color: #fcee72; }
}

/* Botón inferior */
.scroll-down {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  cursor: pointer;
  font-family: 'Dancing Script';
  font-size: 24px;
  color: #c684fc !important;
  display: inline-block; /* importante para que no sea flex */
  text-decoration: none;
  transition: 0.3s;
}

.scroll-down:hover {
  color: #fcee72 !important;
}







@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

/* Sección dos */


/* Video segunda sección */
/* Video primera sección */
.bg-video-hero {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

/* Video segunda sección */
.bg-video-invitacion {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

#invitacion {
  position: relative !important;
  height: 100vh !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  overflow: hidden !important;
  background-color: transparent !important;
}

.bg-video-invitacion {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  z-index: -1 !important;
}

.content-box {
  position: relative !important;
  z-index: 1 !important;
  font-family: 'Merriweather', serif;
  font-size: 28px;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.5); /* negro semi-transparente */
  padding: 80px 30px; /* más alto para que se vea cuadrado */
  border-radius: 15px;
  max-width: 40%; /* más estrecho para cuadrar */
  line-height: 1.5;
  text-transform: uppercase; /* pone todo en mayúsculas */
}



/* Sección RESERVA */
#reserva {
  position: relative;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  background-color: transparent;
}

.bg-video-reserva {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.reserva-text {
font-family: 'Dancing Script', cursive;
  font-size: 50px;
  color: #C084FC;
  text-align: center;
  margin: 0;
  animation: colorChange 6s infinite alternate;
}

.reserva-container {
  display: flex;
  justify-content: space-around; /* controla la separación entre los cuadros */
  align-items: stretch; /* hace que los cuadros tengan la misma altura */
  gap: 80px; /* separación entre los cuadros -> puedes aumentar o disminuir */
  margin-top: 40px;
  width: 100%;
  max-width: 1400px; /* ancho máximo del contenedor */
  margin-left: auto;
  margin-right: auto;
}

.reserva-box {
  width: 500px;    /* ancho del cuadro */
  height: 500px;   /* alto del cuadro */
  background-color: rgba(0,0,0,0.65);
  padding: 15px;   /* menos padding para que el texto no se salga */
  border-radius: 20px;
  color: #fff;
  text-align: center;
  font-family: 'Merriweather', serif;
  font-size: 16px; /* reduce tamaño de letra */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden; /* asegura que nada se desborde */
}

.reserva-box {
  overflow-y: auto; /* agrega scroll si el contenido es demasiado */
}


/* Imagen dentro del recuadro */
.reserva-img {
  width: 50%;
  height: 250px;
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 20px;
   margin: 0 auto 10px auto; /* centrado horizontal y margen inferior */
  display: block;      /* necesario para que margin auto funcione */
}

/* Botón ubicación */
.btn-ubicacion {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 25px;
  background-color: #C084FC;
  color: #fff;
  text-decoration: none;
  border-radius: 12px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.btn-ubicacion:hover {
  background-color: #9d62db;
}

/* Responsive */
@media (max-width: 900px) {
  .reserva-container {
    flex-direction: column;
    gap: 40px;
  }
  .reserva-box {
    max-width: 90%;
    min-height: auto;
  }
}





/* Sección ITINERARIO */
#itinerario {
  position: relative;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  background-color: transparent;
}

.bg-video-itinerario {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.itinerario-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

/* Título */
.itinerario-container h2 {
  font-family: 'Dancing Script', cursive;
  font-size: 50px;
  color: #C084FC;
  text-align: center;
  margin: 0;
  animation: colorChange 6s infinite alternate;
}

/* Timeline */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Cada item del timeline */
.timeline-item {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: flex-start; /* círculo primero, texto después */
}


/* Círculo con icono */
.timeline-item .circle {
  width: 80px;
  height: 80px;
  background-color: #fcee72;
  color: white;
  font-size: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
}

/* Texto del evento */
.timeline-item .label {
  font-family: 'Great Vibes', cursive;
  font-size: 28px;
  color: #c684fc;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 8px 15px;
  border-radius: 10px;
  white-space: nowrap;
}


/* Sección ASISTENCIA */
#asistencia {
  position: relative;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  background-color: transparent;
}

.bg-video-asistencia {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.asistencia-box {
  font-family: 'Dancing Script', cursive;
  font-size: 50px;
  color: #C084FC;
  text-align: center;
  background-color: transparent;
  padding: 60px 30px;
  border-radius: 15px;
  max-width: 1500px;   /* ancho máximo */
  width: 100%;         /* ancho flexible en pantallas pequeñas */
  line-height: 1.6;
  max-height: 80vh;      /* no excede la pantalla */
  overflow-y: auto;      /* scroll solo si hace falta */
  scrollbar-width: none; /* Firefox: oculta la barra */
  margin: 0 auto;        /* centra horizontalmente */
  display: flex;
  flex-direction: column;
  align-items: center;   /* centra el contenido dentro del recuadro */
  animation: colorChange 6s infinite alternate;
}

.asistencia-box::-webkit-scrollbar {
  display: none; /* Chrome, Safari: oculta la barra */
}


.asistencia-text {
  margin: 0 auto; /* centra horizontalmente */
    font-family: 'Dancing Script', cursive;
  font-size: 50px;
  color: #C084FC;
  text-align: center !important;
  margin: 0;
  animation: colorChange 6s infinite alternate;


  background-color: transparent;
  padding: 60px 30px;
  border-radius: 15px;
  max-width: 50%;
  line-height: 1.6;

max-height: 80vh;     /* no excede la pantalla */
  overflow-y: auto;     /* scroll solo cuando haga falta */
  scrollbar-width: none; /* Firefox: oculta la barra */
}

.asistencia-text::-webkit-scrollbar {
  display: none; /* Chrome, Safari: oculta la barra */
}

.boletos-control {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.boletos-control button {
  background-color: #fcee72;
  color: white;
  border: none;
  border-radius: 50%;
  width: 90px;   /* ← antes 40px */
  height: 90px;  /* ← antes 40px */
  font-size: 40px; /* ← antes 24px */
  cursor: pointer;
  transition: 0.3s;
}


.boletos-control button:hover {
  background-color: #fcee72;
}

#num-integrantes {
  width: 70px;
  text-align: center;
  font-size: 40px;
  border-radius: 30px;
  border: none;
  padding: 5px;
}

.aviso {
  color: rgb(255, 255, 255);
  font-size: 16px;
  margin-left: 10px;
}

.nombre-input {
  width: 70%;
  padding: 30px;       /* ← más espacio interior */
  margin: 12px 0;      /* ← más separación entre inputs */
  border-radius: 10px;
  border: none;
   font-size: 16px; /* ← evita zoom */
  transform: scale(0.9); /* ← se ve más pequeño sin provocar zoom */
  transform-origin: center;
}





#enviar-btn {
  background-color: #fcee72;
  color: white;
  padding: 12px 25px;
  font-size: 20px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  margin-top: 15px;
}

#enviar-btn:hover {
  background-color: #fcee72;
}





/* Estilos responsivos */
@media (max-width: 600px) {
    body {
        padding: 10px;
    }

    .form-container {
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }

    input, button {
        width: 100%;
        font-size: 16px;
    }

    table {
        width: 100%;
        font-size: 14px;
    }

    .floating-message {
        width: 90%;
        left: 5%;
    }
}



input,
textarea,
select {
  font-size: 16px !important;
}



