/* Reset de estilos */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Estilos generales */
body {
    font-family: "Newsreader", serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    line-height: 1.6;
    color: #343434
}

html {
    scroll-behavior: smooth;
}

header {
    /* position: relative;*/

}



#imagen-principal {
    z-index: 15;
    width: 100%;
    height: 100vh;
    background-image: url(../imagenes/../imagenes/toledo-principal.webp);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    /* Contenedor para posicionar elementos encima */
}

@media (max-width: 768px) {
    #imagen-principal {
        background: url(../imagenes/toledo-principal-movil.webp);
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
        position: relative;
    }
}


.OutLogo {
    position: absolute;
    top: 10px;
    width: 100%
}

.logo {
    height: auto;
    width: 80%;
    max-width: 250px;
    position: absolute;
    top: 30px;
    left: 20px;
}

.logo img {
    width: 100%;
    height: auto
}

.video-text {
    width: 80%;
    margin: auto;
    margin-bottom: 30px;
    text-align: center;
    top: 50%;
    left: 50%;
    z-index: 10;
    /* Asegura que el texto quede encima del video */
    color: white;
    /* Cambia el color del texto */
    font-family: "Newsreader", serif;
    font-optical-sizing: auto;
    font-size: 1.6em;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    font-weight: 500;
    font-style: italic;
    line-height: 1.2;

}

.reserva-container {
    font-size: 1.4em;
    text-align: center;
    margin-top: 40px;
}

.descubre {
    margin-top: 40px;
    text-align: center;
}

.descubre a {
    font-size: 1.2rem;
    text-decoration: none;
    color: #065c4a;
}

.reserva-container2 {
    display: none;
    text-align: center;
    margin-bottom: 50px;
    font-size: 1.2em;
}

.reserva-container3 {
    text-decoration: none !important;
    font-size: 1.5em;
    text-align: center;
    margin-top: 40px;
}

.reserva-container3 a {
    font-size: large;
    text-decoration: none !important;
    background-color: #333;
    padding: 15px;
    color: white;
}

.reserva-container3 a:hover {

    background-color: #065c4a;

}


.Down {

    text-align: center;
    margin-top: 85vh;
}

.Down img {
    width: 30px;
    height: auto;
}

/* Pantalla completa oculta por defecto */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: white;
    /* o rgba(0, 0, 0, 0.8) si quieres semitransparente */
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 9999;
}



.Down h3 {
    margin-bottom: 20px;
    color: white;
    font-style: italic;
    font-size: 2rem;
    font-weight: 400;
}

.wraper {
    width: 90%;
    margin: auto;
    max-width: 1400px;
}

.contenedor {

    gap: 70px;
    display: flex;

}

.texto1 {
    margin-bottom: 50px;
    margin-top: 50px;

}

.texto1 h2 {
    font-size: 2rem;
    font-weight: 300;
}

.info-casa {
    margin-top: -90px;
    text-align: left;
    margin-bottom: 60px;
    margin-top: 90px;

}

.info-casa h3 {
    font-weight: 300;
    margin-bottom: 0;
    margin-top: 150px;
    font-size: 1.7rem;
}

.info-casa h6 {
    margin-top: 0;
    font-size: 0.8rem;
    font-weight: 300;
}

.info-casa h5 {
    margin-top: 20px;
    font-size: 1.1rem;
    font-weight: normal;
}

.info-casa h6 {
    margin-top: 5px;
    font-size: 1.1rem;

}

.info-casa p {
    margin-top: 20px;
    text-align: left;
    font-size: 1.1em
}

.icon-container p {
    margin-top: 0;
}

.galeria-imagenes {
    column-count: 3;
    column-gap: 1em;
}

.botones {
    text-align: center;
    margin-top: 80px;
}


.botones a {
    text-align: center;
    display: inline-block;
    padding: 10px 10px;
    background-color: #EDEDED;
    /* azul */
    color: #494949;
    text-decoration: none;
    width: 150px;


}



.botones a:hover {
    background-color: #18988b;
    color: white;
}


.botonesemanas {
    padding: 50px;
    margin-top: 50px;

}

.botones1 {
    text-align: center;
}



.iconoorganiq {
    text-align: center;
}

.icono2 {
    text-align: center;
    margin-top: 20px;
    width: 75px;
    margin-bottom: 8px;
}


.botones1 a {
    text-align: center;
    display: inline-block;
    padding: 10px 10px;
    background-color: #454545;
    /* azul */
    color: #ffffff;
    text-decoration: none;
    width: 200px;


}

.galeria-imagenes {
    margin-top: 40px;
}

.botones1 a:hover {
    background-color: #18988b;
    color: white;
}

.reservasemana h2 {
    color: white;
    text-align: center;
    font-weight: 500;
    font-size: 1.8rem;
}

.reservasemana {
    background-color: #454545;
    padding: 50px;

}

.info-casa2 {
    text-align: left;
    color: white;
    margin-top: 300px;
    font-size: 1.15em
}

.botones2 {
    margin-top: 20px;
    text-align: center;
}


.botones2 a {
    text-align: center;
    display: inline-block;
    padding: 10px 10px;
    background-color: #EDEDED;
    color: #343434;
    text-decoration: none;
    font-weight: 400;
    width: 100px;


}

.botones2 a:hover {
    background-color: #18988b;
    color: white;
}

.tarifas-container-dos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 80px;
    justify-items: center;

}

.tarifas-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 80px 80px 30px 80px;
    justify-items: center;
}

.tarifa {
    background-color: #edecec;
    text-align: center;
    padding: 20px 15px;
    color: #333;
    width: 100%;

}

.tarifa h3 {
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: normal;
}

.tarifa .precio {
    font-size: 22px;
    font-weight: bold;
    margin: 8px 0;
}

.tarifa p {
    margin: 3px 0;
    font-size: 1em;
    font-weight: 400
}

.icono {
    width: 45px;
    margin-bottom: 8px;
}

.titulosemana {
    margin-top: 70px;
    text-align: center;
    font-weight: 500;
    font-size: 1.2rem;
}

.galeria-imagenes img {
    cursor: pointer;
    width: 100%;
    display: block;
    margin-bottom: 1em;
    break-inside: avoid;
}

.reserva-container {
    text-align: center;
    display: inline-block;
    padding: 10px 20px;
    background-color: #454545;
    color: #ffffff;
    text-decoration: none;
}

.reserva-container a {
    text-decoration: none;
    color: white;
}

.texto2 {
    text-align: center !important;
}

.texto1 {
    text-align: center;
}


.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    justify-content: center;
    align-items: center;
}

.lightbox-modal.show {
    display: flex;
}

.lightbox-modal img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
}

.lightbox-modal .close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

.controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 30px;
}

.arrow {
    font-size: 2rem;
    color: white;
    cursor: pointer;
    user-select: none;
}

.carousel-container {
    width: 80%;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    background-color: #fff;
    overflow: hidden;
    border-radius: 10px;
    margin-top: 70px;
}

.carousel-container h3 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

/* El contenedor de las reseñas */
.carousel {
    margin-top: 0;
    margin-bottom: 10px;
    display: flex;
    transition: transform 0.5s ease;
    animation: slideAnimation 24s infinite;
    /* 24s para incluir los 8 segundos por reseña */
}

/* Cada reseña */
.review {
    min-width: 100%;
    text-align: center;
    background: #fff;
    border-radius: 10px;
    box-sizing: border-box;
    font-size: 16px;
    color: #454545;
}

.rating {
    font-size: 24px;
    color: #065c4a;
}



.imagen-casa1 {
    margin-top: 100px;
}

.footer {
    margin: auto;
    width: 80%;
    margin-top: 30px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 15px;
    font-size: 14px;
    text-align: center;
    flex-wrap: wrap;
}

.footer-logo {
    width: 200px;
    height: 200px;

}

.footer-links {
    display: flex;
    flex-direction: row;
    gap: 15px;
    margin-right: 20px;
}

.footer-links a {
    color: #494949;
    text-decoration: none;
}




.column {

    flex-direction: column;
    align-items: center;
    gap: 20px;
    /* Espacio entre los iconos */
    text-align: center;
    flex: 1;
    /* Ambas columnas tendrán el mismo ancho */
    max-width: 200px;
    /* Evita que las columnas sean muy anchas */
}

/* Estilo para los ítems de cada columna */
.icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/* Estilo para las imágenes de los iconos */
.icon-item img {
    width: 40px;
    /* Ajusta el tamaño del ícono */
    height: auto;
}


.franja {
    display: flex;
    flex-direction: row;
    gap: 12px;
    padding: 16px;
    background-color: #ffffff;
    border-top: 1px solid #cccccc;
    position: fixed;
    width: 100%;
    bottom: 0;
    z-index: 2;
    background: #ffffff;
    padding: 16px;
    text-align: center;
    justify-content: center;
}

.franja a {
    flex: 1;
    text-align: center;
    padding: 3px;
    color: #065c4a;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    font-weight: 400;
    font-size: 1.1em
}




@keyframes slideAnimation {
    0% {
        transform: translateX(0);
    }

    10% {
        transform: translateX(0);
        /* Mantiene la primera reseña visible */
    }

    25% {
        transform: translateX(-100%);
        /* Desplaza a la segunda reseña */
    }

    50% {
        transform: translateX(-100%);
        /* Mantiene la segunda reseña visible */
    }

    55% {
        transform: translateX(-200%);
        /* Desplaza a la tercera reseña */
    }

    100% {
        transform: translateX(-200%);
        /* Mantiene la tercera reseña visible */
    }
}


/* Pantalla completa oculta por defecto */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: white;
    /* o rgba(0, 0, 0, 0.8) si quieres semitransparente */
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 9999;
}

/* Botón de cerrar */
.cerrar-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
}

/* Mostrar overlay cuando está activo */
.overlay.activo {
    display: flex;
}

/* Estilo de contenido */
.contenido-overlay {
    text-align: center;
}

.imagenoculta {
    display: none;
}

.imagencasaoculta2 {
    display: none;
}




@media (max-width: 480px) {

    .botones a {
        width: 100px;
    }

    .tarifa .precio {
        font-size: 18px;
    }

    .espaciador {
        margin-top: 60px;
    }

    .imagencasaoculta2 {
        display: none;
    }


    .imagencasaoculta {
        display: block;
        margin-top: 100px;
    }


    .imagenoculta {
        display: block;
    }

    .imagenoculta2 {
        display: none;
    }




    .Down h3 {
        font-size: 1.2rem;
    }

    .botones {
        margin-top: 60px;
        margin-bottom: 60px;
    }

    .texto1 h2 {
        font-size: 1.5rem;
    }

    .texto1 h2 p {
        font-size: 1.5rem;
    }

    .texto1 {
        text-align: left;
        margin-top: 60px;
        margin-bottom: 60px;
    }

    .reservasemana h2 {
        font-size: 1.6rem;
    }

    .titulosemana {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .botones1 a {
        margin: 5px;
    }

    .botones2 {
        margin-bottom: 40px;
    }

    .reservasemana {
        padding: 20px 0;
    }

    .reservasemana p {
        margin-top: -280px;
    }


    .tarifas-container-dos {
        display: grid;
        grid-template-columns: repeat(1, 1fr);

        padding: 0px;
        justify-items: center;
    }

    .tarifas-container {
        display: grid;
        grid-template-columns: repeat(1, 1fr);

        padding: 0px;
        justify-items: center;
    }


    .galeria-imagenes {
        column-count: 1;
        column-gap: 1em;
    }

    .contenedor {
        margin-top: 0px;

    }

    .info-casa h3 {
        margin-top: 15px;

    }

    .logo {
        max-width: 120px;
    }

    .footer {
        flex-direction: column;
        text-align: center;
    }

    .icon-item {
        margin-top: 20px;
    }


    .footer-links {
        display: block;
        flex-direction: column;
        margin-bottom: 20px;
        margin-right: 10px;
    }

    .contenedor {
        display: block;
    }

    .imagen-casa1 img {
        width: 100%;
    }

    .imagen-casa1 {
        margin-bottom: 10px;
        text-align: center;
    }

    .info-casa h3 {
        font-size: 1.5rem;

        text-align: center;
    }

    .info-casa h6 {

        text-align: center;
    }

    .info-casa h5 {

        text-align: center;
    }

    .info-casa h6 {
        text-align: center;
        margin-bottom: 30px;

    }

    .info-casa p {
        margin-top: 30px;

    }

    .info-casa {
        margin-top: 0;
        text-align: center;
    }

    .pastilla {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .icon-container {

        width: 300px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        /* 2 columnas */
        gap: 20px;
        justify-items: center;
        /* centra cada icon-item */
    }

    .video-text h3 {
        font-size: 1.3rem;
    }

    .salto-movil {
        display: block;
        /* fuerza salto de línea */
    }



}

@media (max-width: 768px) {

    .botones a {
        width: 100px;
    }


    .imagen-casa1 {
        text-align: center;
        margin-bottom: 0px;
        margin-top: 10px;
    }

    .contenedor {
        display: block;
    }

    .info-casa {
        margin-top: 0;
        text-align: center;
    }

    .espaciador {
        margin-top: 60px;
    }

    .imagencasaoculta2 {
        display: none;
    }


    .imagencasaoculta {
        display: block;
        margin-top: 100px;
    }


    .imagenoculta {
        display: block;
    }

    .imagenoculta2 {
        display: none;
    }




    .Down h3 {
        font-size: 1.5rem;
    }

    .botones {
        margin-top: 60px;
        margin-bottom: 60px;
    }

    .texto1 h2 {
        margin-bottom: 20px;
        font-size: 1.5rem;
    }

    .texto1 {

        margin-top: 60px;
        margin-bottom: 60px;
    }

    .reservasemana h2 {
        font-size: 1.6rem;
    }

    .titulosemana {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .botones1 a {
        margin: 5px;
    }

    .botones2 {
        margin-bottom: 40px;
    }

    .reservasemana {
        padding: 50px 0;
    }

    .reservasemana p {
        margin-top: -280px;
    }


    .tarifas-container-dos {
        display: grid;
        grid-template-columns: repeat(1, 1fr);

        padding: 0px;
        justify-items: center;
    }

    .tarifas-container {
        display: grid;
        grid-template-columns: repeat(1, 1fr);

        padding: 0px;
        justify-items: center;
    }


    .galeria-imagenes {
        column-count: 1;
        column-gap: 1em;
    }

    .contenedor {
        margin-top: 0px;

    }

    .info-casa h3 {
        margin-top: 15px;

    }

    .logo {
        max-width: 180px;
    }

    .Down {
        margin-top: 70vh;
    }

    .footer {
        flex-direction: column;
        text-align: center;
    }

    .icon-item {
        margin-top: 20px;
    }


    .footer-links {
        display: block;
        flex-direction: column;
        margin-bottom: 20px;
        margin-right: 10px;
    }

    .contenedor {
        display: block;
    }

    .imagen-casa1 img {
        width: 100%;
    }

    .imagen-casa1 {
        margin-bottom: 10px;
        text-align: center;
    }

    .info-casa h3 {
        font-size: 1.5rem;

        text-align: center;
    }

    .info-casa h6 {

        text-align: center;
    }

    .info-casa h5 {

        text-align: center;
    }

    .info-casa h6 {
        text-align: center;
        margin-bottom: 30px;

    }

    .info-casa p {
        margin-top: 30px;

    }

    .info-casa {
        margin-top: 0;
        text-align: center;
    }

    .pastilla {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .icon-container {

        width: 300px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        /* 2 columnas */
        gap: 20px;
        justify-items: center;
        /* centra cada icon-item */
    }

    .video-text h3 {
        font-size: 1.3rem;
    }

    .salto-movil {
        display: block;
        /* fuerza salto de línea */
    }

    .franja {
        display: flex;
        flex-direction: row;
        gap: 12px;
        padding: 16px 5px;
        background-color: #ffffff;
        position: fixed;
        width: 100%;
        bottom: 0;
        z-index: 2;
        background: #ffffff;
        text-align: center;
        justify-content: center;
    }

    .franja a {
        flex: 1;
        text-align: center;
        padding: 3px 0;
        color: #065c4a;
        border-radius: 8px;
        text-decoration: none;
        cursor: pointer;
        line-height: 1
    }




}

summary {
    font-weight: 400
}

summary:hover {
    text-decoration: underline;
    cursor: pointer
}