/* ==========================================================================
   VISHWADEV ASSOCIATES - ULTRA PREMIUM LUXURY REAL ESTATE DESIGN SYSTEM
   ========================================================================== */

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

:root {
    /* Color Palette - Luxury Light Editorial Theme */
    --bg-dark: #0b0d10;               /* Hero & Footer */
    --bg-light: #f9f8f6;              /* Primary Light Section BG */
    --bg-surface-light: #ffffff;      /* Cards & Alt Light BG */
    --bg-surface-alt: #f2efe9;        /* Soft Cream Surface */
    
    --text-dark: #111318;             /* Dark Charcoal for Light Sections */
    --text-dark-secondary: #4a5160;   /* Muted Dark Text */
    --text-dark-dim: #7a8294;
    
    --text-primary: #f8f6f0;          /* Ivory/White Text for Dark Sections */
    --text-secondary: #a0a6b5;
    --text-dim: #9ca3af;
    --border-subtle: rgba(255, 255, 255, 0.12);
    --border-medium: rgba(255, 255, 255, 0.2);
    
    --accent-gold: #b88e3d;           /* Muted Champagne Gold */
    --accent-gold-bright: #d4ab53;
    --accent-gold-glow: rgba(184, 142, 61, 0.15);
    --accent-bronze: #8c6c34;
    
    --border-light-subtle: rgba(0, 0, 0, 0.08);
    --border-light-medium: rgba(0, 0, 0, 0.14);
    --border-gold: rgba(184, 142, 61, 0.35);
    
    --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.12);
    
    /* Typography */
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-display: 'Syne', sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing & Layout */
    --site-max-width: 1440px;
    --section-padding: clamp(60px, 10vw, 120px);
    --border-radius-sm: 6px;
    --border-radius-md: 12px;
    --border-radius-lg: 20px;
    --border-radius-pill: 999px;
    
    /* Transitions */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: 0.25s var(--ease-out-expo);
    --transition-medium: 0.5s var(--ease-out-expo);
    --transition-slow: 0.9s var(--ease-out-expo);
}

/* Reset & Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-light);
    color: var(--text-dark);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-light);
}
::-webkit-scrollbar-thumb {
    background: #c5bba8;
    border-radius: 4px;
    border: 2px solid var(--bg-light);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-gold);
}

/* Section Background Variations */
.section-light-primary {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.section-light-alt {
    background-color: var(--bg-surface-light);
    color: var(--text-dark);
}

.section-light-cream {
    background-color: var(--bg-surface-alt);
    color: var(--text-dark);
}

.section-dark-theme {
    background-color: var(--bg-dark);
    color: var(--text-primary);
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.section-dark-theme h1,
.section-dark-theme h2,
.section-dark-theme h3,
.section-dark-theme h4,
.section-dark-theme h5,
.section-dark-theme h6 {
    color: var(--text-primary);
}

.font-display {
    font-family: var(--font-display);
}

.eyebrow {
    font-family: var(--font-body);
    font-size: clamp(0.75rem, 1.5vw, 0.875rem);
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--accent-gold);
    font-weight: 600;
    margin-bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.eyebrow::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 1px;
    background-color: var(--accent-gold);
}

.heading-xl {
    font-size: clamp(2.5rem, 5vw, 4.75rem);
    line-height: 1.05;
}

.heading-lg {
    font-size: clamp(2rem, 3.8vw, 3.5rem);
    line-height: 1.12;
}

.heading-md {
    font-size: clamp(1.5rem, 2.5vw, 2.25rem);
    line-height: 1.2;
}

.heading-sm {
    font-size: clamp(1.25rem, 1.8vw, 1.5rem);
    line-height: 1.3;
}

.body-lead {
    font-size: clamp(1.05rem, 1.4vw, 1.25rem);
    color: var(--text-dark-secondary);
    font-weight: 300;
    line-height: 1.7;
    text-align: justify;
}

.section-dark-theme .body-lead {
    color: var(--text-secondary);
}

.body-muted {
    color: var(--text-dark-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: justify;
}

.section-dark-theme .body-muted {
    color: var(--text-secondary);
}

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

/* Global Layout Containers */
.container {
    width: 100%;
    max-width: var(--site-max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(20px, 4vw, 60px);
    padding-right: clamp(20px, 4vw, 60px);
}

@media (max-width: 576px) {
    html, body {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    .container {
        padding-left: 10px !important;
        padding-right: 10px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
}

.section-padding {
    padding-top: var(--section-padding);
    padding-bottom: var(--section-padding);
}

.section-header {
    margin-bottom: clamp(40px, 6vw, 70px);
}

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

.section-header.text-center .eyebrow {
    justify-content: center;
}

.section-header.text-center .eyebrow::before {
    display: inline-block;
}

.section-header.text-center .eyebrow::after {
    content: '';
    display: inline-block;
    width: 24px;
    height: 1px;
    background-color: var(--accent-gold);
}

.section-header.text-center .body-lead,
.section-header.text-center .body-muted,
.section-header.text-center p,
.text-center .body-lead,
.text-center .body-muted,
.text-center p {
    text-align: center !important;
}

/* Buttons */
.btn-primary-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-bronze) 100%);
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.80rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-medium);
    box-shadow: 0 4px 16px rgba(184, 142, 61, 0.25);
}

.btn-primary-gold::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.btn-primary-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(184, 142, 61, 0.4);
    color: #ffffff;
}

.btn-primary-gold:hover::before {
    left: 100%;
}

.btn-outline-dark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 36px;
    background: transparent;
    color: var(--text-dark);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-light-medium);
    cursor: pointer;
    transition: all var(--transition-medium);
}

.btn-outline-dark:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    background: rgba(184, 142, 61, 0.08);
    transform: translateY(-2px);
}

.btn-outline-light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 36px;
    background: transparent;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: var(--border-radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.25);
    cursor: pointer;
    transition: all var(--transition-medium);
}

.btn-outline-light:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    background: rgba(184, 142, 61, 0.1);
    transform: translateY(-2px);
}

.btn-arrow-icon {
    display: inline-flex;
    transition: transform var(--transition-fast);
}

.btn-primary-gold:hover .btn-arrow-icon,
.btn-outline-dark:hover .btn-arrow-icon,
.btn-outline-light:hover .btn-arrow-icon {
    transform: translateX(5px);
}

/* Custom Cursor (Desktop Only) */
@media (min-width: 992px) {
    .custom-cursor-dot {
        position: fixed;
        top: 0;
        left: 0;
        width: 8px;
        height: 8px;
        background-color: var(--accent-gold);
        border-radius: 50%;
        pointer-events: none;
        z-index: 9999;
        will-change: transform;
        transition: opacity 0.3s ease;
    }
    
    .custom-cursor-ring {
        position: fixed;
        top: 0;
        left: 0;
        width: 40px;
        height: 40px;
        border: 1px solid rgba(184, 142, 61, 0.5);
        border-radius: 50%;
        pointer-events: none;
        z-index: 9998;
        will-change: transform;
        transition: width 0.3s ease, height 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .custom-cursor-ring span {
        font-size: 0.65rem;
        font-weight: 700;
        letter-spacing: 0.1em;
        color: #ffffff;
        opacity: 0;
        transition: opacity 0.2s ease;
    }
    
    .custom-cursor-ring.active-view {
        width: 70px;
        height: 70px;
        background-color: var(--accent-gold);
        border-color: var(--accent-gold);
    }
    .custom-cursor-ring.active-view span {
        opacity: 1;
    }
    
    .custom-cursor-ring.active-play {
        width: 70px;
        height: 70px;
        background-color: var(--text-dark);
        border-color: var(--text-dark);
    }
    .custom-cursor-ring.active-play span {
        opacity: 1;
        color: #ffffff;
    }
    
    .custom-cursor-ring.active-hover {
        width: 55px;
        height: 55px;
        border-color: var(--accent-gold);
        background-color: rgba(184, 142, 61, 0.1);
    }
}

/* Background Architectural Grid Lines for Light Theme */
.bg-grid-lines {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.03) 1px, transparent 1px),
                      linear-gradient(to bottom, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
    background-size: 80px 80px;
    pointer-events: none;
    z-index: 0;
}

/* Scroll Reveal Animations (Vanilla IntersectionObserver) */
.reveal-init {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.reveal-init.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-clip {
    clip-path: inset(8% 0 0 0);
    opacity: 0.85;
    transition: clip-path 1.2s var(--ease-out-expo), opacity 0.8s var(--ease-out-expo);
}

.reveal-clip.reveal-visible {
    clip-path: inset(0 0 0 0);
    opacity: 1;
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
}

.reveal-scale.reveal-visible {
    opacity: 1;
    transform: scale(1);
}

/* Delay Stagger Helpers */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }

/* ==========================================================================
   HINDI TYPOGRAPHY ADAPTATION (AUTOMATIC SCALING & ELEGANT WEIGHTS)
   Scales down headers and reduces font-weight from heavy bold to elegant 600/500
   ========================================================================== */
html.lang-hi,
body.lang-hi {
    --font-heading: 'Noto Sans Devanagari', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Noto Sans Devanagari', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* All headings & card titles font-weight reduction in Hindi */
html.lang-hi h1,
body.lang-hi h1,
html.lang-hi h2,
body.lang-hi h2,
html.lang-hi h3,
body.lang-hi h3,
html.lang-hi h4,
body.lang-hi h4,
html.lang-hi h5,
body.lang-hi h5,
html.lang-hi h6,
body.lang-hi h6,
html.lang-hi .heading-xl,
body.lang-hi .heading-xl,
html.lang-hi .heading-lg,
body.lang-hi .heading-lg,
html.lang-hi .heading-md,
body.lang-hi .heading-md,
html.lang-hi .heading-sm,
body.lang-hi .heading-sm,
html.lang-hi .hero-title,
body.lang-hi .hero-title,
html.lang-hi .service-title,
body.lang-hi .service-title,
html.lang-hi .leader-name,
body.lang-hi .leader-name,
html.lang-hi .timeline-title,
body.lang-hi .timeline-title,
html.lang-hi .installment-persona-title,
body.lang-hi .installment-persona-title,
html.lang-hi .project-card-title,
body.lang-hi .project-card-title,
html.lang-hi .trust-title-gradient,
body.lang-hi .trust-title-gradient {
    font-weight: 600 !important;
    letter-spacing: 0 !important;
}

/* Hero Title in Hindi - Large, Prominent & Majestic */
html.lang-hi .hero-title,
body.lang-hi .hero-title {
    font-size: clamp(2.6rem, 5.8vw, 4.6rem) !important;
    line-height: 1.22 !important;
    font-weight: 600 !important;
}

/* Other Headings in Hindi - Compact & Clean */
html.lang-hi h1:not(.hero-title),
body.lang-hi h1:not(.hero-title),
html.lang-hi .heading-xl,
body.lang-hi .heading-xl {
    font-size: clamp(1.8rem, 3.2vw, 2.5rem) !important;
    line-height: 1.3 !important;
}

html.lang-hi h2,
body.lang-hi h2,
html.lang-hi .heading-lg,
body.lang-hi .heading-lg,
html.lang-hi .section-header h2,
body.lang-hi .section-header h2 {
    font-size: clamp(1.35rem, 2.2vw, 1.95rem) !important;
    line-height: 1.35 !important;
}

html.lang-hi h3,
body.lang-hi h3,
html.lang-hi .heading-md,
body.lang-hi .heading-md {
    font-size: clamp(1.1rem, 1.6vw, 1.35rem) !important;
    line-height: 1.4 !important;
}

html.lang-hi h4,
body.lang-hi h4,
html.lang-hi .heading-sm,
body.lang-hi .heading-sm,
html.lang-hi .service-title,
body.lang-hi .service-title,
html.lang-hi .installment-persona-title,
body.lang-hi .installment-persona-title,
html.lang-hi .timeline-title,
body.lang-hi .timeline-title {
    font-size: clamp(0.95rem, 1.2vw, 1.08rem) !important;
    line-height: 1.45 !important;
}

html.lang-hi .leader-name,
body.lang-hi .leader-name {
    font-size: 1.15rem !important;
}

html.lang-hi .eyebrow,
body.lang-hi .eyebrow {
    font-size: 0.72rem !important;
    letter-spacing: 0.08em !important;
    font-weight: 600 !important;
}

html.lang-hi .nav-link,
body.lang-hi .nav-link {
    font-size: 0.82rem !important;
    letter-spacing: 0.02em !important;
    font-weight: 500 !important;
}

html.lang-hi .mobile-nav-link,
body.lang-hi .mobile-nav-link {
    font-size: 1.25rem !important;
    font-weight: 500 !important;
}

html.lang-hi .dropdown-link,
body.lang-hi .dropdown-link {
    font-size: 0.82rem !important;
    font-weight: 500 !important;
}

html.lang-hi .btn-primary-gold,
body.lang-hi .btn-primary-gold,
html.lang-hi .btn-outline-light,
body.lang-hi .btn-outline-light,
html.lang-hi .btn-outline-dark,
body.lang-hi .btn-outline-dark {
    font-size: 0.95rem !important;
    letter-spacing: 0.04em !important;
    font-weight: 600 !important;
    padding: 14px 30px !important;
}

html.lang-hi .hero-actions .btn-primary-gold,
body.lang-hi .hero-actions .btn-primary-gold,
html.lang-hi .hero-actions .btn-outline-light,
body.lang-hi .hero-actions .btn-outline-light {
    font-size: 1rem !important;
    padding: 16px 36px !important;
    font-weight: 600 !important;
}

html.lang-hi .scroll-text,
body.lang-hi .scroll-text {
    font-size: 0.88rem !important;
    letter-spacing: 0.04em !important;
    font-weight: 600 !important;
}

html.lang-hi .body-lead,
body.lang-hi .body-lead {
    font-size: clamp(0.9rem, 1.1vw, 1.05rem) !important;
    line-height: 1.75 !important;
    font-weight: 400 !important;
}

html.lang-hi .body-muted,
body.lang-hi .body-muted,
html.lang-hi .service-desc,
body.lang-hi .service-desc,
html.lang-hi .leader-bio,
body.lang-hi .leader-bio,
html.lang-hi p {
    font-size: 0.85rem !important;
    line-height: 1.65 !important;
    font-weight: 400 !important;
}

