/* ===== SKYLAND BRAND TYPOGRAPHY ===== */
/* Primary Font: Arboria */
@font-face {
    font-family: 'Arboria';
    src: url('./fonts/arboria-light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Arboria';
    src: url('./fonts/arboria-book.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Arboria';
    src: url('./fonts/arboria-medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Arboria';
    src: url('./fonts/arboria-bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Secondary Font: Helvetica Neue LT Pro (system fallback — file not available) */
/* Uses system Helvetica stack as fallback per brand guide */

/* Accent / Decorative Font: Luxerie */
@font-face {
    font-family: 'Luxerie';
    src: url('./fonts/luxerie.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-002F, U+003A-10FFFF;
    /* Exclude numbers */
}

/* Fallback for numbers in Luxerie */
@font-face {
    font-family: 'Luxerie';
    src: url('./fonts/arboria-medium.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0030-0039;
    /* 0-9 */
}

:root {
    --skyland-emerald: #15393E;
    --skyland-emerald-deep: #0a2327;
    --skyland-gold: #c9a96e;
    --skyland-ivory: #f8f6f1;
    --skyland-copy: #374151;
    --skyland-heading-track: 0.08em;
    --skyland-label-track: 0.22em;
}

/* ===== SKYLAND PROPERTIES – SHARED STYLES ===== */

/* Smooth Scrolling */
html.lenis {
    height: auto;
}

html {
    width: 100%;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

.lenis.lenis-smooth {
    scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

/* ===== BRAND TYPOGRAPHY RULES ===== */
/* Primary font: LUXERIE — all headings, navigation, labels */
h1,
h2,
h3,
h4,
h5,
h6,
.hero-main-title,
.section-title,
nav a,
.mobile-link,
.font-serif,
.font-arboria {
    font-family: 'Arboria', sans-serif !important;
    letter-spacing: var(--skyland-heading-track) !important;
    font-weight: 500 !important;
    word-spacing: normal !important;
    text-justify: none !important;
    text-wrap: balance;
    -webkit-text-stroke: 0 !important;
    text-shadow: none !important;
}

.hero-subtitle-top,
nav a,
.mobile-link,
.btn-skyland,
.btn-skyland-outline,
.font-secondary {
    font-family: 'Arboria', sans-serif !important;
    text-transform: uppercase;
    letter-spacing: var(--skyland-label-track) !important;
}

.font-luxerie {
    font-family: 'Luxerie', serif !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase;
}

/* Explicitly fix spacing for card titles to prevent justification gaps */
.editorial-card-title,
.related-post-title,
.post-card-title,
article h2,
article h3,
.blog-content-body h2,
.blog-content-body h3 {
    text-align: left !important;
    word-spacing: normal !important;
    letter-spacing: var(--skyland-heading-track) !important;
    text-justify: none !important;
    text-wrap: balance;
}

.text-center .editorial-card-title,
.text-center .hero-main-title {
    text-align: center !important;
}

/* Globally force left-alignment for body content to override Elementor gaps */
.blog-content-body,
.blog-content-body p,
.blog-content-body div,
.blog-content-body span,
.blog-content-body li {
    text-align: left !important;
    text-justify: none !important;
    word-spacing: normal !important;
}

/* Centered long titles for Hero sections */
.text-center,
.text-center * {
    text-align: center !important;
}

/* Secondary Font: Helvetica Neue — for all paragraphs and body content */
body {
    background-color: #ffffff;
    color: var(--skyland-emerald);
    width: 100%;
    overflow-x: hidden;
}

body,
p,
span,
li,
td,
th,
label,
input,
textarea,
select,
.hero-description,
.editorial-card-meta,
.font-sans {
    font-family: 'Helvetica Neue', 'HelveticaNeue-Light', 'Helvetica Neue Light', Helvetica, Arial, "Lucida Grande", sans-serif !important;
    font-weight: 300;
    line-height: 1.6;
}

/* Ensure buttons and CTA links remain clear */
.btn-skyland,
.btn-skyland-outline {
    font-weight: 500;
}

.font-arboria {
    font-family: 'Arboria', sans-serif !important;
}

.blog-content-body,
.blog-content-body p,
.blog-content-body li,
.blog-content-body span,
.blog-content-body div {
    font-family: 'Helvetica Neue', 'HelveticaNeue-Light', 'Helvetica Neue Light', Helvetica, Arial, "Lucida Grande", sans-serif !important;
    color: var(--skyland-copy) !important;
}

.blog-content-body h2,
.blog-content-body h3,
.editorial-card-title,
.related-post-title,
.post-card-title,
article h2,
article h3 {
    font-family: 'Arboria', sans-serif !important;
    color: var(--skyland-emerald) !important;
    text-transform: uppercase;
    font-weight: 500 !important;
}

.blog-content-body [style*="font-family: gilroy"] {
    font-family: 'Arboria', sans-serif !important;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #f4f4f4;
}

::-webkit-scrollbar-thumb {
    background: #15393E;
    border-radius: 4px;
}

/* Utilities */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

img,
picture,
svg,
canvas,
iframe {
    max-width: 100%;
}

input,
textarea,
select {
    max-width: 100%;
}

[class*="grid"] > *,
[class*="flex"] > * {
    min-width: 0;
}

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

/* Desktop default: fully transparent, white text over hero */
#navbar {
    transition: background 0.45s ease, backdrop-filter 0.45s ease, box-shadow 0.45s ease, padding 0.45s ease;
    border-bottom: 0px none transparent !important;
    border: none !important;
    box-shadow: none !important;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, transparent 100%);
    padding-top: 2.5rem !important;
    /* Increased from 2.2rem for an airier top feel */
    padding-bottom: 2.2rem !important;
    outline: none !important;
}

/* Logo — desktop at-top: white, elegant */
#navbar .header-logo {
    height: 55px;
    /* Reduced from 110px */
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1) !important;
    /* Force White at top */
    transform: scale(1);
    transform-origin: center center;
    transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 1024px) {
    #navbar .header-logo {
        height: 85px;
        /* Reduced from 160px */
        transform: scale(1);
    }
}

/* ---- STICKY STATE (Desktop) — frosted white bar ---- */
#navbar.nav-scrolled {
    padding-top: 1.8rem !important;
    /* Increased from 0.8rem for taller BG */
    padding-bottom: 1.8rem !important;
    background: rgba(255, 255, 255, 0.82) !important;
    backdrop-filter: blur(15px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(15px) saturate(180%) !important;
    color: #15393E !important;
    border-bottom: 1px solid rgba(21, 57, 62, 0.08) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05) !important;
}

/* Sticky logo: refined size, turns emerald */
#navbar.nav-scrolled .header-logo {
    height: 48px !important;
    /* Reduced from 80px */
    transform: scale(1) translateY(0) !important;
    filter: brightness(0) saturate(100%) invert(16%) sepia(68%) saturate(545%) hue-rotate(138deg) brightness(94%) contrast(92%) !important;
}

/* Desktop sticky text and icons turn emerald */
@media (min-width: 1024px) {
    #navbar.nav-scrolled a {
        color: #15393E !important;
    }
}

/* Global scrolled state icons and text */
#navbar.nav-scrolled .hamburger-icon,
#navbar.nav-scrolled button svg {
    color: #15393E !important;
    stroke: #15393E !important;
}

/* ---- MOBILE / TABLET (max 1023px) ---- */
@media (max-width: 1023px) {

    /* Transparent by default for mobile, matching desktop */
    #navbar {
        background: transparent !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        padding-top: calc(1.15rem + env(safe-area-inset-top, 0px)) !important;
        padding-bottom: 1.15rem !important;
        border-bottom: none !important;
        box-shadow: none !important;
    }

    #navbar .header-logo {
        height: 38px !important;
        filter: brightness(0) invert(1) !important;
        transform: scale(1) translateY(0) !important;
        display: block !important;
    }

    /* Mobile scrolled: frosted white bar matching desktop sticky state */
    #navbar.nav-scrolled {
        background: rgba(255, 255, 255, 0.82) !important;
        backdrop-filter: blur(12px) saturate(180%) !important;
        -webkit-backdrop-filter: blur(12px) saturate(180%) !important;
        color: #15393E !important;
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.3) !important;
        padding-top: calc(0.75rem + env(safe-area-inset-top, 0px)) !important;
        padding-bottom: 0.75rem !important;
    }

    #navbar.nav-scrolled .header-logo {
        height: 30px !important;
        filter: brightness(0) saturate(100%) invert(16%) sepia(68%) saturate(545%) hue-rotate(138deg) brightness(94%) contrast(92%) !important;
        transform: scale(1) translateY(0) !important;
    }
}

/* ===== MOBILE MENU UI ===== */
@media (min-width: 768px) {
    #mobile-menu>a:first-of-type {
        width: 100%;
        max-width: 42rem;
        padding: 0 2rem;
        margin: 0 auto 2.25rem;
    }

    .mobile-menu-logo {
        width: min(100%, 34rem);
        max-height: 110px;
        height: auto;
        object-fit: contain;
        margin: 0 auto;
        filter: brightness(0) saturate(100%) invert(16%) sepia(68%) saturate(545%) hue-rotate(138deg) brightness(94%) contrast(92%);
    }
}

@media (max-width: 767px) {
    #mobile-menu {
        justify-content: flex-start !important;
        padding:
            calc(1rem + env(safe-area-inset-top, 0px))
            1.25rem
            calc(1.5rem + env(safe-area-inset-bottom, 0px)) !important;
        background:
            radial-gradient(circle at top right, rgba(201, 169, 110, 0.14), transparent 34%),
            linear-gradient(180deg, #fefdf9 0%, #ffffff 46%, #f6f4ee 100%);
    }

    #mobile-menu #close-menu-btn {
        top: calc(0.7rem + env(safe-area-inset-top, 0px)) !important;
        right: 0.75rem !important;
        width: 2.75rem;
        height: 2.75rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 9999px;
        color: #15393e;
        background: rgba(255, 255, 255, 0.88);
        border: 1px solid rgba(21, 57, 62, 0.12);
        box-shadow: 0 14px 32px rgba(12, 32, 35, 0.08);
        backdrop-filter: blur(10px);
    }

    #mobile-menu>a:first-of-type {
        width: 100%;
        padding: 0 0.5rem;
        margin: 3.75rem 0 1.5rem;
    }

    .mobile-menu-logo {
        width: min(100%, 250px);
        max-height: 52px;
        height: auto;
        object-fit: contain;
        margin: 0 auto;
        filter: brightness(0) saturate(100%) invert(16%) sepia(68%) saturate(545%) hue-rotate(138deg) brightness(94%) contrast(92%);
    }

    #mobile-menu nav {
        width: 100%;
        max-width: 26rem;
        padding: 0;
        align-items: stretch !important;
        gap: 0.25rem !important;
    }

    #mobile-menu .mobile-link {
        display: block;
        width: 100%;
        padding: 0.9rem 1rem;
        font-size: 0.78rem !important;
        line-height: 1.35;
        letter-spacing: 0.18em !important;
        border-bottom: 1px solid rgba(21, 57, 62, 0.08);
    }

    #mobile-menu nav>a.mobile-link {
        text-align: center;
        font-weight: 600 !important;
        border-radius: 1rem;
        color: #15393e !important;
        background: rgba(255, 255, 255, 0.58);
        box-shadow: 0 1px 0 rgba(21, 57, 62, 0.03);
    }

    #mobile-menu nav>a.mobile-link:hover,
    #mobile-menu nav>a.mobile-link:focus-visible {
        background: rgba(21, 57, 62, 0.06);
    }

    #mobile-menu .mobile-link:last-child {
        border-bottom: none;
    }

    #mobile-menu nav>div {
        width: 100%;
        padding: 0 !important;
        margin-top: 1.25rem !important;
        gap: 0.75rem !important;
    }

    #mobile-menu nav>div .mobile-link {
        border-bottom: none;
        min-height: 3.25rem;
        padding: 0.9rem 1.25rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 1.5px solid rgba(21, 57, 62, 0.82) !important;
        border-radius: 9999px;
        background: transparent;
        font-size: 0.68rem !important;
        font-weight: 700 !important;
        letter-spacing: 0.16em !important;
        box-shadow: none !important;
    }
}

/* Remove kit links from mobile menu (per request) */
#mobile-menu a[href*="ashwood-sales-kit"] {
    display: none !important;
}

/* Global Hamburger icon white by default on transparent hero */
#navbar .hamburger-icon,
#navbar button svg {
    color: white;
    stroke: white;
    transition: all 0.3s ease;
}

#navbar .nav-contact-link {
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
}

/* ---- LANDSCAPE PHONES (max 1023px) — slim navbar ---- */
@media (max-width: 1023px) and (orientation: landscape) {
    #navbar {
        padding-top: 0.5rem !important;
        padding-bottom: 0.5rem !important;
    }

    #navbar .header-logo {
        height: 30px !important;
        transform: scale(1) translateY(0) !important;
    }

    #navbar.nav-scrolled .header-logo {
        height: 30px !important;
    }
}

/* ==========================================================================
   UNIVERSAL HERO SECTION
   Ensures same height, font, size, and positioning for all page headers
   ========================================================================== */
.universal-hero {
    position: relative;
    width: 100%;
    height: 85vh;
    min-height: 550px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 140px;
    /* Safe space for navbar on desktop */
    background: #0a1011;
}

.home-hero-overlay {
    background:
        linear-gradient(180deg, rgba(4, 11, 13, 0.42) 0%, rgba(4, 11, 13, 0.18) 32%, rgba(4, 11, 13, 0.52) 100%),
        radial-gradient(circle at 50% 55%, rgba(201, 169, 110, 0.14) 0%, rgba(201, 169, 110, 0) 48%);
}

.home-scroll-indicator {
    position: absolute;
    left: 50%;
    bottom: 2.5rem;
    z-index: 10;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.9rem;
    transform: translateX(-50%);
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.78);
    padding: 0;
    cursor: pointer;
}

.home-scroll-label {
    font-size: 0.64rem;
    letter-spacing: 0.34em;
    text-transform: uppercase;
}

.home-scroll-line {
    position: relative;
    width: 1px;
    height: 72px;
    background: rgba(255, 255, 255, 0.22);
    overflow: hidden;
}

.home-scroll-line::after {
    content: '';
    position: absolute;
    left: 0;
    top: -35%;
    width: 100%;
    height: 38%;
    background: linear-gradient(180deg, rgba(201, 169, 110, 0) 0%, rgba(201, 169, 110, 0.95) 100%);
    animation: home-scroll-pulse 1.7s ease-in-out infinite;
}

@keyframes home-scroll-pulse {
    0% {
        top: -35%;
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    100% {
        top: 100%;
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .universal-hero {
        height: auto;
        min-height: clamp(520px, 100svh, 760px);
        padding-top: 120px;
        /* Increased to push content further down from logo/navbar */
    }
}

.hero-content {
    position: relative;
    z-index: 20;
    padding: 0 1.5rem;
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-subtitle-top {
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.28em;
    font-size: 0.7rem;
    font-weight: 500;
    margin-bottom: 3rem;
    /* Extra space to avoid logo collision on mobile */
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hero-main-title {
    font-family: 'Arboria', sans-serif !important;
    font-size: clamp(2.2rem, 6.5vw, 4.8rem);
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.1em !important;
    line-height: 1.02;
    margin-bottom: 2.5rem;
    font-weight: 500 !important;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5) !important;
    word-break: keep-all;
    overflow-wrap: break-word;
    text-align: center !important;
    width: 100%;
    position: relative;
    z-index: 10;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.55;
    background: #000;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
}

/* DELETE the duplicate class and add nuclear watermark reset */
/* Nuclear Reset for phantom watermark/double-text effect */
/* NUCLEAR WATERMARK RESET */
.universal-hero::before,
.universal-hero::after,
.hero-content::before,
.hero-content::after,
.hero-main-title::before,
.hero-main-title::after,
h1::before,
h1::after,
h2::before,
h2::after,
[class*="watermark"]::before,
[class*="watermark"]::after,
[id*="watermark"]::before,
[id*="watermark"]::after,
[data-text]::before,
[data-text]::after {
    display: none !important;
    content: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    -webkit-text-stroke: 0 !important;
}

/* Ensure no background text is visible in communities or other pages */
.communities-hero::after,
.communities-hero::before {
    display: none !important;
}

.hero-description {
    color: #ffffff;
    /* Increased from rgba(255, 255, 255, 0.8) */
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-size: 0.85rem;
    /* Increased for better read on complex backgrounds */
    font-weight: 400;
    max-width: 850px;
    margin: 0 auto;
    line-height: 1.8;
}

@media (max-width: 768px) {
    #navbar {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }

    #navbar .nav-contact-link {
        font-size: 0.56rem !important;
        letter-spacing: 0.1em !important;
        max-width: 68px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .universal-hero {
        height: auto;
        min-height: calc(100svh - 1rem);
        padding-top: 112px;
        padding-bottom: 3rem;
    }

    .home-scroll-indicator {
        bottom: 1.8rem;
    }

    .home-scroll-label {
        font-size: 0.58rem;
        letter-spacing: 0.28em;
    }

    .home-scroll-line {
        height: 58px;
    }

    .hero-main-title {
        font-size: clamp(2rem, 9vw, 3rem) !important;
        letter-spacing: 0.02em;
        line-height: 1.1;
        padding: 0 0.35rem;
        text-wrap: balance;
    }

    .hero-subtitle-top {
        letter-spacing: 0.18em;
        font-size: 0.58rem;
        margin-bottom: 1.1rem;
        gap: 0.45rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-description {
        font-size: 0.72rem;
        letter-spacing: 0.1em;
        padding: 0 0.75rem;
        line-height: 1.7;
        max-width: 32rem;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 0 1rem;
    }

    .hero-main-title {
        font-size: clamp(1.8rem, 10vw, 2.7rem) !important;
    }

    .hero-description {
        font-size: 0.68rem;
        letter-spacing: 0.08em;
    }

    .btn-skyland,
    .btn-skyland-outline {
        width: 100%;
        justify-content: center;
    }
}

.media-tab-strip {
    scroll-snap-type: x proximity;
    display: flex;
    justify-content: flex-start;
}

.media-tab {
    scroll-snap-align: start;
}

@media (min-width: 768px) {
    .media-tab-strip {
        justify-content: center;
    }
}

/* ===== FOOTER LOGO ===== */
.footer-logo {
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: brightness(0) invert(1);
}

@media (max-width: 768px) {
    .footer-logo {
        max-width: 50%;
        height: auto;
    }

    /* Proportional for mobile */
}

@media (min-width: 1024px) {
    .footer-logo {
        max-width: 320px !important;
        /* 4x bigger than standard mobile size */
        height: auto;
    }
}


/* Background Video Scaling for Mobile */
@media (max-width: 767px) {
    .home-hero-section {
        height: auto !important;
        min-height: 0 !important;
        aspect-ratio: var(--mobile-hero-aspect, 9 / 16);
        padding-bottom: 0 !important;
    }

    .home-hero-section > .absolute.inset-0 {
        background: transparent !important;
    }

    #hero-video {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        transform: translate(-50%, -50%) !important;
        background: transparent !important;
    }

    .home-scroll-indicator {
        bottom: 1rem;
    }
}

/* Footer — Brand Identity Gradient (matches Brand Book style) */
footer.site-footer,
.site-footer {
    background: #0d2a2e !important;
    color: #ffffff !important;
    position: relative;
    overflow: hidden;
}

/* Animated base gradient layer */
footer.site-footer::after,
.site-footer::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg,
            #0a1e22 0%,
            #0f2d33 20%,
            #163e45 40%,
            #1a4a50 55%,
            #163e45 70%,
            #0f2d33 85%,
            #0a1e22 100%);
    background-size: 250% 100%;
    animation: footerShimmer 12s ease-in-out infinite alternate;
    z-index: 0;
    pointer-events: none;
}

@keyframes footerShimmer {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}

/* Vertical light column streaks (right side — like image 2) */
footer.site-footer::before,
.site-footer::before {
    content: '';
    position: absolute;
    top: -10%;
    right: 0;
    width: 55%;
    height: 130%;
    background: repeating-linear-gradient(to right,
            transparent 0px,
            transparent 38px,
            rgba(255, 255, 255, 0.018) 38px,
            rgba(255, 255, 255, 0.018) 68px);
    mask-image: linear-gradient(to left, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
    -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
    z-index: 1;
    pointer-events: none;
    animation: columnsSlide 20s ease-in-out infinite alternate;
}

@keyframes columnsSlide {
    0% {
        transform: translateX(0px) scaleY(1);
        opacity: 0.6;
    }

    50% {
        transform: translateX(12px) scaleY(1.02);
        opacity: 1;
    }

    100% {
        transform: translateX(-6px) scaleY(0.98);
        opacity: 0.7;
    }
}

/* Ensure footer content sits above pseudo-elements */
footer.site-footer>*,
.site-footer>* {
    position: relative;
    z-index: 2;
}

/* Form Inputs */
.form-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    padding: 12px 0;
    color: white;
    font-family: 'Arboria', sans-serif;
    font-size: 0.875rem;
    transition: border-color 0.3s ease;
    outline: none;
    border-radius: 0;
}

.form-input:focus {
    border-bottom-color: white;
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
}

select.form-input {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

select.form-input option {
    background-color: #15393E;
    color: white;
}

/* Dark form variant */
.form-input-dark {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(21, 57, 62, 0.3);
    padding: 12px 0;
    color: #15393E;
    font-family: 'Arboria', sans-serif;
    font-size: 0.875rem;
    transition: border-color 0.3s ease;
    outline: none;
    border-radius: 0;
}

.form-input-dark:focus {
    border-bottom-color: #15393E;
}

.form-input-dark::placeholder {
    color: rgba(21, 57, 62, 0.4);
    font-weight: 300;
}

select.form-input-dark {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

select.form-input-dark option {
    background-color: #ffffff;
    color: #15393E;
}

/* Image Parallax */
.img-container {
    overflow: hidden;
}

.img-parallax {
    transform: scale(1.1);
    transition: transform 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.img-container:hover .img-parallax {
    transform: scale(1.15);
}

/* Decorative Elements */
.decor-line {
    width: 1px;
    height: 60px;
    background-color: #15393E;
    margin: 0 auto;
    opacity: 0.3;
}

.decor-line-white {
    background-color: #ffffff;
}

.decor-line-horizontal {
    height: 1px;
    width: 60px;
    background-color: #15393E;
    opacity: 0.3;
}

/* Scroll Animation */
@keyframes scroll-down-line {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }

    40% {
        transform: scaleY(1);
        transform-origin: top;
    }

    40.1% {
        transform: scaleY(1);
        transform-origin: bottom;
    }

    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

.animate-scroll {
    animation: scroll-down-line 2s cubic-bezier(0.77, 0, 0.175, 1) infinite;
}

/* Core Values Card Hover */
.value-card {
    transition: all 0.5s ease;
}

.value-card:hover {
    background-color: #15393E;
    color: #ffffff;
    transform: translateY(-10px);
}

.value-card:hover .value-icon {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
}

.value-card:hover .value-desc {
    color: rgba(255, 255, 255, 0.8);
}

/* ===== BUTTONS ===== */
.btn-skyland {
    background-color: #15393E;
    color: #ffffff;
    padding: 0.75rem 2rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    transition: all 0.3s ease;
    display: inline-block;
    border: 1px solid #15393E;
}

.btn-skyland:hover {
    background-color: #ffffff;
    border-color: #ffffff;
    color: #15393E;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-skyland-outline {
    background-color: transparent;
    color: #15393E;
    padding: 0.75rem 2rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    transition: all 0.3s ease;
    display: inline-block;
    border: 1px solid #15393E;
}

.btn-skyland-outline:hover {
    background-color: #ffffff;
    border-color: #ffffff;
    color: #15393E;
    transform: translateY(-2px);
}

/* Feature Cards */
.feature-card {
    transition: all 0.4s ease;
    border: 1px solid rgba(21, 57, 62, 0.08);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(21, 57, 62, 0.1);
}

/* Payment Timeline */
.timeline-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #15393E;
    position: relative;
    z-index: 2;
}

.timeline-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 100%;
    width: 100%;
    height: 2px;
    background-color: rgba(21, 57, 62, 0.2);
}

/* File upload */
.file-upload-area {
    border: 2px dashed rgba(255, 255, 255, 0.3);
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.file-upload-area:hover {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.05);
}

/* Blog card */
.blog-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(21, 57, 62, 0.12);
}

/* Custom Cursor Styles */
.custom-cursor-dot {
    width: 6px;
    height: 6px;
    background-color: #c9a96e;
    /* Gold color */
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 10000;
}

.custom-cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(201, 169, 110, 0.5);
    /* Gold outline with transparency */
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}

.cursor-hover {
    width: 60px;
    height: 60px;
    border-color: rgba(201, 169, 110, 0.8);
    background-color: rgba(201, 169, 110, 0.1);
}

/* ===== POPUP STYLES ===== */
/* ===== POPUP STYLES ===== */
.hero-overlay {
    background: linear-gradient(to bottom, rgba(21, 57, 62, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.8) 100%);
}

.popup-overlay {
    background-color: rgba(10, 26, 28, 0.9);
    backdrop-filter: blur(8px);
}

.popup-content {
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.3);
}

.popup-close-btn {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.3s ease;
}

.popup-close-btn:hover {
    transform: rotate(90deg) scale(1.1);
}

/* ===== ANIMATED AMENITIES STYLES ===== */
.amenity-card {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: transparent;
}

.amenity-card .amenity-icon-wrapper {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.amenity-card:hover {
    transform: translateY(-8px);
}

.amenity-card:hover .amenity-icon-wrapper {
    transform: scale(1.15) translateY(-5px);
    color: #c9a96e;
    /* Skyland Gold */
}

.amenity-card:hover h4 {
    color: #15393E;
    /* High contrast text on hover */
}

/* ===== LIGHTBOX STYLES ===== */
#lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 26, 28, 0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    backdrop-filter: blur(10px);
}

#lightbox.active {
    opacity: 1;
}

#lightbox-img {
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#lightbox.active #lightbox-img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    color: white;
    cursor: pointer;
    background: none;
    border: none;
    transition: transform 0.3s ease;
}

.lightbox-close:hover {
    transform: rotate(90deg) scale(1.1);
}


/* ===== MEDIA CENTER EDITORIAL LAYOUT ===== */
.editorial-card {
    display: flex !important;
    flex-direction: column !important;
    position: relative;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: #ffffff;
    border: 1px solid rgba(21, 57, 62, 0.05);
    overflow: hidden;
    height: 100%;
}

.editorial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px -15px rgba(21, 57, 62, 0.15);
    border-color: rgba(21, 57, 62, 0.1);
}

.editorial-card-image-wrapper {
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: #f0f0f0;
    position: relative;
}

.editorial-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.editorial-card:hover .editorial-card-image {
    transform: scale(1.1);
}

.editorial-card-content {
    display: flex;
    flex-direction: column;
    padding: 2.5rem 2.25rem;
    flex: 1;
}

.editorial-card-meta {
    font-size: 0.6rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    font-weight: 800;
    color: #c9a96e;
    /* Skyland Gold */
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.editorial-card-meta span.date {
    color: #9CA3AF;
    font-weight: 500;
    letter-spacing: 0.1em;
}

.editorial-card-title {
    font-family: 'Arboria', sans-serif !important;
    font-size: 1.35rem;
    /* Slightly larger */
    font-weight: 500 !important;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.08em !important;
    /* Tightened for premium look */
    color: var(--skyland-emerald);
    margin-bottom: 1.25rem;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: left !important;
    word-spacing: normal !important;
}

.editorial-card:hover .editorial-card-title {
    color: #c9a96e;
}

.editorial-card-excerpt {
    font-family: 'Helvetica Neue', 'HelveticaNeue-Light', 'Helvetica Neue Light', Helvetica, Arial, "Lucida Grande", sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.7;
    color: rgba(21, 57, 62, 0.7);
    margin-bottom: 2rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* Reduced to show more title if needed */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: left !important;
}

.editorial-card-link {
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-weight: 800;
    color: #15393E;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(21, 57, 62, 0.08);
    width: 100%;
}

.editorial-card-link:hover {
    color: #c9a96e;
    gap: 1.25rem;
}

.editorial-card-link svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.editorial-card-link:hover svg {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .editorial-card-content {
        padding: 2rem 1.5rem;
    }

    /* Transparent header padding and smaller logo size */
    #navbar {
        padding-top: 1.5rem !important;
        padding-bottom: 0.75rem !important;
    }
    
    #navbar .header-logo {
        height: 36px !important;
    }

    /* Keep thinner padding for scrolled state */
    #navbar.nav-scrolled {
        padding-top: 0.75rem !important;
        padding-bottom: 0.75rem !important;
    }
}
