.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;
    background-color: #3b3f30;
}


.main-content-wrapper{
    background-color: #3b3f30;
}




/* PORTADA */


.post-header {
    max-width: 70%;
    margin: 20px auto 0px;
}



/* BIENVENIDOS */

#bienvenidos {
    text-align: center;
}

.frase_personal{
    color: #E0E0E0;
    text-align: center;
    padding: 20px 20px 20px 20px;
    font-size: 0.9rem;
}


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

.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;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 20px;
    margin: 0 auto;
    width: 100%;
    max-width: 1100px;
    box-sizing: border-box;
    color: #E0E0E0;
    height: auto;
    gap: 12px;
}

@media only screen and (max-width: 600px) {
    .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: #E0E0E0;
        height: auto;
        gap: 12px;
    }
}

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

.barra {
    font-size: 3rem;
    color: #E0E0E0;
}

#cuenta-atras {
    display: flex;
    /* align-items: center; */
    justify-content: center;
}

.tiempo {
    text-align: center;
}




/* LOCATION */

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

#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% 95%, 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));
}


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


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

.finca-image-container .information-texto a{
    color: #E0E0E0;
    text-decoration: underline;
    font-size: 18px;
    line-height: 1.5;
}


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

    .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 0;
    padding-left: 40px;
    border-left: 3px solid black;
    margin-left: 660px;
}

@media only screen and (max-width: 600px) {
    .timeline {
        position: relative;
        margin: 50px 0;
        padding-left: 40px;
        border-left: 3px solid black;
    }
}

.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: 20px;
    width: 12px;
    height: 12px;
    background-color: #868686;
    border-radius: 50%;
}

.event .time {
    width: 100px;
}

.event .icon {
    margin-right: 20px;
}

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

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

.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: 50px 0;
        padding-left: 40px;
        border-left: 3px solid black;
    }
}

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

.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;
    padding-left: 0!important;
    padding-right: 0!important;
}

.contacto-info a {
    display: inline-block;
    background-color: transparent;
    /* Color característico de WhatsApp */
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border: 1px solid white;
}

.contacto-info a:hover {
    background-color: white;
    color: #3b3f30;
    text-decoration: none;
    /* Más oscuro al pasar el ratón */
}


/* INFORMACIÓN DE INTERÉS */

#info_interes {
    text-align: center;
    padding: 20px;
}
#info_interes b{
    font-weight: bold;
}
hr{
    background-color: #E0E0E0;
}

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

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

#info_interes h4 {
    color: #E0E0E0;
}

#info_interes p {
    text-align: justify;
    padding: 10px;
    color: #E0E0E0;
}



.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;
    background-color: white;
}

#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: #555555;
    margin-bottom: 40px;
    text-align: justify;
}

/* Formulario */
.form-container-asist {
    background: #ffffff;
    border-radius: 5px;
    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;
}

input[type=checkbox] {
    accent-color: #3b3f30;
}
#closeButton img,
#cerrar-modal img {
    max-width: 40px;
}

label {
    display: block;
    font-size: 16px;
    color: #333333;
    margin-top: 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: #3b3f30;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="tel"]:focus {
    border-color: #3b3f30;
    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"] {
    font-size: 14px;
    color: #555555;
}

label[for="bebidaNo"],
label[for="bebidaSi"] {
    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: 20px;
    cursor: pointer;
    width: 20px;
    height: 20px;
}

.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: #3b3f30;
    color: #E0E0E0;
    border: 1px solid #E0E0E0;
}

/* Botón de enviar: Estilo Business */
button#submit,
button#addAcompananteButton,
button#guardarButton,
button#deleteAcompananteButton {
    background-color: #3b3f30;
    color: #E0E0E0;
    border: 1px solid #E0E0E0;

}

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

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

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

button#submit:hover,
button#addAcompananteButton:hover,
button#guardarButton:hover,
button#deleteAcompananteButton:hover {
    background-color: white;
    color: #3b3f30;
    border: 1px solid #3b3f30;
    /* 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 */
}

/* 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: justify;
    padding: 20px;
    padding: 10px;
}

/* REGALOS */

#regalos {
    text-align: center;
    padding: 20px;
    color: #E0E0E0;
}

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

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

.plain-text {
    color: #E0E0E0;
    background: none;
    font-family: 'Quattrocento', serif;
    font-size: larger;
    font-weight: bold;
    padding: 0;
    margin: 0;
    text-align: center;
}

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

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

footer {
    background-color: #3b3f30;
    padding: 10px;
    color: white;
}

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

.footer_video{
    max-width: 100%;
}

.select_bebida,
.otros-acomp-container{
    padding-left: 0!important;
    padding-right: 0!important;
}

@media only screen and (min-width: 992px) {
    body.custom-body{
        background-color: #E0E0E0!important;
    }
    header {
        padding-left: 25%;
        padding-right: 25%;
    }
    .main-content-wrapper {
        padding-left: 25%;
        padding-right: 25%;
        background-color: #E0E0E0!important;
    }
    #cuenta-atras {
        justify-content: center;
        align-items: center;
    }
    .finca-image-container{
        clip-path: polygon(0 0, 100% 0, 100% 97%, 0 100%);
    }
    #asistencia p{
        text-align: center;
    }
    #regalos,
    #info_interes,
    #bienvenidos{
        background-color: #3b3f30;
    }
    .footer_video {
        width: 100%;
        height: 1000px;
        background-color: white;
    }
    .regalos-texto p{
        text-align: center;
    }
}