html {
    scroll-behavior: smooth;
}

#contenido-protegido {
    display: none;  /* Oculto inicialmente */
}


/* Estilos para el texto */
body.custom-body {
    font-family: "Parkinsans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    margin-bottom: 50px;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-size: larger;
    color: #000;

}

div.body-computer{
    padding-left: 20%;
    padding-right: 20%;
    background-color: transparent;
}


/* Botón flotante de música */
.boton-musica-flotante {
    position: fixed;
    bottom: 30px;
    right: 10px;
    width: 54px;
    height: 54px;
    background-color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 999;
    transition: all 0.3s ease;
}

.boton-musica-flotante:hover {
    background-color: #3a4432;
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.boton-musica-flotante.playing {
    background-color: #6b7d57;
}

.boton-musica-flotante svg {
    width: 24px;
    height: 24px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}


/* PORTADA */

.pre-video{
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff; /* Cambia el negro por blanco o el color principal de tu boda */
    overflow: hidden;
}

.pre-video{
    opacity: 1;
    transition: opacity 700ms ease;
}

.pre-video.hidden{
    opacity: 0;
    pointer-events: none;
}

.pre-video video{
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute; /* Para que se estire sobre el fondo */
    top: 0;
    left: 0;
}

.prevideo-overlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

#prevideoPlay{
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: rgba(0,0,0,0.45);
    border: none;
    display: none; /* ocultado por petición: el overlay sigue siendo clicable */
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

#prevideoPlay::before{
    content: '';
    display: inline-block;
    margin-left: 6px;
    width: 0;
    height: 0;
    border-top: 18px solid transparent;
    border-bottom: 18px solid transparent;
    border-left: 28px solid white;
}

header{
    position: relative;
    height: 80vh;
    overflow: hidden;
    width: 100%;
    padding-left: 20%;
    padding-right: 20%;
    background: #EEEEEE;
}
video {
    width: 100%;
    height: 100%;
    object-position: center;
    margin-left: auto;
    margin-right: auto;
    object-fit: cover;
}

@media (min-width: 992px) {
  .hero-video-bg {
    width: auto !important;
    height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: none !important;
    transform: translateX(-50%) translateY(-50%);
    object-position: center center;
  }

  /* Ajuste del pre-video en desktop: centrar y ocupar la mitad del ancho */
  .pre-video video {
    position: absolute; /* centrado absoluto */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50vw; /* ocupa la mitad del ancho del viewport */
    height: auto; /* mantiene proporción */
    max-height: 80vh; /* no superar la altura de pantalla */
    object-fit: contain; /* mostrar todo el vídeo sin recortes */
    max-width: 900px; /* límite opcional */
    border-radius: 0;
    will-change: transform, opacity;
    transform-origin: center center;
  }
}


/* HEADER adaptado */
.pre-header {
    mask-image: linear-gradient(to bottom, rgb(0, 0, 0) 90%, rgba(0, 0, 0, 0) 100%);
    height: auto;
    margin: auto;
    display: none;
}

@media only screen and (max-width: 600px) {

    div.body-computer{
        padding-left: 0;
        padding-right: 0;
        background-color: #FFF;
    }

    header{
        position: relative;
        height: 50vh;
        overflow: hidden;
        width: 100%;
        padding-left: 0;
        padding-right: 0;
        background: #FFF;
    }
    video {
        width: 100%;
        height: 100%;
        object-fit: cover; 
        object-position: center;
    }
}

nav {
    background-color: #000;
    padding: 10px;
    position: sticky;
    top: 0;
    z-index: 1000;
}


a:hover {
    color: #5F8575;
}

nav::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 5px;
    background-color: rgb(34, 33, 33);
    /* Color de la línea */
    animation: aparecerLinea 10s forwards;
}

@keyframes aparecerLinea {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}



/* PLAY */

/* #play-button {
    width: 60px;
    height: 60px;
    background-color: #eae5e2;
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    margin: 20px auto;
}

#play-button:focus {
    outline: none;
}

#play-button:hover {
    background-color: #fbc778;
}

#play-button::before {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 12px 0 12px 20px;
    border-color: transparent transparent transparent white;
    transform: translateX(2px);
}

audio {
    display: none;
} */



/* BIENVENIDOS */

#bienvenidos {
    text-align: center;
    padding: 30px;
    background-color: white;
    background-image: url(../images/fondo-web.png)!important;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
}

.bienvenidos-container {
    padding: 10px;
    background-color: white;
    position: relative;
    z-index: 1;
    border-radius: 10px;
}

.infoInteres-container{
    padding: 10px;
    background-image: url(../images/flor_abajo.png)!important;
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    z-index: 1;
    border-radius: 10px;
}

.asistencia-container {
    padding: 10px;
    background-image: url(../images/flor_abajo.png)!important;
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    z-index: 1;
    border-radius: 10px;
    height: auto;
}

.ceremonia-container{
    padding: 10px;
    background-image: url(../images/flor_abajo.png) !important;
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    z-index: 1;
    border-radius: 10px;
    height: 850px;
}

.infoInteres-container{
    padding: 10px;
    background-image: url(../images/flor_abajo.png) !important;
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    z-index: 1;
    border-radius: 10px;
    height: 450px;
}



#bienvenidos h1 {
    color: #000;
    font-family: "Imperial Script", cursive;
    font-size: 55px;
}

.bienvenidos-texto p {
    text-align: center;
    padding: 20px;
    padding: 10px; /* Ajusta el relleno según sea necesario */
    color: #000;
}


.bienvenidos-texto img {
    max-width: 100%;
    height: 450px;
    border-radius: 10px;
    margin-top: 10px;
}


.cuenta-regresiva {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 20px;
    margin: 0 auto;
    width: 100%;
    max-width: 1100px;
    box-sizing: border-box;
    color: #000;
    height: auto;
    gap: 12px;
  }

.corazon_contador{
    width: 100% !important;
    height: clamp(42px, 6vw, 120px) !important;
    max-width: 120px;
    display: block;
    margin: 0 auto;
    pointer-events: none; 
    outline: none;       
    -webkit-tap-highlight-color: transparent;
}

  .tiempo-restante p{
    font-size: 2.5rem;
    margin-bottom: 0;
  }
  
  #cuenta-atras {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    border-radius: 10px;
    padding: 5px;
    gap: 6px;
  }

  @media (max-width: 420px) {
    .cuenta-regresiva {
      flex-direction: column;
      padding: 12px;
      gap: 8px;
    }

    #cuenta-atras {
      flex-direction: row;
      gap: 0;
    }

    #dias, #horas, #minutos, #segundos {
      font-size: 1.8rem;
    }
  }

  
  .tiempo {
    text-align: center;
    margin: 0 10px;
  }

  #dias, #horas, #minutos, #segundos {
    font-size: 2.5rem;
  }
  
  .barra {
    font-size: 3rem;
    color: #666;
  }

  @media only screen and (max-width: 600px) {
    #bienvenidos {
        text-align: center;
        padding: 25px 10px 25px 10px;
        background-color: white;
        background-image: url(../images/fondo-web.png)!important;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        background-attachment: fixed;
        position: relative;
    }

    .bienvenidos-texto img {
        max-width: 100%;
        height: auto;
        border-radius: 10px;
        margin-top: 10px;
    }

    .bienvenidos-container {
        padding: 10px;
        background-color: white;
        position: relative;
        z-index: 1;
        border-radius: 10px;
    }


   }



/* LOCATION */

#general-information {
    text-align: center;
    padding: 30px;
    background-color: #FFF;
    background-image: url(../images/fondo-web.png)!important;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

#general-information h1 {
    color: #000;
    font-family: "Imperial Script", cursive;
    font-size: 55px;
}

.finca-image-container a:hover{
    text-decoration: underline;
    color: #FFF;
}


/* Estilo para la imagen */
.finca-image-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 10px auto;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5));
}

.information-texto {
    padding: 15px;
    text-align: center;
}

.information-texto b{
    font-size: larger;
}

.finca-image-container img {
    width: 100%;
    height: auto;
}
hr{
    background: #000;
}

.ceremonia-dia,
.ceremonia-hora{
    padding-right: 0!important;
    padding-left: 0!important;
}

.ceremonia-numero{
    font-size: 3rem;
}
.ceremonia-numero p,
.ceremonia-mes p{
    margin-bottom: 0!important;
}
.ceremonia-año{
    font-size: 1rem;
    margin-top: 0;
}

.boton {
    display: inline-block;
    padding: 10px 20px;
    background-color: #000;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
}

.boton:hover{
    background-color: #7fad9a;
    text-decoration: none;
    color: white;
}




/* ITINERARIO */

.timeline {
    position: relative;
    margin: 50px 0;
    padding-left: 40px;
    border-left: 3px solid rgb(34, 33, 33);;
    margin-left: 550px;
  }
  
  .event {
    position: relative;
    padding: 20px 0;
    display: flex;
    align-items: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s ease-out;
  }
  
  .event:before {
    content: '';
    position: absolute;
    left: -6px;
    top: 28px;
    width: 12px;
    height: 12px;
    background-color: #000;
    border-radius: 50%;
  }
  
  .event .time {
    width: 100px;
    font-weight: bold;
    color: #333;
  }
  
  .event .icon {
    margin-right: 20px;
  }
  
  .event .icon img {
    width: 30px;
    height: 30px;
  }
  
  .event .description {
    font-size: medium;
    color: #000;
    white-space: nowrap;
  }
  
  .event .description:hover {
    color: #2c3e50;
    transition: color 0.3s ease;
  }
  
  /* Animation logic */
  .show {
    opacity: 1;
    transform: translateY(0);
  }
  
  @keyframes fadeInUp {
    0% {
      opacity: 0;
      transform: translateY(30px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }
  

.itinerario img {
    max-width: 80%;
    height: auto;
    border-radius: 10px;
    margin-top: 10px;
}

.element_itinerario {
    max-width: 4%;
}

.element-escalas {
    max-width: 3%;
}

.element {
    max-width: 4%;
}

.element_itinerario,
.element_ceremonia,
.element_bienvenidos,
.element_nosotros,
.element_asistencia,
.element_interes,
.element_regalos,
.element_galeria,
.element_parking,
.element_banquete,
.pdf_img {
    max-width: 3%;
}

.element_buses p{
    white-space: nowrap;
}

iframe{
    width: 50%;
}


@media only screen and (max-width: 600px) {

    .element_itinerario,
    .element_ceremonia,
    .element_bienvenidos,
    .element_nosotros,
    .element_asistencia,
    .element_interes,
    .element_galeria,
    .element_regalos,
    .element_parking,
    .element_banquete {
        max-width: 10%;
    }

    .pdf_img {
        max-width: 10%!important;
    }

    .element_buses{
        max-width: 12%;
    }

    .element_buses p{
        white-space: nowrap;
    }
    
    .element-escalas {
        max-width: 10%;
    }
    
    .element {
        max-width: 12%;
    }

    .timeline {
        margin-left: auto!important;
    }
    .cuenta-regresiva {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        padding: 20px;
        margin: 0 auto;
        width: 100%;
        box-sizing: border-box;
        color: #000;
        height: auto;
        gap: 12px;
    }
    .corazon_contador{
        width: 100% !important;
        height: clamp(42px, 6vw, 120px) !important;
        max-width: 120px;
        display: block;
        margin: 0 auto;
        pointer-events: none; 
        outline: none;       
        -webkit-tap-highlight-color: transparent;
    }
    .finca-image-container{
        width: 90%!important;
    }
    .finca-image-container {
        position: relative;
        width: 70%;
        max-width: 500px;
        margin: 10px auto;
        overflow: hidden;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5));
    }
    #general-information {
        text-align: center;
        padding: 25px 10px 25px 10px;
        background-color: #FFF;
        background-image: url(../images/fondo-web.png)!important;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        background-attachment: fixed;
    }

    #general-information h1 {
        color: #000;
        font-family: "Imperial Script", cursive;
        font-size: 55px;
    }

}

@media only screen and (max-width: 1024px) {
    .timeline {
        margin-left: 45px;
    }

    .element_itinerario,
    .element_ceremonia,
    .element_bienvenidos,
    .element_nosotros,
    .element_asistencia,
    .element_interes,
    .element_galeria,
    .element_regalos,
    .element_parking,
    .element_banquete {
        max-width: 10%;
    }

    .pdf_img{
        max-width: 7%;
    }

    .element_buses{
        max-width: 12%;
    }

    .element_buses p{
        white-space: nowrap;
    }

    .carousel-item img{
        max-width: 100%!important;
    }

    .table-computer{
        display: none;
    }

    .event .description {
        white-space: nowrap;
    }

    ul{
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: left;
        padding: 0;
    }

    .form-container-asist{
        max-width: 100%!important;
    }

    input[type="text"], input[type="tel"]{
        width: 100%;
    }
    
    div.footer_computer {
        display: none!important;
    }

    .bienvenidos-texto img{
        height: auto!important;
    }

    iframe{
        width: 100%;
    }

        .infoInteres-container{
        padding: 10px;
        background-image: url(../images/flor_abajo.png)!important;
        background-position: bottom;
        background-repeat: no-repeat;
        background-size: cover;
        position: relative;
        z-index: 1;
        border-radius: 10px;
        height: auto!important;
    }
    .ceremonia-container{
         padding: 10px;
        background-image: url(../images/flor_abajo.png)!important;
        background-position: bottom;
        background-repeat: no-repeat;
        background-size: cover;
        position: relative;
        z-index: 1;
        border-radius: 10px;
        height: auto!important;
    }
    .asistencia-container {
        padding: 10px;
        background-image: url(../images/flor_abajo.png)!important;
        background-position: bottom;
        background-repeat: no-repeat;
        background-size: cover;
        position: relative;
        z-index: 1;
        border-radius: 10px;
        height: auto!important;
    }
}





/* INFORMACIÓN DE INTERÉS */

.hospedaje-container {
    position: relative;
    width: 70%;
    max-width: 500px;
    margin: 30px auto;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5));
    border-radius: 15px;
}

.hospedaje-container .url-hospedaje {
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 15px;
    text-align: center;
    font-family: 'Quattrocento', serif;
    font-size: 18px;
    line-height: 1.5;
}

.hospedaje-container img {
    width: 100%;
    height: auto;
}

.table-computer table{
    width: fit-content;
    margin: auto;
}

.table-computer table tbody td {
    padding: 10px;
    text-align: left;
    padding-right: 20px;
    padding-left: 20px;
}

#info_interes {
    text-align: center;
    padding: 30px;
    background-color: #FFF;
    background-image: url(../images/fondo-web.png)!important;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

#info_interes .principal_interes{
    padding: 20px;
}

#info_interes_contacto{
    background-image: url('../images/fondo_interes.png');
    text-align: center;
    padding: 90px;
    filter: opacity(0.8);
    height: 300px;
    color: #FFF;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom;
}

 @media only screen and (max-width: 600px) {
    .table-computer{
        display: none;
    }

    #info_interes_contacto{
        background-image: url('../images/fondo_interes.png');
        background-size: contain;
        text-align: center;
        padding: 30px;
        background-repeat: no-repeat;
        filter: opacity(0.8);
        height: 231px;
        color: #FFF;
    }
    #info_interes {
        padding: 25px 10px 25px 10px;
        text-align: center;
        background-color: #FFF;
        background-image: url(../images/fondo-web.png)!important;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        background-attachment: fixed;
    }

    #parking{
        text-align: center;
        padding: 0!important;
        background-color: #FFF;
        background-image: url(../images/fondo-web.png)!important;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        background-attachment: fixed;
    }

    /* Para móviles */
    .pre-footer.mobile {
        mask-image: linear-gradient(to top, rgb(0, 0, 0) 90%, rgba(0, 0, 0, 0) 100% 100%);
        display: flex;
        max-width: 100%;
    }

    .pre-footer.desktop {
        display: none!important;
    }
} 

#info_interes h1 {
    color: #000;
    font-family: "Imperial Script", cursive;
    font-size: 55px;
}


.hotel-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.hotel-link {
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    color: #007bff;
    transition: color 0.3s ease;
}

.hotel-link:hover {
    color: #0056b3;
    text-decoration: none;
}

#parking{
    text-align: center;
    padding: 0!important;
    background-color: #FFF;
    background-image: url(../images/fondo-web.png)!important;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

#parking h1 {
    color: #000;
    font-family: "Imperial Script", cursive;
    font-size: 55px;
}

#fotos{
    text-align: center;
    padding: 30px;
    background-color: #FFF;
    background-image: url(../images/fondo-web.png)!important;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

.galeria-container, 
.regalos-container{
    padding: 30px 10px;
    background-color: white;
    position: relative;
    z-index: 0;
    border-radius: 10px;
}

#fotos h1 {
    color: #000;
    font-family: "Imperial Script", cursive;
    font-size: 55px;
}

.boton-telefono button {
    background-color: #a2948b;
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.boton-telefono button:hover {
    background-color: #753131;
}

/* 
.boton {
    display: inline-block;
    padding: 10px 20px;
    background-color: #4d4235;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
} */

.recuerdos {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.boton-recuerdos {
    background-color: #a2948b;
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

/* CARROUSEL */

#carrousel {
    text-align: center;
    padding: 30px;
    background-color: #FFF;
    background-image: url(../images/fondo-web.png)!important;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

.carrousel-container{
    background-color: white;
    border-radius: 10px;
    padding: 30px 10px 30px 10px;
    
}

#carrousel h1 {
    color: #000;
    font-family: "Imperial Script", cursive;
    font-size: 55px;
}

.carrousel-texto p {
    text-align: center;
    padding: 20px;
    padding: 10px;
    /* Ajusta el relleno según sea necesario */
}

.carousel-item img {
    max-height: 650px;
    max-width: 50%;
    object-fit: cover;
    margin: 0 auto;
}

.carousel-link {
    display: block;
    cursor: pointer;
    text-decoration: none;
}

.carousel-link img {
    transition: transform 0.3s ease, filter 0.3s ease;
}

.carousel-link:hover img {
    transform: scale(1.05);
    filter: brightness(0.9);
}

.carousel-caption {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.5);
    /* Fondo semitransparente para el texto */
    right: 37%;
    bottom: 20px;
    left: 37%;
    z-index: 10;
    padding-top: 20px;
    padding-bottom: 20px;
    color: #fff;
    text-align: center;
}

@media only screen and (max-width: 600px) {
    .carousel-item img {
        height: 450px;
        object-fit: cover;
        width: 100% !important;
        max-width: 100%;
    }

    .carousel-caption {
        background-color: rgba(0, 0, 0, 0.5);
        /* Fondo semitransparente para el texto */
        font-size: 13px;
        /* Ajusta el tamaño del texto en pantallas pequeñas */
        padding: 8px 15px;
        /* Reduce aún más el tamaño del recuadro en móviles */
        padding-top: 6px !important;
        padding-bottom: 3px !important;
    }

    #carrousel {
        text-align: center;
        padding: 25px 10px 25px 10px;
        background-color: #FFF;
        background-image: url(../images/fondo-web.png)!important;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        background-attachment: fixed;
    }

    #fotos{
        text-align: center;
        padding: 20px 10px;
        background-color: #FFF;
        background-image: url(../images/fondo-web.png)!important;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        background-attachment: fixed;
    }
}



/* ASISTENCIA */

#asistencia {
    text-align: center;
    padding: 30px;
    background-color: #FFF; 
    background-image: url(../images/fondo-web.png)!important;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

#asistencia h1 {
    color: #000;
    font-family: "Imperial Script", cursive;
    font-size: 55px;
}

#asistencia p {
    color: #000;
    margin-bottom: 40px;
    text-align: center;
}

/* Formulario */
.form-container-asist {
    border-radius: 40px;
    padding: 20px 0;
    max-width: 50%;
    height: auto;
    margin: 0 auto;    
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

label {
    display: block;
    font-size: medium;
    color: #333333;
    margin-top: 8px;
    font-weight: 600;
}

input[type="text"],
input[type="tel"] {
    width: 70%;
    padding: 12px;
    border: 1px solid #cccccc;
    border-radius: 8px;
    font-size: 16px;
    color: #FFF;
    transition: border-color 0.3s ease;
    background-color: rgb(0, 0, 0, 0.7);
}
.acompanante input[type="text"],
.acompanante input[type="tel"],
.acompanante input[type="number"]{
    width: 100%;
    padding: 12px;
    border: 1px solid #cccccc;
    border-radius: 8px;
    font-size: 16px;
    color: #FFF;
    transition: border-color 0.3s ease;
}
.acompanante select{
    max-height: 30px;
    cursor: pointer;
}

.acompanante .select_edad{
    align-items: center;
    max-height: 40px;
}


input[type="text"]:focus,
input[type="tel"]:focus {
    border-color: #0056b3;
    outline: none;
}

input::placeholder {
    color: #cccccc;
}

/* Radio buttons */
.checkbox-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

input[type="radio"] {
    margin-right: 8px;
}

input[type=checkbox]{
    accent-color: rgb(34, 33, 33);
}

label[for="acompanadoNo"],
label[for="acompanadoSi"],
label[for="bebidaSi"],
label[for="bebidaNo"]  {
    font-size: 14px;
    color: #333333;
    margin-bottom: 5px;
    gap: 40px;
}

#popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    background-color: white;
    z-index: 1000;
    width: 450px;
}

#accompaniments-list {
    max-height: 450px;
    overflow-x: hidden;
    overflow-y: scroll;
}

.asistencia-texto{
    min-height: 680px;
}

#attendance-form select{
    cursor: pointer;
}

@media only screen and (max-width: 600px) {

    .acompanante select{
        max-width: 40%;
    }
    #attendance-form select{
        max-width: 100%;
    }

    #popup {
        display: none;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        padding: 20px;
        background-color: white;
        z-index: 1000;
        width: 350px;
    }

    input[type="text"],
    input[type="tel"] {
        width: 100%;
        padding: 12px;
        border: 1px solid #cccccc;
        border-radius: 8px;
        font-size: 16px;
        color: #FFF;
        transition: border-color 0.3s ease;
        background-color: rgb(0, 0, 0, 0.7);
    }

    #asistencia {
        text-align: center;
        padding: 20px 10px;
        background-color: #FFF; 
        background-image: url(../images/fondo-web.png)!important;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        background-attachment: fixed;
    }
}

#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.popup-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#closeButton {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    width: 20px;
    /* Ajusta el tamaño según sea necesario */
    height: 20px;
    /* Ajusta el tamaño según sea necesario */
}
#closeButton img,
#cerrar-modal img {
   width: 30px;
}

.modal {
    display: none;
    /* Inicialmente oculto */
    position: fixed;
    top: 50%;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    /* Fondo oscuro semitransparente */
    z-index: 1;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fefefe;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    text-align: center;
    position: relative;
}

.close {
    position: absolute;
    top: 0;
    right: 0;
    padding: 10px;
    cursor: pointer;
}

.add-button,
.save-button {
    background-color: black;
    color: white;
    border: none;
    padding: 10px 20px;
    margin-top: 10px;
    border-radius: 4px;
    cursor: pointer;
}

.add-button:hover,
.save-button:hover {
    background-color: black;
}

.btn.btn-primary{
    background-color: rgb(34, 33, 33);;
    color: white;
}

/* Botón de enviar: Estilo Business */
button#submit,
button#addAcompananteButton,
button#guardarButton,
button#deleteAcompananteButton,
button#descargar_app,
button#boton-maps {
    background-color: rgb(34, 33, 33);
    color: white;
    font-family: "Parkinsans", sans-serif;
    font-size: 16px;
    font-weight: 500;
    padding: 12px 40px;
    border: 1px solid rgb(34, 33, 33);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

button#submit:hover,
button#addAcompananteButton:hover,
button#guardarButton:hover,
button#deleteAcompananteButton:hover,
button#descargar_app:hover,
button#boton-maps:hover {
    background-color: white;
    /* Azul más oscuro para hover */
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
    /* Intensifica la sombra */
    transform: translateY(-2px);
    /* Ligero levantamiento al hacer hover */
    color: rgb(34, 33, 33);
}

button#submit:active {
    background-color: #0e3d80;
    /* Azul aún más oscuro al hacer clic */
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
    /* Reduce la sombra */
    transform: translateY(0);
    /* Elimina el levantamiento */
}

/* Responsivo */
@media only screen and (max-width: 600px) {
    .form-container-asist {
        padding: 0 20px 0 20px;
        max-width: 90%;
    }
}

.rrss {
    width: 40px;
    height: auto;
    margin-bottom: 10px;
}

.contacto-info{
    justify-content: center;
}

.contacto-info div{
    padding-left: 0!important;
    padding-right: 0!important;
}

.contacto-info a {
    display: inline-block;
    background-color: rgb(34, 33, 33);
    color: #FFF;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 10px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    width: 100%;
}

.contacto-info a:hover {
    color: white;
    padding: 10px 20px;
    text-decoration: none;
}


@media only screen and (max-width: 600px) {
    .contacto-info b {
        display: inline-block;
        background-color: rgb(34, 33, 33);;
        color: white;
        padding: 10px 20px;
        text-decoration: none;
        border-radius: 25px;
        font-weight: bold;
        transition: background-color 0.3s ease;
        font-size: 10px;
    }

    #regalos {
        text-align: center;
        padding: 25px 10px 25px 10px !important;
        background-color: #FFF;
        background-image: url(../images/fondo-web.png)!important;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        background-attachment: fixed;
    }
}

.contacto-info b {
    display: inline-block;
    background-color: rgb(34, 33, 33);;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    font-size: 15px;
}

/* REGALOS */

#regalos {
    text-align: center;
    padding: 30px;
    background-color: #FFF;
    background-image: url(../images/fondo-web.png)!important;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

#regalos h1 {
    color: #000;
    font-family: "Imperial Script", cursive;
    font-size: 55px;
    font-style: normal;
    letter-spacing: 2px;
}

.regalos-texto p {
    text-align: center;
    padding: 15px;
}

.plain-text {
    color: black;
    background: none;
    font-family: 'Quattrocento', serif;
    font-size: inherit;
    padding: 0;
    margin: 0;
    text-align: center;
}


/* FOOTER */
.pre-footer {
    display: none; /* oculto por defecto */
    height: auto;
    mask-image: linear-gradient(to top, rgb(0, 0, 0) 90%, rgba(0, 0, 0, 0) 100% 100%);
}

/* MOBILE: mostrar pre-footer.mobile y ocultar pre-footer.desktop */
@media (max-width: 600px) {
    .pre-footer.mobile {
        display: flex !important;
        mask-image: linear-gradient(to top, rgb(0, 0, 0) 90%, rgba(0, 0, 0, 0) 100% 100%);
        width: 100%;
        max-width: 100%;
    }

    .pre-footer.desktop {
        display: none !important;
    }
}

/* TABLET: mostrar pre-footer.desktop y ocultar pre-footer.mobile */
@media (min-width: 601px) and (max-width: 1023px) {
    .pre-footer.desktop {
        display: flex !important;
        position: relative;
        mask-image: linear-gradient(to top, rgb(0, 0, 0) 90%, rgba(0, 0, 0, 0) 100% 100%);
        width: 100%;
        overflow: hidden;
    }

    .pre-footer.mobile {
        display: none !important;
    }
}

/* DESKTOP: mostrar pre-footer.desktop y ocultar pre-footer.mobile */
@media (min-width: 1024px) {

    /* Para escritorio */
    .pre-footer.desktop {
        display: flex;
        position: relative;
        mask-image: linear-gradient(to top, rgb(0, 0, 0) 90%, rgba(0, 0, 0, 0) 100% 100%);
        width: 100%;
        overflow: hidden;
    }

    .pre-footer.mobile {
        display: none;
    }
}

/* Ocultar el footer estándar — usaremos los pre-footer en su lugar */
footer {
    background-color: rgb(34, 33, 33);
    padding: 10px;
    color: white;
}

.footer-content p {
    text-align: center;
    font-weight: 200;
}

/* --- ESTILOS DEL HERO (PORTADA) --- */ 
/* Sirve para poder crear una portada deslizante, aparece una imagen de primeras y despues al hacer scroll desaparece para mostrar la informacion */
.hero-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: -1;
  
  /* Flexbox para control total */
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Empuja el contenido a los extremos (arriba/abajo) */
  align-items: center;
  text-align: center;
  color: white;
  overflow: hidden;
}

/* Contenedor de los nombres (Estefanía & Alejandro) */
.hero-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: start;
    z-index: 2;
    padding-top: 30px;
}

/* El bloque de la frase con el color Hedge Green */
.hero-phrase-container {
  background-color: #4E5B44; /* Tu color Hedge Green */
  width: 100%;               /* Asegura que el color de fondo cubra todo el ancho */
  padding: 40px 20px;        /* Espaciado interno para que no toque los bordes */
  z-index: 2;
  box-sizing: border-box;    /* Evita que el padding sume ancho extra */
}

.hero-phrase-container p {
  font-family: 'Parkinsans', sans-serif;
  font-size: 1.8rem;
  color: #ffffff;
  margin: 0;
  line-height: 1.2;
}


.hero-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: 90%;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Capa oscura para que se lea el texto */
    z-index: -1;
}

.hero-content h1 {
    font-family: 'Imperial Script', cursive;
    font-size: 5rem; 
    margin-bottom: 10px; 
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content p {
    font-family: 'Parkinsans', sans-serif;
    font-size: 2rem; 
    letter-spacing: 3px;
}

/* --- ESTILOS DEL CONTENIDO PRINCIPAL (LA CORTINA) --- */
.main-content-wrapper {
    position: relative;
    z-index: 10;
    background-color: #ffffff;
    margin-top: 100vh; 
    box-shadow: 0px -10px 20px rgba(0,0,0,0.1); 
}

@media (max-width: 768px) {
    .hero-content h1 { font-size: 3.9rem; }
    .hero-content p {
        font-family: 'Parkinsans', sans-serif;
        font-size: 1.2rem; 
        letter-spacing: 3px;
    }
    .hero-phrase-container {
        padding: 20px!important;
    }
    .hero-phrase-container p {
        font-size: 1.3rem!important;
    }
    body.custom-body {
        font-size: medium;
    }
}

/* GIF */

        .bienvenidos-container {
            position: relative; /* Clave para el posicionamiento de las imágenes */
            text-align: center;
        }

        .overflow-image {
            position: absolute;
            object-fit: cover;
            z-index: 20;
        }

        .img-top {
            top: 0;
            right: 5%;
            transform: translateY(-50%) rotate(5deg);
            width: 80px;
            height: 80px;
        }

        .img-bottom {
            bottom: 0;
            left: -1.5rem;
            transform: translateY(30%) rotate(-5deg);
            width: 100px;
            height: 100px;
        }

        @media (min-width: 640px) {
            .img-top { width: 110px; height: 110px; right: -20px; }
            .img-bottom { width: 130px; height: 130px; left: -40px; }
            .tiempo span:first-child { font-size: 2.5rem; }
        }