/* ==========================================================================
   SG NAKSHATRA — Ultra-Luxury Real Estate Stylesheet (PREMIUM LIGHT THEME)
   Siddharth Vihar, Ghaziabad | SG Estates Pvt. Ltd.
   ========================================================================== */

:root {
    --bg-main: #ffffff;
    --bg-section-alt: #f8fafc;
    --bg-card: #ffffff;
    --bg-card-hover: #ffffff;
    --bg-darker: #070d1e; /* Luxury navy anchor for footer */
    
    --gold: #b38f38;
    --gold-dark: #6f5008; /* High contrast: > 5.5:1 against light backgrounds */
    --gold-light: #dfc27e;
    --gold-gradient: linear-gradient(135deg, #c9a962 0%, #b88d3d 100%);
    --gold-border: rgba(179, 143, 56, 0.28);
    
    --whatsapp-green: #25D366;
    --whatsapp-dark: #128C7E;
    
    --text-dark: #0f172a;
    --text-body: #334155;
    --text-muted: #64748b;
    --text-light: #ffffff;
    
    --font-heading: 'Cinzel', 'Playfair Display', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    --shadow-luxury: 0 10px 35px -8px rgba(15, 23, 42, 0.08), 0 0 1px rgba(0, 0, 0, 0.08);
    --shadow-card: 0 4px 20px -2px rgba(15, 23, 42, 0.06);
    --shadow-gold: 0 4px 20px rgba(179, 143, 56, 0.35);
    --transition-smooth: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
}

body.light-theme {
    background-color: var(--bg-main);
    color: var(--text-body);
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.7;
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

main, header, footer, section {
    max-width: 100%;
    overflow-x: hidden;
}

/* Typography Utilities */
.font-cinzel {
    font-family: var(--font-heading);
    letter-spacing: 0.03em;
}

.text-dark {
    color: var(--text-dark) !important;
}

.text-body {
    color: var(--text-body) !important;
}

.text-gold {
    color: var(--gold) !important;
}

.text-gold-dark {
    color: var(--gold-dark) !important;
}

/* Accessible link styling: ensures high contrast ratio > 4.5:1 (WCAG AA) */
a.text-gold {
    color: var(--gold-dark) !important;
}

.luxury-footer a.text-gold,
.luxury-footer .footer-legal-notice a.text-gold,
.luxury-footer .footer-legal-notice a {
    color: var(--gold-light) !important;
    text-decoration: underline;
}

.luxury-footer .footer-legal-notice a:hover {
    color: #ffffff !important;
}

.text-gold-gradient {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.text-whatsapp {
    color: var(--whatsapp-green) !important;
}

.bg-section-light {
    background-color: var(--bg-main);
}

.bg-section-alt {
    background-color: var(--bg-section-alt);
}

.bg-navy-black {
    background-color: var(--bg-darker);
}

/* Top Announcement & RERA Bar (Slim & Sleek) */
.top-announcement-bar {
    background: #fbf9f5;
    border-bottom: 1px solid var(--gold-border);
    padding: 3px 0;
    font-size: 0.74rem;
    position: relative;
    z-index: 1040;
}

.text-topbar-sub {
    color: #475569;
}

.top-link {
    color: var(--text-body);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-smooth);
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: inherit;
    font-family: inherit;
}

.top-link:hover {
    color: var(--gold-dark);
}

/* Luxury Navbar (Ultra-Slim & Compact) */
.luxury-navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--gold-border);
    padding: 0.35rem 0;
    top: 25px; /* Sits cleanly below slim top bar */
    transition: var(--transition-smooth);
    z-index: 1030;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
}

@media (max-width: 768px) {
    .luxury-navbar {
        top: 0;
        padding: 0.4rem 0;
    }
    .top-announcement-bar {
        display: none;
    }
}

.luxury-navbar.scrolled {
    top: 0;
    background: #ffffff;
    padding: 0.3rem 0;
    box-shadow: 0 3px 20px rgba(15, 23, 42, 0.08);
}

.brand-logo {
    height: 32px;
    width: auto;
    aspect-ratio: 267 / 189;
    object-fit: contain;
}

.brand-divider {
    width: 1px;
    height: 20px;
    background: var(--gold-border);
    margin: 0 4px;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: 0.05em;
    line-height: 1.1;
}

.brand-subtitle {
    font-size: 0.58rem;
    color: var(--gold-dark);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: 600;
}

.navbar-nav .nav-link {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.35rem 0.75rem !important;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    transition: var(--transition-smooth);
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--gold-dark);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0%;
    height: 2px;
    background: var(--gold-gradient);
    transition: var(--transition-smooth);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 60%;
}

.nav-actions .btn {
    padding: 0.28rem 0.75rem;
    font-size: 0.78rem;
    border-radius: 4px;
}

.custom-toggler {
    border: 1px solid var(--gold-border);
    padding: 6px 10px;
    border-radius: 6px;
}

.custom-toggler .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(179, 143, 56, 0.95)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Luxury Buttons */
.btn-gold {
    background: var(--gold-gradient);
    color: #ffffff !important;
    font-weight: 700;
    border: none;
    border-radius: 6px;
    padding: 0.65rem 1.4rem;
    letter-spacing: 0.04em;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-gold:hover {
    background: linear-gradient(135deg, #b88d3d 0%, #916f24 100%);
    box-shadow: var(--shadow-gold);
    transform: translateY(-2px);
    color: #ffffff !important;
}

.btn-outline-gold {
    background: transparent;
    color: var(--gold-dark) !important;
    border: 1.5px solid var(--gold-dark);
    border-radius: 6px;
    padding: 0.65rem 1.4rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-outline-gold:hover {
    background: rgba(179, 143, 56, 0.1);
    color: var(--gold-dark) !important;
    border-color: var(--gold-dark);
    transform: translateY(-2px);
}

.btn-outline-luxury {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff !important;
    border: 1.5px solid #ffffff;
    border-radius: 6px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
}

.btn-outline-luxury:hover {
    background: #ffffff;
    color: var(--text-dark) !important;
    transform: translateY(-2px);
}

.btn-whatsapp-luxury {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #ffffff !important;
    font-weight: 700;
    border: none;
    border-radius: 6px;
    padding: 0.75rem 1.5rem;
    letter-spacing: 0.03em;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
}

.btn-whatsapp-luxury:hover {
    background: linear-gradient(135deg, #28e06c 0%, #16a08f 100%);
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.4);
    transform: translateY(-2px);
}

.shadow-gold {
    box-shadow: var(--shadow-gold);
}

.shadow-luxury {
    box-shadow: var(--shadow-luxury);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 85px 0 50px 0;
    background-color: #0f172a;
    overflow: hidden;
}

.hero-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1920 / 970;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.65) contrast(1.05);
}

.hero-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.88) 0%, rgba(15, 23, 42, 0.75) 50%, rgba(15, 23, 42, 0.88) 100%);
}

.hero-content-container {
    position: relative;
    z-index: 2;
}

.min-vh-hero {
    min-height: calc(100vh - 200px);
}

.hero-pill-badge {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    display: inline-block;
    margin-right: 8px;
    margin-bottom: 8px;
}

.rera-pill {
    background: rgba(37, 211, 102, 0.2);
    border-color: rgba(37, 211, 102, 0.5);
    color: #86efac;
}

.hero-subhead-text {
    font-size: 1.15rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--gold-light);
    margin-bottom: 6px;
}

.hero-main-title {
    font-size: clamp(1.75rem, 4.5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.2rem;
    word-break: break-word;
}

.hero-tagline-text {
    font-size: clamp(1.05rem, 2vw, 1.45rem);
    font-weight: 400;
    display: block;
    color: #e2e8f0;
    margin-top: 8px;
    font-family: var(--font-body);
}

.hero-description {
    font-size: 1.05rem;
    color: #e2e8f0;
    max-width: 620px;
    margin-bottom: 1.8rem;
    line-height: 1.8;
}

.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    max-width: 600px;
}

.hero-stat-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 10px 12px;
    border-radius: 8px;
    text-align: center;
}

.hero-stat-card .stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

.hero-stat-card .stat-label {
    font-size: 0.75rem;
    color: var(--gold-light);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 600;
}

/* Hero Right Light Card */
.hero-light-card {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px);
    border: 2px solid var(--gold-border) !important;
    border-radius: 16px;
    padding: 2.2rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.hero-light-card .glass-title {
    font-size: 1.35rem;
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 4px;
}

.hero-light-card .glass-subtitle {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 1.2rem;
}

.input-icon-wrap {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.95rem;
    pointer-events: none;
}

/* Light Theme Inputs */
.luxury-input {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: var(--text-dark) !important;
    border-radius: 8px !important;
    padding: 0.7rem 1rem 0.7rem 2.6rem !important;
    font-size: 0.92rem !important;
    transition: var(--transition-smooth);
}

.luxury-input:focus {
    background: #ffffff !important;
    border-color: var(--gold) !important;
    box-shadow: 0 0 10px rgba(179, 143, 56, 0.25) !important;
}

.luxury-input::placeholder {
    color: #94a3b8 !important;
}

select.luxury-input {
    padding-left: 1rem !important;
}

/* Scroll Arrow */
.hero-scroll-btn {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: #ffffff;
    font-size: 1.2rem;
    animation: bounce 2s infinite;
    text-decoration: none;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
    40% { transform: translate(-50%, -10px); }
    60% { transform: translate(-50%, -5px); }
}

/* Section Header Structure */
.section-padding {
    padding: 85px 0;
}

.section-tag {
    display: inline-block;
    color: #6f5008;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.section-heading {
    font-size: clamp(1.5rem, 3.2vw, 2.7rem);
    font-weight: 700;
    margin-bottom: 8px;
    word-break: break-word;
}

.section-subheading {
    color: var(--text-muted);
    font-size: 1.05rem;
    font-weight: 400;
    max-width: 700px;
    margin: 0 auto;
}

.gold-divider {
    width: 60px;
    height: 3px;
    background: var(--gold-gradient);
    margin: 16px auto 0 auto;
    border-radius: 2px;
}

/* Luxury Cards (Light Theme) */
.luxury-card {
    background: #ffffff;
    border: 1px solid rgba(179, 143, 56, 0.22);
    border-radius: 14px;
    transition: var(--transition-smooth);
}

.luxury-card:hover {
    border-color: var(--gold);
    box-shadow: 0 15px 40px rgba(15, 23, 42, 0.1);
    transform: translateY(-4px);
}

/* Overview Section */
.overview-image-wrapper {
    position: relative;
}

.floating-badge-rera {
    position: absolute;
    bottom: -20px;
    right: 20px;
    background: #ffffff;
    border: 1.5px solid var(--gold-border);
    padding: 14px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.floating-badge-rera strong {
    color: var(--text-dark);
    font-size: 0.95rem;
}

.lead-text {
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.8;
}

.feature-bullet {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    border: 1px solid var(--gold-border);
    padding: 12px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
    box-shadow: var(--shadow-card);
}

/* Quick Facts Table (Light Theme) */
.luxury-table-card {
    background: #ffffff;
    border: 1.5px solid var(--gold-border);
    border-radius: 14px;
    overflow: hidden;
}

.luxury-table {
    background: #ffffff !important;
    color: var(--text-body);
}

.luxury-table th {
    background: #f8fafc !important;
    color: var(--text-dark);
    font-size: 0.92rem;
    font-weight: 700;
    padding: 16px 22px;
    width: 32%;
    border-bottom: 1px solid #e2e8f0;
}

.luxury-table td {
    background: #ffffff !important;
    color: var(--text-dark);
    padding: 16px 22px;
    font-size: 0.95rem;
    border-bottom: 1px solid #e2e8f0;
}

.luxury-table tr:hover td {
    background: #fbf9f5 !important;
}

/* Pricing Cards (Light Theme) */
.pricing-card {
    padding: 2.2rem;
    position: relative;
    overflow: hidden;
}

.pricing-badge {
    background: #f5eedf;
    border: 1px solid #d4b568;
    color: #593f05;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 0.08em;
    display: inline-block;
    margin-bottom: 8px;
}

.unit-type {
    font-size: 1.55rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.unit-subtitle {
    font-size: 0.88rem;
}

.price-highlight {
    background: #fbf9f5;
    border: 1px solid var(--gold-border);
    padding: 16px;
    border-radius: 10px;
    text-align: center;
}

.price-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
    display: block;
}

.price-val {
    font-size: 1.9rem;
    font-weight: 800;
    line-height: 1.2;
}

.price-sub {
    font-size: 0.85rem;
}

.pricing-specs-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.pricing-specs-list li {
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.92rem;
    color: var(--text-body);
}

.featured-pricing {
    border: 2px solid var(--gold) !important;
    box-shadow: 0 12px 35px rgba(179, 143, 56, 0.14);
    position: relative;
    overflow: hidden !important;
}

.featured-ribbon {
    position: absolute;
    top: 18px;
    right: -32px;
    background: var(--gold-gradient);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 36px;
    transform: rotate(45deg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Floor Plans (Light Theme) */
.floorplan-nav-pills .nav-link {
    background: #ffffff;
    color: var(--text-dark);
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-card);
}

.floorplan-nav-pills .nav-link.active,
.floorplan-nav-pills .nav-link:hover {
    background: var(--gold-gradient);
    color: #ffffff;
    border-color: transparent;
    box-shadow: var(--shadow-gold);
}

.floorplan-image-box {
    position: relative;
    background: #ffffff;
    padding: 18px;
    border-radius: 14px;
    cursor: pointer;
    box-shadow: var(--shadow-luxury);
    border: 2px solid var(--gold-border);
}

.floorplan-image-box img {
    max-height: 440px;
    width: 100%;
    aspect-ratio: 1240 / 1755;
    object-fit: contain;
}

.image-zoom-hint {
    position: absolute;
    bottom: 12px;
    right: 14px;
    background: rgba(15, 23, 42, 0.85);
    color: #ffffff;
    font-size: 0.75rem;
    padding: 5px 12px;
    border-radius: 6px;
}

.floorplan-detail-card {
    background: #ffffff;
    border: 1.5px solid var(--gold-border);
}

.plan-data-list {
    list-style: none;
    padding: 0;
}

.plan-data-list li {
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.93rem;
    color: var(--text-body);
}

/* Master Site Plan (Light Theme) */
.siteplan-image-wrapper {
    background: #ffffff;
    border: 2px solid var(--gold-border);
    cursor: pointer;
    position: relative;
}

.siteplan-legend-card {
    background: #ffffff;
    border: 1.5px solid var(--gold-border);
}

.siteplan-list {
    list-style: none;
    padding: 0;
}

.siteplan-list li {
    padding: 11px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.92rem;
    color: var(--text-body);
}

/* Amenities Section (Light Theme) */
.amenity-card {
    padding: 2.2rem;
    border-radius: 14px;
    text-align: center;
    background: #ffffff;
}

.amenity-icon-box {
    width: 68px;
    height: 68px;
    margin: 0 auto 1.2rem auto;
    background: #fbf9f5;
    border: 1.5px solid var(--gold-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    color: var(--gold-dark);
    transition: var(--transition-smooth);
}

.amenity-card:hover .amenity-icon-box {
    background: var(--gold-gradient);
    color: #ffffff;
    transform: scale(1.1);
}

.amenity-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.amenity-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0;
}



/* Location Commute Cards (Light Theme) */
.commute-card {
    border-radius: 12px;
    padding: 1.8rem;
    background: #ffffff;
}

.commute-icon {
    font-size: 2rem;
    color: var(--gold-dark);
    margin-bottom: 0.8rem;
}

.commute-time {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.commute-dest {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.map-container-luxury {
    border: 2px solid var(--gold-border);
    background: #ffffff;
}

/* RERA & Trust Section (Light Theme) */
.rera-trust-card {
    border: 2px solid var(--gold);
    background: #ffffff;
}

.rera-info-tag {
    background: #fbf9f5;
    border: 1px solid var(--gold-border);
    padding: 10px 16px;
    border-radius: 8px;
}

.bank-details-box {
    border: 1px solid #e2e8f0;
}

/* FAQ Accordion (Light Theme) */
.luxury-accordion .accordion-item {
    background: #ffffff;
    border: 1px solid var(--gold-border);
    border-radius: 10px !important;
    overflow: hidden;
}

.luxury-accordion .accordion-button {
    background: #ffffff;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 1rem;
    padding: 18px 22px;
    box-shadow: none;
}

.luxury-accordion .accordion-button:not(.collapsed) {
    background: #fbf9f5;
    color: #593f05;
    font-weight: 700;
    border-bottom: 1px solid var(--gold-border);
}

.luxury-accordion .accordion-body {
    background: #ffffff;
    padding: 20px 22px;
    line-height: 1.8;
}

/* Visit Form Card (Light Theme) */
.visit-form-card {
    background: #ffffff;
    border: 1.5px solid var(--gold-border);
}

/* Bank Details High Contrast */
.bank-details-box h5 {
    color: #593f05 !important;
    font-weight: 700;
}

/* Luxury Footer (Royal Anchor Navy Theme) */
.luxury-footer {
    background-color: var(--bg-darker);
    border-top: 3px solid var(--gold);
}

.social-circle {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: var(--transition-smooth);
    text-decoration: none;
    padding: 0;
    cursor: pointer;
}

.social-circle:hover {
    background: var(--gold-gradient);
    color: #ffffff;
    transform: translateY(-2px);
}

.footer-nav-list li {
    margin-bottom: 8px;
}

.footer-nav-list a {
    color: #94a3b8;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-nav-list a:hover {
    color: var(--gold-light);
    padding-left: 4px;
}

/* Modals Styling (Light Theme) */
.luxury-modal .modal-content {
    border-radius: 16px;
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.25);
    background: #ffffff;
}

.border-gold {
    border: 1.5px solid var(--gold) !important;
}

.border-whatsapp {
    border: 1.5px solid var(--whatsapp-green) !important;
}

/* Sticky Right Edge Button */
.sticky-eoi-middle {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%) translateX(100%);
    z-index: 1020;
    transition: transform 0.4s ease;
}

.sticky-eoi-middle.visible {
    transform: translateY(-50%) translateX(0);
}

.sticky-eoi-bar-link {
    display: flex;
    align-items: center;
    background: var(--gold-gradient);
    color: #ffffff !important;
    text-decoration: none;
    padding: 14px 10px;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    box-shadow: -4px 0 16px rgba(0, 0, 0, 0.2);
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    border: none;
    cursor: pointer;
}

.sticky-eoi-icon-wrap {
    margin-top: 8px;
    font-size: 1rem;
}

/* Floating WhatsApp Action Button */
.whatsapp-floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #ffffff !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.45);
    z-index: 1025;
    text-decoration: none;
    transition: transform 0.3s ease;
    border: none;
    cursor: pointer;
}

.whatsapp-floating-btn:hover {
    transform: scale(1.1);
}

.floating-wa-ping {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #25D366;
    animation: ping 1.8s infinite;
    pointer-events: none;
}

@keyframes ping {
    0% { transform: scale(1); opacity: 0.9; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* Mobile Bottom Quick-Action Bar (Light Theme) */
.mobile-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    border-top: 1px solid var(--gold-border);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    z-index: 1030;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}

.mobile-bar-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 4px;
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--text-dark);
    transition: background 0.2s ease;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 100%;
}

.mobile-bar-btn i {
    font-size: 1.25rem;
    margin-bottom: 3px;
}

.mobile-bar-btn.call-action i { color: #0284c7; }
.mobile-bar-btn.wa-action i { color: #16a34a; }
.mobile-bar-btn.enquire-action {
    background: #fbf9f5;
    color: #593f05;
}

.mobile-bar-btn.enquire-action i {
    color: #593f05;
}

/* Toast Notifications */
.luxury-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #ffffff;
    border: 2px solid var(--gold);
    color: var(--text-dark);
    padding: 16px 24px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.15);
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideIn 0.4s ease;
    font-weight: 600;
}

.luxury-toast.success {
    border-color: #22c55e;
}

.luxury-toast.error {
    border-color: #ef4444;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .hero-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .hero-form-col {
        margin-top: 40px;
    }
    
    /* Remove floating circle WhatsApp button on mobile/tablets since bottom bar has WhatsApp */
    .whatsapp-floating-btn {
        display: none !important;
    }
    
    .sticky-eoi-middle {
        display: none !important;
    }
    
    body.light-theme {
        padding-bottom: 60px; /* Space for bottom mobile bar */
    }
}

@media (max-width: 768px) {
    .luxury-navbar {
        top: 0;
        padding: 0.4rem 0;
    }
    .top-announcement-bar {
        display: none !important;
    }
    .hero-section {
        padding: 75px 0 40px 0;
    }
    .hero-pill-badge {
        font-size: 0.75rem;
        padding: 5px 12px;
        margin-right: 4px;
        margin-bottom: 6px;
        max-width: 100%;
        word-break: break-word;
    }
    .rera-pill {
        word-break: break-all;
    }
}

@media (max-width: 576px) {
    .brand-logo {
        height: 26px;
        width: auto;
    }
    .brand-title {
        font-size: 0.82rem;
    }
    .brand-subtitle {
        font-size: 0.5rem;
    }
    .custom-toggler {
        padding: 4px 8px;
    }
    .hero-main-title {
        font-size: 1.75rem;
    }
    .hero-subhead-text {
        font-size: 0.95rem;
        letter-spacing: 0.15em;
    }
    .hero-tagline-text {
        font-size: 1rem;
    }
    .hero-description {
        font-size: 0.92rem;
    }
    .hero-action-buttons {
        gap: 10px !important;
    }
    .hero-action-buttons .btn {
        width: 100%;
    }
    .hero-stats-grid {
        gap: 8px;
    }
    .hero-stat-card {
        padding: 8px 6px;
        min-width: 0;
    }
    .hero-stat-card .stat-number {
        font-size: 1rem;
    }
    .hero-stat-card .stat-label {
        font-size: 0.65rem;
    }
    .hero-light-card {
        padding: 1.5rem 1.1rem;
    }
    .pricing-card {
        padding: 1.5rem 1.1rem;
    }
    .price-val {
        font-size: 1.5rem;
    }
    .featured-ribbon {
        font-size: 0.55rem;
        padding: 4px 28px;
        right: -28px;
        top: 14px;
    }
    .floating-badge-rera {
        position: static;
        margin-top: 15px;
        width: 100%;
        max-width: 100%;
        word-break: break-all;
    }
    .amenity-card {
        padding: 1.5rem 1.1rem;
    }
    .commute-card {
        padding: 1.3rem 0.9rem;
    }
    .rera-trust-card {
        padding: 1.3rem 1rem !important;
    }
    .rera-info-tag {
        width: 100%;
        word-break: break-all;
    }
    .floorplan-nav-pills {
        width: 100%;
    }
    .floorplan-nav-pills .nav-item {
        width: 100%;
    }
    .floorplan-nav-pills .nav-link {
        width: 100%;
        text-align: center;
        padding: 8px 12px;
        font-size: 0.84rem;
    }
}

/* Modal Luxury Theme Overrides */
.luxury-modal .modal-content {
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.16);
    background: #ffffff !important;
}

.border-call {
    border: 2px solid #0284c7 !important;
}

.border-whatsapp {
    border: 2px solid #25D366 !important;
}

.btn-call-luxury {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff !important;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    letter-spacing: 0.04em;
    box-shadow: 0 6px 18px rgba(2, 132, 199, 0.35);
    transition: all 0.3s ease;
}

.btn-call-luxury:hover {
    background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(2, 132, 199, 0.45);
    color: #ffffff !important;
}

.btn-whatsapp-luxury {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #ffffff !important;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    letter-spacing: 0.04em;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
    transition: all 0.3s ease;
}

.btn-whatsapp-luxury:hover {
    background: linear-gradient(135deg, #128C7E 0%, #075e54 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(37, 211, 102, 0.45);
    color: #ffffff !important;
}

.text-whatsapp {
    color: #16a34a !important;
}

/* ==========================================================================
   PERFORMANCE & CORE WEB VITALS OPTIMIZATIONS (Lighthouse / PageSpeed)
   ========================================================================== */

/* Prevent CLS on key visual containers */
.hero-section {
    min-height: 100vh;
    contain-intrinsic-size: 100vw 100vh;
}

.zoomable-plan-img {
    aspect-ratio: 1240 / 1755;
    max-width: 100%;
    height: auto;
}

.site-plan-wrapper img,
#siteplan img,
#overview img.rounded-4 {
    aspect-ratio: 1240 / 1755;
    max-width: 100%;
    height: auto;
}

/* Minimize main-thread work & eliminate long tasks by deferring offscreen rendering */
#siteplan, 
#amenities, 
#location, 
#developer, 
#rera-trust, 
#faq, 
footer {
    content-visibility: auto;
    contain-intrinsic-size: 1px 700px;
}