/* ============================================
   OPTION 4 — WARM ORGANIC EARTH
   ============================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
    --bg: #f7f2ec;
    --bg-warm: #e8ddd0;
    --bg-dark: #2d3a2e;
    --terracotta: #c4704b;
    --terracotta-light: #d88b6a;
    --green: #2d3a2e;
    --green-light: #4a5e4c;
    --stone: #a89279;
    --text: #2d3a2e;
    --text-muted: #7a7265;
    --border: rgba(45,58,46,0.12);
    --white: #ffffff;
    --font-heading: 'DM Serif Display', serif;
    --font-body: 'Plus Jakarta Sans', 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; color: var(--green); letter-spacing: 0.1em; }
.preloader-bar { width: 200px; height: 1px; background: var(--border); position: relative; overflow: hidden; border-radius: 10px; }
.preloader-bar::after {
    content: ''; position: absolute; left: 0; top: 0;
    width: 100%; height: 100%; background: var(--terracotta);
    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;
    transition: all 0.4s ease;
}
.navbar.scrolled { background: rgba(247,242,236,0.92); backdrop-filter: blur(15px); padding: 0.8rem 3rem; border-bottom: 1px solid var(--border); }
.nav-logo { font-family: var(--font-heading); font-size: 1.3rem; color: var(--green); text-decoration: none; }
.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: 500;
    transition: color 0.3s; position: relative;
}
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1px; background: var(--terracotta); transition: width 0.3s; }
.nav-links a:hover { color: var(--terracotta); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
    padding: 0.6rem 1.6rem !important; background: var(--terracotta) !important;
    color: var(--white) !important; border-radius: 100px; font-weight: 600 !important;
    transition: all 0.3s ease !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--terracotta-light) !important; transform: translateY(-2px); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; z-index: 1001; }
.hamburger span { width: 25px; height: 1.5px; background: var(--green); transition: 0.3s; }

/* Hero */
.hero { position: relative; min-height: 100vh; overflow: hidden; display: flex; align-items: center; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.7); }
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(247,242,236,0.85) 0%, rgba(247,242,236,0.4) 60%, transparent 100%);
    z-index: 1;
}
/* Organic curved shape */
.hero-curve {
    position: absolute; bottom: -2px; left: 0; right: 0; z-index: 2;
}
.hero-curve svg { width: 100%; height: auto; display: block; }
.hero-content { position: relative; z-index: 3; max-width: 650px; padding: 8rem 3rem 6rem; }
.hero-tag {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-size: 0.7rem; letter-spacing: 0.25em; text-transform: uppercase;
    color: var(--terracotta); margin-bottom: 1.5rem;
    opacity: 0; transform: translateY(20px);
}
.hero-tag-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--terracotta); }
.hero h1 {
    font-family: var(--font-heading); font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 400; line-height: 1.15; color: var(--green);
    margin-bottom: 1.5rem; opacity: 0; transform: translateY(40px);
}
.hero h1 em { color: var(--terracotta); font-style: italic; }
.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(--terracotta); color: var(--white);
    font-size: 0.75rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase;
    text-decoration: none; border: none; cursor: pointer; border-radius: 100px;
    transition: all 0.3s ease; display: inline-flex; align-items: center; gap: 0.75rem;
}
.btn-primary:hover { background: var(--terracotta-light); transform: translateY(-3px); box-shadow: 0 10px 30px rgba(196,112,75,0.25); }
.btn-outline {
    padding: 1rem 2.5rem; background: transparent; border: 1px solid var(--green);
    color: var(--green); font-size: 0.75rem; font-weight: 500;
    letter-spacing: 0.15em; text-transform: uppercase; text-decoration: none;
    cursor: pointer; border-radius: 100px; transition: all 0.3s ease;
}
.btn-outline:hover { background: var(--green); color: var(--white); }

/* Stats */
.stats { padding: 5rem 3rem; background: var(--bg); }
.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); color: var(--green); line-height: 1; }
.stat-number span { color: var(--terracotta); font-size: 0.6em; }
.stat-label { font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-muted); margin-top: 0.75rem; }

/* Sections */
.section-header { text-align: center; margin-bottom: 4rem; }
.section-tag { font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--terracotta); margin-bottom: 1rem; display: flex; align-items: center; justify-content: center; gap: 0.75rem; }
.section-tag::before, .section-tag::after { content: ''; width: 30px; height: 1px; background: var(--terracotta); opacity: 0.5; }
.section-title { font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 400; line-height: 1.2; color: var(--green); }

/* 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 { position: relative; }
.about-img img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 200px 200px 20px 20px; }
.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-warm); }
.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-radius: 20px; padding: 2.5rem 2rem;
    border: 1px solid var(--border); transition: all 0.4s ease;
}
.service-card:hover { transform: translateY(-5px); box-shadow: 0 20px 50px rgba(45,58,46,0.08); }
.service-icon {
    width: 50px; height: 50px; border-radius: 50%;
    background: linear-gradient(135deg, var(--terracotta), var(--terracotta-light));
    display: flex; align-items: center; justify-content: center;
    color: var(--white); font-size: 1.2rem; margin-bottom: 1.25rem;
}
.service-card h3 { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 400; color: var(--green); 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: 2rem; }
.project-card { position: relative; overflow: hidden; cursor: pointer; border-radius: 20px; 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(45,58,46,0.9), transparent);
    border-radius: 0 0 20px 20px;
    transform: translateY(10px); 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(--terracotta-light); }
.project-info h3 { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 400; color: var(--white); margin-top: 0.3rem; }

/* Testimonials */
.testimonials { padding: 8rem 3rem; background: var(--green); }
.testimonials .section-tag { color: var(--terracotta-light); }
.testimonials .section-tag::before, .testimonials .section-tag::after { background: var(--terracotta-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(--terracotta-light); line-height: 1; }
.testimonial-card p { font-size: 1.15rem; line-height: 1.9; color: rgba(255,255,255,0.7); font-style: italic; margin: 1rem 0 2rem; }
.testimonial-author { color: var(--terracotta-light); font-size: 0.85rem; letter-spacing: 0.15em; text-transform: uppercase; }

/* FAQ */
.faq-section { padding: 8rem 3rem; background: var(--bg-warm); }
.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.15rem; font-weight: 400; color: var(--green); }
.faq-header span { color: var(--terracotta); 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); position: relative; }
.cta-curve { position: absolute; top: -2px; left: 0; right: 0; }
.cta-curve svg { width: 100%; height: auto; display: block; }
.cta h2 { font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 3rem); font-weight: 400; color: var(--green); margin-bottom: 1rem; }
.cta p { color: var(--text-muted); margin-bottom: 2.5rem; font-size: 1.05rem; }

/* Footer */
.footer { padding: 5rem 3rem 2rem; background: var(--green); }
.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(--white); margin-bottom: 1rem; }
.footer-brand p { color: rgba(255,255,255,0.6); 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(--terracotta-light); margin-bottom: 1.5rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.75rem; }
.footer-col a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.85rem; transition: color 0.3s; }
.footer-col a:hover { color: var(--terracotta-light); }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { color: rgba(255,255,255,0.5); font-size: 0.75rem; }
.footer-bottom a { color: var(--terracotta-light); text-decoration: none; }
.back-link { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--terracotta-light); text-decoration: none; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; }

@media (max-width: 1024px) {
    .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; }
    .hero-content { padding: 7rem 1.5rem 4rem; }
    .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; }
}
