
/* =====================================================
   RESET
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    font-family:
        Arial,
        Helvetica,
        sans-serif;

    background: #f8f5ef;

    color: #252525;

    line-height: 1.6;
}


img {
    max-width: 100%;
    display: block;
}


a {
    text-decoration: none;
    color: inherit;
}


button,
input,
textarea,
select {
    font: inherit;
}


button {
    cursor: pointer;
}



/* =====================================================
   VARIABLES
===================================================== */

:root {

    --dark: #20201d;

    --dark2: #292824;

    --gold: #b99b61;

    --gold2: #d2b87e;

    --cream: #f8f5ef;

    --white: #ffffff;

    --gray: #77736d;

    --border: #e4ded2;

}



/* =====================================================
   CONTAINER
===================================================== */

.container {

    width: 92%;

    max-width: 1180px;

    margin: auto;

}



/* =====================================================
   HEADER
===================================================== */

.header {

    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    z-index: 1000;

    padding: 20px 0;

    transition: 0.3s;

}


.header.scrolled {

    background:
        rgba(32,32,29,0.96);

    padding: 12px 0;

}


.navbar {

    display: flex;

    justify-content: space-between;

    align-items: center;

}


.logo {

    display: flex;

    flex-direction: column;

    color: white;

}


.logo-main {

    font-size: 25px;

    font-weight: bold;

    letter-spacing: 5px;

}


.logo-sub {

    font-size: 8px;

    letter-spacing: 3px;

    color: var(--gold2);

    margin-top: 5px;

}


.nav {

    display: flex;

    align-items: center;

    gap: 25px;

}


.nav a {

    color: white;

    font-size: 12px;

    text-transform: uppercase;

    letter-spacing: 1px;

}


.nav a:hover {

    color: var(--gold2);

}


.menu-button {

    display: none;

    background: none;

    border: none;

}


.menu-button span {

    display: block;

    width: 30px;

    height: 2px;

    background: white;

    margin: 6px;

}



/* =====================================================
   BUTTON
===================================================== */

.btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 48px;

    padding: 0 28px;

    border: none;

    background: var(--gold);

    color: white;

    font-size: 12px;

    font-weight: bold;

    text-transform: uppercase;

    letter-spacing: 1px;

    transition: 0.3s;

}


.btn:hover {

    background: var(--gold2);

    transform: translateY(-2px);

}


.btn-outline {

    background: transparent;

    border: 1px solid white;

}


.btn-outline:hover {

    background: white;

    color: var(--dark);

}


.btn-small {

    min-height: 38px;

    padding: 0 20px;

}



/* =====================================================
   HERO
===================================================== */

.hero {

    min-height: 100vh;

    display: flex;

    align-items: center;

    position: relative;

    background:
        url("../img/hero.jpg")
        center / cover;

    color: white;

}


.hero-overlay {

  position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, .72),
            rgba(0, 0, 0, .25)
        ),
        url("../img_static/principal.jpeg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

}


.hero-content {

    position: relative;

    z-index: 1;

    max-width: 750px;

    padding-top: 80px;

}


.hero-subtitle {

    color: var(--gold2);

    font-size: 13px;

    font-weight: bold;

    letter-spacing: 4px;

}


.hero h1 {

    font-size:
        clamp(48px,7vw,82px);

    font-weight: 400;

    line-height: 1.05;

    margin: 20px 0;

}


.hero h1 span {

    display: block;

    color: var(--gold2);

    font-style: italic;

}


.hero p {

    max-width: 550px;

    color: #ddd;

    font-size: 17px;

    margin-bottom: 30px;

}


.hero-buttons {

    display: flex;

    gap: 15px;

    flex-wrap: wrap;

}



/* =====================================================
   SECTION
===================================================== */

.section {

    padding: 110px 0;

}


.section-dark {

    background: var(--cream);

}


.section-title {

    text-align: center;

    margin-bottom: 55px;

}


.section-title > span,
.section-label {

    color: var(--gold);

    font-size: 11px;

    font-weight: bold;

    letter-spacing: 3px;

}


.section-title h2 {

    font-size:
        clamp(35px,5vw,52px);

    font-weight: 400;

    line-height: 1.2;

    margin-top: 10px;

}


.section-title strong {

    color: var(--gold);

    font-style: italic;

    font-weight: 400;

}


.line {

    width: 55px;

    height: 2px;

    background: var(--gold);

    margin: 20px auto;

}


.section-title p {

    color: var(--gray);

}



/* =====================================================
   SERVICES
===================================================== */

.services-grid {

    display: grid;

    grid-template-columns:
        repeat(3,1fr);

}


.service-card {

    background: white;

    padding: 45px 30px;

    text-align: center;

    border: 1px solid var(--border);

    transition: 0.3s;

}


.service-card:hover {

    transform: translateY(-6px);

    box-shadow:
        0 20px 40px
        rgba(0,0,0,.08);

}


.service-icon {

    width: 60px;

    height: 60px;

    border: 1px solid var(--gold);

    display: flex;

    justify-content: center;

    align-items: center;

    margin: auto auto 20px;

    color: var(--gold);

    font-size: 18px;

}


.service-card h3 {

    margin-bottom: 10px;

}


.service-card p {

    color: var(--gray);

    font-size: 14px;

}



/* =====================================================
   ROOMS
===================================================== */

.rooms-grid {

    display: grid;

    grid-template-columns:
        repeat(2,1fr);

    gap: 30px;

}


.room-card {

    background: white;

    box-shadow:
        0 15px 40px
        rgba(0,0,0,.07);

    overflow: hidden;

}





.room-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: 0.5s;

}


.room-card:hover
.room-image img {

    transform: scale(1.06);

}


.room-special {

    position: absolute;

    top: 20px;

    right: 20px;

    background: var(--gold);

    color: white;

    padding: 7px 13px;

    font-size: 10px;

    letter-spacing: 2px;

}


.room-content {

    padding: 30px;

}


.room-content small {

    color: var(--gold);

    letter-spacing: 2px;

    font-weight: bold;

}


.room-content h3 {

    font-size: 27px;

    font-weight: 400;

    margin: 8px 0;

}


.room-content p {

    color: var(--gray);

    font-size: 14px;

}


.room-features {

    display: flex;

    gap: 12px;

    border-top: 1px solid var(--border);

    border-bottom: 1px solid var(--border);

    padding: 15px 0;

    margin: 20px 0;

    flex-wrap: wrap;

}


.room-features span {

    color: var(--gray);

    font-size: 11px;

}


.room-button {

    background: none;

    border: none;

    color: var(--gold);

    text-transform: uppercase;

    font-weight: bold;

    font-size: 11px;

}


.room-image {
    position: relative;
    overflow: hidden;
}



.image-prev,
.image-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    width: 40px;
    height: 40px;

    border: none;
    border-radius: 50%;

    background: rgba(0, 0, 0, 0.55);
    color: white;

    font-size: 28px;
    line-height: 40px;

    cursor: pointer;

    z-index: 2;
}

.image-prev {
    left: 12px;
}

.image-next {
    right: 12px;
}

.image-prev:hover,
.image-next:hover {
    background: rgba(0, 0, 0, 0.8);
}

.image-counter {
    position: absolute;
    bottom: 10px;
    right: 10px;

    padding: 5px 10px;

    border-radius: 15px;

    background: rgba(0, 0, 0, 0.6);
    color: white;

    font-size: 12px;
}

/* =====================================================
   BANNER
===================================================== */

.banner {

    min-height: 550px;

    position: relative;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    color: white;

    background:
        url("../img/piscina.jpg")
        center / cover;

}


.banner-overlay {

    position: absolute;

    inset: 0;

    background:
        rgba(0,0,0,.58);

}


.banner-content {

    position: relative;

}


.banner-content > span {

    color: var(--gold2);

    letter-spacing: 4px;

    font-size: 11px;

}


.banner h2 {

    font-size:
        clamp(40px,6vw,70px);

    font-weight: 300;

    line-height: 1.15;

    margin: 20px 0 35px;

}


.banner h2 strong {

    display: block;

    color: var(--gold2);

    font-style: italic;

}



/* =====================================================
   ABOUT
===================================================== */

.about {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 80px;

    align-items: center;

}


.about-image img {

    height: 580px;

    object-fit: cover;

}


.about-content h2 {

    font-size:
        clamp(35px,5vw,52px);

    font-weight: 400;

    line-height: 1.15;

}


.about-content h2 strong {

    color: var(--gold);

    font-style: italic;

}


.about-content .line {

    margin-left: 0;

}


.about-content p {

    color: var(--gray);

    margin-bottom: 15px;

}


.about-content ul {

    list-style: none;

    margin-top: 25px;

}


.about-content li {

    margin-bottom: 10px;

    color: #555;

}



/* =====================================================
   GALERÍA
===================================================== */

.section-gallery {

    background: var(--cream);

}


.gallery-grid {

    display: grid;

    grid-template-columns:
        repeat(4,1fr);

    grid-auto-rows: 240px;

    gap: 10px;

}


.gallery-item {

    overflow: hidden;

    cursor: pointer;

}


.gallery-item:nth-child(1),
.gallery-item:nth-child(6) {

    grid-column: span 2;

}


.gallery-item img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: 0.5s;

}


.gallery-item:hover img {

    transform: scale(1.07);

    filter: brightness(.75);

}



/* =====================================================
   RESERVATION
===================================================== */

.reservation {

    padding: 90px 0;

    background: white;

}


.reservation-box {

    background: var(--dark);

    color: white;

    padding: 60px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

}


.reservation-box > div > span {

    color: var(--gold2);

    font-size: 11px;

    letter-spacing: 3px;

}


.reservation-box h2 {

    font-size: 45px;

    font-weight: 400;

}


.reservation-box strong {

    color: var(--gold2);

    font-style: italic;

}



/* =====================================================
   CONTACTO
===================================================== */

.contact-grid {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 80px;

}


.contact-info h2 {

    font-size:
        clamp(35px,5vw,52px);

    font-weight: 400;

}


.contact-info strong {

    color: var(--gold);

    font-style: italic;

}


.contact-info .line {

    margin-left: 0;

}


.contact-item {

    display: flex;

    gap: 20px;

    margin-bottom: 25px;

}


.contact-item > span {

    width: 50px;

    height: 50px;

    border: 1px solid var(--gold);

    display: flex;

    align-items: center;

    justify-content: center;

}


.contact-item small {

    display: block;

    font-size: 9px;

    color: var(--gray);

    letter-spacing: 2px;

}


.contact-item p {

    margin-top: 3px;

}


.whatsapp-button {

    margin-top: 15px;

    border: none;

}



/* =====================================================
   FORM
===================================================== */

.contact-form {

    background: white;

    padding: 45px;

    box-shadow:
        0 20px 50px
        rgba(0,0,0,.07);

}


.form-row {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 20px;

}


.contact-form label {

    display: block;

    font-size: 11px;

    text-transform: uppercase;

    margin-bottom: 7px;

    letter-spacing: 1px;

}


.contact-form input,
.contact-form textarea,
.contact-form select {

    width: 100%;

    border: 1px solid var(--border);

    background: #fafafa;

    padding: 14px;

    outline: none;

    margin-bottom: 20px;

}


.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {

    border-color: var(--gold);

}



/* =====================================================
   MAPA
===================================================== */

.location {

    padding: 110px 0;

    background: var(--cream);

}


.map-container {

    width: 100%;

    height: 500px;

    overflow: hidden;

}


.map-container iframe {

    width: 100%;

    height: 100%;

    border: 0;

}


.map-button {

    text-align: center;

    margin-top: 25px;

}



/* =====================================================
   FOOTER
===================================================== */

.footer {

    background: var(--dark);

    color: white;

}


.footer-grid {

    display: grid;

    grid-template-columns:
        1.5fr 1fr 1.5fr 1fr;

    gap: 50px;

    padding: 70px 0;

}


.footer-grid p {

    color: #999;

    font-size: 13px;

    margin-top: 10px;

}


.footer-grid h3 {

    color: var(--gold2);

    font-size: 12px;

    text-transform: uppercase;

    letter-spacing: 2px;

    margin-bottom: 15px;

}


.footer-grid a {

    display: block;

    color: #999;

    font-size: 13px;

    margin-bottom: 8px;

}


.footer-whatsapp {

    background: none;

    border: 1px solid var(--gold);

    color: white;

    padding: 10px 15px;

}


.footer-bottom {

    text-align: center;

    border-top: 1px solid #383632;

    padding: 20px;

    color: #777;

    font-size: 11px;

}



/* =====================================================
   WHATSAPP FLOTANTE
===================================================== */

.whatsapp-float {

 position: fixed;
    right: 25px;
    bottom: 25px;
    width: 80px;
    height: 80px;
    border-radius: 50%;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    justify-content: center;
    align-items: center;

    z-index: 1500;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .25);
    transition: 0.3s;

}


.whatsapp-float:hover {

    transform: scale(1.1);

}



/* =====================================================
   LIGHTBOX
===================================================== */

.lightbox {

    position: fixed;

    inset: 0;

    background:
        rgba(0,0,0,.94);

    z-index: 3000;

    display: none;

    align-items: center;

    justify-content: center;

}


.lightbox.active {

    display: flex;

}


.lightbox img {

    max-width: 90%;

    max-height: 85vh;

    width: auto;

}


.lightbox button {

    position: absolute;

    background: none;

    border: none;

    color: white;

    font-size: 50px;

}


#lightboxClose {

    top: 15px;

    right: 30px;

}


#lightboxPrev {

    left: 25px;

}


#lightboxNext {

    right: 25px;

}



/* =====================================================
   RESPONSIVE
===================================================== */

@media(max-width: 900px) {

    .nav {

        position: fixed;

        right: -100%;

        top: 0;

        width: 75%;

        height: 100vh;

        background: var(--dark);

        display: flex;

        flex-direction: column;

        justify-content: center;

        transition: 0.4s;

    }


    .nav.active {

        right: 0;

    }


    .menu-button {

        display: block;

        position: relative;

        z-index: 1100;

    }


    .services-grid {

        grid-template-columns:
            repeat(2,1fr);

    }


    .rooms-grid {

        grid-template-columns: 1fr;

    }


    .about {

        grid-template-columns: 1fr;

    }


    .contact-grid {

        grid-template-columns: 1fr;

    }


    .footer-grid {

        grid-template-columns:
            repeat(2,1fr);

    }

}


@media(max-width: 600px) {

    .section {

        padding: 75px 0;

    }


    .hero h1 {

        font-size: 45px;

    }


    .hero-buttons {

        flex-direction: column;

        align-items: stretch;

    }


    .services-grid {

        grid-template-columns: 1fr;

    }


    .room-image {

        height: 280px;

    }


    .gallery-grid {

        grid-template-columns:
            1fr 1fr;

        grid-auto-rows: 180px;

    }


    .gallery-item:nth-child(1),
    .gallery-item:nth-child(6) {

        grid-column: span 2;

    }


    .reservation-box {

        flex-direction: column;

        align-items: flex-start;

        padding: 40px 25px;

    }


    .form-row {

        grid-template-columns: 1fr;

        gap: 0;

    }


    .contact-form {

        padding: 25px 20px;

    }


    .map-container {

        height: 350px;

    }


    .footer-grid {

        grid-template-columns: 1fr;

    }

}

