@font-face {
    font-family: "Caveat";
    src: url(/fonts/Caveat-Regular.ttf);
    font-weight: normal;
}

@font-face {
    font-family: "Boska";
    src: url(/fonts/Boska-Regular.otf);
    font-weight: normal;
}
@font-face {
    font-family: "Boska";
    src: url(/fonts/Boska-Light.otf);
    font-weight: 300;
}
@font-face {
    font-family: "Boska";
    src: url(/fonts/Boska-Medium.otf);
    font-weight: 500;
}

@font-face {
    font-family: "Poppins";
    src: url(/fonts/Poppins-Medium.ttf);
    font-weight: 500;
}
@font-face {
    font-family: "Poppins";
    src: url(/fonts/Poppins-Regular.ttf);
    font-weight: 400;
}
@font-face {
    font-family: "Poppins";
    src: url(/fonts/Poppins-Light.ttf);
    font-weight: 300;
}
@font-face {
    font-family: "Poppins";
    src: url(/fonts/Poppins-SemiBold.ttf);
    font-weight: 600;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth !important;
}

.hidden {
    opacity: 0;
    transition: all .6s;
    /* filter: blur(2px); */
}
.hidden_left {
    transform: translateX(-5%);
}
.hidden_right {
    transform: translateX(5%);
}
.hidden_bottom {
    transform: translateY(20%);
}
.hidden_top {
    transform: translateY(-20%);
}
.hidden_sm {
    scale: 0.97;
}

.show {
    opacity: 1;
    transform: translateX(0);
    transform: translateY(0);
    /* filter: blur(0); */
    scale: 1;
}

a {
    text-decoration: none;
}
body {
    position: relative;
    font-family: "Poppins", serif;
}

nav a {
    text-decoration: none;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    width: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.2s ease;
    height: 60px;
}
.nav-top {
    display: flex;
    justify-content: space-between;
}
/* nav.scrolled {
    background:#1e1e1e;
    backdrop-filter: blur(5px);
} */
nav.scrolled {
    background-color: #fff;
    box-shadow: 0px 4px 38.4px -10px rgba(0, 0, 0, 0.16);

}
.nav-logo {
    color: #fff;
    font-family: "Caveat";
    font-size: 1.3rem;
    line-height: 1.3rem;
    font-weight: normal;
    padding: 20px 7%;
    transition: all 0.2s ease;
}
nav.scrolled .nav-logo {
    color: #4E4438;
}
nav.scrolled .nav-btn {
    fill: #4E4438;
}
nav.scrolled .nav-menu a {
    color: #1e1e1e;
}

.nav-menu a {
    font-weight: 300;
}

.nav-menu {
    display: none;
}

.nav-btn {
    height: 20px;
    width: 20px;
    box-sizing: content-box;
    padding: 20px 7%;
    fill: #fff;
    transition: all 0.2s ease;
}

.nav-menu-opened {
    height: 320px;
}


.nav-mobile {
    position: absolute;
    top: 50px;
    opacity: 1;
    transition: opacity 0.5s ease;
    padding-top: 15px;
    padding-left: 7%;
}
.nav-mobile li {
    list-style: none;
    padding: 7px 0;
} 
.nav-mobile a {
    text-decoration: none;
    color: #1e1e1e;
    font-weight: normal;
}


.d-none {
    display: none;
}
.menu-hidden {
    top: -300px;
    opacity: 0;
    transition: opacity 1s ease;
}

header {
    width: 100%;
    height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}
.header-bg {
    position: absolute;
    height: 500px;
    top: 0;
    left: 0;
    width: 100%;
    object-fit: cover;
    object-position: right;
    z-index: 0;
}
.header-bg-overlay {
    position: absolute;
    width: 100%;
    height: 500px;
    left: 0;
    top: 0px;
    background: #201a13d0;
    backdrop-filter: blur(1px);
    webkit-backdrop-filter: blur(2.3px);
    z-index: 1;
}

.header-text {
    position: relative;
    z-index: 50;
    width: 80%;
    max-width: 500px;
    text-align: center;
}

.header-logo {
    width: 180px;
    margin-bottom: 20px;
}

header h1 {
    font-family: "Caveat";
    font-weight: normal;
    font-size: 2.5rem;
    margin-bottom: 1.2rem;
}

header p {
    font-weight: 300;
    font-size: 0.8rem;
    line-height: 1.3rem;
    margin-bottom: 2rem;
}

.cta-button {
    /* background: #9b7054; */
    background: #4E4438;
    backdrop-filter: blur(2000px);
    padding: 6px 12px 6px 12px;
    border-radius: 5px;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 400;
    display: inline-flex;
    align-items: center;

}
.cta-button svg {
    height: 15px;
    width: 15px;
    margin-right: 7px;
}
.cta-button svg path {
    fill: #fff;
}
.cta-button-light {
    background-color: #e8d8c1;
    color: #4E4438;
}
.cta-button-habitacion {
    background-color: #4E4438;
    border-radius: 20px;
    padding: 6px 12px 6px 12px;
    color: #fff;
    font-size: 0.8rem;
}

section {
    padding: 40px 7% 10px 7%;
    scroll-margin-top: 60px;
}
.section-title {
    color: #4E4438;
    font-weight: 300;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    font-family: 'Caveat';
}

/* HABITACIONES */

.quote-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 50px;
}
.quote-top {
    font-family: 'Poppins';
    font-weight: 300;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
}
.quote-bottom {
    font-family: 'Caveat';
    font-weight: 400;
    font-size: 1.6rem;
    letter-spacing: 0.08em;
}

.habitacion-container {
    width: 100%;
    margin-bottom: 90px;
}
.habitacion-container:last-child {
    margin-bottom: 0;
}


.habitacion-title {
    font-family: "Caveat";
    color: #4E4438;
    font-weight: normal;
    font-size: 2.1rem;
    margin-bottom: 0.8rem;
}

.habitacion-text {
    color: #4E4438;
    font-size: 0.9rem;
    list-style: none;
    margin-bottom: 2rem;
    margin-top: 1.5rem;
}
.habitacion-text p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

/* #### GLIDE */

.glide {
    margin-bottom: 1.7rem;
    position: relative;
    height: fit-content;
}
.glide__track {
    overflow: hidden;
    height: 100%;
}
.habitacion-container .glide img {
    width: 100%;
    height: auto;
}

.glide__arrow {
    cursor: pointer;
    background: none;
    border: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.glide__arrow--left {
    padding: 10px;
}
.glide__arrow--right {
    padding: 10px;
    right: 0;
}

.glide__arrow svg {
    height: 20px;
    width: 10px;
    fill: #fff9;
}

.glide__bullets {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
}
.glide__bullet {
    background: #fff;
    border: none;
    border-radius: 50%;
    height: 7px;
    width: 7px;
}

.habitacion-container .glide img {
    /* aspect-ratio: 512/344; */
    object-fit: cover;
}


/* SERVICIOS */

#servicios {
    background-color: #4E4438;
    padding-top: 40px;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    scroll-margin-top: 60px;
}
.servicios-title {
    font-weight: 300;
    font-size: 1rem;
    letter-spacing: 0.48em;
    color: #C7BAA9;
}
.servicios-container {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    align-items: start;
    gap: 1%;
    margin-top: 2rem;
}
.servicio {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 30%;
    text-align: center;
    margin-bottom: 1.2rem;
}
.servicio svg {
    width: 40px;
}
.servicio:nth-child(2) svg,.servicio:nth-child(4) svg, .servicio:nth-child(6) svg {
    width: 33px;
}
.servicio p {
    color: #C7BAA9;
    margin-top: 0.5rem;
    font-size: 0.8rem;
}


/* NUESTRA POSADA */

.posada-title {
    font-family: "Caveat";
    color: #4E4438;
    font-weight: normal;
    font-size: 1.5rem;
    margin-bottom: 3rem;
    letter-spacing: 0.08em;
    text-align: center;
}
.posada-desayuno {
    display: flex;
    flex-direction: column;
    margin-bottom: 1%;
}
.desayuno-textContainer {
    margin-top: 2rem;
}
.posada-text {
    font-weight: 300;
    letter-spacing: 0.08em;
}
.desayuno-imgContainer {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-top: 0.5rem;
}
.desayuno-imgContainer img:first-child {
    width: 45%;
    /* height: fit-content; */
}
.desayuno-imgContainer img:last-child {
    width: 54%;
}

.posada-jardin {
    display: flex;
    flex-direction: column;
}

.jardin-textContainer {
    display: flex;
    flex-direction: column-reverse;
    margin-bottom: 2rem;
}
.jardin-textContainer img {
    /* display: none; */
    margin-bottom: 2rem;
}
.jardin-hidroImg {
    width: 100%;
}

.posada-rating {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    margin-bottom: 1rem;
}
.posada-rating-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.posada-rating-item p {
    font-size: 0.8rem;
    color: #4E4438;
}
.posada-rating-item p:first-child {
    font-size: 2rem;
    font-weight: 600;
}


/* POR QUE ELEGIRNOS */

.elegirnos-container {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3%;
}

.elegirnos {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 31%;
    color: #4E4438;
    margin-bottom: 20px;
}

.elegirnos-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    width: 60px;
    border-radius: 50%;
    background-color: #e8d8c1;
    margin-bottom: 0.5rem;
}

.elegirnos-circle img {
    height: 40%;
}

.elegirnos-circle span {
    margin-right: 5px;
    font-weight: 500;
}

.elegirnos-circle .elegirnos-star {
    height: 25%;
}
.elegirnos-circle .elegirnos-tick {
    height: 30%;
}

.elegirnos-maintext {
    font-size: 1rem;
}

.elegirnos-text {
    font-size: 0.8rem;
}

.text-bold {
    font-weight: 600;
}
.text-medium {
    font-weight: 500;
}

/* TESTIMONIOS */

.testimonio-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.testimonio {
    position: relative;
    background: #ffffff;
    box-shadow: 0px 1.32348px 30px -8.30869px rgba(0, 0, 0, 0.10);
    border-radius: 10px;
    padding: 20px;
    padding-bottom: 60px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-size: 0.9rem;
}

.testimonio-stars img {
    height: 15px;
}

.testimonio-text {
    font-weight: 300;
    line-height: 1.2rem;
    font-size: 0.8rem;
}
.testimonio-name {
    font-size: 0.8rem;
    font-weight: 500;
    position: absolute;
    bottom: 20px;
    color: #4E4438;
}


/* GALERIA DE FOTOS */

.galeria-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
}

.galeria-imagen {
    width: calc(50% - 5px);
    height: 120px;
    background-color: #c4c2bb;
    border-radius: 5px;
    cursor: pointer;
    object-fit: cover;
}

#galeria .glide {
    max-height: 90vh;
    max-width: 90vh;
    aspect-ratio: 1/1;
    margin-bottom: 0;
}

.glide__slides {
    height: 100%;
}

#galeria .glide__slides img {
    object-fit: contain;
}

.galeria-overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #1e1e1eb9;
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 7%;
}
.galeria-overlay-mostrar {
    display: flex;
}

.galeria-btncerrar {
    background-color: #ffffff;
    border: none;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    position: absolute;
    top: -15px;
    right: 0;
    z-index: 500;
    cursor: pointer;
}
.galeria-btncerrar svg {
    height: 30%;
    width: 30%;
}



/* CONTACTANOS */

.contactanos-container {
    display: flex;
    flex-direction: column;
}

.contactanos-textline {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 300;
    margin-bottom: 20px;
    color: #1e1e1e;
}
a.contactanos-textline {
    text-decoration: none;
}

.contactanos-textline img {
    width: 25px;
    margin-right: 10px;
}

.contactanos-textline:last-child {
    margin-bottom: 40px;
}

.contactanos-textline .arrow-icon {
    height: 11px;
    width: 11px;
    stroke: #1e1e1e;
    margin-left: 7px;
}

.contactanos-maps {
    border-radius: 10px;
    border: none;
    height: 300px;
}

.contactanos-smalltext {
    font-size: 1rem;
    font-weight: 200;
    font-style: italic;
    color: #4E4438;
}

.footer {
    display: flex;
    flex-direction: column;
    background-color: #2e2a25;
    margin-top: 100px;
    padding: 20px 7%;
    color: #fff;
}

.footer-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-mark {
    font-weight: 300;
    color: #ffffff5d;
    border-top: 0.5px solid #ffffff11;
    padding-top: 10px;
    font-size: 0.9rem;
    width: 100%;
    text-align: center;
    letter-spacing: 0.7px;
}
.footer-mark a {
    text-decoration: none;
    color: #ffffffaf;
    font-weight: 400;
}

.footer .nav-logo {
    padding: 0;
}

.footer-nav ul {
    list-style: none;
}
.footer-nav li {
    margin: 5px 0;
}
.footer-nav a {
    text-decoration: none;
    color: #fff;
    font-weight: 300;
}
.footer-title {
    margin-bottom: 1rem;
    color: #fff;
}

.redes-container svg {
    margin-right: 10px;
}

@media (min-width: 767px) {

    header h1 {
        font-size: 3rem;
    }
    header p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .quote-top {
        font-size: 1rem;
    }
    .quote-bottom {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 2.2rem;
        margin-bottom: 2.5rem;
        margin-top: 1rem;
    }

    .habitacion-container {
        display: flex;
        align-items: center;
    }
    .habitacion-container--rowrev {
        flex-direction: row-reverse;
    }

    .habitacion-container .glide {
        width: 55%;
        margin-bottom: 0;
    }

    .habitacion-textcontainer {
        width: 50%;
        padding-left: 5%;
    }

    .habitacion-container--rowrev .habitacion-textcontainer {
        padding-left: 0;
        padding-right: 5%;
    }

    #servicios {
        margin-top: 3rem;
    }
    .servicio {
        width: 15%;
    }

    .posada-title {
        font-size: 2rem;
    }

    .posada-desayuno {
        flex-direction: row;
        margin-bottom: 4rem;
    }
    .posada-desayuno img:first-child {
        width: 50%;
        /* height: fit-content; */
    }
    .posada-text {
        font-size: 0.9rem;
        width: 100%;
    }
    .posada-text-xw {
        width: 107%;
    }
    .desayuno-textContainer {
        margin-top: 0;
        padding: 4%;
        padding-top: 0;
        position: relative;
    }
    .desayuno-imgContainer {
        position: absolute;
        bottom: 0;
        right: calc(4% + 8px);
        width: 80%;
    }
    .desayuno-imgContainer img:first-child {
        margin-right: 10px;
    }


    .posada-jardin {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .posada-jardin>img {
        width: 43%;
    }
    
    .jardin-textContainer {
        width: 55%;
        position: relative;
        margin-bottom: 0;
        padding-right: 4%;
        flex-direction: column;
    }
    .jardin-textContainer>img {
        display: block;
        position: absolute;
        bottom: 0;
        left: 0;
        margin-bottom: 0;
        width: 100%;
        height: 50%;
        object-fit: cover;
        object-position: bottom;
    }

    .posada-rating {
        justify-content: space-around;
        margin-top: 4rem;
    }
    .posada-rating-item p {
        font-size: 1rem;
    }
    .posada-rating-item p:first-child {
        font-size: 3rem;
    }




    .elegirnos-circle {
        width: 100px;
        height: 100px;
    }
    .elegirnos-circle svg {
        height: 40px;
        width: 40px;
    }
    .elegirnos-circle span {
        font-size: 1.7rem;
    }

    .elegirnos-maintext {
        font-size: 1.3rem;
    }
    .elegirnos-text {
        font-size: 1rem;
    }
    .elegirnos {
        margin-top: 1rem;
    }


    .testimonio-container {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    /* .testimonio {
        width: calc(50% - 15px);
    } */
    .testimonio {
        width: calc(33% - 10px);
    }

    .galeria-container {
        gap: 16px;
    }
    .galeria-imagen {
        height: 250px;
        width: calc(50% - 8px);
    }
    #galeria .glide {
        width: 90%;
        max-width: 800px;
    }

    .contactanos-textline {
        /* font-size: 1.3rem; */
        margin-bottom: 30px;
    }
    .contactanos-container {
        flex-direction: row;
        justify-content: space-between;
    }
    .contactanos-maps {
        width: 50%;
    }

    .contactanos-text {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .contactanos-maps {
        border-radius: 10px;
    }

    .footer-container {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        margin-bottom: 50px;
    }
    .footer {
        padding-bottom: 10px;
        align-items: center;
    }


    .footer-nav {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .footer-menu {
        display: flex;
    }
    .footer-menu ul:first-child {
        text-align: end;
        padding-right: 20px;
        margin-right: 20px;
        border-right: 1px solid #fff5;
    }
    .footer-menu ul {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

@media (min-width: 801px) {
    .jardin-textContainer>img {
        height: 60%;
    }
}

@media (min-width: 900px) {
    .habitacion-title {
        font-size: 2.4rem;
    }
    .habitacion-text p {
        line-height: 2;
    }
    .desayuno-textContainer {
        padding-top: 3%;
    }
    .jardin-textContainer {
        padding-top: 3%;
    }
    .jardin-textContainer>img {
        /* height: 60%; */
    }

    
}

@media (min-width: 1024px) {
    .nav-btn {
        display: none;
    }
    .nav-menu {
        display: flex;
        padding: 20px 7% 20px 0;
        list-style: none;
    }
    .nav-menu a {
        color: #fff;
        margin-left: 20px;
    }

    .header-logo {
        width: 200px;
        margin-top: 20px;
    }

    .quote-container {
        margin-top: 1rem;
        margin-bottom: 4rem;
    }
    .quote-bottom {
        font-size: 2.6rem;
    }

    .habitacion-textcontainer {
        margin-left: 6%;
    }
    .habitacion-container--rowrev .habitacion-textcontainer  {
        margin-left: 0;
        margin-right: 6%;
    }


    .posada-title {
        font-size: 2.2rem;
        margin-top: 1rem;
        margin-bottom: 4rem;
    }
    .posada-text {
        font-size: 1rem;
    }
    .jardin-textContainer {
        padding-top: 2%;
    }



    .elegirnos:nth-child(4), .elegirnos:nth-child(5) {
        margin-top: -2rem;
    }

    #elegirnos {
        margin-bottom: -40px;
    }

    .galeria-container {
        gap: 10px;
    }
    .galeria-imagen {
        width: calc(25% - 10px);
        height: 150px;
    }

    
    #galeria .glide__slides img {
        /* aspect-ratio: 512/344; */
        width: 100%;
    }
    #galeria .glide__slides {
        width: auto;
    }

    .testimonio-text {
        font-size: 0.9rem;
        line-height: 1.7;
    }
    .testimonio-name {
        font-size: 0.9rem;
    }

    .footer {
        font-size: 16px;
    }
}

@media (min-width: 1300px) {
    .nav-logo {
        padding-left: 16%;
    }
    .nav-menu {
        padding-right: 16%;
    }
    section {
        padding-left: 16%;
        padding-right: 16%;
    }
    .habitacion-container .glide {
        width: 50%;
    }

    .habitacion-textcontainer {
        margin: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .habitacion-text {
        text-align: left;
        max-width: 350px;
    }

    .footer {
        padding-left: 16%;
        padding-right: 16%;
    }
}

@media (min-width: 1460px) {
    html {
        font-size: 18px;
    }
    .nav-menu a {
        margin-left: 30px;
    }
    header {
        height: 600px;
    }
    .header-bg{
        height: 600px;
    }
    .header-bg-overlay {
        height: 600px;
    }
    .header-text {
        max-width: 600px;
    }

    .header-logo {
        width: 220px;
        margin-top: 0;
    }

    .galeria-imagen {
        height: 200px;
    }
}

@media (min-width: 1700px) {
    .jardin-textContainer {
        padding-top: 3%;
    }
    .desayuno-textContainer {
        padding-top: 4%;
        display: flex;
        justify-content: right;
        padding-right: 0;
    }
    .desayuno-textContainer .posada-text {
        width: 93%;
    }
    .posada-text {
        line-height: 1.8;
    }
    .galeria-imagen {
        height: 230px;
    }
}

@media (min-width: 1700px) {
    .desayuno-textContainer {
        padding-top: 5%;
    }
    .jardin-textContainer {
        padding-top: 4%;
    }
}