/* =========================================================
   PURPLE STEPS GUEST HOUSE
   RESPONSIVE LANDING PAGE
========================================================= */

/* =========================================================
   FONT
========================================================= */

@font-face {
    font-family: "Alta";
    src: url("https://cdn.jsdelivr.net/gh/jasonplaatjies8542-star/Alta-font@main/Alta_Font/Alta_regular.otf") format("opentype"), url("https://raw.githubusercontent.com/jasonplaatjies8542-star/Alta-font/main/Alta_Font/Alta_regular.otf") format("opentype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

/* =========================================================
   VARIABLES
========================================================= */

:root {
    --dark-purple: #291031;
    --purple-dark: #604073;
    --purple: #82519a;
    --purple-mid: #9658af;
    --purple-light: #bd68df;
    --purple-pale: #d78beb;
    --purple-soft: #f1e8f4;
    --white: #ffffff;
    --off-white: #fbf9fc;
    --text-dark: #241c25;
    --text-grey: #746c76;
    --display-font: "Alta", sans-serif;
    --montserrat: "Montserrat", Arial, sans-serif;
    --site-width: 1320px;
    --site-padding: clamp(20px, 5vw, 72px);
}

/* =========================================================
   RESET
========================================================= */

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    width: 100%;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    width: 100%;
    margin: 0;
    overflow-x: hidden;
    background: var(--white);
    color: var(--text-dark);
    font-family: var(--montserrat);
}

img {
    display: block;
    width: 100%;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button, input, select, textarea {
    font: inherit;
}

section, header, footer {
    width: 100%;
}

/* Bootstrap compatibility */

.navbar {
    padding: 0;
    flex-wrap: nowrap;
}

/* =========================================================
   LANDING INTRO
========================================================= */

.landing-intro {
    position: fixed;
    inset: 0;
    z-index: 200000;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(140deg, #16081c 0%, #291031 36%, #482053 68%, #75448c 100%);
    color: white;
    visibility: visible;
    opacity: 1;
}

/* subtle texture */

.landing-intro::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, 0.025) 45%, transparent 70%);
    transform: translateX(-100%);
}

/* top/bottom frame */

.landing-intro::after {
    content: "";
    position: absolute;
    inset: 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

/* =========================================================
   INTRO GLOW
========================================================= */

.landing-intro-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
}

.glow-one {
    width: min(800px, 90vw);
    height: min(800px, 90vw);
    background: radial-gradient(circle, rgba(215, 139, 235, 0.18) 0%, rgba(189, 104, 223, 0.08) 34%, transparent 70%);
    transform: scale(0.5);
}

.glow-two {
    width: min(480px, 65vw);
    height: min(480px, 65vw);
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 67%);
    transform: scale(0.7);
}

/* =========================================================
   INTRO CONTENT
========================================================= */

.landing-intro-content {
    position: relative;
    z-index: 3;
    width: min(620px, calc(100% - 48px));
    text-align: center;
}

.intro-monogram {
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

.intro-monogram span {
    display: block;
    width: 55px;
    height: 1px;
    background: rgba(255, 255, 255, 0.38);
}

.intro-monogram strong {
    font-family: var(--display-font);
    font-size: 28px;
    font-weight: normal;
    letter-spacing: 0.07em;
}

.intro-name {
    margin: 0;
    font-family: var(--display-font);
    font-size: clamp(3.3rem, 8vw, 6rem);
    font-weight: normal;
    line-height: 0.95;
    letter-spacing: 0.025em;
}

.intro-guest-house {
    margin: 16px 0 0;
    color: rgba(255, 255, 255, 0.64);
    font-size: 8px;
    font-weight: 500;
    letter-spacing: 0.32em;
}

/* =========================================================
   INTRO RATING
========================================================= */

.intro-rating {
    margin-top: 33px;
}

.intro-stars {
    display: flex;
    justify-content: center;
    gap: 9px;
    color: #efcdf8;
}

.intro-stars i {
    font-size: 11px;
}

.intro-rating p {
    margin: 11px 0 0;
    color: rgba(255, 255, 255, 0.80);
    font-size: 7px;
    font-weight: 600;
    letter-spacing: 0.25em;
}

/* =========================================================
   INTRO PROGRESS
========================================================= */

.intro-progress {
    position: relative;
    width: 135px;
    height: 1px;
    margin: 38px auto 0;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.14);
}

.intro-progress span {
    position: absolute;
    inset: 0 auto 0 0;
    width: 100%;
    background: var(--purple-pale);
    transform: scaleX(0);
    transform-origin: left;
}

.intro-footnote {
    position: absolute;
    z-index: 3;
    left: 50%;
    bottom: 42px;
    margin: 0;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.36);
    font-size: 6px;
    letter-spacing: 0.27em;
    white-space: nowrap;
}

/* =========================================================
   LANDING INTRO ANIMATION
   Uses existing body.page-loaded from script.js
========================================================= */

body.page-loaded .landing-intro {
    animation: introScreenExit 3.45s cubic-bezier(0.76, 0, 0.24, 1) forwards;
}

body.page-loaded .landing-intro::before {
    animation: introShimmer 2.1s ease 0.2s both;
}

body.page-loaded .glow-one {
    animation: introGlowOne 2.8s ease forwards;
}

body.page-loaded .glow-two {
    animation: introGlowTwo 2.5s ease 0.1s forwards;
}

body.page-loaded .intro-monogram {
    animation: introReveal 0.7s ease 0.08s both;
}

body.page-loaded .intro-name {
    animation: introTitleReveal 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

body.page-loaded .intro-guest-house {
    animation: introReveal 0.7s ease 0.46s both;
}

body.page-loaded .intro-stars {
    animation: introStarReveal 0.7s ease 0.65s both;
}

body.page-loaded .intro-rating p {
    animation: introReveal 0.65s ease 0.78s both;
}

body.page-loaded .intro-progress {
    animation: introReveal 0.55s ease 0.86s both;
}

body.page-loaded .intro-progress span {
    animation: introProgress 1.55s cubic-bezier(0.65, 0, 0.35, 1) 0.83s both;
}

body.page-loaded .intro-footnote {
    animation: introFootnote 0.8s ease 0.95s both;
}

/* =========================================================
   INTRO KEYFRAMES
========================================================= */

@keyframes introReveal {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes introTitleReveal {
    from {
        opacity: 0;
        letter-spacing: 0.17em;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        letter-spacing: 0.025em;
        transform: translateY(0);
    }
}

@keyframes introStarReveal {
    from {
        opacity: 0;
        transform: scale(0.55);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes introProgress {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

@keyframes introGlowOne {
    0% {
        opacity: 0;
        transform: scale(0.55);
    }

    45% {
        opacity: 1;
    }

    100% {
        opacity: 0.3;
        transform: scale(1.12);
    }
}

@keyframes introGlowTwo {
    0% {
        opacity: 0;
        transform: scale(0.7);
    }

    50% {
        opacity: 0.8;
    }

    100% {
        opacity: 0;
        transform: scale(1.25);
    }
}

@keyframes introShimmer {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(100%);
    }
}

@keyframes introFootnote {
    from {
        opacity: 0;
        transform: translate(-50%, 12px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

@keyframes introScreenExit {
    0% {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    75% {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        visibility: hidden;
        transform: translateY(-100%);
    }
}

/* =========================================================
   HEADER
========================================================= */

.header {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    height: 100px;
    background: linear-gradient(90deg, rgba(41, 16, 49, 0.97), rgba(43, 18, 48, 0.91), rgba(40, 17, 43, 0.87));
    transition: height 0.35s ease, transform 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}

.navbar {
    width: min(var(--site-width), calc(100% - 40px));
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.logo {
    flex: 0 0 auto;
    width: 105px;
    margin-right: auto;
}

.logo img {
    width: 100%;
    max-height: 80px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(22px, 3vw, 42px);
}

.nav-links a {
    position: relative;
    color: white;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 1px;
    background: var(--purple-light);
    transition: width 0.3s ease;
}

.nav-links a:hover, .nav-links a.active-link, .nav-links a.current-page {
    color: var(--purple-light);
}

.nav-links a:hover::after, .nav-links a.active-link::after, .nav-links a.current-page::after {
    width: 100%;
}

.reservation-btn {
    flex: 0 0 auto;
    margin-left: clamp(24px, 4vw, 50px);
    padding: 15px 24px;
    border-radius: 6px;
    background: var(--purple-light);
    color: white;
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
    transition: transform 0.3s ease, background 0.3s ease;
}

.reservation-btn:hover {
    transform: translateY(-2px);
    background: #cf7bed;
    color: white;
}

.menu-btn {
    display: none;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.menu-btn span {
    display: block;
    width: 27px;
    height: 2px;
    margin: 5px 0;
    background: white;
}

/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;
    min-height: min(850px, 100svh);
    display: flex;
    align-items: center;
    background-image: url("assets/reception.jpeg");
    background-size: cover;
    background-position: center 52%;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(27, 14, 29, 0.63), rgba(26, 18, 28, 0.34) 52%, rgba(19, 13, 21, 0.22));
}

.hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: clamp(180px, 26vw, 300px);
    background: linear-gradient(to top, rgba(126, 73, 146, 0.96), rgba(126, 73, 146, 0.34), transparent);
}

.hero-content {
    position: relative;
    z-index: 4;
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
    padding-top: 80px;
    color: white;
}

/* =========================================================
   HERO FOUR STAR
========================================================= */

.hero-four-star {
    width: fit-content;
    margin-bottom: 19px;
    padding: 8px 13px;
    display: flex;
    align-items: center;
    gap: 13px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(45, 17, 52, 0.24);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    transform: translateY(14px);
}

.hero-content.hero-loaded .hero-four-star {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease 0.15s, transform 0.8s ease 0.15s;
}

.hero-stars {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #f0cef8;
}

.hero-stars i {
    font-size: 8px;
}

.hero-four-star > span {
    color: rgba(255, 255, 255, 0.92);
    font-size: 7px;
    font-weight: 600;
    letter-spacing: 0.18em;
    white-space: nowrap;
}

.hero-eyebrow {
    margin-bottom: 16px;
    font-size: clamp(8px, 0.8vw, 10px);
    letter-spacing: 0.23em;
    opacity: 0.82;
}

.hero h1 {
    max-width: 980px;
    margin: 0;
    font-family: var(--display-font);
    font-size: clamp(4rem, 8vw, 7.8rem);
    font-weight: normal;
    line-height: 0.96;
}

.hero h1 span {
    display: block;
    margin-top: 12px;
    margin-left: clamp(0px, 4vw, 45px);
}

.hero-description {
    max-width: 470px;
    margin-top: 28px;
    font-size: clamp(11px, 1vw, 13px);
    font-weight: 300;
    line-height: 1.75;
    opacity: 0.92;
}

.hero-actions {
    margin-top: 34px;
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 22px;
    background: white;
    color: var(--dark-purple);
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    transition: gap 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.hero-primary:hover {
    gap: 18px;
    background: var(--purple-light);
    color: white;
}

.hero-secondary {
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
    color: white;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.hero-scroll {
    position: absolute;
    z-index: 5;
    right: max(30px, calc((100vw - var(--site-width)) / 2));
    bottom: 52px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
}

.hero-scroll span {
    font-size: 7px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

/* =========================================================
   ABOUT
========================================================= */

.about-section {
    position: relative;
    padding: clamp(75px, 9vw, 110px) var(--site-padding) clamp(105px, 10vw, 135px);
    background: linear-gradient(135deg, #75448c, #8851a0, #9157a8);
    color: white;
}

.about-section::after {
    content: "";
    position: absolute;
    left: -5%;
    bottom: -50px;
    width: 110%;
    height: 100px;
    background: white;
    transform: rotate(-1.8deg);
}

.about-wrapper {
    position: relative;
    z-index: 2;
    width: min(var(--site-width), 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(50px, 8vw, 110px);
    align-items: center;
}

/* =========================================================
   ABOUT FOUR STAR
========================================================= */

.section-rating {
    margin-bottom: 19px;
    display: flex;
    align-items: center;
    gap: 5px;
    color: #f1d4f8;
}

.section-rating i {
    font-size: 8px;
}

.section-rating span {
    margin-left: 8px;
    font-size: 6px;
    font-weight: 600;
    letter-spacing: 0.17em;
    opacity: 0.85;
}

.section-title p {
    margin-bottom: 13px;
    font-size: 8px;
    letter-spacing: 0.22em;
    opacity: 0.72;
}

.section-title h2 {
    margin: 0;
    font-family: var(--display-font);
    font-size: clamp(3rem, 5vw, 5rem);
    font-weight: normal;
    line-height: 1;
}

.about-text {
    max-width: 620px;
}

.about-text p {
    margin-bottom: 16px;
    font-size: 12px;
    font-weight: 300;
    line-height: 1.8;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    margin-top: 14px;
    color: white;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    transition: gap 0.3s ease;
}

.text-link:hover {
    gap: 18px;
    color: inherit;
}

/* =========================================================
   GALLERY
========================================================= */

.gallery-section {
    position: relative;
    z-index: 4;
    padding: 50px var(--site-padding) 85px;
    background: white;
}

.gallery {
    width: min(1440px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: clamp(12px, 1.5vw, 22px);
    align-items: center;
}

.gallery-image {
    position: relative;
    min-width: 0;
    height: clamp(230px, 25vw, 320px);
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(33, 18, 38, 0.14);
}

.gallery-tall {
    height: clamp(270px, 29vw, 370px);
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.gallery-image:hover img {
    transform: scale(1.05);
}

.gallery-image > span {
    position: absolute;
    left: 18px;
    bottom: 16px;
    padding: 6px 10px;
    background: rgba(40, 17, 46, 0.55);
    backdrop-filter: blur(6px);
    color: white;
    font-size: 7px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

/* =========================================================
   FEATURES
========================================================= */

.features {
    padding: clamp(70px, 8vw, 95px) var(--site-padding) clamp(80px, 9vw, 105px);
    background: white;
}

.features-heading {
    width: min(760px, 100%);
    margin: 0 auto 55px;
    text-align: center;
}

/* FOUR STAR SIGNATURE */

.four-star-signature {
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 17px;
}

.signature-line {
    display: block;
    width: 55px;
    height: 1px;
    background: rgba(130, 81, 154, 0.26);
}

.signature-stars {
    display: flex;
    justify-content: center;
    gap: 6px;
    color: var(--purple-light);
}

.signature-stars i {
    font-size: 9px;
}

.four-star-signature small {
    display: block;
    margin-top: 6px;
    color: var(--purple);
    font-size: 6px;
    font-weight: 600;
    letter-spacing: 0.18em;
}

.features-heading > p {
    margin-bottom: 10px;
    color: var(--purple);
    font-size: 8px;
    letter-spacing: 0.2em;
}

.features-heading h2 {
    margin: 0;
    font-family: var(--display-font);
    font-size: clamp(2.7rem, 5vw, 4.3rem);
    font-weight: normal;
    line-height: 1.08;
}

.features-wrapper {
    width: min(1050px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature {
    min-width: 0;
    padding: 30px clamp(20px, 4vw, 50px);
    text-align: center;
    border-right: 1px solid rgba(130, 81, 154, 0.25);
}

.feature:last-child {
    border-right: 0;
}

.feature-icon {
    display: block;
    margin-bottom: 18px;
    color: var(--purple-light);
    font-size: 34px;
}

.feature h3 {
    margin-bottom: 9px;
    color: var(--purple);
    font-family: var(--display-font);
    font-size: 20px;
    font-weight: normal;
}

.feature p {
    max-width: 220px;
    margin: 0 auto;
    color: var(--text-grey);
    font-size: 9px;
    line-height: 1.7;
}

/* =========================================================
   ROOMS PREVIEW
========================================================= */

.rooms-preview {
    padding: clamp(80px, 8vw, 110px) var(--site-padding) clamp(95px, 10vw, 125px);
    background: var(--off-white);
}

.rooms-heading {
    width: min(var(--site-width), 100%);
    margin: 0 auto 45px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
}

.rooms-heading p {
    margin-bottom: 8px;
    color: var(--purple);
    font-size: 8px;
    letter-spacing: 0.2em;
}

.rooms-heading h2 {
    margin: 0;
    font-family: var(--display-font);
    font-size: clamp(3rem, 5vw, 4.6rem);
    font-weight: normal;
}

.dark-link {
    color: var(--purple);
}

.rooms-grid {
    width: min(var(--site-width), 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(18px, 2vw, 28px);
}

.room-card {
    min-width: 0;
    height: auto;
    background: white;
    box-shadow: 0 16px 35px rgba(34, 18, 39, 0.10);
}

.room-card-image {
    height: clamp(280px, 28vw, 360px);
    overflow: hidden;
}

.featured-room .room-card-image {
    height: clamp(320px, 31vw, 400px);
}

.room-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.65s ease;
}

.room-card:hover .room-card-image img {
    transform: scale(1.04);
}

.room-card-content {
    padding: 25px;
}

.room-card-content > p {
    margin-bottom: 7px;
    color: var(--purple-light);
    font-size: 7px;
    letter-spacing: 0.18em;
}

.room-card-content > .room-rate-note {
    margin-top: 14px;
    margin-bottom: 0;
    color: var(--purple);
    font-size: 7px;
    font-weight: 600;
    letter-spacing: 0.15em;
    line-height: 1.6;
}

.room-card-content h3 {
    margin-bottom: 22px;
    font-family: var(--display-font);
    font-size: 25px;
    font-weight: normal;
}

.room-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.room-card-bottom span {
    color: var(--text-grey);
    font-size: 9px;
}

.room-card-bottom a {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--purple);
    color: white;
    transition: transform 0.3s ease, background 0.3s ease;
}

.room-card-bottom a:hover {
    transform: translateY(-3px);
    background: var(--dark-purple);
    color: white;
}

/* =========================================================
   WHY CHOOSE US
========================================================= */

.why-section {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    min-height: 620px;
}

.why-image {
    position: relative;
    min-width: 0;
    overflow: hidden;
}

.why-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.why-image-badge {
    position: absolute;
    right: 35px;
    bottom: 35px;
    width: 105px;
    height: 105px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 50%;
    background: rgba(44, 20, 51, 0.42);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: white;
}

.why-image-badge span {
    font-family: var(--montserrat);
    font-size: 11px;
    letter-spacing: 0.14em;
}

.why-image-badge small {
    margin-top: 5px;
    font-size: 5px;
    letter-spacing: 0.12em;
}

.why-content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(60px, 8vw, 105px) clamp(35px, 7vw, 100px);
    background: linear-gradient(145deg, #87549e, #78488d);
    color: white;
}

.small-heading {
    margin-bottom: 10px;
    font-size: 8px;
    letter-spacing: 0.2em;
    opacity: 0.7;
}

.why-content h2 {
    margin-bottom: 18px;
    font-family: var(--display-font);
    font-size: clamp(3rem, 5vw, 4.6rem);
    font-weight: normal;
}

.why-intro {
    max-width: 450px;
    margin-bottom: 35px;
    font-size: 11px;
    font-weight: 300;
    line-height: 1.7;
    opacity: 0.86;
}

.why-list {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.why-item {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 16px;
}

.why-icon {
    color: white;
    font-size: 25px;
}

.why-item h4 {
    margin-bottom: 4px;
    font-size: 12px;
    font-weight: 500;
}

.why-item p {
    max-width: 390px;
    margin: 0;
    font-size: 9px;
    line-height: 1.7;
    opacity: 0.76;
}

.outline-button {
    width: fit-content;
    margin-top: 36px;
    padding: 13px 22px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    color: white;
    font-size: 8px;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    transition: background 0.3s ease, color 0.3s ease;
}

.outline-button:hover {
    background: white;
    color: var(--purple);
}

/* =========================================================
   QUOTE
========================================================= */

.home-quote {
    padding: clamp(55px, 7vw, 80px) var(--site-padding);
    background: white;
}

.home-quote-inner {
    width: min(1000px, 100%);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.home-quote blockquote {
    max-width: 700px;
    margin: 0;
    text-align: center;
    color: var(--purple);
    font-family: var(--display-font);
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.3;
}

.quote-line {
    flex: 0 0 70px;
    height: 1px;
    background: rgba(130, 81, 154, 0.4);
}

/* =========================================================
   KIMBERLEY
========================================================= */

.kimberley-section {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    background: #efe7f1;
}

.kimberley-content {
    min-width: 0;
    padding: clamp(60px, 8vw, 90px) clamp(30px, 7vw, 90px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.kimberley-content > p:first-child {
    margin-bottom: 8px;
    color: var(--purple);
    font-size: 8px;
    letter-spacing: 0.2em;
}

.kimberley-content h2 {
    margin-bottom: 20px;
    font-family: var(--display-font);
    font-size: clamp(2.8rem, 4vw, 4rem);
    font-weight: normal;
}

.kimberley-copy {
    max-width: 470px;
    margin-bottom: 8px;
    color: var(--text-grey);
    font-size: 10px;
    line-height: 1.75;
}

.kimberley-image {
    min-width: 0;
    height: clamp(360px, 37vw, 470px);
    box-shadow: none;
}

.kimberley-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =========================================================
   LOCATION & ACCESS
========================================================= */

.location-section {
    padding: clamp(75px, 8vw, 110px) var(--site-padding);
    background: var(--off-white);
}

.location-wrapper {
    width: min(var(--site-width), 100%);
    margin: 0 auto;
}

.location-heading {
    max-width: 780px;
    margin: 0 auto 46px;
    text-align: center;
}

.location-eyebrow {
    margin: 0 0 13px;
    color: var(--purple);
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.location-heading h2 {
    margin: 0 auto 18px;
    color: var(--dark-purple);
    font-family: var(--display-font);
    font-size: clamp(2.7rem, 5vw, 4.5rem);
    font-weight: normal;
    line-height: 1.05;
}

.location-intro {
    max-width: 690px;
    margin: 0 auto;
    color: var(--text-grey);
    font-size: 12px;
    line-height: 1.85;
}

.location-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.location-card {
    min-width: 0;
    padding: 30px 24px;
    border: 1px solid rgba(130, 81, 154, 0.14);
    background: var(--white);
    box-shadow: 0 12px 28px rgba(33, 18, 38, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.location-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 36px rgba(33, 18, 38, 0.11);
}

.location-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 20px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--purple-soft);
    color: var(--purple);
    font-size: 18px;
}

.location-card h3 {
    margin: 0 0 12px;
    color: var(--dark-purple);
    font-family: var(--display-font);
    font-size: 1.5rem;
    font-weight: normal;
    line-height: 1.15;
}

.location-card p {
    margin: 0;
    color: var(--text-grey);
    font-size: 10px;
    line-height: 1.8;
}

.location-note {
    margin: 32px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--purple-dark);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.05em;
    line-height: 1.6;
    text-align: center;
}

.location-note i {
    flex: 0 0 auto;
    color: var(--purple);
    font-size: 14px;
}

/* =========================================================
   RESERVATION CTA
========================================================= */

.reservation-section {
    width: 100%;
    padding: 65px var(--site-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    background: linear-gradient(90deg, #f5eff7, #eee4f2);
}

.reservation-section > div {
    max-width: 750px;
}

.reservation-stars {
    margin-bottom: 12px;
    display: flex;
    gap: 6px;
    color: var(--purple-light);
}

.reservation-stars i {
    font-size: 8px;
}

.reservation-section p {
    margin-bottom: 8px;
    color: var(--purple);
    font-size: 8px;
    letter-spacing: 0.2em;
}

.reservation-section h2 {
    margin: 0;
    font-family: var(--display-font);
    font-size: clamp(2.3rem, 4vw, 3.7rem);
    font-weight: normal;
}

.light-button {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 24px;
    background: var(--purple);
    color: white;
    font-size: 8px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    transition: gap 0.3s ease, background 0.3s ease;
}

.light-button:hover {
    gap: 18px;
    color: white;
    background: var(--dark-purple);
}

/* =========================================================
   FOOTER
========================================================= */

.footer {
    background: var(--dark-purple);
    color: white;
}

.footer-container {
    width: min(var(--site-width), calc(100% - 40px));
    margin: 0 auto;
    padding: 60px 0;
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 0.6fr);
    gap: clamp(35px, 5vw, 65px);
}

.footer-rating {
    margin-bottom: 12px;
    display: flex;
    gap: 5px;
    color: var(--purple-pale);
}

.footer-rating i {
    font-size: 8px;
}

.footer-brand h2 {
    margin-bottom: 25px;
    font-family: var(--display-font);
    font-size: 29px;
    font-weight: normal;
}

.footer-brand p {
    max-width: 240px;
    font-size: 9px;
    line-height: 1.7;
    opacity: 0.72;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-column h3 {
    margin-bottom: 7px;
    font-size: 13px;
}

.footer-column a {
    width: fit-content;
    font-size: 10px;
    opacity: 0.8;
    transition: color 0.3s ease, opacity 0.3s ease;
}

.footer-column a:hover {
    color: var(--purple-light);
    opacity: 1;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 17px;
}

.social-links a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: white;
    color: var(--dark-purple);
    font-weight: 700;
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
    background: var(--purple-light);
    color: white;
}

.copyright {
    padding: 20px;
    background: #050505;
    text-align: center;
}

.copyright p {
    margin: 0;
    color: rgba(255, 255, 255, 0.75);
    font-size: 8px;
}

/* =========================================================
   CURRENT GLOBAL JAVASCRIPT SUPPORT
========================================================= */

body {
    opacity: 0;
}

body.page-loaded {
    opacity: 1;
    transition: opacity 0.65s ease;
}

/* HEADER SCROLL */

.header.scrolled {
    position: fixed;
    height: 80px;
    background: rgba(41, 16, 49, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.18);
}

.header.header-hidden {
    transform: translateY(-105%);
}

/* =========================================================
   HERO ENTRANCE
========================================================= */

.hero-content {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease, transform 1s ease;
}

.hero-content.hero-loaded {
    opacity: 1;
    transform: none;
}

/* =========================================================
   REVEAL
========================================================= */

.reveal {
    opacity: 0;
    transform: translateY(45px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    transition-delay: var(--reveal-delay, 0ms);
}

.reveal.show {
    opacity: 1;
    transform: none;
}

/* =========================================================
   DYNAMIC IMAGES
========================================================= */

.dynamic-image {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.7s ease;
}

.dynamic-image.image-loaded {
    opacity: 1;
}

/* =========================================================
   MOBILE MENU BACKDROP
========================================================= */

.menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 900;
    background: rgba(15, 7, 18, 0.58);
    opacity: 0;
    visibility: hidden;
    transition: 0.35s ease;
}

.menu-backdrop.active {
    opacity: 1;
    visibility: visible;
}

body.menu-open {
    overflow: hidden;
}

/* =========================================================
   SCROLL PROGRESS
========================================================= */

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--purple), var(--purple-light));
}

/* =========================================================
   BACK TO TOP
========================================================= */

.back-to-top {
    position: fixed;
    right: 26px;
    bottom: 26px;
    z-index: 850;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: var(--purple-light);
    color: white;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.20);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.3s ease;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-3px);
    background: var(--dark-purple);
}

/* =========================================================
   PAGE TRANSITION
========================================================= */

.page-transition {
    position: fixed;
    inset: 0;
    z-index: 100000;
    pointer-events: none;
    background: linear-gradient(135deg, var(--dark-purple), var(--purple));
    transform: translateY(100%);
    transition: transform 0.32s cubic-bezier(0.7, 0, 0.3, 1);
}

.page-transition.active {
    transform: translateY(0);
}

/* =========================================================
   LARGE TABLETS / SMALL LAPTOPS
========================================================= */

@media (max-width: 1100px) {
    .navbar {
        width: min(var(--site-width), calc(100% - 30px));
    }

    .nav-links {
        gap: 24px;
    }

    .reservation-btn {
        margin-left: 24px;
    }

    .gallery {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .gallery-image:nth-child(4), .gallery-image:nth-child(5) {
        height: 300px;
    }

    .gallery-image:nth-child(5) {
        grid-column: span 2;
    }

    .rooms-grid {
        gap: 18px;
    }
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {
    /* NAVIGATION */

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        z-index: 1000;
        width: min(340px, 86vw);
        height: 100svh;
        padding: 60px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        gap: 28px;
        background: var(--dark-purple);
        transition: right 0.4s ease;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-family: var(--display-font);
        font-size: 27px;
    }

    .reservation-btn {
        margin-left: auto;
        margin-right: 22px;
    }

    .menu-btn {
        position: relative;
        z-index: 1100;
        display: block;
    }

    .menu-btn span {
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .menu-btn.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-btn.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* ABOUT */

    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* GALLERY */

    .gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gallery-image, .gallery-tall {
        height: 320px;
    }

    .gallery-image:nth-child(5) {
        grid-column: 1 / -1;
    }

    /* FEATURES */

    .features-wrapper {
        grid-template-columns: 1fr;
    }

    .feature {
        border-right: 0;
        border-bottom: 1px solid rgba(130, 81, 154, 0.22);
    }

    .feature:last-child {
        border-bottom: 0;
    }

    /* ROOMS */

    .rooms-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .room-card:last-child {
        grid-column: 1 / -1;
    }

    /* WHY */

    .why-section {
        grid-template-columns: 1fr;
    }

    .why-image {
        height: 520px;
    }

    /* KIMBERLEY */

    .kimberley-section {
        grid-template-columns: 1fr;
    }

    .kimberley-content {
        padding: 70px var(--site-padding);
    }

    .kimberley-image {
        height: 390px;
    }

    /* FOOTER */

    .footer-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {
    :root {
        --site-padding: 22px;
    }

    /* INTRO */

    .landing-intro::after {
        inset: 16px;
    }

    .landing-intro-content {
        width: calc(100% - 40px);
    }

    .intro-monogram span {
        width: 34px;
    }

    .intro-name {
        font-size: clamp(3rem, 15vw, 4.4rem);
    }

    .intro-guest-house {
        font-size: 6px;
        letter-spacing: 0.23em;
    }

    .intro-footnote {
        bottom: 28px;
        font-size: 5px;
        letter-spacing: 0.20em;
    }

    /* HEADER */

    .header {
        height: 80px;
    }

    .navbar {
        width: calc(100% - 30px);
    }

    .logo {
        width: 75px;
    }

    .reservation-btn {
        display: none;
    }

    /* HERO */

    .hero {
        min-height: 680px;
        background-position: 60% center;
    }

    .hero-content {
        width: calc(100% - 44px);
        padding-top: 60px;
    }

    .hero-four-star {
        gap: 9px;
        padding: 7px 10px;
    }

    .hero-four-star > span {
        font-size: 6px;
    }

    .hero h1 {
        font-size: clamp(3.3rem, 16vw, 4.5rem);
    }

    .hero h1 span {
        margin-left: 0;
    }

    .hero-description {
        max-width: 350px;
        font-size: 10px;
    }

    .hero-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
    }

    .hero-scroll {
        display: none;
    }

    /* ABOUT */

    .about-section {
        padding: 75px var(--site-padding) 105px;
    }

    .about-section::after {
        bottom: -35px;
        height: 70px;
    }

    /* GALLERY */

    .gallery-section {
        padding: 45px var(--site-padding) 70px;
    }

    .gallery {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .gallery-image, .gallery-tall, .gallery-image:nth-child(4), .gallery-image:nth-child(5) {
        height: 360px;
    }

    .gallery-image:nth-child(5) {
        grid-column: auto;
    }

    /* FEATURES */

    .features {
        padding: 70px var(--site-padding);
    }

    .four-star-signature {
        gap: 10px;
    }

    .signature-line {
        width: 30px;
    }

    /* ROOMS */

    .rooms-preview {
        padding: 75px var(--site-padding);
    }

    .rooms-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .rooms-grid {
        grid-template-columns: 1fr;
    }

    .room-card:last-child {
        grid-column: auto;
    }

    .room-card-image, .featured-room .room-card-image {
        height: 360px;
    }

    /* WHY */

    .why-image {
        height: 430px;
    }

    .why-image-badge {
        right: 22px;
        bottom: 22px;
        width: 92px;
        height: 92px;
    }

    .why-content {
        padding: 70px var(--site-padding);
    }

    /* QUOTE */

    .home-quote {
        padding: 55px var(--site-padding);
    }

    .home-quote-inner {
        gap: 12px;
    }

    .quote-line {
        flex-basis: 30px;
    }

    /* KIMBERLEY */

    .kimberley-content {
        padding: 65px var(--site-padding);
    }

    .kimberley-image {
        height: 350px;
    }

    /* RESERVATION */

    .reservation-section {
        padding: 55px var(--site-padding);
        align-items: flex-start;
        flex-direction: column;
    }

    /* FOOTER */

    .footer-container {
        width: calc(100% - 44px);
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .social-links {
        flex-direction: row;
    }
}

/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 420px) {
    .hero {
        min-height: 620px;
    }

    .hero h1 {
        font-size: 3.15rem;
    }

    .hero-eyebrow {
        font-size: 7px;
    }

    .hero-four-star {
        margin-bottom: 14px;
    }

    .hero-stars i {
        font-size: 7px;
    }

    .hero-four-star > span {
        letter-spacing: 0.13em;
    }

    .section-title h2, .rooms-heading h2, .features-heading h2 {
        font-size: 2.75rem;
    }

    .section-rating {
        flex-wrap: wrap;
    }

    .section-rating span {
        width: 100%;
        margin: 5px 0 0;
    }

    .gallery-image, .gallery-tall, .gallery-image:nth-child(4), .gallery-image:nth-child(5) {
        height: 310px;
    }

    .room-card-image, .featured-room .room-card-image {
        height: 300px;
    }

    .why-image {
        height: 360px;
    }

    .home-quote blockquote {
        font-size: 1.8rem;
    }

    .quote-line {
        display: none;
    }
}

/* =========================================================
   EXTRA WIDE DISPLAYS
========================================================= */

@media (min-width: 1700px) {
    :root {
        --site-width: 1480px;
    }

    .hero-content {
        width: min(1220px, calc(100% - 80px));
    }

    .gallery {
        max-width: 1540px;
    }
}

/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .landing-intro {
        display: none !important;
    }

    .hero-content, .hero-four-star, .reveal {
        opacity: 1;
        transform: none;
    }
}

/* =========================================================
   FLOATING CONTACT BUTTON
========================================================= */

.contact-float {
    position: fixed;
    right: 86px;
    bottom: 26px;
    z-index: 851;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--purple);
    color: white;
    font-size: 19px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.20);
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.contact-float:hover {
    transform: translateY(-4px);
    background: var(--dark-purple);
    color: white;
    box-shadow: 0 12px 30px rgba(41, 16, 49, 0.28);
}

/* =========================================================
   CONTACT FLOAT LABEL
========================================================= */

.contact-float-label {
    position: absolute;
    right: 59px;
    top: 50%;
    padding: 8px 11px;
    border-radius: 5px;
    background: var(--dark-purple);
    color: white;
    font-size: 8px;
    font-weight: 500;
    letter-spacing: 0.06em;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translate(8px, -50%);
    pointer-events: none;
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.16);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
}

.contact-float:hover .contact-float-label {
    opacity: 1;
    visibility: visible;
    transform: translate(0, -50%);
}

/* =========================================================
   SUBTLE CONTACT ICON DETAIL
========================================================= */

.contact-float::before {
    content: "";
    position: absolute;
    inset: -5px;
    border: 1px solid rgba(130, 81, 154, 0.24);
    border-radius: 50%;
    opacity: 0;
    transform: scale(0.86);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.contact-float:hover::before {
    opacity: 1;
    transform: scale(1);
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {
    .contact-float {
        right: 74px;
        bottom: 20px;
        width: 46px;
        height: 46px;
        font-size: 18px;
    }

    .contact-float-label {
        display: none;
    }

    /*
       Your JavaScript-created back-to-top button
       remains on the far right.
    */

    .back-to-top {
        right: 20px;
        bottom: 20px;
        width: 46px;
        height: 46px;
    }
}

/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
    .contact-float, .contact-float::before, .contact-float-label {
        transition: none;
    }
}

/* =========================================================
   LOCATION SECTION RESPONSIVE LAYOUT
========================================================= */

@media (max-width: 900px) {
    .location-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 650px) {
    .location-section {
        padding-top: 70px;
        padding-bottom: 75px;
    }

    .location-heading {
        margin-bottom: 32px;
    }

    .location-heading h2 {
        font-size: clamp(2.5rem, 11vw, 3.4rem);
    }

    .location-intro {
        font-size: 11px;
    }

    .location-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .location-card {
        padding: 26px 23px;
    }

    .location-card h3 {
        font-size: 1.6rem;
    }

    .location-card p {
        font-size: 11px;
    }

    .location-note {
        align-items: flex-start;
        font-size: 8px;
    }
}