/* ═══════════════════════════════════════════
   NOIDALUXURY — HOME PAGE DESIGN SYSTEM
   Path: public/css/home.css
═══════════════════════════════════════════ */

:root {
    --dark: #0b1e14;
    --dark-mid: #112a1c;
    --accent: #1B6B5A;
    --gold: #C9A84C;
    --gold-light: #e8cc7e;
    --cream: #faf6ed;
    --light-green: #f0f7f3;
    --text-dark: #1a2622;
    --text-muted: #5a6b65;
    --border: #e0ede9;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'DM Sans', sans-serif;
    color: var(--text-dark);
    margin: 0;
    background: #fff;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; }

/* ─── HERO ─── */
.nl-hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    max-height: 900px;
    overflow: hidden;
    display: flex;
    align-items: center;
}
.nl-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.nl-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(11,30,20,.82) 0%, rgba(11,30,20,.55) 50%, rgba(11,30,20,.35) 100%);
    z-index: 1;
}
.nl-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 0 0 60px;
}
.nl-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(201,168,76,.15);
    border: 1px solid rgba(201,168,76,.35);
    border-radius: 20px;
    padding: 5px 14px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 20px;
}
.nl-hero-eyebrow::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    animation: blink 2s infinite;
}
@keyframes blink { 0%,100%{opacity:1;} 50%{opacity:.3;} }
.nl-hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 700;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 20px;
    max-width: 720px;
}
.nl-hero h1 .nowrap { white-space: nowrap; }
.nl-hero h1 em {
    font-style: italic;
    background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.nl-hero-sub {
    font-size: 16px;
    color: rgba(255,255,255,.75);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 560px;
}
.nl-hero-kpis {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 36px;
}
.nl-kpi {
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(201,168,76,.2);
    border-radius: 10px;
    padding: 10px 14px;
    backdrop-filter: blur(8px);
    flex: 1 1 calc(50% - 5px);
    min-width: 0;
}
.nl-kpi-val {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    display: block;
}
.nl-kpi-lbl {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,.6);
    margin-top: 3px;
    display: block;
}
.nl-hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

/* ─── BUTTONS ─── */
.btn-gold {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 24px;
    border-radius: 8px;
    background: var(--gold);
    color: #0b1e14;
    font-size: 13px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all .25s;
    font-family: 'DM Sans', sans-serif;
    text-decoration: none;
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(201,168,76,.4); color: #0b1e14; }
.btn-outline-gold {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 8px;
    background: transparent;
    border: 1.5px solid var(--gold);
    color: var(--gold);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all .25s;
    font-family: 'DM Sans', sans-serif;
    text-decoration: none;
}
.btn-outline-gold:hover { background: var(--gold); color: #0b1e14; }
.btn-wa {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 20px;
    border-radius: 8px;
    background: #25D366;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all .25s;
}
.btn-wa:hover { background: #128C7E; color: #fff; transform: translateY(-2px); }
.btn-sm-cta { font-size: 13px; padding: 11px 22px; }
.btn-view-all { color: var(--accent); border-color: var(--border); background: #fff; }
.btn-view-all:hover { background: var(--gold); color: #0b1e14; border-color: var(--gold); }

/* ─── SCROLL INDICATOR ─── */
.scroll-indicator {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,.4);
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    animation: fadeInUp 2s ease 1.5s both;
}
.scroll-indicator .mouse {
    width: 20px;
    height: 32px;
    border: 1.5px solid rgba(255,255,255,.3);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    padding-top: 5px;
}
.scroll-indicator .wheel {
    width: 3px;
    height: 6px;
    background: rgba(255,255,255,.5);
    border-radius: 2px;
    animation: scroll 1.8s infinite;
}
@keyframes scroll { 0%{transform:translateY(0);opacity:1;} 100%{transform:translateY(10px);opacity:0;} }
@keyframes fadeInUp { from{opacity:0;transform:translate(-50%,10px);} to{opacity:1;transform:translate(-50%,0);} }

/* ─── TRUST BAR ─── */
.trust-bar {
    background: var(--dark);
    border-bottom: 1px solid rgba(201,168,76,.15);
    padding: 0;
    overflow: hidden;
}
.trust-bar-inner {
    display: flex;
    align-items: stretch;
}
.trust-item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    border-right: 1px solid rgba(255,255,255,.06);
    transition: background .2s;
    min-width: 0;
}
.trust-item:last-child { border-right: none; }
.trust-item:hover { background: rgba(201,168,76,.06); }
.trust-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(201,168,76,.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--gold);
    font-size: 15px;
}
.trust-text strong {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    line-height: 1.2;
}
.trust-text span {
    font-size: 11px;
    color: rgba(255,255,255,.45);
}

/* ─── SECTION STRUCTURE ─── */
.nl-section { padding: 72px 0; }
.nl-section.cream { background: var(--cream); }
.nl-section.green { background: var(--light-green); }
.nl-section.dark { background: var(--dark); }
.section-eyebrow {
    display: inline-block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 8px;
}
.section-headline {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.2;
}
.section-headline span { color: var(--gold); }
.section-headline.light { color: #fff; }
.section-lead {
    font-size: 14.5px;
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 640px;
}
.nl-divider {
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), transparent);
    margin-bottom: 24px;
}

/* ─── FILTER BAR ─── */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 36px;
    -webkit-overflow-scrolling: touch;
}
.filter-btn {
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 12.5px;
    font-weight: 600;
    font-family: 'DM Sans', sans-serif;
    border: 1.5px solid var(--border);
    background: #fff;
    color: var(--text-muted);
    cursor: pointer;
    transition: all .2s;
}
.filter-btn:hover,
.filter-btn.active {
    background: var(--dark);
    border-color: var(--dark);
    color: #fff;
}

/* ─── PROJECT CARDS ─── */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 22px;
}
.project-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,.07);
    border: 1px solid var(--border);
    transition: transform .28s, box-shadow .28s;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    position: relative;
}
.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0,0,0,.13);
}
.project-card.hidden { display: none; }
.project-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}
.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s;
}
.project-card:hover .project-img img { transform: scale(1.07); }
.status-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.badge-ready { background: #0d8a52; color: #fff; }
.badge-under { background: var(--gold); color: #0b1e14; }
.type-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 10.5px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    background: rgba(11,30,20,.75);
    color: rgba(255,255,255,.9);
    backdrop-filter: blur(4px);
}
.project-body {
    padding: 16px 18px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.project-developer {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 4px;
}
.project-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
    line-height: 1.2;
}
.project-location {
    font-size: 11.5px;
    color: var(--text-muted);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.project-location i { color: var(--gold); font-size: 10px; }
.project-desc {
    font-size: 12.5px;
    color: var(--text-muted);
    margin-bottom: 12px;
    flex: 1;
    line-height: 1.5;
}
.project-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 12px;
    display: flex;
    align-items: baseline;
    gap: 4px;
}
.project-price span {
    font-size: 11px;
    font-weight: 400;
    color: var(--text-muted);
}
.project-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}
.project-rera {
    font-size: 10px;
    color: var(--text-muted);
    font-style: italic;
}
.project-cta {
    font-size: 11.5px;
    font-weight: 600;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 4px;
    transition: gap .2s;
}
.project-card:hover .project-cta { gap: 8px; }

/* ─── WHY SECTION ─── */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}
.why-card {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(201,168,76,.15);
    border-radius: 12px;
    padding: 24px 20px;
    transition: background .2s, border-color .2s;
}
.why-card:hover {
    background: rgba(201,168,76,.07);
    border-color: rgba(201,168,76,.35);
}
.why-icon {
    width: 44px;
    height: 44px;
    background: rgba(201,168,76,.12);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 18px;
    margin-bottom: 14px;
}
.why-title {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 6px;
}
.why-desc {
    font-size: 12.5px;
    color: rgba(255,255,255,.5);
    line-height: 1.6;
}

/* ─── TESTIMONIALS ─── */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 18px;
}
.t-card {
    background: #fff;
    border-radius: 12px;
    padding: 22px 22px 18px;
    border: 1px solid var(--border);
    border-top: 3px solid var(--gold);
    box-shadow: 0 4px 16px rgba(0,0,0,.05);
    display: flex;
    flex-direction: column;
}
.t-stars {
    color: var(--gold);
    font-size: 13px;
    margin-bottom: 10px;
    letter-spacing: 2px;
}
.t-text {
    font-size: 13px;
    color: var(--text-dark);
    line-height: 1.7;
    font-style: italic;
    flex: 1;
    margin-bottom: 14px;
}
.t-author {
    display: flex;
    align-items: center;
    gap: 10px;
}
.t-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--light-green);
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    color: var(--accent);
    flex-shrink: 0;
}
.t-name { font-size: 13px; font-weight: 600; color: var(--text-dark); }
.t-detail { font-size: 11px; color: var(--text-muted); }

/* ─── BLOG CARDS ─── */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}
.blog-card {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,.05);
    transition: transform .25s, box-shadow .25s;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(0,0,0,.1); }
.blog-img {
    overflow: hidden;
    aspect-ratio: 16/9;
}
.blog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.blog-card:hover .blog-img img { transform: scale(1.05); }
.blog-body { padding: 16px 18px 18px; flex: 1; display: flex; flex-direction: column; }
.blog-tag {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    margin-bottom: 6px;
}
.blog-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.3;
}
.blog-excerpt {
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.6;
    flex: 1;
    margin-bottom: 12px;
}
.blog-read {
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ─── CTA BANNER ─── */
.cta-banner {
    background: linear-gradient(135deg, #0b1e14 0%, #112a1c 60%, #0d2117 100%);
    padding: 72px 0;
    position: relative;
    overflow: hidden;
}
.cta-banner::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(201,168,76,.1) 0%, transparent 70%);
    pointer-events: none;
}
.cta-banner::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(201,168,76,.07) 0%, transparent 70%);
    pointer-events: none;
}
.cta-banner-inner { position: relative; z-index: 1; }
.cta-eyebrow { display: block; text-align: center; margin-bottom: 12px; }
.cta-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 14px;
    line-height: 1.15;
}
.cta-title em {
    font-style: italic;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.cta-sub {
    color: rgba(255,255,255,.65);
    font-size: 15px;
    max-width: 520px;
    margin: 0 auto 32px;
}

/* ─── ENQUIRY MODAL ─── */
.home-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.7);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}
.home-modal.active { display: flex; }
.home-modal-inner {
    background: #fff;
    border-radius: 14px;
    padding: 28px;
    max-width: 420px;
    width: 90%;
    position: relative;
    box-shadow: 0 24px 60px rgba(0,0,0,.4);
    max-height: 90vh;
    overflow-y: auto;
}
.home-modal-close {
    position: absolute;
    top: 12px;
    right: 14px;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
}
.home-modal-close:hover { color: var(--text-dark); }
.home-modal h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 18px;
}
.home-modal input,
.home-modal textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 11px;
    font-size: 13px;
    font-family: 'DM Sans', sans-serif;
    color: var(--text-dark);
    background: #fff;
}
.home-modal input:focus,
.home-modal textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(27,107,90,.12);
}
.home-modal textarea { resize: vertical; min-height: 70px; }
.home-consent {
    font-size: 10.5px;
    color: var(--text-muted);
    margin-bottom: 10px;
}
.home-submit {
    width: 100%;
    padding: 12px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    transition: background .2s;
}
.home-submit:hover { background: #155748; }

/* Validation */
.is-invalid { border-color: #dc3545 !important; }
.invalid-feedback {
    display: block;
    font-size: 11px;
    color: #dc3545;
    margin: -6px 0 8px;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 992px) {
    .trust-bar-inner { flex-wrap: wrap; }
    .trust-item { flex: 1 1 50%; border-bottom: 1px solid rgba(255,255,255,.06); }
    .project-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
    .nl-hero h1 { font-size: clamp(2rem, 7vw, 3.2rem); }
}
@media (max-width: 768px) {
    .nl-section { padding: 52px 0; }
    .trust-item { flex: 1 1 50%; }
    .nl-hero h1 { font-size: 2rem; }
    .why-grid { grid-template-columns: 1fr 1fr; }
    .blog-grid { grid-template-columns: 1fr; }
    .testimonial-grid { grid-template-columns: 1fr; }
    .project-card:hover { transform: none; box-shadow: 0 4px 20px rgba(0,0,0,.07); }
    .blog-card:hover { transform: none; }
    .project-card, .blog-card, .why-card { touch-action: manipulation; }
}
@media (max-width: 576px) {
    .nl-hero { min-height: 100svh; }
    .nl-hero-kpis { gap: 8px; }
    .project-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .filter-bar { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
    .filter-bar::-webkit-scrollbar { display: none; }
    .filter-btn { flex-shrink: 0; }
    .nl-hero h1 { font-size: 1.85rem; }
    .nl-hero-ctas { gap: 8px; }
    .nl-hero-ctas .btn-gold,
    .nl-hero-ctas .btn-wa { flex: 1 1 calc(50% - 4px); justify-content: center; }
    .nl-hero-ctas .btn-outline-gold { width: 100%; justify-content: center; }
    .nl-hero-sub { font-size: 14px; }
    .nl-section { padding: 44px 0; }
    .project-body { padding: 14px 15px 16px; }
    .cta-banner { padding: 52px 0; }
}

/* ─── SCROLL REVEAL (injected on load) ─── */
.reveal-item {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .55s ease, transform .55s ease;
}
.reveal-item.in-view {
    opacity: 1;
    transform: translateY(0);
}
