@font-face {
    font-family: 'Arboria';
    src: url('./fonts/Arboria-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}
@font-face {
    font-family: 'Arboria';
    src: url('./fonts/Arboria-Book.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Arboria';
    src: url('./fonts/Arboria-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: 'Arboria';
    src: url('./fonts/Arboria-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: 'Luxerie';
    src: url('./fonts/Luxerie.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Montserrat';
    src: url('./fonts/Montserrat-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Montserrat';
    src: url('./fonts/Montserrat-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

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

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

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

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

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

body {
    font-family: 'Arboria', sans-serif;
    background-color: #ffffff;
    color: #15393E;
    overflow-x: hidden;
}

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

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

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

/* Header Logo — base layout size is fixed to sticky size so the header stays thin, but visual scale is HUGE in hero */
.header-logo {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1) drop-shadow(0 4px 12px rgba(0,0,0,0.4));
    transform-origin: top center;
    transform: scale(1.5) translateY(5%);
}

@media (min-width: 768px) {
    .header-logo {
        height: 60px;
        transform: scale(1.7) translateY(10%);
    }
}

@media (min-width: 1024px) {
    .header-logo {
        height: 75px;
        transform: scale(1.9) translateY(15%);
    }
}

.nav-scrolled .header-logo {
    height: 50px; /* Sticky mobile - 20% larger than before */
    transform: scale(1) translateY(0);
    filter: brightness(0) saturate(100%) invert(16%) sepia(68%) saturate(545%) hue-rotate(138deg) brightness(94%) contrast(92%) drop-shadow(0 0 0 transparent);
}

@media (min-width: 768px) {
    .nav-scrolled .header-logo {
        height: 60px; /* Sticky tablet - 20% larger than before */
    }
}

@media (min-width: 1024px) {
    .nav-scrolled .header-logo {
        height: 75px; /* Sticky desktop - 25% larger than before (was 60px) */
    }
}

/* Footer Logo — visible and responsive */
.footer-logo {
    width: 250px;
    height: auto;
    filter: brightness(0) invert(1);
    opacity: 1;
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
    .footer-logo {
        width: 350px;
    }
}

@media (min-width: 1024px) {
    .footer-logo {
        width: 500px;
    }
}

/* Navigation */
#navbar {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid transparent;
}

@media (max-width: 1023px) {
    #navbar {
        background-color: transparent;
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
}

.nav-scrolled {
    padding-top: 0.25rem !important;
    padding-bottom: 0.25rem !important;
    background: rgba(255, 255, 255, 0.98);
    color: #15393E !important;
    border-bottom: 1px solid rgba(21, 57, 62, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
}

@media (max-width: 1023px) {
    #navbar.nav-scrolled {
        background-color: #15393E !important;
        color: #ffffff !important;
    }
    #navbar.nav-scrolled .header-logo {
        filter: none !important; /* Keep logo white/visible on emerald background */
    }
}

/* Background Video Scaling for Mobile */
@media (max-width: 767px) {
    .h-\[100svh\] video {
        transform: translate(-50%, -50%) scale(1.5) !important;
    }
}

/* 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);
}

/* ===== BREADCRUMBS ===== */
.breadcrumb-bar {
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(21, 57, 62, 0.08);
    padding: 0.65rem 0;
    position: relative;
    z-index: 10;
}

.breadcrumb-bar.breadcrumb-dark {
    background: rgba(0, 0, 0, 0.25);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.breadcrumb-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

@media (min-width: 768px) {
    .breadcrumb-inner {
        padding: 0 3rem;
    }
}

.breadcrumb-item {
    font-size: 0.6rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 500;
    color: #15393E;
    opacity: 0.5;
    transition: opacity 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
}

.breadcrumb-item:hover {
    opacity: 1;
    color: #c9a96e;
}

.breadcrumb-item.current {
    opacity: 1;
    color: #15393E;
    cursor: default;
    pointer-events: none;
}

.breadcrumb-separator {
    width: 14px;
    height: 14px;
    color: #c9a96e;
    opacity: 0.6;
    flex-shrink: 0;
}

/* On dark / hero backgrounds use white text */
.breadcrumb-bar.breadcrumb-dark .breadcrumb-item {
    color: rgba(255, 255, 255, 0.55);
}

.breadcrumb-bar.breadcrumb-dark .breadcrumb-item:hover {
    color: #c9a96e;
    opacity: 1;
}

.breadcrumb-bar.breadcrumb-dark .breadcrumb-item.current {
    color: rgba(255, 255, 255, 0.9);
    opacity: 1;
}

.breadcrumb-bar.breadcrumb-dark .breadcrumb-separator {
    color: rgba(201, 169, 110, 0.7);
}