/* ===================================================================
   LUMIÈRE VILLA - ULTRA-LUXURY ARCHITECTURAL EXPERIENCE
   Design System & Styling
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=Syne:wght@400;600;700;800&display=swap');

:root {
    --bg-deep: #06070a;
    --bg-surface: #0c0e14;
    --bg-surface-elevated: #131722;
    --bg-glass: rgba(14, 18, 27, 0.72);
    --bg-glass-card: rgba(18, 22, 33, 0.65);
    
    --gold-primary: #d4af37;
    --gold-light: #f5e4a8;
    --gold-dark: #997819;
    --gold-glow: rgba(212, 175, 55, 0.28);
    
    --accent-emerald: #10b981;
    --accent-cyan: #00e5ff;
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --text-gold: #e2c068;
    
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-gold: rgba(212, 175, 55, 0.32);
    --border-gold-bright: rgba(212, 175, 55, 0.7);
    
    --font-heading: 'Cinzel', serif;
    --font-display: 'Syne', sans-serif;
    --font-sans: 'Plus Jakarta Sans', sans-serif;
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    --shadow-glass: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 0 1px var(--border-subtle);
    --shadow-gold: 0 12px 35px var(--gold-glow);
    --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-deep);
    color: var(--text-primary);
    font-family: var(--font-sans);
    overflow-x: hidden;
}

section[id], [id].section, .hero-viewport-section, div[id].section-target {
    scroll-margin-top: 130px;
}

body {
    overflow-x: hidden;
    position: relative;
    background-color: var(--bg-deep);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
    background: #232a38;
    border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gold-primary);
}

/* Custom Cursor */
.custom-cursor-dot, .custom-cursor-ring {
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 99999;
    transition: opacity 0.3s ease;
}

.custom-cursor-dot {
    width: 6px;
    height: 6px;
    background: var(--gold-primary);
}

.custom-cursor-ring {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(212, 175, 55, 0.5);
    transition: width 0.2s, height 0.2s, border-color 0.2s;
}

@media (pointer: coarse) {
    .custom-cursor-dot, .custom-cursor-ring {
        display: none !important;
    }
}

/* Container */
.container {
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography Utilities */
.font-heading { font-family: var(--font-heading); }
.font-display { font-family: var(--font-display); }
.text-gold { color: var(--gold-primary); }
.text-gradient-gold {
    background: linear-gradient(135deg, #fff 0%, #ecd08c 45%, #d4af37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Button & Pill Components */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 0.85rem 1.75rem;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: var(--radius-full);
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-gold {
    background: linear-gradient(135deg, #e4be4a 0%, #c49924 100%);
    color: #0c0e14;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(212, 175, 55, 0.45);
    background: linear-gradient(135deg, #f5d165 0%, #d8ac30 100%);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.03);
    border-color: var(--border-subtle);
    color: var(--text-primary);
    backdrop-filter: blur(12px);
}

.btn-outline:hover {
    border-color: var(--gold-primary);
    color: var(--gold-light);
    background: rgba(212, 175, 55, 0.08);
    transform: translateY(-2px);
}

.tag-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 0.95rem;
    background: rgba(212, 175, 55, 0.09);
    border: 1px solid rgba(212, 175, 55, 0.28);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-light);
}

/* ================= HEADER & TOPBAR MASTER ================= */
.header-master {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

.topbar-header {
    background: #040508;
    border-bottom: 1px solid rgba(212, 175, 55, 0.22);
    padding: 0.5rem 0;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.topbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--text-secondary);
    font-size: 0.78rem;
}

.topbar-item i {
    color: var(--gold-primary);
    font-size: 0.82rem;
}

.topbar-item a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.topbar-item a:hover {
    color: var(--gold-light);
}

.topbar-badge {
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: var(--gold-light);
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.topbar-social {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.topbar-social a {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.75rem;
    transition: var(--transition);
}

.topbar-social a:hover {
    background: var(--gold-primary);
    color: #040508;
    border-color: var(--gold-primary);
    transform: translateY(-2px);
}

.navbar {
    width: 100%;
    padding: 0.9rem 0;
    background: rgba(6, 7, 10, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    transition: var(--transition);
}

.header-master.scrolled .navbar {
    padding: 0.6rem 0;
    background: rgba(6, 7, 10, 0.95);
    border-bottom: 1px solid var(--border-gold);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.navbar .container {
    max-width: 1520px;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    text-decoration: none;
    color: var(--text-primary);
}

.webnnets-logo-img {
    height: 44px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6));
    transition: transform 0.3s ease;
}

.brand-logo:hover .webnnets-logo-img {
    transform: scale(1.04);
}

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

.brand-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: #fff;
    line-height: 1.2;
}

.brand-sub {
    font-size: 0.62rem;
    letter-spacing: 0.22em;
    color: var(--gold-primary);
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.35rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: var(--transition);
    position: relative;
    white-space: nowrap;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--gold-light);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--gold-primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.1rem;
}

/* Sound Ambience Toggle Button */
.btn-sound-toggle {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 0.95rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-gold);
    background: rgba(212, 175, 55, 0.08);
    color: var(--gold-light);
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: var(--transition);
}

.btn-sound-toggle:hover {
    border-color: var(--gold-primary);
    color: #fff;
    background: rgba(212, 175, 55, 0.18);
    box-shadow: 0 0 15px var(--gold-glow);
}

.btn-sound-toggle.playing {
    border-color: var(--gold-primary);
    color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.22);
    box-shadow: 0 0 20px var(--gold-glow);
}

.sound-bars {
    display: flex;
    align-items: flex-end;
    gap: 2.5px;
    height: 13px;
}

.sound-bars span {
    width: 2.5px;
    background: currentColor;
    border-radius: 2px;
    height: 7px;
    transition: height 0.2s ease;
}

.btn-sound-toggle.playing .sound-bars span:nth-child(1) { animation: soundWave 0.8s infinite ease-in-out; height: 12px; }
.btn-sound-toggle.playing .sound-bars span:nth-child(2) { animation: soundWave 0.6s 0.2s infinite ease-in-out; height: 16px; }
.btn-sound-toggle.playing .sound-bars span:nth-child(3) { animation: soundWave 0.9s 0.1s infinite ease-in-out; height: 10px; }

@keyframes soundWave {
    0%, 100% { height: 4px; }
    50% { height: 15px; }
}

.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ================= HERO 3D SECTION ================= */
.hero-viewport-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 720px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Realistic Hero Container */
.realistic-hero-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    overflow: hidden;
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s;
}

.realistic-hero-container.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.realistic-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 60%;
    transform-origin: center center;
    transition: filter 0.8s ease, transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    animation: gentleHeroZoom 24s infinite alternate ease-in-out;
}

@keyframes gentleHeroZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.05); }
}

/* Atmospheric Lighting Modes for Realistic Image */
.realistic-hero-container.lighting-twilight .realistic-hero-img {
    filter: contrast(1.06) saturate(1.1) brightness(0.98);
}

.realistic-hero-container.lighting-golden .realistic-hero-img {
    filter: contrast(1.12) saturate(1.3) sepia(0.2) hue-rotate(-8deg) brightness(1.06);
}

.realistic-hero-container.lighting-daylight .realistic-hero-img {
    filter: contrast(1.05) saturate(1.15) brightness(1.18);
}

/* Realistic Interactive Hotspot Beacons */
.realistic-hotspot {
    position: absolute;
    z-index: 6;
    cursor: pointer;
    transform: translate(-50%, -50%);
}

.hotspot-beacon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.4);
    border: 2px solid var(--gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.82rem;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.85);
    animation: beaconPulse 2.5s infinite;
    position: relative;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hotspot-beacon::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1.5px dashed rgba(212, 175, 55, 0.7);
    animation: spinBeacon 8s linear infinite;
}

@keyframes beaconPulse {
    0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.8); }
    70% { box-shadow: 0 0 0 18px rgba(212, 175, 55, 0); }
    100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

@keyframes spinBeacon {
    100% { transform: rotate(360deg); }
}

.realistic-hotspot:hover .hotspot-beacon {
    transform: scale(1.22);
    background: var(--gold-primary);
    color: #0c0e14;
}

.hotspot-tooltip {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: rgba(10, 14, 22, 0.94);
    backdrop-filter: blur(14px);
    border: 1px solid var(--gold-primary);
    border-radius: var(--radius-md);
    padding: 0.6rem 1rem;
    white-space: nowrap;
    color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hotspot-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: var(--gold-primary) transparent transparent transparent;
}

.hotspot-tooltip h5 {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: var(--gold-light);
    margin-bottom: 2px;
}

.hotspot-tooltip span {
    font-size: 0.72rem;
    color: var(--text-secondary);
    display: block;
}

.realistic-hotspot:hover .hotspot-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Three.js Canvas Container */
#villa-canvas-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* View Mode Selector in Hero HUD */
.view-mode-selector {
    display: flex;
    background: rgba(10, 13, 20, 0.85);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-full);
    padding: 3px;
    gap: 3px;
}

.btn-view-mode {
    border: none;
    background: transparent;
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    transition: var(--transition);
}

.btn-view-mode.active {
    background: linear-gradient(135deg, #e4be4a 0%, #c49924 100%);
    color: #0c0e14;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.35);
}

.btn-view-mode:hover:not(.active) {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

/* Hero Vignette Overlays */
.hero-vignette {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 3;
    background: radial-gradient(circle at 50% 50%, transparent 40%, rgba(6, 7, 10, 0.8) 100%),
                linear-gradient(to top, rgba(6, 7, 10, 0.95) 0%, transparent 35%),
                linear-gradient(to bottom, rgba(6, 7, 10, 0.8) 0%, transparent 20%);
}

/* Floating Hero Header Content */
.hero-content-overlay {
    position: relative;
    z-index: 5;
    padding-top: 8.5rem;
    pointer-events: none;
}

.hero-content-overlay * {
    pointer-events: auto;
}

.hero-subtitle-row {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 0.75rem;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6.2vw, 5.5rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: 0.04em;
    max-width: 900px;
    text-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
}

.hero-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-top: 0.85rem;
}

.hero-location i {
    color: var(--gold-primary);
}

/* 3D Floating HUD Bar */
.viewport-hud {
    position: relative;
    z-index: 10;
    padding-bottom: 2.2rem;
}

.hud-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-glass);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-lg);
    padding: 1rem 1.75rem;
    box-shadow: var(--shadow-glass);
}

.hud-stats-group {
    display: flex;
    align-items: center;
    gap: 2.2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-item .val {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.02em;
}

.stat-item .label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
}

.stat-divider {
    width: 1px;
    height: 32px;
    background: var(--border-subtle);
}

/* HUD Controls for 3D Camera & Light */
.hud-controls-group {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.lighting-selector {
    display: flex;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    padding: 3px;
}

.btn-light-mode {
    border: none;
    background: transparent;
    color: var(--text-secondary);
    padding: 0.45rem 0.9rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition);
}

.btn-light-mode:hover {
    color: #fff;
}

.btn-light-mode.active {
    background: var(--gold-primary);
    color: #06070a;
    box-shadow: 0 2px 12px var(--gold-glow);
}

.hud-icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition);
}

.hud-icon-btn:hover {
    border-color: var(--gold-primary);
    color: var(--gold-light);
    background: rgba(212, 175, 55, 0.15);
}

.hud-icon-btn.active {
    border-color: var(--gold-primary);
    color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.2);
}

/* 3D Hotspot Detail Drawer Modal (Floating Glass Card) */
.hotspot-drawer-card {
    position: absolute;
    bottom: 7.5rem;
    right: 2rem;
    width: 360px;
    background: rgba(12, 15, 22, 0.88);
    backdrop-filter: blur(28px);
    border: 1px solid var(--border-gold-bright);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    z-index: 20;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 30px var(--gold-glow);
    transform: translateY(20px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hotspot-drawer-card.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.drawer-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.drawer-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: #fff;
    line-height: 1.2;
}

.drawer-sub {
    font-size: 0.75rem;
    color: var(--gold-primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 0.2rem;
}

.drawer-close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
}

.drawer-close:hover {
    color: #fff;
}

.drawer-body p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin-bottom: 1.1rem;
}

.drawer-action {
    display: flex;
    justify-content: flex-end;
}

/* ================= SECTION HEADINGS ================= */
.section {
    padding: 7rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 4.5rem;
}

.section-tag {
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.8vw, 3.2rem);
    letter-spacing: 0.02em;
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* ================= ARCHITECTURAL HIGHLIGHTS / BENTO GRID ================= */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.8rem;
}

.bento-card {
    background: var(--bg-glass-card);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.bento-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 100% 0%, var(--gold-glow) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.bento-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), 0 0 25px var(--gold-glow);
}

.bento-card:hover::before {
    opacity: 1;
}

.bento-col-8 { grid-column: span 8; }
.bento-col-4 { grid-column: span 4; }
.bento-col-6 { grid-column: span 6; }
.bento-col-12 { grid-column: span 12; }

.bento-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.38;
    transition: transform 0.8s ease, opacity 0.5s ease;
}

.bento-card:hover .bento-bg-img {
    transform: scale(1.05);
    opacity: 0.48;
}

.bento-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(6, 7, 10, 0.95) 15%, rgba(6, 7, 10, 0.4) 60%, transparent 100%);
    z-index: 2;
}

.bento-content {
    position: relative;
    z-index: 3;
}

.bento-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid var(--border-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: var(--gold-primary);
    margin-bottom: 1.5rem;
}

.bento-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
    color: #fff;
}

.bento-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

.spec-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.spec-pill {
    padding: 0.35rem 0.85rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ================= SPATIAL FLOOR EXPLORER ================= */
.floor-explorer-wrapper {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    box-shadow: var(--shadow-glass);
}

.floor-nav-panel {
    padding: 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-right: 1px solid var(--border-subtle);
}

.floor-level-tabs {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

.floor-tab-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 1.6rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
}

.floor-tab-btn:hover {
    background: rgba(212, 175, 55, 0.06);
    border-color: var(--border-gold);
    color: #fff;
}

.floor-tab-btn.active {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.16) 0%, rgba(212, 175, 55, 0.04) 100%);
    border-color: var(--gold-primary);
    color: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.floor-tab-meta h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    margin-bottom: 0.2rem;
}

.floor-tab-meta span {
    font-size: 0.78rem;
    color: var(--gold-primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.floor-tab-sqft {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.05rem;
    color: #fff;
}

.floor-preview-panel {
    padding: 3.5rem;
    background: radial-gradient(circle at 50% 50%, #151a24 0%, #0c0e14 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.floor-blueprint-visual {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-gold);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
    margin-bottom: 2rem;
}

.floor-blueprint-visual img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    display: block;
    filter: brightness(0.9) contrast(1.1);
}

.blueprint-grid-overlay {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(212, 175, 55, 0.08) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(212, 175, 55, 0.08) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
}

.floor-spec-table {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.spec-cell {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    padding: 1rem;
    border-radius: var(--radius-sm);
}

.spec-cell .label {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.3rem;
}

.spec-cell .val {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--gold-light);
}

/* ================= INTERACTIVE CURATED GALLERY ================= */
.gallery-filter-bar {
    display: flex;
    justify-content: center;
    gap: 0.85rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.6rem 1.4rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
    border-color: var(--gold-primary);
    background: var(--gold-primary);
    color: #0c0e14;
    box-shadow: 0 4px 18px var(--gold-glow);
}

.gallery-masonry {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.6rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 380px;
    cursor: pointer;
    border: 1px solid var(--border-subtle);
    transition: var(--transition);
}

.gallery-item.span-2 {
    grid-column: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover {
    border-color: var(--border-gold);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item-caption {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(6, 7, 10, 0.95) 0%, transparent 60%);
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item:hover .gallery-item-caption {
    opacity: 1;
}

.gallery-item-caption h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 0.3rem;
    color: #fff;
}

.gallery-item-caption span {
    font-size: 0.78rem;
    color: var(--gold-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ================= FINANCIAL / ROI CALCULATOR ================= */
.calculator-card {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-lg);
    padding: 3.5rem;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3.5rem;
    box-shadow: var(--shadow-glass);
    position: relative;
    overflow: hidden;
}

.calc-sliders {
    display: flex;
    flex-direction: column;
    gap: 2.2rem;
}

.slider-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.slider-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.slider-label-row label {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.slider-label-row .slider-val-badge {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--gold-primary);
}

.custom-range {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    background: #1e2430;
    border-radius: var(--radius-full);
    outline: none;
}

.custom-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--gold-primary);
    cursor: pointer;
    box-shadow: 0 0 12px var(--gold-glow);
    transition: transform 0.15s ease;
}

.custom-range::-webkit-slider-thumb:hover {
    transform: scale(1.25);
}

.calc-summary-box {
    background: rgba(10, 13, 20, 0.75);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.summary-headline {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 0.4rem;
}

.monthly-estimated-val {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.8rem;
}

.breakdown-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.breakdown-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.88rem;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding-bottom: 0.65rem;
}

.breakdown-row span:last-child {
    font-weight: 600;
    color: #fff;
}

/* Currency switcher */
.currency-switcher {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.curr-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.curr-btn.active {
    background: var(--gold-primary);
    color: #0c0e14;
    border-color: var(--gold-primary);
}

/* ================= VIP CONCIERGE & BOOKING MODAL ================= */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(4, 5, 8, 0.88);
    backdrop-filter: blur(20px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    padding: 1.5rem;
}

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

.modal-window {
    background: #0f131c;
    border: 1px solid var(--border-gold-bright);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 650px;
    padding: 2.8rem;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9), 0 0 40px var(--gold-glow);
    position: relative;
    transform: translateY(25px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-overlay.active .modal-window {
    transform: translateY(0);
}

.modal-close-btn {
    position: absolute;
    top: 1.75rem;
    right: 1.75rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-subtle);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close-btn:hover {
    color: #fff;
    border-color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.15);
}

.form-group {
    margin-bottom: 1.4rem;
}

.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 0.45rem;
    letter-spacing: 0.04em;
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 0.9rem 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: #fff;
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.05);
    box-shadow: 0 0 15px var(--gold-glow);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

/* 360 Panorama Modal Window */
.panorama-container {
    width: 100%;
    height: 480px;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    cursor: grab;
}

.panorama-container:active {
    cursor: grabbing;
}

/* ================= FOOTER ================= */
.footer {
    background: #040508;
    border-top: 1px solid var(--border-subtle);
    padding: 6rem 0 2.5rem;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 5rem;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.7;
    margin-top: 1.25rem;
    max-width: 380px;
}

.footer-col h5 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: #fff;
    margin-bottom: 1.4rem;
    letter-spacing: 0.06em;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-col ul a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.88rem;
    transition: var(--transition);
}

.footer-col ul a:hover {
    color: var(--gold-primary);
    padding-left: 4px;
}

.footer-newsletter p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 1.1rem;
}

.newsletter-form {
    display: flex;
    gap: 0.6rem;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* Toast Notification */
.toast-notice {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(15, 20, 30, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--gold-primary);
    padding: 1rem 2rem;
    border-radius: var(--radius-full);
    color: #fff;
    font-size: 0.88rem;
    font-weight: 500;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 25px var(--gold-glow);
    z-index: 999999;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.toast-notice.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* ================= CULTURAL AMENITIES & SANCTUARIES ================= */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
    margin-top: 2.5rem;
}

.amenity-card {
    background: var(--bg-glass-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2.2rem 1.8rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.amenity-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.amenity-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-gold);
    box-shadow: var(--shadow-gold), 0 20px 40px rgba(0, 0, 0, 0.6);
}

.amenity-card:hover::before {
    opacity: 1;
}

.amenity-icon-box {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    color: var(--gold-primary);
    margin-bottom: 1.4rem;
}

.amenity-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 0.65rem;
}

.amenity-desc {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
    flex-grow: 1;
}

.amenity-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    border-top: 1px solid var(--border-subtle);
    padding-top: 1rem;
}

.amenity-features li {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.amenity-features li i {
    color: var(--gold-primary);
    font-size: 0.72rem;
}

/* ================= WEBNNETS OFFICIAL CONTACT SECTION ================= */
.contact-section-wrap {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 2.8rem;
    margin-top: 2rem;
}

.contact-info-panel {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-brand-card {
    background: var(--bg-glass-card);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-lg);
    padding: 2.2rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-glass);
}

.contact-brand-header {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1rem;
}

.contact-brand-logo {
    height: 52px;
    width: auto;
    object-fit: contain;
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-top: 1.6rem;
}

.contact-detail-row {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-detail-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-primary);
    font-size: 1.05rem;
    flex-shrink: 0;
}

.contact-detail-text h6 {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.contact-detail-text a, .contact-detail-text p {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.contact-detail-text a:hover {
    color: var(--gold-light);
}

.contact-actions-row {
    display: flex;
    gap: 0.8rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.btn-contact-action {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.2rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.btn-whatsapp {
    background: rgba(37, 211, 102, 0.15);
    border: 1px solid rgba(37, 211, 102, 0.5);
    color: #25d366;
}

.btn-whatsapp:hover {
    background: #25d366;
    color: #0c0e14;
    transform: translateY(-2px);
    box-shadow: 0 5px 18px rgba(37, 211, 102, 0.4);
}

.contact-social-row {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-subtle);
    flex-wrap: wrap;
}

.contact-social-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.05rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 500;
    transition: var(--transition);
}

.contact-social-btn:hover {
    background: var(--gold-primary);
    color: #080a0f;
    border-color: var(--gold-primary);
    transform: translateY(-2px);
}

.contact-form-card {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-glass);
}

.contact-map-card {
    margin-top: 1.5rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-map-icon {
    font-size: 1.5rem;
    color: var(--gold-primary);
}

/* ================= RESPONSIVE MEDIA QUERIES ================= */
@media (max-width: 1080px) {
    .bento-col-8, .bento-col-4 {
        grid-column: span 12;
    }
    .amenities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-section-wrap {
        grid-template-columns: 1fr;
    }
    .floor-explorer-wrapper {
        grid-template-columns: 1fr;
    }
    .floor-nav-panel {
        border-right: none;
        border-bottom: 1px solid var(--border-subtle);
    }
    .calculator-card {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .topbar-header {
        display: none;
    }
    .nav-links {
        display: none;
    }
    .mobile-nav-toggle {
        display: block;
    }
    .amenities-grid {
        grid-template-columns: 1fr;
    }
    .hud-panel {
        flex-direction: column;
        gap: 1.2rem;
        align-items: stretch;
    }
    .hud-stats-group {
        justify-content: space-between;
        gap: 1rem;
    }
    .hud-controls-group {
        justify-content: center;
        flex-wrap: wrap;
    }
    .hotspot-drawer-card {
        left: 1rem;
        right: 1rem;
        width: auto;
        bottom: 11rem;
    }
    .gallery-masonry {
        grid-template-columns: 1fr;
    }
    .gallery-item.span-2 {
        grid-column: span 1;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}
