/* ---------------------------------------------HEADER y FONDO------------------------------------------------- */

body {
    margin: 0;
    padding: 0;
    text-align: center;
}

header {
    background-color: white;
    padding: 0.5% 0 0.5% 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

main#contenido {
    margin-top: 8vh;
    min-height: calc(100vh - 100px);
    background-image: url('../imagenes/Servicios/Servicio6.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    background-attachment: scroll;
}

main#contenido .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.card {
    background: white;
    border-radius: 8px;
    padding: 15px;
    margin: 10px auto;
    max-width: 400px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 0 2vw;
}

.logo-wrap {
    width: 21vw;
    display: flex;
    align-items: center;
    color: rgb(24, 154, 219);
    font-family: fantasy;
    font-size: 1.7vw;
    justify-content: space-around;
}

.logo-wrap img {
    height: 8vh;
}

.verde {
    color: rgba(41, 217, 75)
}

.bar-wrap {
    width: 75%;
    display: flex;
    justify-content: flex-end;
    color: black;
    gap: 2.5%
}

.bar-wrap li {
    list-style: none;
}

.bar-wrap a {
    text-decoration: none;
    color: inherit;
}

.bar-wrap a:hover {
    color: rgb(24, 154, 219);
    font-weight: bold;
}

.bar-wrap div:hover {
    color: rgb(24, 154, 219);
    font-weight: bold;
}


/*-------------------------------BODY--------------------------------*/

.Bienvenida {
    position: relative;
    color: white;
    z-index: 10;
    top: 4vh;
    margin: auto;
    width: 90%;
    height: auto;
    overflow: hidden;
    text-align: center;
}

.texto1 {
    font-size: 4rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    color: #e5bb51;
}

.texto2 {
    font-size: 1.5rem;
    font-weight: 300;
    font-family: cursive;
}

.animar {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.animar.visible {
    opacity: 1;
    transform: translateY(0);
}

.Cabinas {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: space-between;
    position: relative;
    color: black;
    z-index: 10;
    gap: 4rem;
    height: auto;
    margin: 4% 5%;
}

.villa {
    flex: 1;
    height: auto;
    display: flex;
    border-radius: 20px 20px;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.4));
}

.Imagen {
    position: relative;
    overflow: hidden;
    height: auto;
    border-radius: 20px;
    aspect-ratio: 16 / 19;
}

.Imagen img {
    border-radius: 20px;
    height: auto;
    aspect-ratio: 16 / 19;
    width: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.5s ease, filter 0.5s ease;
}

.TxtMovilvisible {
    opacity: 0;
}

.overlayInfo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.589);
    color: black;
    display: flex;
    flex-direction: column;
    /* los textos se colocan uno debajo del otro */
    gap: 0.5rem;
    /* separación entre textos */
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 20px 20px;
}

.Imagen:hover img {
    transform: scale(1.05);
    filter: brightness(70%);
}

.Imagen:hover .overlayInfo {
    opacity: 1;
}

.Info {
    text-align: center;
    font-size: 3.5rem;
    font-family: "Pinyon Script", cursive;
    font-style: normal;
    font-weight: 600;
}

.Resumen {
    font-size: 1.5rem;
    font-family: "Newsreader", serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: 300;
    padding: 0 4%;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.523);
}

.DetallesBottom {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    position: relative;
    height: 4vh;
    color: white;
    z-index: 16;
    margin: 10% 5%;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.DetalleTitulo {
    font-size: 2.8rem;
    font-weight: 500;
    font-family: "Pinyon Script", cursive;
    font-style: normal;
    color: #e5bb51;
}

.DetalleDescripcion {
    font-size: 1.5rem;
    font-family: "Newsreader", serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: 300;
    color: white;
    margin: 2% 0;
}

.EspacioFinal {
    display: flex;
    align-items: stretch;
    justify-content: center;
    position: relative;
    height: 4vh;
    color: white;
    z-index: 16;
}


/*----------------------------------------RESPONSIVE---------------------------------------*/

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: rgb(24, 154, 219);
}

.bar-wrap {
    display: flex;
    justify-content: flex-end;
    gap: 2rem;
    transition: all 0.3s ease;
}

.bar-wrap.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: white;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    padding: 1rem 0;
    z-index: 999;
}

@media (max-width: 1024px) {
    .logo-wrap {
        font-size: 1.3rem;
    }
    .Bienvenida {
        width: 90%;
        height: auto;
    }
    .texto1 {
        font-size: 4rem;
    }
    .texto2 {
        font-size: 1.5rem;
    }
    .TxtMovilvisible {
        opacity: 1;
        margin: 8% 5% 0 6%;
        color: white;
        position: relative;
        text-align: justify;
        z-index: 10;
        font-family: "Newsreader", serif;
        font-weight: 350;
        font-size: 1.5rem;
        text-shadow: 2px 2px 4px rgb(0, 0, 0);
    }
    .overlayInfo {
        opacity: 1;
        background-color: rgba(255, 255, 255, 0.289);
    }
    .Info {
        font-size: 2.3rem;
    }
    .Resumen {
        font-size: 1.1rem;
        font-weight: 400;
        text-shadow: 2px 2px 4px rgb(255 255 255);
    }
    .DetallesBottom {
        margin: 15% 5%;
    }
    .DetalleTitulo {
        font-size: 2.6rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    .bar-wrap {
        display: none;
        flex-direction: column;
    }
    .bar-wrap.active {
        display: flex;
    }
    .logo-wrap img {
        height: 60px;
    }
    .logo-wrap {
        font-size: 1.3rem;
    }
    .Bienvenida {
        width: 90%;
        margin: auto;
        height: auto;
    }
    .texto1 {
        font-size: 3rem;
    }
    .texto2 {
        font-size: 1.2rem;
    }
    .columnas {
        position: relative;
        display: flex;
        flex-direction: column;
    }
    .TxtMovilvisible {
        opacity: 1;
        margin: 8% 5% 0 6%;
        color: white;
        text-align: justify;
        z-index: 10;
        font-family: "Newsreader", serif;
        font-weight: 350;
        font-size: 1.2rem;
        text-shadow: 2px 2px 4px rgb(0, 0, 0);
    }
    .Cabinas {
        flex-direction: column;
    }
    .overlayInfo {
        opacity: 1;
        background-color: rgba(255, 255, 255, 0.289);
    }
    .Info {
        font-size: 5rem;
    }
    .Resumen {
        font-size: 1.7rem;
        font-weight: 400;
        text-shadow: 2px 2px 4px rgb(255 255 255);
    }
    .DetallesBottom {
        height: 20vh;
        margin: 8% 5%;
    }
    .DetalleTitulo {
        font-size: 2.6rem;
    }
    .DetalleDescripcion {
        font-size: 1.2rem;
        margin: 4% 0;
        text-align: justify;
    }
    .EspacioFinal {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .menu-toggle {
        padding-right: 5%;
    }
    header {
        padding: 0.5rem;
    }
    .logo-wrap {
        font-size: 1.2rem;
    }
    .Bienvenida {
        width: 90%;
        height: 12vh;
        margin: 5% 5%;
    }
    .texto1 {
        font-size: 2rem;
    }
    .texto2 {
        font-size: 1rem;
    }
    .columnas {
        position: relative;
        display: flex;
        flex-direction: column;
    }
    .TxtMovilvisible {
        opacity: 1;
        margin: 8% 5% 0 6%;
        color: white;
        text-align: justify;
        z-index: 10;
        font-family: "Newsreader", serif;
        font-weight: 350;
        font-size: 1.1rem;
        text-shadow: 2px 2px 4px rgb(0, 0, 0);
    }
    .Cabinas {
        flex-direction: column;
    }
    .DetallesBottom {
        height: 20vh;
        margin: 15% 5%;
    }
    .DetalleTitulo {
        font-size: 2.1rem;
    }
    .DetalleDescripcion {
        font-size: 1rem;
        text-align: justify;
        margin: 4% 0;
    }
    .overlayInfo {
        opacity: 1;
        background-color: rgba(255, 255, 255, 0.289);
    }
    .Info {
        font-size: 3rem;
    }
    .Resumen {
        font-size: 1.3rem;
        font-weight: 450;
        text-shadow: 2px 2px 4px rgb(255 255 255);
    }
    .EspacioFinal {
        font-size: 0.8rem;
    }
}