.hidden {
    display: none;
}

.visible {
    display: block;
    font-size: 0.8em;
}


html {
    scroll-behavior: smooth;
}


/* Estilos para el texto */
body.custom-body {
    font-family: "Parkinsans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    margin-bottom: 50px;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    /* Asegura que el cuerpo ocupe al menos el 100% de la altura de la ventana */
    font-size: 17px;

}
@media only screen and (min-width: 1200px) {
    body.custom-body {
        background-color: #EEEEEE;
        padding-left: 25%;
        padding-right: 25%;
    }
    .header-desktop{
        display: block!important;
        height: 623px!important;
    }
    .header-mobile{
        display: none;
    }
    video {
        position: relative!important;
        display: block!important;
        margin: 0 auto!important;
        width: 100%!important;
        height: 100%!important;
    }
    .qr-code{
        width: 50%!important;
        display: block;
        margin: 0 auto;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1199px) {
    .header-desktop{
        display: block!important;
        height: 626px!important;
    }
    .header-mobile{
        display: none;
    }
    video {
        position: relative!important;
        display: block!important;
        margin: 0 auto!important;
        width: 100%!important;
        height: 100%!important;
    }
}

.header-desktop{
    display: none;
}

.custom-body-content{
    background-color: #8A9A8B;
}


/* PORTADA */


header {
    height: 600px;
    background-color: #8A9A8B;
}

video {
    position: relative;
    display: block;
    margin: 0 auto;
    width: 60%;
    height: 60%;
    max-width: 117%;
}


#title-name h1 {
    color: black;
    font-family: 'Quattrocento', serif;
    font-style: normal;
    font-size: 30px;
    letter-spacing: 2px;
    text-align: center;
}


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

    video {
        height: auto;
        object-fit: cover;
        width: 100%;
        /* margin: 10% auto 0; */
    }

    #title-name h1 {
        color: black;
        font-family: 'Quattrocento', serif;
        font-style: normal;
        font-size: 30px;
        letter-spacing: 2px;
        text-align: center;
    }
    
}




/* SECTIONS */


.flower-border-r {
    position: relative;
    /* Permite posicionar la imagen con precisión */
    right: 50px;
    /* Pegada al margen derecho */
    object-fit: cover;
    /* Asegura que la imagen se ajuste bien a su contenedor */
    z-index: -1;
    /* Envía la imagen detrás del contenido principal */
}

.flower-border-l {
    position: relative;
    /* Permite posicionar la imagen con precisión */
    right: 20px;
    /* Pegada al margen derecho */
    object-fit: cover;
    /* Asegura que la imagen se ajuste bien a su contenedor */
    z-index: -1;
    /* Envía la imagen detrás del contenido principal */
}



/* BIENVENIDOS */

#bienvenidos {
    text-align: center;
    background-color: #ffffff;
}

#bienvenidos h1 {
    color: black;
    font-family: 'Quattrocento', serif;
    font-style: normal;
    font-size: 30px;
    letter-spacing: 2px;
}

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

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


.cuenta-regresiva {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    min-height: 44vh;
    background-image: linear-gradient(rgba(18, 28, 22, 0.28), rgba(18, 28, 22, 0.28)), url('../images/foto2SoniaJavier.jpeg');
    background-size: cover;
    background-position: center;
    margin: 0 auto;
    width: min(980px, 92vw);
    box-shadow: 0 0 0px rgba(0, 0, 0, 0.14);
}

.cuenta-overlay {
    width: min(860px, 92%);
    padding: 26px 18px;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.14);
    backdrop-filter: blur(1px);
    text-align: center;
}

.countdown-title {
    margin: 0 0 16px;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    font-family: 'Quattrocento', serif;
    font-size: 1.05rem;
}

@media only screen and (max-width: 600px) {
    .cuenta-regresiva {
        min-height: 50vh;
        width: 100vw;
    }

    .cuenta-overlay {
        padding: 20px 14px;
    }
}


#cuenta-atras {
    display: grid;
    grid-template-columns: repeat(4, minmax(70px, 1fr));
    gap: 12px;
    width: min(640px, 100%);
    margin: 0 auto;
}

.tiempo {
    text-align: center;
    padding: 12px 8px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.26);
}

.valor {
    display: block;
    line-height: 1;
    font-size: 2rem;
    font-weight: 700;
    font-family: 'Quattrocento', serif;
}

.etiqueta {
    display: block;
    margin-top: 6px;
    font-size: 0.75rem;
    letter-spacing: 1.3px;
    text-transform: uppercase;
}

.countdown-message {
    margin: 14px 0 0;
    min-height: 24px;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

@media only screen and (max-width: 600px) {
    #cuenta-atras {
        grid-template-columns: repeat(2, minmax(70px, 1fr));
    }

    .valor {
        font-size: 1.7rem;
    }
}



/* LOCATION */

#general-information {
    text-align: center;
    padding: 20px;
}

#general-information h1 {
    color: black;
    font-family: 'Quattrocento', serif;
    font-size: 35px;
    letter-spacing: 2px;
}

/* .information-texto p {
    text-align: center;
    padding: 20px;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    font-size: 18px;
    color: white;
} */

.finca-image-container {
    position: relative;
    width: 70%;
    max-width: 500px;
    margin: 30px auto;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
    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));
}

.destination-card {
    border-radius: 18px;
    clip-path: none;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.destination-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 24px rgba(0, 0, 0, 0.26);
}


.finca-image-container img {
    width: 100%;
    display: block;
    object-fit: cover;
    height: 300px;
}


.finca-image-container .information-texto {
    background: #4a4949;
    color: white;
    padding: 18px 15px 16px;
    text-align: center;
    font-family: 'Quattrocento', serif;
    font-size: 18px;
    line-height: 1.5;
}

.destination-tag {
    display: inline-block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    margin-bottom: 8px;
    padding: 4px 10px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 999px;
}

.destination-link {
    color: #ffffff;
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;
    transition: color 0.25s ease;
}

.destination-link:hover {
    color: #ffd6b4;
}


@media (max-width: 600px) {
    .finca-image-container {
        width: 90%;
    }

    .finca-image-container img {
        height: 250px;
    }

    .finca-image-container .information-texto {
        font-size: 16px;
    }
}


/* Google Maps */
#mapDiv {
    height: 300px;
    max-width: 90%;
    margin: 20px auto 40px;
}




/* ITINERARIO */

.timeline {
    position: relative;
    margin: 50px auto;
    max-width: 760px;
    width: min(760px, 92vw);
    padding-left: 36px;
    border-left: 3px solid #D28D6F;
    background-color: #ffffff;
    border-radius: 18px;
}

@media only screen and (max-width: 600px) {
    .timeline {
        position: relative;
        margin: 40px auto;
        width: min(760px, 92vw);
        padding-left: 28px;
        border-left: 3px solid black;
    }
}

.event {
    position: relative;
    padding: 20px 0;
    display: grid;
    grid-template-columns: 110px 56px 1fr;
    column-gap: 10px;
    align-items: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s ease-out;
}

.event:before {
    content: '';
    position: absolute;
    left: -6px;
    top: 33px;
    width: 12px;
    height: 12px;
    background-color: #D28D6F;
    border-radius: 50%;
}

.event .time {
    width: auto;
    text-align: right;
    font-weight: 600;
    letter-spacing: 0.4px;
}

.event .icon {
    margin-right: 0;
    text-align: center;
}

.event .icon img {
    width: 46px;
    height: 46px;
    object-fit: contain;
}

.event .description {
    font-size: 0.95em;
    color: #555;
    text-align: left;
}

.event .hidden {
    font-size: 0.8em;
    color: #555;
}

.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-crew {
    max-width: 3%;
}

.element {
    max-width: 4%;
}

@media only screen and (max-width: 600px) {
    .timeline {
        position: relative;
        margin: 40px auto;
        width: min(760px, 92vw);
        padding-left: 28px;
        border-left: 3px solid #555555;
    }

    .event {
        grid-template-columns: 78px 48px 1fr;
    }

    .event .icon img {
        width: 40px;
        height: 40px;
    }

    .event .description {
        font-size: 0.86em;
    }
}
b{
    font-weight: bold!important;
}

/* CONTACTO */
.rrss {
    width: 30px;
    /* Ancho del icono */
    height: auto;
    /* Altura del icono */
    margin-top: 6px;
}

.contacto p {
    margin: 0;
    /* Elimina el margen predeterminado del párrafo */
    text-align: justify;
}


@media (max-width: 768px) {
    .contacto {
        padding: 15px;
        display: inline-flex;
        flex-direction: column;
    }
}

.contacto-info {
    text-align: center;
    /* margin: 20px 0; */
}

.contacto-info a {
    display: inline-block;
    background-color: #D28D6F;
    /* Color característico de WhatsApp */
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 25px;
    transition: background-color 0.3s ease;
}

.contacto-info a:hover {
    background-color: #FFFFFF;
    border: solid 1px #D28D6F;
    color: #D28D6F;
    text-decoration: none;
    /* Más oscuro al pasar el ratón */
}


/* INFORMACIÓN DE INTERÉS */

#info_interes {
    background-size: cover;
    text-align: center;
    padding: 20px;
    background-color: black;
    filter: opacity(0.8);
}

/* @media only screen and (max-width: 600px) {
    #info_interes {
        background-size: auto;
    }
} */

#info_interes h1 {
    color: white;
    font-family: 'Quattrocento', serif;
    font-size: 35px;
    letter-spacing: 2px;
}

#info_interes h4 {
    color: white;
}

#info_interes p {
    text-align: center;
    padding: 20px;
    padding: 10px;
    color: white;
}

/* Accordion styles */
#info_interes .card {
    background: none;
    border: none;
    margin-bottom: 10px;
}

#info_interes .card-header {
    background: none;
    border: none;
    padding: 0;
}

#info_interes .btn-link {
    color: white;
    text-decoration: none;
    font-size: inherit;
    font-family: inherit;
    padding: 10px 0;
    border: none;
    background: none;
    width: 100%;
    text-align: center;
    display: block;
    position: relative;
}

#info_interes .btn-link::after {
    content: '▼';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
    font-size: 14px;
}

#info_interes .btn-link.collapsed::after {
    transform: translateY(-50%) rotate(180deg);
}

#info_interes .btn-link:hover, #info_interes .btn-link:focus {
    color: white;
    text-decoration: none;
    outline: 2px solid #D28D6F;
    outline-offset: 2px;
}

#info_interes .btn-link[aria-expanded="true"] {
    color: #D28D6F;
}

#info_interes .card-body {
    padding: 0 20px 20px 20px;
}

#info_interes h2 {
    color: white;
    font-family: 'Quattrocento', serif;
    font-size: 24px;
    margin: 0;
}


.slider {
    align-items: center;
    position: relative;
    overflow: hidden;
    max-width: 800px;
    margin: auto;
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    box-sizing: border-box;
    text-align: center;
    padding: 20px;
}

.nav {
    background-color: #00000000;
    border: none;
    color: white;
    font-size: 24px;
    padding: 10px;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.nav.prev {
    left: 10px;
}

.nav.next {
    right: 10px;
}

.nav:focus {
    outline: none;
}




/* ASISTENCIA */

#asistencia {
    text-align: center;
    padding: 40px 20px;
}

#asistencia h1 {
    font-family: 'Quattrocento', serif;
    font-size: 35px;
    color: black;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

#asistencia p {
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    color: #000;
    margin-bottom: 40px;
}

/* Formulario */
.form-container-asist {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 450px;
    margin: 0 auto;
    font-family: 'Roboto', sans-serif;
}

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

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

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

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

input::placeholder {
    color: #888888;
}

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

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

label[for="acompanadoNo"],
label[for="acompanadoSi"],
label[for="busNo"],
label[for="busSi"]  {
    font-size: 14px;
    color: #555555;
}

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

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

#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 */
}

.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;
} */


/* Botón de enviar: Estilo Business */
button#submit,
button#addAcompananteButton,
button#guardarButton,
button#deleteAcompananteButton,
button#descargar_app {
    background-color: #D28D6F;
    /* Azul corporativo */
    color: #ffffff;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 500;
    padding: 12px 40px;
    border: none;
    border-radius: 50px;
    /* Bordes redondeados y modernos */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /* Sombra sutil */
    cursor: pointer;
    transition: all 0.3s ease;
}

button#submit:hover,
button#addAcompananteButton:hover,
button#guardarButton:hover,
button#deleteAcompananteButton:hover,
button#submit:focus,
button#addAcompananteButton:focus,
button#guardarButton:focus,
button#deleteAcompananteButton:focus,
button#submit:active,
button#addAcompananteButton:active,
button#guardarButton:active,
button#deleteAcompananteButton:active,
button#descargar_app:hover,
button#descargar_app:focus,
button#descargar_app:active {
    background-color: #FFFFFF;
    /* Azul más oscuro para hover */
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
    /* Intensifica la sombra */
    transform: translateY(-2px);
    border: 1px solid #D28D6F!important;
    color: #D28D6F;
    /* Ligero levantamiento al hacer hover */
}

.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: #000;
    transition: border-color 0.3s ease;
}

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

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

input[type=checkbox] {
    accent-color: #D28D6F;
}




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

    #asistencia h1 {
        font-size: 30px;
    }

    #asistencia p {
        font-size: 16px;
    }
}

/* CARROUSEL */

#carrousel {
    text-align: center;
    padding: 20px;
}

#carrousel h1 {
    font-family: 'Quattrocento', serif;
    font-size: 35px;
    color: black;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

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



.carousel-item img {
    height: auto;
    /* Ajusta la altura de las imágenes */
    max-width: 40%;
    object-fit: cover;
    /* Asegúrate de que las imágenes se escalen correctamente */
    margin: 0 auto;
}

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


.carrousel-texto img {
    position: absolute;
    max-width: 7%;
    margin-top: -4%;
    margin-left: -22%;
    transform: rotate(-30deg);
}

@media only screen and (max-width: 600px) {
    .carousel-item img {
        height: 450px;
        /* Ajusta la altura de las imágenes */
        max-width: 100%;
    }

    .carousel-caption {
        right: 7% !important;
        left: 7% !important;
    }

    .carrousel-texto img {
        position: absolute;
        max-width: 15%;
        margin-top: -20%;
        margin-left: -43%;
        transform: rotate(-10deg);
    }
}



/* MÚSICA */

#musica {
    text-align: center;
    padding: 20px;
}

#musica h1 {
    color: black;
    font-family: 'Quattrocento', serif;
    font-size: 35px;
    letter-spacing: 2px;
}

.musica-texto p {
    text-align: center;
    padding: 20px;
    padding: 10px;
}

/* REGALOS */
.tarjeta-regalos{
    padding: 20px;
}
#regalos {
    text-align: center;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 18px;
}

#regalos h1 {
    color: black;
    font-family: 'Quattrocento', serif;
    font-size: 35px;
    letter-spacing: 2px;
}

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

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

/* FOOTER */
.pre-footer {
    max-width: 50%;
    margin: 0 auto;
}

@media only screen and (max-width: 600px) {
    .pre-footer {
        max-width: 100%;
    }
}

footer {
    background-color: #4a4949;
    padding: 10px;
    color: white;
}

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

#carouselHoteles {
    padding: 10px 45px;
    max-width: 400px;
    margin: 0 auto;
}

#carouselHoteles .hospedaje-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 10px;
}

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

#carouselHoteles .img-hotel {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

#carouselHoteles .info-hospedaje {
    background-color: rgb(255,255,255, 0.1);
    color: #555;
    padding: 15px;
    text-align: center;
    font-family: 'Quattrocento', serif;
    font-size: 18px;
    line-height: 1.5;
}
.info-hospedaje p{
    text-decoration: underline;
}

.audio-hint {
    position: fixed;
    bottom: 80px;
    right: 5px;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.9rem;
    z-index: 10000;
    cursor: pointer;
    animation: float 1.5s ease-in-out infinite;
    text-transform: uppercase;
    font-family: "ChampionGothic";
}

.audio-btn {
    position: fixed;
    bottom: 20px;
    right: 5px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10000;
    border: none;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.audio-btn img {
    width: 20px;
}
.fotos_container{
    padding: 40px 20px;
}
#fotos{
    padding: 20px;
    background-color: #ffffff;
    border-radius: 18px;
    text-align: center;
}
#fotos h1{
    font-family: 'Quattrocento', serif;
    font-size: 35px;
    color: black;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center;
}
.qr-code{
    width: 100%;
}