/* ============================================
   OPTION 2 — LIGHT EDITORIAL ELEGANT
   Dhurve Builders | dhurvebuilders.co.in
   ============================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg: #fafaf8;
    --bg-cream: #f5f0e8;
    --bg-dark: #1a2332;
    --navy: #1a2332;
    --navy-light: #2d3a4e;
    --accent: #8b6f4e;
    --accent-light: #b8976a;
    --text: #1a2332;
    --text-muted: #6b7280;
    --border: rgba(26,35,50,0.1);
    --white: #ffffff;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Preloader */
.preloader {
    position: fixed; inset: 0; z-index: 10000;
    background: var(--bg);
    display: flex; align-items: center; justify-content: center;
    flex-direction: column; gap: 1.5rem;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}
.preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-logo {
    font-family: var(--font-heading);
    font-size: 2rem; font-weight: 500;
    color: var(--navy); letter-spacing: 0.2em;
}
.preloader-bar { width: 200px; height: 1px; background: var(--border); position: relative; overflow: hidden; }
.preloader-bar::after {
    content: ''; position: absolute; left: 0; top: 0;
    width: 100%; height: 100%; background: var(--navy);
    animation: loadBar 1.5s ease forwards;
}
@keyframes loadBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Navbar */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 1.25rem 3rem;
    display: flex; align-items: center; justify-content: space-between;
    background: rgba(250,250,248,0.9);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid transparent;
    transition: all 0.4s ease;
}
.navbar.scrolled { border-bottom: 1px solid var(--border); padding: 0.8rem 3rem; }
.nav-logo {
    font-family: var(--font-heading); font-size: 1.3rem;
    font-weight: 600; color: var(--navy);
    text-decoration: none; letter-spacing: 0.05em;
}
.nav-links { display: flex; align-items: center; gap: 2.5rem; list-style: none; }
.nav-links a {
    color: var(--text-muted); text-decoration: none;
    font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase;
    font-weight: 400; transition: color 0.3s ease; position: relative;
}
.nav-links a::after {
    content: ''; position: absolute; bottom: -4px; left: 0;
    width: 0; height: 1px; background: var(--navy);
    transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--navy); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
    padding: 0.6rem 1.6rem !important;
    background: var(--navy) !important; color: var(--white) !important;
    border-radius: 0; font-weight: 500 !important;
    transition: background 0.3s ease !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--navy-light) !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; z-index: 1001; }
.hamburger span { width: 25px; height: 1.5px; background: var(--navy); transition: 0.3s ease; }

/* Hero */
.hero {
    min-height: 100vh; display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center; padding: 8rem 3rem 4rem;
    max-width: 1400px; margin: 0 auto;
    gap: 4rem;
}
.hero-text { max-width: 550px; }
.hero-tag {
    font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase;
    color: var(--accent); margin-bottom: 1.5rem; display: block;
    opacity: 0; transform: translateY(20px);
}
.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 500; line-height: 1.15;
    color: var(--navy); margin-bottom: 1.5rem;
    opacity: 0; transform: translateY(40px);
}
.hero h1 em { font-style: italic; color: var(--accent); }
.hero-sub {
    font-size: 1rem; color: var(--text-muted);
    line-height: 1.9; margin-bottom: 2.5rem;
    opacity: 0; transform: translateY(30px);
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; opacity: 0; transform: translateY(20px); }
.btn-primary {
    padding: 1rem 2.5rem; background: var(--navy);
    color: var(--white); font-size: 0.75rem; font-weight: 600;
    letter-spacing: 0.15em; text-transform: uppercase;
    text-decoration: none; border: none; cursor: pointer;
    transition: all 0.3s ease; display: inline-flex;
    align-items: center; gap: 0.75rem;
}
.btn-primary:hover { background: var(--navy-light); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(26,35,50,0.2); }
.btn-outline {
    padding: 1rem 2.5rem; background: transparent;
    border: 1px solid var(--navy); color: var(--navy);
    font-size: 0.75rem; font-weight: 500;
    letter-spacing: 0.15em; text-transform: uppercase;
    text-decoration: none; cursor: pointer; transition: all 0.3s ease;
}
.btn-outline:hover { background: var(--navy); color: var(--white); }

.hero-image {
    position: relative; opacity: 0; transform: translateX(60px);
}
.hero-image img {
    width: 100%; aspect-ratio: 4/5; object-fit: cover;
}
.hero-image-frame {
    position: absolute; top: -1.5rem; right: -1.5rem;
    width: 100%; height: 100%;
    border: 1px solid var(--accent); opacity: 0.4;
}

/* Section styles */
.section-header { text-align: center; margin-bottom: 4rem; }
.section-tag {
    font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase;
    color: var(--accent); margin-bottom: 1rem; display: block;
}
.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 500; line-height: 1.2; color: var(--navy);
}
.section-divider {
    width: 60px; height: 1px; background: var(--accent);
    margin: 1.5rem auto 0;
}

/* Stats */
.stats { padding: 5rem 3rem; background: var(--bg-cream); }
.stats-grid {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 2rem; text-align: center;
}
.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 400; color: var(--navy); line-height: 1;
}
.stat-number span { font-size: 0.6em; color: var(--accent); }
.stat-label {
    font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase;
    color: var(--text-muted); margin-top: 0.75rem;
}

/* About */
.about { padding: 8rem 3rem; max-width: 1400px; margin: 0 auto; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-img img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.about-text p { font-size: 1rem; line-height: 1.9; color: var(--text-muted); margin-bottom: 1.5rem; }
.about-text p:first-child { font-size: 1.15rem; color: var(--text); }

/* Services */
.services { padding: 8rem 3rem; background: var(--bg-cream); }
.services-grid {
    max-width: 1200px; margin: 3rem auto 0;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
}
.service-card {
    background: var(--white); border: 1px solid var(--border);
    padding: 2.5rem 2rem; transition: all 0.4s ease;
}
.service-card:hover { transform: translateY(-5px); box-shadow: 0 20px 50px rgba(26,35,50,0.08); }
.service-icon { font-size: 1.5rem; color: var(--accent); margin-bottom: 1.25rem; display: block; }
.service-card h3 {
    font-family: var(--font-heading); font-size: 1.35rem;
    font-weight: 500; color: var(--navy); margin-bottom: 0.75rem;
}
.service-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; }

/* Projects */
.projects { padding: 8rem 3rem; }
.projects-grid {
    max-width: 1400px; margin: 3rem auto 0;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.project-card { position: relative; overflow: hidden; cursor: pointer; aspect-ratio: 3/4; }
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.project-card:hover img { transform: scale(1.05); }
.project-info {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 2rem; background: linear-gradient(to top, rgba(26,35,50,0.9), transparent);
    transform: translateY(20px); opacity: 0; transition: all 0.4s ease;
}
.project-card:hover .project-info { transform: translateY(0); opacity: 1; }
.project-info span { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-light); }
.project-info h3 { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 400; color: var(--white); margin-top: 0.5rem; }

/* Testimonials */
.testimonials { padding: 8rem 3rem; background: var(--navy); }
.testimonials .section-tag { color: var(--accent-light); }
.testimonials .section-title { color: var(--white); }
.testimonial-card {
    max-width: 800px; margin: 3rem auto 0;
    text-align: center; padding: 3rem;
}
.testimonial-quote { font-family: var(--font-heading); font-size: 4rem; color: var(--accent-light); line-height: 1; margin-bottom: 1rem; }
.testimonial-card p { font-size: 1.15rem; line-height: 1.9; color: rgba(255,255,255,0.7); font-style: italic; margin-bottom: 2rem; }
.testimonial-author { color: var(--accent-light); font-size: 0.85rem; letter-spacing: 0.15em; text-transform: uppercase; }

/* FAQ */
.faq-section { padding: 8rem 3rem; }
.faq-container { max-width: 800px; margin: 3rem auto 0; }
.faq-item {
    border-bottom: 1px solid var(--border); padding: 1.5rem 0; cursor: pointer;
}
.faq-header { display: flex; justify-content: space-between; align-items: center; }
.faq-header h3 { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 500; color: var(--navy); }
.faq-header span { color: var(--accent); font-size: 1.5rem; transition: transform 0.3s; }
.faq-item p {
    color: var(--text-muted); font-size: 0.9rem; line-height: 1.8;
    max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease;
}

/* CTA */
.cta { padding: 8rem 3rem; text-align: center; background: var(--bg-cream); }
.cta h2 { font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 3rem); font-weight: 500; color: var(--navy); margin-bottom: 1rem; }
.cta p { color: var(--text-muted); margin-bottom: 2.5rem; font-size: 1.05rem; }

/* Footer */
.footer { padding: 5rem 3rem 2rem; border-top: 1px solid var(--border); }
.footer-grid {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem; margin-bottom: 4rem;
}
.footer-brand h3 { font-family: var(--font-heading); font-size: 1.4rem; color: var(--navy); margin-bottom: 1rem; }
.footer-brand p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; max-width: 300px; }
.footer-col h4 { font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--navy); margin-bottom: 1.5rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.75rem; }
.footer-col a { color: var(--text-muted); text-decoration: none; font-size: 0.85rem; transition: color 0.3s ease; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
    max-width: 1200px; margin: 0 auto; padding-top: 2rem;
    border-top: 1px solid var(--border);
    display: flex; justify-content: space-between; align-items: center;
}
.footer-bottom p { color: var(--text-muted); font-size: 0.75rem; }
.footer-bottom a { color: var(--accent); text-decoration: none; }
.back-link { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--accent); text-decoration: none; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; }

/* Responsive */
@media (max-width: 1024px) {
    .hero { grid-template-columns: 1fr; padding-top: 7rem; }
    .hero-image { max-width: 500px; }
    .services-grid, .projects-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .navbar { padding: 1rem 1.5rem; }
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .nav-links.active {
        display: flex; flex-direction: column;
        position: fixed; inset: 0; background: var(--bg);
        justify-content: center; align-items: center;
        gap: 2rem; z-index: 1000;
    }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { grid-template-columns: 1fr; }
    .services-grid, .projects-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}
