/* ==========================================================================
   DESIGN SYSTEM & CUSTOM PROPERTIES
   ========================================================================== */
:root {
    /* Color Palette */
    --color-bg: #F8F6F2;          /* Warm Ivory */
    --color-primary: #274234;     /* Primary Green */
    --color-accent: #72826F;      /* Accent Sage */
    --color-secondary: #1E1E1E;   /* Charcoal */
    --color-gold: #C8B799;        /* Luxury Gold */
    --color-gold-hover: #bda485;
    --color-white: #FFFFFF;
    --color-light-gray: #EFECE6;
    --color-dark-gray: #2D2D2D;
    --color-text-muted: #5C6A5A;

    /* Typography */
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    /* Transitions & Shadow */
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.3s ease;
    --shadow-premium: 0 20px 40px rgba(28, 28, 28, 0.04);
    --shadow-hover: 0 30px 60px rgba(37, 67, 50, 0.12);
    --shadow-glass: 0 8px 32px 0 rgba(28, 28, 28, 0.08);

    /* Grid Spacing */
    --container-width: 1280px;
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 40px;
    --spacing-xl: 50px;
    --spacing-xxl: 80px;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    scroll-padding-top: 90px; /* Offset for sticky header on mobile/tablet */
}

@media (min-width: 992px) {
    html {
        scroll-padding-top: 110px; /* Offset for sticky header on desktop */
    }
}

body {
    background-color: var(--color-bg);
    color: var(--color-secondary);
    font-family: var(--font-sans);
    line-height: 1.625;
    overflow-x: hidden;
}

/* Typography Scale */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 300;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 5vw + 1rem, 4.75rem);
}

h2 {
    font-size: clamp(2rem, 3.5vw + 1rem, 3.25rem);
}

h3 {
    font-size: clamp(1.5rem, 2vw + 1rem, 2.25rem);
}

h4 {
    font-size: 1.25rem;
    font-weight: 500;
}

p {
    font-size: 1rem;
    color: var(--color-secondary);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
}

.section-padding {
    padding-top: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
}

.section-padding-double {
    padding-top: var(--spacing-xxl);
    padding-bottom: var(--spacing-xxl);
}

.grid-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mt-50 { margin-top: 50px; }

.text-center { text-align: center; }
.text-white { color: var(--color-white); }
.text-light-gray { color: var(--color-light-gray); }
.font-serif { font-family: var(--font-serif); }

/* Editorial Divider */
.editorial-divider {
    width: 60px;
    height: 1px;
    background-color: var(--color-gold);
    margin: 20px 0;
}

.text-center .editorial-divider {
    margin-left: auto;
    margin-right: auto;
}

/* Section Header styling */
.section-header {
    max-width: 720px;
    margin-bottom: var(--spacing-xl);
}

.section-header.text-center {
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-accent);
    margin-bottom: 15px;
}

.section-tag.light {
    color: var(--color-gold);
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    margin-top: 15px;
}

.body-text {
    font-size: 1.05rem;
    font-weight: 300;
    color: var(--color-secondary);
    opacity: 0.85;
    margin-bottom: 20px;
}

.body-text.lead {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--color-primary);
    opacity: 1;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border-radius: 0;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-solid {
    background-color: var(--color-primary);
    color: var(--color-bg);
    border: 1px solid var(--color-primary);
    box-shadow: 0 4px 12px rgba(37, 67, 50, 0.15);
}

.btn-solid:hover {
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
    color: var(--color-bg);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(28, 28, 28, 0.2);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
}

.btn-outline:hover {
    background-color: var(--color-primary);
    color: var(--color-bg);
    transform: translateY(-2px);
}

.btn-outline.btn-white {
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline.btn-white:hover {
    background-color: var(--color-white);
    color: var(--color-secondary);
    border-color: var(--color-white);
    transform: translateY(-2px);
}

.btn-outline.btn-dark {
    color: var(--color-white);
    border-color: var(--color-gold);
}

.btn-outline.btn-dark:hover {
    background-color: var(--color-gold);
    color: var(--color-secondary);
}

.btn-full {
    width: 100%;
}

.btn-sm {
    padding: 10px 24px;
    font-size: 0.75rem;
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(247, 245, 241, 0.75);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(28, 28, 28, 0.06);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.01);
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    background-color: rgba(247, 245, 241, 0.85);
    box-shadow: 0 10px 30px rgba(28, 28, 28, 0.04);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 14px var(--spacing-md);
    transition: var(--transition-smooth);
}

.navbar.scrolled .nav-container {
    padding: 8px var(--spacing-md);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo {
    height: 56px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.navbar.scrolled .nav-logo {
    height: 46px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    color: var(--color-primary);
    line-height: 1;
}

.logo-sub {
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.35em;
    color: var(--color-gold);
    margin-top: 2px;
}

.nav-links {
    display: none;
    gap: clamp(14px, 2.5vw, 32px);
}

.nav-cta {
    display: none;
}

.nav-link {
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-secondary);
    position: relative;
    padding: 4px 0;
    opacity: 0.75;
    transition: var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-gold);
    transition: var(--transition-fast);
}

.nav-link:hover {
    color: var(--color-primary);
    opacity: 1;
}

.nav-link:hover::after {
    width: 100%;
}

.btn-nav {
    padding: 8px 18px;
    font-size: 0.68rem;
    border-radius: 30px; /* Sleek Apple-style pill button */
    background-color: var(--color-primary);
    color: var(--color-bg);
    border: 1px solid var(--color-primary);
    box-shadow: none;
    font-weight: 600;
}

.btn-nav:hover {
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
    color: var(--color-bg);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(28, 28, 28, 0.15);
}

/* Mobile Toggle */
.mobile-nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger-line {
    width: 100%;
    height: 1.5px;
    background-color: var(--color-primary);
    transition: var(--transition-fast);
    transform-origin: left center;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--color-bg);
    border-bottom: 1px solid rgba(122, 139, 123, 0.15);
    padding: 30px var(--spacing-md);
    flex-direction: column;
    gap: var(--spacing-md);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    z-index: 999;
}

.mobile-link {
    font-size: 1.1rem;
    font-family: var(--font-serif);
    font-weight: 400;
    color: var(--color-secondary);
    padding: 5px 0;
}

.mobile-menu.active {
    display: flex;
}

.mobile-nav-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(-2px, -2px);
}

.mobile-nav-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-nav-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(-2px, 2px);
}

/* ==========================================================================
   1. HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.cinematic-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, 
                rgba(28, 28, 28, 0.35) 0%, 
                rgba(28, 28, 28, 0.5) 50%,
                rgba(28, 28, 28, 0.75) 100%);
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    height: 100%;
    padding-top: 100px; /* Prevents overlap with header on mobile */
    padding-bottom: 80px;
    gap: var(--spacing-lg);
    z-index: 2;
    width: 100%;
}

.hero-text {
    max-width: 650px;
}

.hero-pretitle {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: var(--color-gold);
    display: inline-block;
    margin-bottom: 20px;
}

.hero-headline {
    color: var(--color-white);
    margin-bottom: 24px;
}

.hero-subheadline {
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--color-bg);
    opacity: 0.9;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.hero-actions .btn {
    width: 100%;
}

/* Floating Glass Card */
.hero-glass-card {
    background: rgba(28, 28, 28, 0.35);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    width: 100%; /* Default to full width on mobile */
    margin-top: 20px; /* Adds space below hero text on mobile */
    box-shadow: var(--shadow-glass);
    transition: var(--transition-smooth);
}

.hero-glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(200, 183, 156, 0.4);
    background: rgba(28, 28, 28, 0.45);
}

.glass-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 18px;
    margin-bottom: 18px;
}

.glass-card-logo {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 50%;
    border: 1px solid rgba(200, 183, 156, 0.3);
}

.glass-card-tag {
    color: var(--color-gold);
    font-size: 1.1rem;
    letter-spacing: 0.05em;
}

.glass-card-body {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.glass-detail-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
}

.detail-label {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
}

.detail-val {
    color: var(--color-white);
    font-weight: 500;
}

/* Scroll indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--color-white);
    opacity: 0.6;
}

.scroll-text {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.scroll-line {
    width: 40px;
    height: 1px;
    background-color: var(--color-white);
    transform-origin: left;
    animation: pulseLine 2s infinite alternate;
}

@keyframes pulseLine {
    0% { transform: scaleX(0.7); }
    100% { transform: scaleX(1.3); }
}

/* ==========================================================================
   2. STORY SECTION
   ========================================================================== */
.story-image-column {
    position: relative;
    padding: 0;
}

.story-img-wrapper {
    overflow: hidden;
    box-shadow: var(--shadow-premium);
}

.story-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.gold-accent-block {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 120px;
    height: 120px;
    background-color: var(--color-gold);
    z-index: -1;
    opacity: 0.2;
}

.quote-block {
    border-left: 2px solid var(--color-gold);
    padding-left: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.quote-text {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-style: italic;
    color: var(--color-primary);
    line-height: 1.4;
}

/* ==========================================================================
   3. DEVELOPER SECTION
   ========================================================================== */
.developer-section {
    background-color: #F0EDE7; /* Slightly deeper warm color for contrast */
}

.developer-bio-card {
    background-color: var(--color-bg);
    padding: 40px;
    box-shadow: var(--shadow-premium);
    transition: var(--transition-smooth);
}

.developer-bio-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.dev-name {
    font-size: 1.85rem;
    color: var(--color-primary);
}

.dev-role {
    display: block;
    font-size: 0.85rem;
    color: var(--color-gold);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-top: 4px;
}

.dev-tag {
    display: inline-block;
    font-size: 0.7rem;
    background-color: rgba(122, 139, 123, 0.15);
    color: var(--color-primary);
    padding: 4px 10px;
    margin-top: 10px;
    font-weight: 600;
}

.dev-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px; /* Space between visual and text stacked on mobile */
}

.dev-img-container {
    position: relative;
    max-width: 440px;
    width: 100%;
}

.dev-img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    box-shadow: var(--shadow-premium);
    position: relative;
    z-index: 2;
}

.dev-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 60%, rgba(37, 67, 50, 0.25) 100%);
    z-index: 3;
    pointer-events: none;
}

.dev-frame {
    position: absolute;
    top: 25px;
    left: 25px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--color-gold);
    z-index: 1;
    pointer-events: none;
}

/* ==========================================================================
   4. WHY SOUTH ENCLAVE
   ========================================================================== */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
}

.feature-card {
    background-color: var(--color-white);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-premium);
    transition: var(--transition-smooth);
    border: 1px solid rgba(122, 139, 123, 0.08);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(200, 183, 156, 0.3);
}

.feature-img-wrapper {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.feature-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.feature-card:hover .feature-card-img {
    transform: scale(1.08);
}

.feature-card-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative;
}

.feature-num {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--color-light-gray);
    position: absolute;
    top: 10px;
    right: 30px;
    line-height: 1;
    font-weight: 300;
}

.feature-icon {
    width: 36px;
    height: 36px;
    color: var(--color-gold);
    margin-bottom: 20px;
    display: inline-block;
    transition: var(--transition-fast);
}

.feature-card:hover .feature-icon {
    color: var(--color-primary);
    transform: scale(1.1);
}

.feature-card-title {
    font-size: 1.35rem;
    color: var(--color-primary);
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
}

.feature-card-text {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    font-weight: 300;
    line-height: 1.6;
}

/* ==========================================================================
   5. LIFESTYLE SHOWCASE
   ========================================================================== */
.lifestyle-intro {
    max-width: 600px;
    margin-bottom: var(--spacing-xl);
}

.lifestyle-block {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
    align-items: center;
    margin-bottom: var(--spacing-xl);
}

.lifestyle-block.reverse {
    grid-template-columns: 1fr;
}

.lifestyle-block.reverse .lifestyle-visual {
    order: 0;
}

.lifestyle-block.reverse .lifestyle-desc {
    order: 1;
    padding-right: 0;
    padding-left: 0;
}

.lifestyle-visual {
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    height: 350px;
}

.lifestyle-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.lifestyle-block:hover .lifestyle-img {
    transform: scale(1.03);
}

.lifestyle-desc {
    padding-left: 0;
}

.lifestyle-headline {
    font-size: 2.25rem;
    color: var(--color-primary);
    margin-bottom: 20px;
    line-height: 1.2;
}

/* ==========================================================================
   6. COMMERCIAL HUB
   ========================================================================== */
.commercial-section {
    position: relative;
    overflow: hidden;
    padding: 120px 0;
}

.commercial-bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.commercial-img-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.commercial-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
                rgba(28, 28, 28, 0.95) 0%, 
                rgba(28, 28, 28, 0.85) 45%, 
                rgba(28, 28, 28, 0.4) 100%);
}

.commercial-content-wrapper {
    display: flex;
    justify-content: flex-start;
}

.commercial-box {
    max-width: 100%;
    background: rgba(28, 28, 28, 0.4);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px var(--spacing-md);
    box-shadow: var(--shadow-glass);
}

.partners-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.partner-item {
    border-left: 1px solid var(--color-gold);
    padding-left: 15px;
}

.partner-title {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--color-white);
    line-height: 1.2;
}

.partner-desc {
    display: block;
    font-size: 0.8rem;
    color: var(--color-gold);
    text-transform: uppercase;
    font-weight: 500;
    margin-top: 4px;
    letter-spacing: 0.05em;
}

.body-text.text-light-gray {
    font-size: 1.1rem;
    opacity: 0.85;
    line-height: 1.7;
}

/* ==========================================================================
   7. AMENITIES
   ========================================================================== */
.amenities-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
}

.amenity-item {
    background-color: var(--color-white);
    padding: 40px;
    box-shadow: var(--shadow-premium);
    transition: var(--transition-smooth);
    border: 1px solid rgba(122, 139, 123, 0.06);
    display: flex;
    flex-direction: column;
}

.amenity-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(200, 183, 156, 0.25);
}

.amenity-icon {
    color: var(--color-gold);
    margin-bottom: 24px;
    display: inline-flex;
    transition: var(--transition-fast);
}

.amenity-item:hover .amenity-icon {
    color: var(--color-primary);
    transform: scale(1.1);
}

.amenity-title {
    font-size: 1.35rem;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.amenity-desc {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    font-weight: 300;
    line-height: 1.6;
}

/* ==========================================================================
   8. FLOOR PLANS
   ========================================================================== */
.floorplan-layout {
    max-width: 900px;
    margin: 0 auto;
}

.floorplan-card {
    background-color: var(--color-white);
    padding: 50px;
    box-shadow: var(--shadow-premium);
    border: 1px solid rgba(122, 139, 123, 0.08);
}

.floorplan-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--color-light-gray);
    padding-bottom: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
    gap: 15px;
}

.floorplan-type {
    font-size: 1.85rem;
    color: var(--color-primary);
}

.floorplan-specs {
    display: flex;
    gap: 12px;
}

.spec-tag {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    background-color: var(--color-bg);
    color: var(--color-accent);
    padding: 6px 14px;
    letter-spacing: 0.05em;
}

.floorplan-visual-wrapper {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    background-color: var(--color-bg);
    padding: 20px;
    border: 1px dashed var(--color-gold);
    transition: var(--transition-fast);
}

.floorplan-visual-wrapper:hover {
    border-color: var(--color-primary);
}

.floorplan-img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.lightbox-hover-hint {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(37, 67, 50, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--color-primary);
    opacity: 0;
    transition: var(--transition-fast);
    font-size: 0.9rem;
    font-weight: 600;
}

.floorplan-visual-wrapper:hover .lightbox-hover-hint {
    opacity: 1;
}

.floorplan-footer-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
    border-top: 1px solid var(--color-light-gray);
    padding-top: 30px;
    text-align: center;
}

.footer-feat-item {
    border-right: 1px solid var(--color-light-gray);
}

.footer-feat-item:last-child {
    border-right: none;
}

.feat-val {
    display: block;
    font-family: var(--font-serif);
    font-size: 2.25rem;
    color: var(--color-gold);
    line-height: 1;
}

.feat-lbl {
    display: block;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-top: 6px;
    font-weight: 500;
}

/* ==========================================================================
   9. LOCATION BENEFITS
   ========================================================================== */
.proximity-timeline {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 40px;
}

.timeline-item {
    display: flex;
    gap: 20px;
    position: relative;
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 24px;
    width: 1px;
    height: calc(100% + 10px);
    background-color: var(--color-light-gray);
    z-index: 1;
}

.timeline-item:last-child::after {
    display: none;
}

.timeline-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--color-gold);
    margin-top: 6px;
    z-index: 2;
    box-shadow: 0 0 0 4px var(--color-bg);
}

.timeline-content {
    flex-grow: 1;
}

.timeline-title {
    font-size: 1.35rem;
    color: var(--color-primary);
    margin-bottom: 6px;
}

.timeline-desc {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    font-weight: 300;
    line-height: 1.5;
}

.map-card-wrapper {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    border: 1px solid var(--color-light-gray);
    height: 500px;
}

.map-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.map-card-wrapper:hover .map-img {
    transform: scale(1.04);
}

.map-overlay-hint {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(28, 28, 28, 0.45);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--color-white);
    opacity: 0;
    transition: var(--transition-fast);
    font-size: 0.9rem;
    font-weight: 600;
}

.map-card-wrapper:hover .map-overlay-hint {
    opacity: 1;
}

/* ==========================================================================
   10. CONTACT SECTION & FOOTER
   ========================================================================== */
.contact-section {
    background-color: var(--color-secondary);
    color: var(--color-white);
    position: relative;
}

.contact-headline {
    font-size: clamp(2.5rem, 4vw + 1rem, 4rem);
    color: var(--color-white);
    line-height: 1.1;
}

.contact-details-list {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.detail-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.detail-icon {
    color: var(--color-gold);
    margin-top: 4px;
}

.detail-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--color-accent);
    margin-bottom: 5px;
}

.detail-value {
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.5;
}

/* Luxury Enquiry Form */
.contact-form-wrapper {
    position: relative;
}

.luxury-form {
    background-color: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 50px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 5;
}

.form-title {
    font-size: 1.85rem;
    color: var(--color-white);
    margin-bottom: 30px;
    text-align: center;
}

.form-row {
    margin-bottom: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-gold);
    margin-bottom: 8px;
}

.form-input {
    background-color: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 0;
    font-size: 1rem;
    color: var(--color-white);
    outline: none;
    transition: var(--transition-fast);
    font-family: var(--font-sans);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-input:focus {
    border-color: var(--color-gold);
}

.select-input {
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
}

.select-input option {
    background-color: var(--color-secondary);
    color: var(--color-white);
}

.textarea-input {
    resize: none;
}

/* Form Submit Button and Spinner */
#btn-submit {
    position: relative;
}

.btn-spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    border-top-color: var(--color-white);
    animation: spin 0.8s linear infinite;
    position: absolute;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.luxury-form.loading #btn-submit .btn-text {
    visibility: hidden;
}

.luxury-form.loading #btn-submit .btn-spinner {
    display: block;
}

/* Form Success Overlay */
.form-success-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-secondary);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    z-index: 10;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
    text-align: center;
}

.form-success-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.success-content {
    color: var(--color-white);
}

.success-content svg {
    color: var(--color-gold);
    margin-bottom: 20px;
}

.success-title {
    font-size: 2rem;
    margin-bottom: 12px;
}

.success-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    max-width: 320px;
    margin: 0 auto;
}

/* Main Footer */
.main-footer {
    background-color: #141414;
    color: rgba(255, 255, 255, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 60px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
}

.footer-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.footer-logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1); /* Turns the logo pure white for dark theme */
    opacity: 0.85;
}

.footer-logo {
    font-size: 1.5rem;
    color: var(--color-white);
    letter-spacing: 0.1em;
    line-height: 1;
}

.footer-tagline {
    font-size: 0.75rem;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 4px;
}

.footer-copyright {
    font-size: 0.75rem;
}

.footer-info-block {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--color-gold);
    font-weight: 600;
    letter-spacing: 0.1em;
}

.footer-text {
    font-size: 0.85rem;
    line-height: 1.6;
}

/* ==========================================================================
   INTERACTIVE LIGHTBOX MODAL
   ========================================================================== */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(28, 28, 28, 0.95);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.lightbox-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 3rem;
    color: var(--color-white);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
    line-height: 0.5;
    z-index: 2002;
}

.lightbox-close:hover {
    color: var(--color-gold);
}

.lightbox-content-container {
    width: 90%;
    height: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.lightbox-image-wrapper {
    transition: transform 0.1s ease-out;
    cursor: grab;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image-wrapper:active {
    cursor: grabbing;
}

.lightbox-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    user-select: none;
    pointer-events: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-controls {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    z-index: 2001;
}

.lightbox-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.lightbox-btn:hover {
    background: var(--color-gold);
    color: var(--color-secondary);
    border-color: var(--color-gold);
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================================== */
.reveal-up, .reveal-left, .reveal-right {
    opacity: 0;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), 
                opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.reveal-up {
    transform: translateY(60px);
}

.reveal-left {
    transform: translateX(-50px);
}

.reveal-right {
    transform: translateX(50px);
}

.reveal-up.revealed, .reveal-left.revealed, .reveal-right.revealed {
    opacity: 1;
    transform: translate(0, 0);
}

/* Delay classes for staggered entrances */
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (MOBILE-FIRST)
   ========================================================================== */

/* Tablets (min-width: 768px) */
@media (min-width: 768px) {
    :root {
        --spacing-xl: 60px;
        --spacing-xxl: 100px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }

    .amenities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .floorplan-card {
        padding: 50px;
    }

    .floorplan-header {
        flex-direction: row;
        align-items: center;
    }

    .floorplan-specs {
        flex-direction: row;
        gap: 12px;
        width: auto;
    }

    .floorplan-footer-features {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .footer-feat-item {
        border-right: 1px solid var(--color-light-gray);
        border-bottom: none;
        padding-bottom: 0;
    }

    .hero-actions {
        flex-direction: row;
        gap: var(--spacing-md);
        width: auto;
    }

    .hero-actions .btn {
        width: auto;
    }

    .luxury-form {
        padding: 50px;
    }

    .timeline-item {
        gap: 20px;
    }

    .timeline-title {
        font-size: 1.35rem;
    }

    .map-card-wrapper {
        height: 500px;
    }

    .lightbox-close {
        top: 30px;
        right: 40px;
    }
}

/* Desktops (min-width: 992px) */
@media (min-width: 992px) {
    .grid-split {
        grid-template-columns: 1fr 1fr;
    }

    .reverse-mobile {
        display: grid;
    }

    .dev-visual {
        margin-bottom: 0; /* Reset mobile margin on desktop */
    }

    .story-image-column {
        padding: 30px;
    }

    .story-img {
        height: 600px;
    }

    .dev-img {
        height: 550px;
    }

    .navbar .nav-links {
        display: flex;
    }

    .navbar .nav-cta {
        display: block;
    }

    .mobile-nav-toggle {
        display: none;
    }

    .hero-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
        padding-bottom: 120px;
        gap: 0;
    }

    .hero-text {
        max-width: 650px;
    }

    .hero-glass-card {
        width: 380px;
    }

    .lifestyle-block {
        grid-template-columns: 1.2fr 0.8fr;
        gap: var(--spacing-lg);
        margin-bottom: var(--spacing-xxl);
    }

    .lifestyle-block.reverse {
        grid-template-columns: 0.8fr 1.2fr;
    }

    .lifestyle-block.reverse .lifestyle-visual {
        order: 2;
    }

    .lifestyle-block.reverse .lifestyle-desc {
        order: 1;
        padding-right: var(--spacing-lg);
        padding-left: 0;
    }

    .lifestyle-visual {
        height: 500px;
    }

    .lifestyle-desc {
        padding-left: var(--spacing-lg);
    }

    .commercial-box {
        max-width: 600px;
        padding: 50px;
    }

    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
    }
}

/* Large Desktops (min-width: 1200px) */
@media (min-width: 1200px) {
    :root {
        --spacing-xl: 80px;
        --spacing-xxl: 160px;
    }

    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .amenities-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ==========================================================================
   FLOATING & STICKY CTA ACTIONS (WHATSAPP & CALL)
   ========================================================================== */
.mobile-sticky-actions {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(247, 245, 241, 0.85);
    backdrop-filter: saturate(180%) blur(15px);
    -webkit-backdrop-filter: saturate(180%) blur(15px);
    border-top: 1px solid rgba(28, 28, 28, 0.08);
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 16px;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.05);
    z-index: 1000;
}

.sticky-action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 0;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-white);
    border: none;
    transition: var(--transition-fast);
}

.sticky-action-btn svg {
    transition: var(--transition-fast);
}

.btn-whatsapp {
    background-color: #25D366;
    border: 1px solid #25D366;
}

.btn-whatsapp:hover {
    background-color: #20ba5a;
    border-color: #20ba5a;
}

.btn-call {
    background-color: var(--color-primary);
    border: 1px solid var(--color-primary);
}

.btn-call:hover {
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
}

/* Desktop Floating WhatsApp Widget */
.desktop-floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: var(--color-white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    z-index: 999;
    transition: var(--transition-smooth);
}

.desktop-floating-whatsapp:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
    background-color: #20ba5a;
}

/* Hide / Show Sticky Actions based on Viewport */
@media (min-width: 992px) {
    .mobile-sticky-actions {
        display: none;
    }
}

@media (max-width: 991px) {
    .desktop-floating-whatsapp {
        display: none;
    }
    /* Add padding to body so sticky bar doesn't cover footer content */
    body {
        padding-bottom: 68px; /* Height of the sticky bar */
    }
}

/* ==========================================================================
   INTERACTIVE MAP CARD
   ========================================================================== */
.map-card {
    background: var(--color-white);
    border: 1px solid rgba(122, 139, 123, 0.08);
    box-shadow: var(--shadow-premium);
    overflow: hidden;
    margin-top: 20px;
}

.map-tabs {
    display: flex;
    background: var(--color-light-gray);
    border-bottom: 1px solid rgba(122, 139, 123, 0.08);
}

.map-tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    padding: 14px 0;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    color: var(--color-text-muted);
    transition: var(--transition-fast);
}

.map-tab-btn:hover {
    color: var(--color-primary);
}

.map-tab-btn.active {
    background: var(--color-white);
    color: var(--color-primary);
    border-top: 2px solid var(--color-gold);
}

.map-views-container {
    position: relative;
    height: 400px;
    width: 100%;
}

.map-view-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    background: var(--color-bg);
}

.map-view-panel.active {
    opacity: 1;
    pointer-events: auto;
}

.map-view-panel iframe {
    width: 100%;
    height: 100%;
    display: block;
}

.map-actions {
    padding: 15px;
    background: var(--color-bg);
    border-top: 1px solid rgba(122, 139, 123, 0.08);
}

.get-directions-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    padding: 14px 20px;
}
