:root {
    --forest: #17372d;
    --forest-dark: #0d241d;
    --forest-light: #2c5948;

    --cream: #f6f1e8;
    --sand: #e8ddcc;
    --white: #ffffff;

    --copper: #b56d43;
    --copper-dark: #945435;

    --text: #202824;
    --muted: #69736d;

    --shadow-soft:
        0 20px 60px rgba(10, 30, 23, 0.14);

    --shadow-dark:
        0 22px 70px rgba(0, 0, 0, 0.28);

    --radius-small: 10px;
    --radius-medium: 18px;
    --radius-large: 30px;

    --content-width: 1180px;

    --heading-font:
        "Playfair Display",
        Georgia,
        serif;

    --body-font:
        "Montserrat",
        Arial,
        sans-serif;
}


/* =========================================================
   RESET
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;

    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;

    overflow-x: hidden;

    background: var(--cream);

    color: var(--text);

    font-family: var(--body-font);

    font-size: 16px;

    font-weight: 400;

    line-height: 1.7;
}

body.menuOpen {
    overflow: hidden;
}

img {
    display: block;

    width: 100%;

    max-width: 100%;
}

a {
    color: inherit;

    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;

    color: inherit;

    font-family: var(--heading-font);

    font-weight: 500;

    line-height: 1.08;
}

h1 {
    font-size: clamp(
        4rem,
        9vw,
        8.2rem
    );
}

h2 {
    font-size: clamp(
        2.8rem,
        5vw,
        5.2rem
    );
}

h3 {
    font-size: clamp(
        1.7rem,
        2.4vw,
        2.5rem
    );
}

p {
    margin-top: 0;

    color: var(--muted);
}

ul {
    margin-top: 0;
}

::selection {
    background: var(--copper);

    color: var(--white);
}


/* =========================================================
   SHARED LAYOUT
   ========================================================= */

.content {
    width: min(
        calc(100% - 48px),
        var(--content-width)
    );

    margin-right: auto;
    margin-left: auto;
}

.buttons {
    display: flex;

    flex-wrap: wrap;

    gap: 14px;
}

.primary,
.secondary {
    display: inline-flex;

    min-height: 54px;

    padding: 0 30px;

    align-items: center;
    justify-content: center;

    border: 1px solid transparent;

    border-radius: 999px;

    font-size: 0.82rem;

    font-weight: 600;

    letter-spacing: 0.08em;

    text-transform: uppercase;

    transition:
        transform 0.25s ease,
        background-color 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease,
        box-shadow 0.25s ease;
}

.primary {
    border-color: var(--copper);

    background: var(--copper);

    color: var(--white);
}

.primary:hover,
.primary:focus-visible {
    transform: translateY(-3px);

    border-color: var(--copper-dark);

    background: var(--copper-dark);

    box-shadow:
        0 12px 28px
        rgba(181, 109, 67, 0.28);
}

.secondary {
    border-color:
        rgba(255, 255, 255, 0.65);

    background:
        rgba(255, 255, 255, 0.08);

    color: var(--white);

    backdrop-filter: blur(8px);
}

.secondary:hover,
.secondary:focus-visible {
    transform: translateY(-3px);

    border-color: var(--white);

    background:
        rgba(255, 255, 255, 0.18);
}


/* =========================================================
   HEADER
   ========================================================= */

header {
    position: fixed;

    top: 0;
    right: 0;
    left: 0;

    z-index: 1000;

    display: flex;

    min-height: 82px;

    padding: 0 42px;

    align-items: center;
    justify-content: space-between;

    border-bottom:
        1px solid
        rgba(255, 255, 255, 0.14);

    background:
        linear-gradient(
            to bottom,
            rgba(8, 24, 18, 0.68),
            rgba(8, 24, 18, 0.18)
        );

    color: var(--white);

    transition:
        min-height 0.25s ease,
        background-color 0.25s ease,
        box-shadow 0.25s ease,
        backdrop-filter 0.25s ease;
}

header.scrolled {
    min-height: 68px;

    background:
        rgba(13, 36, 29, 0.94);

    box-shadow:
        0 10px 35px
        rgba(0, 0, 0, 0.2);

    backdrop-filter: blur(14px);
}

.logo {
    max-width: 420px;

    font-family: var(--heading-font);

    font-size: clamp(
        1.25rem,
        2vw,
        1.65rem
    );

    letter-spacing: 0.02em;
}

nav {
    display: flex;

    align-items: center;

    gap: 28px;
}

nav a {
    position: relative;

    padding: 8px 0;

    color:
        rgba(255, 255, 255, 0.86);

    font-size: 0.75rem;

    font-weight: 500;

    letter-spacing: 0.11em;

    text-transform: uppercase;

    transition: color 0.2s ease;
}

nav a::after {
    position: absolute;

    right: 0;
    bottom: 0;
    left: 0;

    height: 1px;

    content: "";

    background: var(--white);

    transform: scaleX(0);

    transform-origin: right;

    transition:
        transform 0.25s ease;
}

nav a:hover {
    color: var(--white);
}

nav a:hover::after {
    transform: scaleX(1);

    transform-origin: left;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    position: relative;

    display: grid;

    min-height: 100svh;

    align-items: center;

    overflow: hidden;

    background:
        linear-gradient(
            90deg,
            rgba(5, 20, 15, 0.83) 0%,
            rgba(5, 20, 15, 0.58) 42%,
            rgba(5, 20, 15, 0.18) 78%,
            rgba(5, 20, 15, 0.08) 100%
        ),
        url("./images/exterior-front-wide.jpg")
        center center / cover
        no-repeat;

    color: var(--white);
}

.hero::before {
    position: absolute;

    inset: 0;

    content: "";

    background:
        linear-gradient(
            to top,
            rgba(5, 20, 15, 0.76),
            rgba(5, 20, 15, 0.08) 55%
        );
}

.hero::after {
    position: absolute;

    right: -12%;
    bottom: -28%;

    width: 55vw;
    height: 55vw;

    content: "";

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.04);

    filter: blur(2px);
}

.hero-overlay {
    position: relative;

    z-index: 2;

    width: min(
        calc(100% - 84px),
        var(--content-width)
    );

    margin-right: auto;
    margin-left: auto;

    padding-top: 135px;
    padding-bottom: 70px;
}

.hero-text {
    max-width: 850px;
}

.hero h1 {
    max-width: 820px;

    margin-bottom: 18px;

    color: var(--white);

    letter-spacing: -0.035em;
}

.hero h2 {
    max-width: 650px;

    margin-bottom: 28px;

    color:
        rgba(255, 255, 255, 0.9);

    font-family: var(--body-font);

    font-size: clamp(
        1rem,
        2.1vw,
        1.55rem
    );

    font-weight: 400;

    letter-spacing: 0.08em;

    line-height: 1.55;

    text-transform: uppercase;
}

.hero p {
    max-width: 640px;

    margin-bottom: 34px;

    color:
        rgba(255, 255, 255, 0.78);

    font-size: clamp(
        1rem,
        1.5vw,
        1.18rem
    );

    line-height: 1.9;
}

.hero .buttons {
    margin-bottom: 58px;
}

.quickFacts {
    display: flex;

    width: min(
        100%,
        780px
    );

    padding-top: 24px;

    gap: 0;

    border-top:
        1px solid
        rgba(255, 255, 255, 0.28);
}

.quickFacts div {
    min-width: 125px;

    padding-right: 34px;

    color:
        rgba(255, 255, 255, 0.64);

    font-size: 0.7rem;

    font-weight: 500;

    letter-spacing: 0.11em;

    text-transform: uppercase;
}

.quickFacts span {
    display: block;

    margin-bottom: 5px;

    color: var(--white);

    font-family: var(--heading-font);

    font-size: 1.85rem;

    font-weight: 500;

    letter-spacing: 0;
    text-transform: none;
}


/* =========================================================
   INTRODUCTION
   ========================================================= */

.intro {
    position: relative;

    padding: 130px 0;

    overflow: hidden;

    background: var(--cream);

    text-align: center;
}

.intro::before {
    position: absolute;

    top: -100px;
    left: -100px;

    width: 300px;
    height: 300px;

    content: "";

    border:
        1px solid
        rgba(23, 55, 45, 0.12);

    border-radius: 50%;
}

.intro .content {
    max-width: 930px;
}

.intro h2 {
    margin-bottom: 28px;

    color: var(--forest);
}

.intro p {
    margin-bottom: 0;

    color: var(--muted);

    font-size: clamp(
        1rem,
        1.6vw,
        1.22rem
    );

    line-height: 2;
}


/* =========================================================
   FULL WIDTH FEATURE IMAGES
   ========================================================= */

.featureImage,
.fullImage {
    position: relative;

    width: 100%;

    overflow: hidden;

    background: var(--forest-dark);
}

.featureImage {
    height: min(
        86vh,
        920px
    );
}

.fullImage {
    height: min(
        84vh,
        880px
    );
}

.featureImage img,
.fullImage img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 1.2s ease;
}

.featureImage:hover img,
.fullImage:hover img {
    transform: scale(1.025);
}


/* =========================================================
   STORY SECTION
   ========================================================= */

.story {
    position: relative;

    display: flex;

    min-height: 620px;

    padding: 120px 42px;

    align-items: center;
    justify-content: center;

    overflow: hidden;

    background: var(--forest);

    color: var(--white);

    text-align: center;
}

.story::before,
.story::after {
    position: absolute;

    content: "";

    border:
        1px solid
        rgba(255, 255, 255, 0.09);

    border-radius: 50%;
}

.story::before {
    top: -170px;
    left: -150px;

    width: 520px;
    height: 520px;
}

.story::after {
    right: -210px;
    bottom: -250px;

    width: 650px;
    height: 650px;
}

.storyText {
    position: relative;

    z-index: 2;

    max-width: 850px;
}

.storyText h2 {
    margin-bottom: 30px;
}

.storyText p {
    margin-bottom: 0;

    color:
        rgba(255, 255, 255, 0.74);

    font-size: clamp(
        1.1rem,
        1.8vw,
        1.35rem
    );

    line-height: 2;
}


/* =========================================================
   SPLIT SECTIONS
   ========================================================= */

.splitSection {
    display: grid;

    min-height: 760px;

    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(0, 0.85fr);

    background: var(--cream);
}

.splitSection.reverse {
    grid-template-columns:
        minmax(0, 0.85fr)
        minmax(0, 1.15fr);
}

.splitImage {
    min-height: 760px;

    overflow: hidden;
}

.splitImage img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 1.1s ease;
}

.splitImage:hover img {
    transform: scale(1.025);
}

.splitContent {
    display: flex;

    padding: 80px 8vw;

    flex-direction: column;
    justify-content: center;
}

.splitContent h2 {
    margin-bottom: 26px;

    color: var(--forest);
}

.splitContent p {
    margin-bottom: 28px;

    font-size: 1.02rem;

    line-height: 1.95;
}

.splitContent ul {
    margin: 0;
    padding: 0;

    list-style: none;
}

.splitContent li {
    position: relative;

    padding:
        12px 0
        12px 31px;

    border-bottom:
        1px solid
        rgba(23, 55, 45, 0.12);

    color: var(--text);

    font-size: 0.9rem;

    letter-spacing: 0.02em;
}

.splitContent li::before {
    position: absolute;

    top: 12px;
    left: 2px;

    content: "•";

    color: var(--copper);

    font-size: 1.3rem;
}


/* =========================================================
   TWO IMAGE GALLERY
   ========================================================= */

.galleryTwo {
    display: grid;

    min-height: 650px;

    grid-template-columns: 1fr 1fr;

    gap: 8px;

    background: var(--forest-dark);
}

.galleryTwo img {
    width: 100%;
    height: 650px;

    object-fit: cover;

    transition:
        opacity 0.3s ease,
        transform 0.8s ease;
}

.galleryTwo img:hover {
    opacity: 0.92;

    transform: scale(1.012);
}


/* =========================================================
   FEATURE TEXT
   ========================================================= */

.featureText {
    display: flex;

    min-height: 520px;

    padding: 100px 42px;

    align-items: center;
    justify-content: center;

    background: var(--sand);

    text-align: center;
}

.featureText > div {
    max-width: 800px;
}

.featureText h2 {
    color: var(--forest);
}

.featureText p {
    margin-bottom: 0;

    font-size: clamp(
        1.05rem,
        1.7vw,
        1.28rem
    );

    line-height: 2;
}
/* =========================================================
   FOUR IMAGE GALLERY
   ========================================================= */

.galleryFour {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 8px;

    padding: 8px;

    background: var(--forest-dark);
}

.galleryFour img {
    width: 100%;
    height: 420px;

    object-fit: cover;

    transition:
        opacity 0.3s ease,
        transform 0.8s ease;
}

.galleryFour img:hover {
    opacity: 0.92;

    transform: scale(1.015);
}


/* =========================================================
   AMENITIES
   ========================================================= */

.amenities {
    position: relative;

    padding: 130px 0;

    overflow: hidden;

    background: var(--forest);

    color: var(--white);
}

.amenities::before {
    position: absolute;

    top: -180px;
    right: -180px;

    width: 520px;
    height: 520px;

    content: "";

    border:
        1px solid
        rgba(255, 255, 255, 0.08);

    border-radius: 50%;
}

.amenities::after {
    position: absolute;

    bottom: -260px;
    left: -220px;

    width: 650px;
    height: 650px;

    content: "";

    border:
        1px solid
        rgba(255, 255, 255, 0.06);

    border-radius: 50%;
}

.amenities .content {
    position: relative;

    z-index: 2;
}

.amenities h2 {
    margin-bottom: 55px;

    color: var(--white);

    text-align: center;
}

.amenityGrid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 18px;
}

.amenityGrid div {
    min-height: 92px;

    padding: 25px 26px;

    display: flex;

    align-items: center;

    border:
        1px solid
        rgba(255, 255, 255, 0.13);

    border-radius: var(--radius-medium);

    background:
        rgba(255, 255, 255, 0.045);

    color:
        rgba(255, 255, 255, 0.88);

    font-size: 0.88rem;

    font-weight: 500;

    letter-spacing: 0.04em;

    backdrop-filter: blur(6px);

    transition:
        transform 0.25s ease,
        background-color 0.25s ease,
        border-color 0.25s ease;
}

.amenityGrid div:hover {
    transform: translateY(-4px);

    border-color:
        rgba(255, 255, 255, 0.28);

    background:
        rgba(255, 255, 255, 0.085);
}


/* =========================================================
   THINGS TO DO
   ========================================================= */

.thingsToDo {
    padding: 130px 0;

    background: var(--cream);
}

.thingsToDo h2 {
    margin-bottom: 58px;

    color: var(--forest);

    text-align: center;
}

.activities {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 24px;
}

.activities > div {
    min-height: 290px;

    padding: 38px 32px;

    display: flex;

    flex-direction: column;
    justify-content: flex-end;

    border:
        1px solid
        rgba(23, 55, 45, 0.1);

    border-radius: var(--radius-medium);

    background: var(--white);

    box-shadow:
        0 15px 38px
        rgba(18, 42, 33, 0.07);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.activities > div:hover {
    transform: translateY(-7px);

    border-color:
        rgba(181, 109, 67, 0.35);

    box-shadow:
        0 24px 55px
        rgba(18, 42, 33, 0.13);
}

.activities h3 {
    margin-bottom: 14px;

    color: var(--forest);
}

.activities p {
    margin-bottom: 0;

    font-size: 0.94rem;

    line-height: 1.85;
}


/* =========================================================
   MAIN PHOTO GALLERY
   ========================================================= */

.gallery {
    padding: 120px 18px;

    background: var(--forest-dark);

    color: var(--white);
}

.gallery h2 {
    margin-bottom: 55px;

    color: var(--white);

    text-align: center;
}

.galleryGrid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    grid-auto-rows: 260px;

    gap: 10px;

    max-width: 1500px;

    margin: 0 auto;
}

.galleryGrid img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    border-radius: 5px;

    cursor: zoom-in;

    transition:
        transform 0.5s ease,
        opacity 0.3s ease,
        filter 0.3s ease;
}

.galleryGrid img:hover {
    z-index: 2;

    transform: scale(1.02);

    opacity: 0.93;

    filter: brightness(1.04);
}

.galleryGrid img:nth-child(1),
.galleryGrid img:nth-child(6),
.galleryGrid img:nth-child(11),
.galleryGrid img:nth-child(16) {
    grid-column: span 2;
}

.galleryGrid img:nth-child(4),
.galleryGrid img:nth-child(9),
.galleryGrid img:nth-child(14),
.galleryGrid img:nth-child(19) {
    grid-row: span 2;
}

/* =========================================================
   GUEST REVIEWS
   ========================================================= */

.reviews {
    position: relative;

    padding: 130px 0;

    overflow: hidden;

    background: var(--sand);
}

.reviews::before {
    position: absolute;

    top: -190px;
    right: -160px;

    width: 480px;
    height: 480px;

    content: "";

    border:
        1px solid
        rgba(23, 55, 45, 0.1);

    border-radius: 50%;
}

.reviewHeading {
    margin-bottom: 48px;

    text-align: center;
}

.reviewEyebrow {
    margin-bottom: 12px;

    color: var(--copper);

    font-size: 0.72rem;

    font-weight: 600;

    letter-spacing: 0.18em;

    text-transform: uppercase;
}

.reviewHeading h2 {
    margin-bottom: 0;

    color: var(--forest);
}

.reviewCard {
    position: relative;

    max-width: 900px;

    margin: 0 auto;

    padding: 60px 68px;

    border:
        1px solid
        rgba(23, 55, 45, 0.1);

    border-radius: var(--radius-large);

    background: var(--white);

    box-shadow: var(--shadow-soft);
}

.reviewCard::before {
    position: absolute;

    top: 20px;
    right: 38px;

    content: "“";

    color:
        rgba(181, 109, 67, 0.15);

    font-family: var(--heading-font);

    font-size: 9rem;

    line-height: 1;
}

.reviewStars {
    position: relative;

    z-index: 2;

    margin-bottom: 22px;

    color: var(--copper);

    font-size: 1.15rem;

    letter-spacing: 0.16em;
}

.reviewCard blockquote {
    position: relative;

    z-index: 2;

    margin: 0 0 38px;

    color: var(--forest);

    font-family: var(--heading-font);

    font-size: clamp(
        1.65rem,
        3vw,
        2.5rem
    );

    line-height: 1.45;
}

.reviewGuest {
    display: flex;

    align-items: center;

    gap: 16px;
}

.reviewAvatar {
    display: flex;

    width: 54px;
    height: 54px;

    flex: 0 0 54px;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--forest);

    color: var(--white);

    font-family: var(--heading-font);

    font-size: 1.4rem;
}

.reviewGuest strong,
.reviewGuest span,
.reviewGuest small {
    display: block;
}

.reviewGuest strong {
    color: var(--text);

    font-size: 0.95rem;
}

.reviewGuest span {
    color: var(--muted);

    font-size: 0.8rem;
}

.reviewGuest small {
    margin-top: 4px;

    color: var(--muted);

    font-size: 0.74rem;
}

/* =========================================================
   BOOKING
   ========================================================= */

.booking {
    position: relative;

    display: flex;

    min-height: 680px;

    padding: 100px 42px;

    align-items: center;
    justify-content: center;

    overflow: hidden;

    background:
        linear-gradient(
            rgba(8, 29, 22, 0.68),
            rgba(8, 29, 22, 0.82)
        ),
        url("./images/deck-woods.jpg")
        center center / cover
        no-repeat;

    color: var(--white);

    text-align: center;
}

.booking::before {
    position: absolute;

    inset: 0;

    content: "";

    background:
        radial-gradient(
            circle at center,
            rgba(255, 255, 255, 0.05),
            transparent 55%
        );
}

.bookingContent {
    position: relative;

    z-index: 2;

    max-width: 850px;

    padding: 65px 70px;

    border:
        1px solid
        rgba(255, 255, 255, 0.18);

    border-radius: var(--radius-large);

    background:
        rgba(11, 35, 27, 0.58);

    box-shadow: var(--shadow-dark);

    backdrop-filter: blur(13px);
}

.bookingContent h2 {
    margin-bottom: 24px;

    color: var(--white);
}

.bookingContent p {
    max-width: 660px;

    margin-right: auto;
    margin-bottom: 34px;
    margin-left: auto;

    color:
        rgba(255, 255, 255, 0.74);

    font-size: 1.02rem;

    line-height: 1.9;
}

.bookingContent .buttons {
    justify-content: center;
}


/* =========================================================
   FOOTER
   ========================================================= */

footer {
    padding: 90px 42px 28px;

    background: #081b15;

    color: var(--white);
}

.footerColumns {
    display: grid;

    grid-template-columns:
        2fr 1fr 1fr;

    gap: 70px;

    width: min(
        100%,
        var(--content-width)
    );

    margin: 0 auto;
}

.footerColumns h3 {
    margin-bottom: 18px;

    color: var(--white);

    font-size: 1.55rem;
}

.footerColumns p {
    max-width: 390px;

    margin-bottom: 0;

    color:
        rgba(255, 255, 255, 0.5);

    font-size: 0.86rem;

    line-height: 1.9;
}

.footerColumns > div:not(:first-child) {
    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 10px;
}

.footerColumns a {
    color:
        rgba(255, 255, 255, 0.62);

    font-size: 0.82rem;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.footerColumns a:hover {
    transform: translateX(3px);

    color: var(--white);
}

.copyright {
    width: min(
        100%,
        var(--content-width)
    );

    margin: 70px auto 0;

    padding-top: 25px;

    border-top:
        1px solid
        rgba(255, 255, 255, 0.11);

    color:
        rgba(255, 255, 255, 0.35);

    font-size: 0.72rem;

    letter-spacing: 0.04em;

    text-align: center;
}


/* =========================================================
   LIGHTBOX
   ========================================================= */

.lightbox {
    position: fixed;

    inset: 0;

    z-index: 5000;

    display: none;

    padding: 50px;

    align-items: center;
    justify-content: center;

    background:
        rgba(4, 12, 9, 0.94);

    backdrop-filter: blur(12px);

    cursor: zoom-out;
}

.lightbox.open {
    display: flex;
}

#lightboxImage {
    width: auto;
    height: auto;

    max-width: 92vw;
    max-height: 88vh;

    object-fit: contain;

    border-radius: 6px;

    box-shadow:
        0 30px 80px
        rgba(0, 0, 0, 0.48);

    cursor: default;
}

#closeLightbox {
    position: absolute;

    top: 18px;
    right: 30px;

    z-index: 2;

    color: var(--white);

    font-size: 3rem;

    font-weight: 300;

    line-height: 1;

    cursor: pointer;

    opacity: 0.78;

    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

#closeLightbox:hover {
    transform: scale(1.08);

    opacity: 1;
}


/* =========================================================
   SCROLL ANIMATIONS
   ========================================================= */

.reveal {
    opacity: 0;

    transform: translateY(35px);

    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;

    transform: translateY(0);
}

.revealLeft {
    opacity: 0;

    transform: translateX(-45px);

    transition:
        opacity 0.85s ease,
        transform 0.85s ease;
}

.revealLeft.visible {
    opacity: 1;

    transform: translateX(0);
}

.revealRight {
    opacity: 0;

    transform: translateX(45px);

    transition:
        opacity 0.85s ease,
        transform 0.85s ease;
}

.revealRight.visible {
    opacity: 1;

    transform: translateX(0);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1050px) {

    header {
        padding: 0 24px;
    }

    nav {
        gap: 18px;
    }

    nav a {
        font-size: 0.68rem;
    }

    .splitSection,
    .splitSection.reverse {
        grid-template-columns: 1fr 1fr;
    }

    .splitContent {
        padding: 70px 6vw;
    }

    .galleryFour {
        grid-template-columns: 1fr 1fr;
    }

    .galleryFour img {
        height: 420px;
    }

    .amenityGrid,
    .activities {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .galleryGrid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

    .galleryGrid img:nth-child(1),
    .galleryGrid img:nth-child(6),
    .galleryGrid img:nth-child(11),
    .galleryGrid img:nth-child(16) {
        grid-column: auto;
    }

    .galleryGrid img:nth-child(4),
    .galleryGrid img:nth-child(9),
    .galleryGrid img:nth-child(14),
    .galleryGrid img:nth-child(19) {
        grid-row: auto;
    }

    .galleryGrid img:nth-child(1),
    .galleryGrid img:nth-child(8),
    .galleryGrid img:nth-child(15) {
        grid-column: span 2;
    }
}


/* =========================================================
   MOBILE NAVIGATION AND SMALL TABLETS
   ========================================================= */

@media (max-width: 820px) {

    header {
        min-height: 70px;
    }

    .logo {
        max-width: 70%;

        font-size: 1.2rem;
    }

    nav {
        position: fixed;

        top: 70px;
        right: 0;
        left: 0;

        display: none;

        padding: 28px;

        flex-direction: column;
        align-items: stretch;

        gap: 4px;

        background:
            rgba(13, 36, 29, 0.98);

        box-shadow:
            0 20px 40px
            rgba(0, 0, 0, 0.25);

        backdrop-filter: blur(14px);
    }

    nav.open {
        display: flex;
    }

    nav a {
        padding: 15px 0;

        border-bottom:
            1px solid
            rgba(255, 255, 255, 0.09);

        font-size: 0.8rem;
    }

    nav a::after {
        display: none;
    }

    header::after {
        display: block;

        width: 27px;
        height: 20px;

        content: "☰";

        color: var(--white);

        font-size: 1.5rem;

        line-height: 1;

        cursor: pointer;
    }

    header.menuActive::after {
        content: "×";

        font-size: 2rem;
    }

    .hero-overlay {
        width: min(
            calc(100% - 40px),
            var(--content-width)
        );
    }

    .quickFacts {
        display: grid;

        grid-template-columns: 1fr 1fr;

        row-gap: 24px;
    }

    .splitSection,
    .splitSection.reverse {
        display: flex;

        min-height: auto;

        flex-direction: column;
    }

    .splitSection.reverse .splitContent {
        order: 2;
    }

    .splitSection.reverse .splitImage {
        order: 1;
    }

    .splitImage {
        min-height: 520px;
    }

    .splitContent {
        padding: 78px 28px;
    }

    .galleryTwo {
        grid-template-columns: 1fr;
    }

    .galleryTwo img {
        height: 520px;
    }

    .galleryFour {
        grid-template-columns: 1fr 1fr;
    }

    .galleryFour img {
        height: 330px;
    }

    .galleryGrid {
        grid-template-columns: 1fr 1fr;

        grid-auto-rows: 240px;
    }

    .galleryGrid img:nth-child(1),
    .galleryGrid img:nth-child(8),
    .galleryGrid img:nth-child(15) {
        grid-column: auto;
    }

    .bookingContent {
        padding: 50px 30px;
    }

    .footerColumns {
        grid-template-columns: 1fr 1fr;
    }

    .footerColumns > div:first-child {
        grid-column: span 2;
    }
}


/* =========================================================
   PHONES
   ========================================================= */

@media (max-width: 560px) {

    .reviews {
        padding: 88px 0;
    }

    .reviewCard {
        padding: 42px 24px;
    }

    .reviewCard::before {
        top: 12px;
        right: 18px;

        font-size: 6rem;
    }

    .reviewCard blockquote {
        font-size: 1.55rem;
    }
    
    .content {
        width: min(
            calc(100% - 30px),
            var(--content-width)
        );
    }

    header {
        padding: 0 16px;
    }

    .logo {
        font-size: 1.05rem;
    }

    .hero {
        min-height: 820px;

        background-position: 58% center;
    }

    .hero-overlay {
        width: min(
            calc(100% - 28px),
            var(--content-width)
        );

        padding-top: 125px;
        padding-bottom: 55px;
    }

    .hero h1 {
        font-size: clamp(
            3.25rem,
            18vw,
            5rem
        );
    }

    .hero h2 {
        font-size: 0.9rem;
    }

    .hero p {
        font-size: 0.95rem;

        line-height: 1.75;
    }

    .hero .buttons {
        flex-direction: column;
    }

    .primary,
    .secondary {
        width: 100%;
    }

    .quickFacts {
        grid-template-columns: 1fr 1fr;
    }

    .quickFacts div {
        min-width: 0;

        padding-right: 15px;
    }

    .intro,
    .amenities,
    .thingsToDo {
        padding: 88px 0;
    }

    .featureImage,
    .fullImage {
        height: 62vh;

        min-height: 470px;
    }

    .story {
        min-height: 520px;

        padding: 82px 24px;
    }

    .splitImage {
        min-height: 430px;
    }

    .splitContent {
        padding: 65px 22px;
    }

    .galleryTwo img {
        height: 420px;
    }

    .galleryFour {
        grid-template-columns: 1fr;

        padding: 5px;
    }

    .galleryFour img {
        height: 430px;
    }

    .featureText {
        min-height: 430px;

        padding: 76px 24px;
    }

    .amenityGrid,
    .activities {
        grid-template-columns: 1fr;
    }

    .activities > div {
        min-height: 240px;
    }

    .gallery {
        padding:
            85px 8px;
    }

    .galleryGrid {
        grid-template-columns: 1fr;

        grid-auto-rows: 320px;

        gap: 6px;
    }

    .booking {
        min-height: 640px;

        padding: 70px 16px;
    }

    .bookingContent {
        padding: 44px 22px;
    }

    .bookingContent .buttons {
        flex-direction: column;
    }

    footer {
        padding:
            70px 22px
            25px;
    }

    .footerColumns {
        grid-template-columns: 1fr;

        gap: 42px;
    }

    .footerColumns > div:first-child {
        grid-column: auto;
    }

    .lightbox {
        padding: 20px;
    }

    #closeLightbox {
        top: 10px;
        right: 16px;
    }
}


/* =========================================================
   REDUCED MOTION ACCESSIBILITY
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;

        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;

        transition-duration: 0.01ms !important;
    }

    .reveal,
    .revealLeft,
    .revealRight {
        opacity: 1;

        transform: none;
    }
}