/* ==========================================================================
   THE WISTERIAS - PREMIUM RESPONSIVE CSS DESIGN SYSTEM
   ========================================================================== */

/* CORE DESIGN TOKENS */
:root {
    /* Harmonious Luxury Color Palette (HSL Tailored) */
    --color-bg-dark: #0c0209;                  /* Obsidian Black-Plum from Slide */
    --color-bg-light: #140510;                 /* Deep Midnight Purple-Plum from Slide */
    --color-bg-card-dark: #1e0b19;             /* Premium Plum Card Background */
    
    --color-accent-primary: #dfab91;           /* Breathtaking Metallic Rose Gold from Slide */
    --color-accent-secondary: #b58c77;         /* Elegant Antique Rose Gold / Bronze */
    --color-accent-hover: #f0c3ac;             /* Glowing Champagne Rose Gold */
    --color-biophilic-green: #72b068;          /* Bright Vibrant Biophilic Facade Green */
    
    --color-text-light: #ffffff;                 /* Pure White for highest contrast */
    --color-text-dark: #FAF9F6;                  /* Soft Alabaster White for body copy in dark theme */
    --color-text-muted: #c5b6bf;                 /* Soft Lavender Grey for secondary copy */
    
    /* Layout Tokens */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
    
    --border-radius-lg: 16px;
    --border-radius-sm: 8px;
    
    --shadow-premium: 0 20px 40px rgba(0, 0, 0, 0.4);
    --shadow-soft: 0 8px 30px rgba(0, 0, 0, 0.25);
    
    --header-height: 80px;
}

/* RESET & CORE DEFAULTS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-dark);
    color: var(--color-text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600; /* Slightly bolder headings for better contrast */
    letter-spacing: 0.02em;
    line-height: 1.25;
}

p {
    font-weight: 400; /* Regular weight for high-contrast paragraph legibility */
    letter-spacing: 0.01em;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

/* REUSABLE BASE COMPONENTS */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 24px;
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 2rem;
}

/* GRID UTILITIES */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
}

.align-center {
    align-items: center;
}

/* HEADER AND SECTION HEADINGS */
.section-header {
    margin-bottom: 60px;
}

.section-subtitle {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    color: var(--color-accent-primary);
    text-transform: uppercase;
    display: block;
    margin-bottom: 12px;
}

/* SECTION TITLES */
.section-title {
    font-size: 2.8rem;
    color: var(--color-text-dark);
    margin-bottom: 20px;
}

.section-lead {
    font-size: 1.15rem;
    font-weight: 300;
    color: var(--color-text-muted);
    max-width: 750px;
    margin: 0 auto;
}

.header-divider {
    width: 60px;
    height: 3px;
    background-color: var(--color-accent-primary);
    margin: 20px auto 0;
}

.header-divider.left {
    margin: 20px 0 0;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    border: none;
    transition: var(--transition-smooth);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-accent-primary), var(--color-accent-secondary));
    color: var(--color-bg-dark);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(220, 150, 110, 0.3);
    background: linear-gradient(135deg, var(--color-accent-hover), var(--color-accent-primary));
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-accent-primary);
    border: 2px solid var(--color-accent-primary);
}

.btn-secondary:hover {
    background-color: var(--color-accent-primary);
    color: var(--color-bg-dark);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-text-light);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--color-text-light);
}

.btn-full {
    width: 100%;
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1rem;
}

/* STICKY HEADER STYLE */
.header-main {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(12, 2, 9, 0.75); /* Dark Glassmorphism */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(223, 171, 145, 0.15); /* Elegant gold border */
    z-index: 1000;
    transition: var(--transition-smooth);
}

.header-main.scrolled {
    height: 70px;
    background-color: rgba(12, 2, 9, 0.92);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.header-container {
    max-width: 1300px;
    height: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-monogram {
    height: 48px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.1));
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--color-text-dark);
}

.brand-subtitle {
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    color: var(--color-accent-secondary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: rgba(250, 249, 246, 0.85);
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--color-accent-primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.phone-action {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--color-text-dark);
    white-space: nowrap;
}

.phone-action i {
    color: var(--color-accent-secondary);
}

.phone-action:hover {
    color: var(--color-accent-hover);
}

/* Slimmed Header CTA */
.nav-cta {
    padding: 8px 18px !important;
    font-size: 0.8rem !important;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    border-radius: var(--border-radius-sm);
    letter-spacing: 0.03em;
    margin-top: 0;
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger-menu span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--color-text-dark);
    transition: var(--transition-fast);
}

/* HERO SECTION SLIDER & OVERLAYS */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding-top: var(--header-height);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-content {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    z-index: 2;
}

.hero-text-container {
    padding-right: 24px;
}

.hero-tagline {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: #e4b093; /* Breathtaking Glowing Rose Gold */
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 4rem;
    color: #ffffff; /* Explicitly pure white */
    line-height: 1.15;
    margin-bottom: 24px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
}

.hero-intro {
    font-size: 1.25rem;
    font-weight: 400; /* Bolder weight for legibility */
    color: rgba(255, 255, 255, 0.98); /* Extremely bright white */
    margin-bottom: 40px;
    max-width: 600px;
    line-height: 1.65;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6); /* High-contrast shadow drop */
}

.hero-usps {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.usp-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255, 255, 255, 0.12); /* Slightly higher base visibility */
    border: 1px solid rgba(255, 255, 255, 0.3); /* Stronger white border */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500; /* medium weight */
    color: #ffffff !important; /* Forces high-contrast pure white text! */
    letter-spacing: 0.03em;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.usp-badge i {
    color: #e4b093 !important; /* Match bright rose gold */
}

/* HERO FORM CARD */
.hero-form-card {
    background-color: rgba(20, 10, 16, 0.85);
    border: 1px solid rgba(220, 150, 110, 0.25);
    border-radius: var(--border-radius-lg);
    padding: 40px 32px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--shadow-premium);
}

.hero-form-card h3 {
    font-size: 1.6rem;
    color: var(--color-text-light);
    margin-bottom: 10px;
}

.hero-form-card p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 24px;
}

/* PREMIUM FORMS */
.lead-form .form-group {
    margin-bottom: 16px;
}

.lead-form input[type="text"],
.lead-form input[type="email"],
.lead-form input[type="tel"],
.lead-form select,
.lead-form textarea {
    width: 100%;
    padding: 16px 20px;
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--border-radius-sm);
    color: var(--color-text-light);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-fast);
}

.lead-form select option {
    background-color: var(--color-bg-card-dark);
    color: var(--color-text-light);
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
    border-color: var(--color-accent-primary);
    background-color: rgba(255, 255, 255, 0.07);
    box-shadow: 0 0 10px rgba(220, 150, 110, 0.15);
}

.lead-form textarea {
    resize: none;
}

.form-notice {
    margin-top: 16px;
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.hero-slider-nav {
    position: absolute;
    bottom: 40px;
    left: 24px;
    display: flex;
    gap: 12px;
    z-index: 10;
}

.slide-nav-btn {
    width: 30px;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
}

.slide-nav-btn.active {
    background-color: var(--color-accent-primary);
    width: 50px;
}

/* OVERVIEW & GLANCE GRID */
.overview-section {
    background-color: var(--color-bg-light);
    color: var(--color-text-dark);
}

.overview-section .section-title {
    color: var(--color-text-dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    background-color: var(--color-bg-card-dark);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    border: 1px solid rgba(223, 171, 145, 0.12);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

.feature-img-wrapper {
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.feature-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.feature-card:hover .feature-img {
    transform: scale(1.05);
}

.feature-body {
    padding: 32px;
    position: relative;
}

.feature-number {
    font-size: 4rem;
    font-weight: 700;
    font-family: var(--font-body);
    color: rgba(0, 0, 0, 0.03);
    position: absolute;
    top: -20px;
    right: 20px;
}

.feature-body h3 {
    font-size: 1.4rem;
    color: var(--color-text-dark);
    margin-bottom: 12px;
}

.feature-body p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    font-weight: 400;
}

/* BIOPHILIC STYLE */
.biophilic-section {
    background-color: #FAF9F6;
    border-bottom: 1px solid rgba(223, 171, 145, 0.1);
    color: #140510;
}

.biophilic-section .section-title,
.biophilic-section .pillar-text h4 {
    color: #0c0209 !important;
}

.biophilic-section .section-lead,
.biophilic-section .pillar-text p {
    color: #4a3e47 !important;
}

.biophilic-pillars {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.pillar-item {
    display: flex;
    gap: 20px;
}

.pillar-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(162, 210, 160, 0.1);
    border: 1px solid rgba(162, 210, 160, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-biophilic-green);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.pillar-text h4 {
    font-size: 1.15rem;
    font-family: var(--font-body);
    font-weight: 500;
    color: var(--color-text-dark);
    margin-bottom: 4px;
}

.pillar-text p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.biophilic-graphics {
    display: flex;
    justify-content: flex-end;
}

.forest-card {
    background-color: var(--color-bg-card-dark);
    border: 1px solid rgba(223, 171, 145, 0.15);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-soft);
    padding: 32px;
    width: 100%;
    max-width: 460px;
}

.forest-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    background-color: rgba(162, 210, 160, 0.12);
    color: var(--color-biophilic-green);
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 24px;
}

.forest-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.forest-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--color-text-dark);
}

.forest-list li i {
    color: var(--color-biophilic-green);
}

.forest-visual {
    width: 100%;
    height: 220px;
    border-radius: var(--border-radius-sm);
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* EXCLUSIVITY TABS SYSTEM */
.exclusivity-section {
    background-color: var(--color-bg-light);
}

.tabs-container {
    margin-top: 40px;
}

.tabs-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
    border-bottom: 1px solid rgba(223, 171, 145, 0.15);
    padding-bottom: 16px;
}

.tab-btn {
    background: none;
    border: none;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text-muted);
    cursor: pointer;
    padding: 10px 24px;
    position: relative;
    transition: var(--transition-fast);
}

.tab-btn:hover {
    color: var(--color-text-dark);
}

.tab-btn.active {
    color: var(--color-accent-primary);
    font-weight: 500;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -17px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--color-accent-primary);
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.6s ease;
}

.core-text h3 {
    font-size: 2rem;
    color: var(--color-text-dark);
    margin-bottom: 16px;
}

.core-text p {
    font-size: 1rem;
    color: var(--color-text-muted);
    margin-bottom: 30px;
}

.core-bullet-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 40px;
}

.core-bullet-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--color-text-dark);
}

.core-bullet-list li i {
    color: var(--color-accent-primary);
    font-size: 0.8rem;
}

.core-image-wrapper {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    border: 1px solid rgba(223, 171, 145, 0.15);
    background-color: var(--color-bg-card-dark);
    padding: 10px;
}

.core-diagram-img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
}

/* INTERACTIVE FLOOR PLAN DETAILS */
.floorplans-section {
    background-color: #ffffff;
    color: #140510;
}

.floorplans-section .section-title {
    color: #0c0209 !important;
}

.floorplans-section .section-lead {
    color: #4a3e47 !important;
}

.floorplan-layout-card {
    background-color: var(--color-bg-card-dark);
    border: 1px solid rgba(223, 171, 145, 0.15);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    margin-top: 40px;
}

.floorplan-selector-bar {
    display: flex;
    background-color: rgba(12, 2, 9, 0.4);
    border-bottom: 1px solid rgba(223, 171, 145, 0.15);
}

.fplan-btn {
    flex: 1;
    background: none;
    border: none;
    padding: 24px;
    color: var(--color-text-muted);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-fast);
}

.fplan-btn:hover {
    color: var(--color-text-dark);
    background-color: rgba(0, 0, 0, 0.01);
}

.fplan-btn.active {
    color: var(--color-accent-primary);
    background-color: rgba(12, 2, 9, 0.2);
    border-bottom: 3px solid var(--color-accent-primary);
}

.floorplan-details-content {
    padding: 48px;
}

.floorplan-details-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
}

.fplan-image-area {
    background-color: rgba(12, 2, 9, 0.4);
    border-radius: var(--border-radius-sm);
    padding: 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 420px;
    border: 1px solid rgba(223, 171, 145, 0.1);
}

.fplan-img-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fplan-img {
    width: 100%;
    height: auto;
    max-height: 380px;
    object-fit: contain;
    filter: blur(4px); /* Blur by default for lead capture gating */
    transition: var(--transition-smooth);
}

.fplan-img.unlocked {
    filter: none;
}

.fplan-overlay-lock {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-smooth);
}

.fplan-overlay-lock.hidden {
    opacity: 0;
    pointer-events: none;
}

.lock-box {
    text-align: center;
    color: var(--color-text-dark);
    max-width: 320px;
    padding: 20px;
}

.lock-box i {
    font-size: 2.5rem;
    color: var(--color-accent-secondary);
    margin-bottom: 16px;
}

.lock-box h4 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.lock-box p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 20px;
}

.fplan-info-area {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.fplan-tag {
    display: inline-block;
    align-self: flex-start;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--color-accent-primary);
    border: 1px solid var(--color-accent-primary);
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.fplan-title {
    font-size: 2.2rem;
    color: var(--color-text-dark);
    margin-bottom: 8px;
}

.fplan-area {
    font-size: 1.3rem;
    color: var(--color-accent-primary);
    font-family: var(--font-body);
    font-weight: 500;
    margin-bottom: 24px;
}

.fplan-spec-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 36px;
}

.fplan-spec-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--color-text-dark);
}

.fplan-spec-list li i {
    color: var(--color-accent-primary);
    margin-top: 4px;
    font-size: 0.85rem;
}

.fplan-actions {
    display: flex;
    gap: 16px;
}

/* AMENITIES SECTION FILTER GRIDS */
.amenities-section {
    background-color: var(--color-bg-light);
    color: var(--color-text-dark);
}

.amenities-section .section-title {
    color: var(--color-text-dark);
}

.amenities-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
}

.filter-btn {
    background-color: transparent;
    border: 1px solid rgba(0, 0, 0, 0.15);
    padding: 10px 24px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 50px;
    cursor: pointer;
    color: var(--color-text-dark);
    transition: var(--transition-smooth);
}

.filter-btn:hover {
    border-color: var(--color-accent-primary);
    color: var(--color-accent-primary);
}

.filter-btn.active {
    background-color: var(--color-text-dark);
    border-color: var(--color-text-dark);
    color: var(--color-bg-light);
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.amenity-item {
    background-color: var(--color-bg-card-dark);
    padding: 32px 24px;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(223, 171, 145, 0.12);
    text-align: center;
    transition: var(--transition-smooth);
}

.amenity-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.amenity-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(223, 171, 145, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--color-accent-secondary);
    font-size: 1.5rem;
}

.amenity-item h4 {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--color-text-dark);
}

.amenity-item p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* ECOSYSTEM & LOCATION CONNECTIVITY */
.location-section {
    background-color: #ffffff;
    border-top: 1px solid rgba(223, 171, 145, 0.15);
    color: #140510;
}

.location-section .section-title,
.location-section .conn-item h4 {
    color: #0c0209 !important;
}

.location-section .section-lead,
.location-section .conn-item p {
    color: #4a3e47 !important;
}

.ecosystem-img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(223, 171, 145, 0.15);
}

.connectivity-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 40px;
}

.conn-item {
    display: flex;
    gap: 16px;
}

.conn-item i {
    font-size: 1.5rem;
    color: var(--color-accent-primary);
    margin-top: 4px;
    flex-shrink: 0;
}

.conn-item h4 {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1.1rem;
    color: var(--color-text-dark);
    margin-bottom: 4px;
}

.conn-item p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* BOOK SITE VISIT */
.visit-section {
    background-color: var(--color-bg-light);
    position: relative;
    padding-bottom: 80px;
}

.visit-card {
    background: linear-gradient(135deg, hsl(340, 15%, 12%), hsl(340, 15%, 7%));
    border: 1px solid rgba(220, 150, 110, 0.2);
    border-radius: var(--border-radius-lg);
    padding: 64px;
    box-shadow: var(--shadow-premium);
}

.card-subtitle {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--color-accent-primary);
    text-transform: uppercase;
    display: block;
    margin-bottom: 12px;
}

.visit-text h2 {
    font-size: 2.6rem;
    color: var(--color-text-light);
    margin-bottom: 16px;
}

.visit-text p {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    margin-bottom: 36px;
    max-width: 500px;
}

.visit-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.vf-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
}

.vf-item i {
    color: var(--color-accent-primary);
}

.visit-form-container {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-sm);
    padding: 40px;
}

.card-form label {
    display: block;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 8px;
    color: var(--color-text-muted);
}

/* PREMIUM COMPLIANCE FOOTER */
.footer-main {
    background-color: #0c0609;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 80px 0 40px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 60px;
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 1.7fr;
    gap: 64px;
}

.footer-brand h3 {
    font-size: 1.6rem;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    max-width: 320px;
}

.footer-quick-links h4,
.footer-contact h4 {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-accent-primary);
    margin-bottom: 24px;
}

.footer-quick-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-quick-links a {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.footer-quick-links a:hover {
    color: var(--color-accent-primary);
    padding-left: 4px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-contact p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.footer-contact p i {
    color: var(--color-accent-primary);
    margin-top: 3px;
}

.footer-disclaimer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-disclaimer p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 16px;
}

.footer-disclaimer .disclaimer-text {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    line-height: 1.8;
}

.footer-disclaimer .copyright-text {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-top: 30px;
}

.footer-disclaimer .copyright-text a {
    color: var(--color-accent-primary);
    text-decoration: underline;
    transition: var(--transition-fast);
}

.footer-disclaimer .copyright-text a:hover {
    color: var(--color-accent-hover);
}

/* POPUP MODAL */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    background-color: var(--color-bg-card-dark);
    border: 1px solid rgba(220, 150, 110, 0.3);
    border-radius: var(--border-radius-lg);
    width: 100%;
    max-width: 500px;
    position: relative;
    transform: scale(0.9);
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-premium);
}

.modal-overlay.active .modal-card {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: var(--transition-fast);
}

.modal-close:hover {
    color: var(--color-text-light);
}

.modal-body {
    padding: 48px;
}

.modal-body h3 {
    font-size: 1.8rem;
    color: var(--color-text-light);
    margin-bottom: 8px;
    text-align: center;
}

.modal-body p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 24px;
    text-align: center;
}

.modal-safety-tag {
    margin-top: 16px;
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-align: center;
}

/* FLOATING ACTION WIDGETS */
.floating-actions-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

.floating-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    transition: var(--transition-smooth);
}

.floating-btn i {
    font-size: 1.6rem;
}

.whatsapp-btn i {
    font-size: 1.85rem;
}

.floating-btn span {
    max-width: 0;
    overflow: hidden;
    white-space: nowrap;
    opacity: 0;
    transition: max-width 0.4s ease, opacity 0.3s ease;
}

.floating-btn:hover span {
    max-width: 150px;
    opacity: 1;
}

.whatsapp-btn {
    background-color: #25d366;
    color: #fff;
}

.whatsapp-btn:hover {
    background-color: #20ba5a;
    transform: translateY(-3px);
}

.cta-floating-btn {
    background: linear-gradient(135deg, var(--color-accent-primary), var(--color-accent-secondary));
    color: var(--color-bg-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cta-floating-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(220, 150, 110, 0.4);
}

/* KEYFRAME ANIMATIONS */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS (ADAPTIVE SYSTEMS)
   ========================================================================== */

/* Tablet Viewport (Under 1024px) */
@media (max-width: 1024px) {
    .section-title {
        font-size: 2.3rem;
    }
    
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-text-container {
        padding-right: 0;
        text-align: center;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-intro {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-usps {
        justify-content: center;
    }
    
    .hero-form-card {
        max-width: 550px;
        margin: 0 auto;
        width: 100%;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .amenities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .floorplan-details-grid {
        grid-template-columns: 1fr;
    }
    
    .fplan-info-area {
        align-items: center;
        text-align: center;
    }
    
    .fplan-spec-list {
        align-items: flex-start;
        text-align: left;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .footer-brand {
        grid-column: span 2;
    }
}

/* Mobile Portrait & Responsive Slim Layouts (Under 768px) */
@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    
    .section-container {
        padding: 60px 16px;
    }
    
    .section-title {
        font-size: 1.85rem;
    }
    
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--color-bg-card-dark); /* Deep dark plum slate */
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        padding: 40px;
        transition: var(--transition-smooth);
        border-top: 1px solid rgba(223, 171, 145, 0.15); /* Delicate gold border */
    }
    
    .nav-menu .nav-link {
        color: var(--color-text-dark) !important;
        font-size: 1.1rem;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger-menu {
        display: flex;
    }
    
    /* Animated Hamburger Cross */
    .hamburger-menu.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger-menu.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger-menu.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    .header-actions .phone-action span {
        display: none; /* Hide text on small screens, keep icon */
    }
    
    .header-actions .phone-action {
        width: 40px;
        height: 40px;
        background-color: rgba(0, 0, 0, 0.04) !important;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--color-text-dark) !important;
    }
    
    .header-actions .phone-action i {
        color: var(--color-accent-secondary) !important;
    }
    
    .header-actions .nav-cta {
        display: none !important; /* Hide CTA button in mobile header */
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .biophilic-graphics {
        justify-content: center;
    }
    
    .tabs-buttons {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    
    .tab-btn.active::after {
        display: none;
    }
    
    .tab-btn {
        width: 100%;
        text-align: center;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: var(--border-radius-sm);
    }
    
    .tab-btn.active {
        border-color: var(--color-accent-primary);
        background-color: rgba(220, 150, 110, 0.05);
    }
    
    .floorplan-selector-bar {
        flex-direction: column;
    }
    
    .fplan-btn {
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .fplan-btn.active {
        border-bottom: none;
        border-left: 3px solid var(--color-accent-primary);
    }
    
    .floorplan-details-content {
        padding: 24px;
    }
    
    .fplan-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .fplan-actions button,
    .fplan-actions a {
        width: 100%;
    }
    
    .amenities-filters {
        flex-direction: column;
        gap: 8px;
    }
    
    .amenities-grid {
        grid-template-columns: 1fr;
    }
    
    .connectivity-grid {
        grid-template-columns: 1fr;
    }
    
    .visit-card {
        padding: 32px 16px;
    }
    
    .visit-form-container {
        padding: 24px 16px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-brand {
        grid-column: 1;
    }
    
    .modal-body {
        padding: 32px 20px;
    }
    
    .floating-actions-container {
        bottom: 20px;
        right: 20px;
    }
    
    .floating-btn span {
        display: none !important; /* Hide labels permanently on mobile for sleekness */
    }
    
    .floating-btn {
        width: 50px;
        height: 50px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }
    
    .floating-btn i {
        font-size: 1.8rem;
    }
    
    .whatsapp-btn i {
        font-size: 2.15rem;
    }
}
