/* =========================
   VARIABLES
========================= */

:root {

    --primary: #168c8c;
    --primary-dark: #0d6969;
    --secondary: #f3b562;

    --dark: #172323;
    --dark-soft: #304040;

    --white: #ffffff;
    --light: #f7f8f6;
    --cream: #f5efe4;

    --text: #596363;
    --border: #e5e8e5;

    --shadow: 0 20px 50px rgba(0,0,0,.08);

    --radius: 18px;

    --container: 1180px;
}


/* =========================
   RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {

    font-family: "DM Sans", sans-serif;

    color: var(--text);

    background: var(--white);

    line-height: 1.7;

    overflow-x: hidden;
}

img {

    width: 100%;

    display: block;

    object-fit: cover;
}

a {

    color: inherit;

    text-decoration: none;
}

button {

    border: none;

    background: none;

    font-family: inherit;

    cursor: pointer;
}


/* =========================
   GENERAL
========================= */

.container {

    width: min(
        calc(100% - 40px),
        var(--container)
    );

    margin: auto;
}

.section {

    padding: 110px 0;
}

.section-label {

    display: inline-block;

    color: var(--primary);

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 2px;

    margin-bottom: 18px;
}

.section-heading {

    max-width: 650px;

    margin-bottom: 55px;
}

.section-heading.center {

    text-align: center;

    margin-left: auto;

    margin-right: auto;
}

.section-heading h2,
.intro-text h2,
.cabin-content h2,
.location-content h2 {

    color: var(--dark);

    font-family: "Playfair Display", serif;

    font-size: clamp(38px, 5vw, 58px);

    line-height: 1.15;

    margin-bottom: 22px;
}

h2 span {

    color: var(--primary);
}

.section-heading p {

    font-size: 17px;
}


/* =========================
   NAVBAR
========================= */

.navbar {

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 1000;

    padding: 20px 0;

    transition: .3s;
}

.navbar.scrolled {

    background: rgba(255,255,255,.96);

    box-shadow: 0 5px 25px rgba(0,0,0,.08);

    padding: 13px 0;
}

.nav-container {

    display: flex;

    align-items: center;

    justify-content: space-between;
}

.logo {

    display: flex;

    align-items: center;

    gap: 11px;

    color: var(--white);

    font-weight: 700;

    font-size: 16px;

    line-height: 1.1;
}

.logo small {

    display: block;

    font-size: 10px;

    font-weight: 500;

    letter-spacing: 1px;

    margin-top: 4px;
}

.logo-icon {

    width: 44px;
    height: 44px;

    display: grid;

    place-items: center;

    background: var(--primary);

    color: white;

    border-radius: 50%;
}

.navbar.scrolled .logo {

    color: var(--dark);
}

.nav-menu {

    display: flex;

    align-items: center;

    gap: 30px;

    color: white;

    font-size: 14px;

    font-weight: 600;
}

.navbar.scrolled .nav-menu {

    color: var(--dark);
}

.nav-menu a {

    transition: .3s;
}

.nav-menu a:hover {

    color: var(--secondary);
}

.nav-button {

    background: var(--primary);

    color: white !important;

    padding: 12px 22px;

    border-radius: 30px;
}

.menu-toggle {

    display: none;

    color: white;

    font-size: 25px;
}

.navbar.scrolled .menu-toggle {

    color: var(--dark);
}


/* =========================
   HERO
========================= */

.hero {

    min-height: 100vh;

    position: relative;

    display: flex;

    align-items: center;

    overflow: hidden;

    isolation: isolate;

}
/* =========================
   VIDEO HERO
========================= */

.hero-video {

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    z-index: -3;

}


/* =========================
   CAPA TRANSPARENTE
========================= */

.hero-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.65),
            rgba(0, 0, 0, 0.25)
        );

    z-index: -2;

}
.hero-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,.70),
            rgba(0,0,0,.25)
        );
}

.hero-content {

    position: relative;

    z-index: 2;

    color: white;

    padding-top: 80px;
}

.hero-location {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    font-size: 14px;

    margin-bottom: 25px;
}

.hero h1 {

    font-family: "Playfair Display", serif;

    font-size: clamp(35px, 8vw, 65px);

    line-height: .98;

    max-width: 800px;

    margin-bottom: 28px;
}

.hero p {

    font-size: 19px;

    max-width: 560px;

    margin-bottom: 35px;

    color: rgba(255,255,255,.9);
}

.hero-buttons {

    display: flex;

    align-items: center;

    gap: 15px;
}

.btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    padding: 15px 26px;

    border-radius: 40px;

    font-size: 14px;

    font-weight: 700;

    transition: .3s;
}

.btn-primary {

    background: var(--primary);

    color: white;
}

.btn-primary:hover {

    background: var(--primary-dark);

    transform: translateY(-3px);
}

.btn-outline {

    border: 1px solid rgba(255,255,255,.6);

    color: white;
}

.btn-outline:hover {

    background: white;

    color: var(--dark);
}

.btn-dark {

    background: var(--dark);

    color: white;
}

.btn-dark:hover {

    background: var(--primary);

    transform: translateY(-3px);
}

.btn-whatsapp {

    background: #25d366;

    color: white;
}

.hero-scroll {

    position: absolute;

    z-index: 3;

    bottom: 30px;

    left: 50%;

    transform: translateX(-50%);

    color: white;

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 6px;

    font-size: 11px;

    text-transform: uppercase;

    letter-spacing: 2px;
}


/* =========================
   INTRO
========================= */

.intro {

    background: var(--white);
}

.intro-grid {

    display: grid;

    grid-template-columns: .9fr 1.1fr;

    gap: 80px;

    align-items: center;
}

.intro-text p {

    margin-bottom: 18px;

    max-width: 500px;
}

.text-link {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    color: var(--primary);

    font-weight: 700;

    margin-top: 15px;
}

.intro-image {

    position: relative;
}

.intro-image img {

    height: 570px;

    border-radius: 25px;
}

.image-badge {

    position: absolute;

    left: -30px;

    bottom: 30px;

    display: flex;

    align-items: center;

    gap: 13px;

    background: white;

    padding: 18px 22px;

    border-radius: 15px;

    box-shadow: var(--shadow);
}

.image-badge > i {

    color: var(--primary);

    font-size: 22px;
}

.image-badge strong {

    display: block;

    color: var(--dark);

    font-size: 14px;
}

.image-badge span {

    font-size: 12px;
}


/* =========================
   FEATURES
========================= */

.features {

    background: var(--light);
}

.features-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}

.feature-card {

    background: white;

    padding: 35px;

    border-radius: var(--radius);

    transition: .3s;
}

.feature-card:hover {

    transform: translateY(-7px);

    box-shadow: var(--shadow);
}

.feature-icon {

    width: 55px;
    height: 55px;

    display: grid;

    place-items: center;

    background: rgba(22,140,140,.10);

    color: var(--primary);

    border-radius: 14px;

    font-size: 21px;

    margin-bottom: 20px;
}

.feature-card h3 {

    color: var(--dark);

    margin-bottom: 8px;

    font-size: 18px;
}

.feature-card p {

    font-size: 14px;
}


/* =========================
   CABIN
========================= */

.cabin-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 80px;

    align-items: center;
}

.cabin-main-image img {

    height: 470px;

    border-radius: 22px;
}

.cabin-small-images {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 15px;

    margin-top: 15px;
}

.cabin-small-images img {

    height: 180px;

    border-radius: 16px;
}

.cabin-content p {

    margin-bottom: 25px;
}

.check-list {

    list-style: none;

    margin-bottom: 30px;
}

.check-list li {

    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 10px;

    color: var(--dark-soft);

    font-weight: 500;
}

.check-list i {

    color: var(--primary);
}


/* =========================
   GALLERY
========================= */

.gallery {

    background: var(--cream);
}

.gallery-grid {

    display: grid;

    grid-template-columns: 1.3fr .8fr .8fr;

    grid-auto-rows: 250px;

    gap: 15px;
}

.gallery-item {

    position: relative;

    overflow: hidden;

    border-radius: 16px;

    cursor: pointer;
}

.gallery-item.large {

    grid-row: span 2;
}

.gallery-item img {

    height: 100%;

    transition: .5s;
}

.gallery-item:hover img {

    transform: scale(1.06);
}

.gallery-overlay {

    position: absolute;

    inset: 0;

    display: grid;

    place-items: center;

    background: rgba(0,0,0,.35);

    color: white;

    font-size: 24px;

    opacity: 0;

    transition: .3s;
}

.gallery-item:hover .gallery-overlay {

    opacity: 1;
}


/* =========================
   LOCATION
========================= */

.location-grid {

    display: grid;

    grid-template-columns: .8fr 1.2fr;

    gap: 70px;

    align-items: center;
}

.location-content p {

    margin-bottom: 25px;
}

.location-info {

    display: grid;

    gap: 20px;

    margin-bottom: 30px;
}

.location-item {

    display: flex;

    gap: 15px;
}

.location-icon {

    min-width: 45px;

    height: 45px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    background: rgba(22,140,140,.1);

    color: var(--primary);
}

.location-item strong {

    display: block;

    color: var(--dark);

    font-size: 14px;
}

.location-item span {

    font-size: 14px;
}

.map-container {

    height: 500px;

    overflow: hidden;

    border-radius: 22px;

    box-shadow: var(--shadow);
}

.map-container iframe {

    width: 100%;

    height: 100%;

    border: 0;
}


/* =========================
   RESERVATION
========================= */

.reservation {

    padding-top: 20px;
}

.reservation-box {

    position: relative;

    overflow: hidden;

    background:
        linear-gradient(
            120deg,
            var(--dark),
            #254444
        );

    color: white;

    border-radius: 25px;

    padding: 70px;

    display: flex;

    justify-content: space-between;

    align-items: center;
}

.reservation-content {

    max-width: 650px;
}

.reservation-content h2 {

    font-family: "Playfair Display", serif;

    font-size: clamp(38px, 5vw, 58px);

    line-height: 1.1;

    margin-bottom: 20px;
}

.reservation-content h2 span {

    color: var(--secondary);
}

.reservation-content p {

    margin-bottom: 30px;

    color: rgba(255,255,255,.75);
}

.reservation-decoration {

    font-size: 180px;

    color: rgba(255,255,255,.06);

    margin-right: 40px;
}


/* =========================
   FOOTER
========================= */

.footer {

    background: #111c1c;

    color: rgba(255,255,255,.7);

    padding-top: 70px;
}

.footer-grid {

    display: grid;

    grid-template-columns: 2fr 1fr 1fr 1fr;

    gap: 50px;

    padding-bottom: 60px;
}

.footer-logo {

    margin-bottom: 20px;
}

.footer-brand p {

    max-width: 300px;

    font-size: 14px;
}

.footer-column {

    display: flex;

    flex-direction: column;

    gap: 10px;
}

.footer-column h3 {

    color: white;

    font-size: 15px;

    margin-bottom: 10px;
}

.footer-column a:hover {

    color: white;
}

.footer-bottom {

    border-top: 1px solid rgba(255,255,255,.1);

    padding: 20px 0;

    font-size: 12px;
}


/* =========================
   WHATSAPP
========================= */

.whatsapp-float {

    position: fixed;

    right: 25px;

    bottom: 25px;

    width: 60px;
    height: 60px;

    display: grid;

    place-items: center;

    background: #25d366;

    color: white;

    border-radius: 50%;

    font-size: 28px;

    box-shadow: 0 10px 30px rgba(0,0,0,.2);

    z-index: 900;

    transition: .3s;
}

.whatsapp-float:hover {

    transform: scale(1.1);
}


/* =========================
   LIGHTBOX
========================= */

.lightbox {

    position: fixed;

    inset: 0;

    background: rgba(0,0,0,.92);

    z-index: 2000;

    display: none;

    align-items: center;

    justify-content: center;

    padding: 30px;
}

.lightbox.active {

    display: flex;
}

.lightbox img {

    max-width: 90%;

    max-height: 85vh;

    width: auto;

    border-radius: 10px;
}

.lightbox-close {

    position: absolute;

    right: 30px;

    top: 25px;

    color: white;

    font-size: 35px;
}


/* =========================
   RESPONSIVE
========================= */

@media(max-width: 900px) {

    .nav-menu {

        position: fixed;

        top: 0;
        right: -100%;

        width: 280px;

        height: 100vh;

        background: white;

        color: var(--dark) !important;

        display: flex;

        flex-direction: column;

        align-items: flex-start;

        padding: 100px 35px;

        transition: .4s;

        box-shadow: -10px 0 30px rgba(0,0,0,.1);
    }

    .nav-menu.active {

        right: 0;
    }

    .menu-toggle {

        display: block;

        position: relative;

        z-index: 1100;
    }

    .intro-grid,
    .cabin-grid,
    .location-grid {

        grid-template-columns: 1fr;

        gap: 50px;
    }

    .features-grid {

        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {

        grid-template-columns: 1fr 1fr;

        grid-auto-rows: 220px;
    }

    .gallery-item.large {

        grid-row: span 1;
    }

    .footer-grid {

        grid-template-columns: 1fr 1fr;
    }

    .reservation-box {

        padding: 50px;
    }

    .reservation-decoration {

        display: none;
    }
}


@media(max-width: 600px) {

    .section {

        padding: 75px 0;
    }

    .container {

        width: min(
            calc(100% - 30px),
            var(--container)
        );
    }

    .hero h1 {

        font-size: 53px;
    }

    .hero p {

        font-size: 16px;
    }

    .hero-buttons {

        flex-direction: column;

        align-items: flex-start;
    }

    .intro-image img {

        height: 400px;
    }

    .image-badge {

        left: 15px;

        bottom: 15px;
    }

    .features-grid {

        grid-template-columns: 1fr;
    }

    .gallery-grid {

        grid-template-columns: 1fr;

        grid-auto-rows: 260px;
    }

    .cabin-main-image img {

        height: 350px;
    }

    .cabin-small-images img {

        height: 140px;
    }

    .map-container {

        height: 350px;
    }

    .reservation-box {

        padding: 40px 25px;
    }

    .footer-grid {

        grid-template-columns: 1fr;
    }

    .whatsapp-float {

        width: 55px;
        height: 55px;

        right: 18px;
        bottom: 18px;
    }
}