:root {
    --bg-primary: #0f1115;
    --bg-secondary: #171a21;
    --bg-card: #1e232b;
    --text-primary: #e8e6e3;
    --text-secondary: #9d9891;
    --accent: #c9a96e;
    --accent-hover: #d4b87f;
    --border: #2a2f38;
    --success: #6dc77a;
    --radius: 10px;
    --shadow: 0 4px 24px rgba(0,0,0,0.45);
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: min(1200px, 92%); margin-inline: auto; }

/* ─── Navbar ─── */
.navbar {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    padding: .65rem 0;
    transition: background .3s, box-shadow .3s, padding .3s;
}

.navbar.scrolled {
    background: rgba(15,17,21,0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.35);
    padding: .45rem 0;
}

.nav-container { display: flex; align-items: center; justify-content: space-between; }

.logo-link {
    display: flex;
    align-items: center;
    gap: .7rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}
.logo-img-nav {
    height: 42px;
    width: auto;
    border-radius: 4px;
    display: block;
}
.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}
.logo-woodbine {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.02em;
}
.logo-construction {
    font-size: .72rem;
    font-weight: 500;
    color: var(--accent);
    letter-spacing: .12em;
    text-transform: uppercase;
}

.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a { font-size: 0.92rem; font-weight: 500; color: var(--text-secondary); transition: color .2s; }
.nav-links a:hover { color: var(--text-primary); }
.nav-cta {
    background: var(--accent); color: #111 !important; padding: .5rem 1.1rem; border-radius: 6px; font-weight: 600;
    transition: background .2s, transform .2s;
}
.nav-cta:hover { background: var(--accent-hover); transform: translateY(-1px); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: .4rem; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text-primary); border-radius: 1px; transition: .3s; }

/* ─── Hero ─── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex; align-items: center;
    overflow: hidden;
}
.hero-bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 100%, rgba(201,169,110,0.08), transparent),
        linear-gradient(180deg, rgba(15,17,21,0.3), rgba(15,17,21,0.95)),
        url('data:image/svg+xml,%3Csvg width=\'60\' height=\'60\' viewBox=\'0 0 60 60\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Cg fill=\'none\' fill-rule=\'evenodd\'%3E%3Cg fill=\'%232a2f38\' fill-opacity=\'0.15\'%3E%3Cpath d=\'M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z\'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
    z-index: 0;
}

.hero-content { position: relative; z-index: 1; padding-block: 7rem 4rem; }

.hero-logo-wrap {
    margin-bottom: 1.5rem;
}
.hero-logo {
    max-height: 160px;
    max-width: min(420px, 70vw);
    width: auto;
    height: auto;
    border-radius: 6px;
    display: block;
}

.hero-kicker { display: inline-flex; align-items: center; gap: .5rem; font-size: .82rem; font-weight: 500; color: var(--accent); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 1.2rem; }

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1.2rem;
}
.hero-title .accent { color: var(--accent); }

.hero-subtitle { font-size: 1.1rem; color: var(--text-secondary); max-width: 560px; margin-bottom: 2rem; }

.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-stats {
    display: flex; gap: 2.5rem; margin-top: 3.5rem;
}
.hero-stats strong {
    display: block; font-family: var(--font-display); font-size: 1.8rem; color: var(--accent);
}
.hero-stats span { font-size: .82rem; color: var(--text-secondary); text-transform: uppercase; letter-spacing: .04em; }

.scroll-down {
    position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
    color: var(--text-secondary); animation: bounce 2s infinite;
}
@keyframes bounce { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(6px); } }

/* ─── Buttons ─── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
    font-size: .92rem; font-weight: 600; padding: .8rem 1.6rem; border-radius: var(--radius); border: none; cursor: pointer; transition: .2s;
}
.btn-primary { background: var(--accent); color: #111; }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--text-primary); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: 1rem 2.2rem; font-size: 1rem; }
.btn-full { width: 100%; }

/* ─── Trusted bar ─── */
.trusted { background: var(--bg-secondary); border-block: 1px solid var(--border); }
.trusted-bar {
    display: flex; justify-content: center; gap: 2.5rem; flex-wrap: wrap;
    padding: 1.1rem 0; font-size: .82rem; font-weight: 500; color: var(--text-secondary); text-transform: uppercase; letter-spacing: .04em;
}

/* ─── Section styles ─── */
section { padding: 5rem 0; }
.section-header { margin-bottom: 3rem; }
.section-header.center { text-align: center; }
.section-kicker { display: inline-block; font-size: .82rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); margin-bottom: .6rem; }
.section-title { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; line-height: 1.15; color: var(--text-primary); }

/* ─── Services ─── */
.services { background: var(--bg-primary); }
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.2rem;
}
.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    transition: transform .2s, box-shadow .2s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #3a3f48; }
.service-icon { font-size: 2rem; margin-bottom: 1rem; }
.service-card h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: .5rem; }
.service-card p { font-size: .9rem; color: var(--text-secondary); line-height: 1.6; }

/* ─── About ─── */
.about { background: var(--bg-secondary); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-image img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.about-content p { color: var(--text-secondary); margin-bottom: 1rem; }
.about-list { list-style: none; margin-top: 1.5rem; }
.about-list li { padding: .4rem 0; color: var(--text-secondary); font-size: .95rem; }

/* ─── Gallery ─── */
.work { background: var(--bg-primary); }
.gallery-intro { text-align: center; color: var(--text-secondary); max-width: 600px; margin: -1.5rem auto 2.5rem; font-size: .95rem; }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    grid-auto-rows: 260px;
    gap: 1rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    cursor: pointer;
    transition: transform .3s, box-shadow .3s;
}
.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow);
    z-index: 2;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.gallery-item figcaption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 2rem .8rem .8rem;
    background: linear-gradient(transparent, rgba(15,17,21,0.92));
    color: var(--text-primary);
    font-size: .85rem;
    font-weight: 500;
    text-align: left;
    opacity: 0;
    transition: opacity .3s;
    pointer-events: none;
}
.gallery-item:hover figcaption { opacity: 1; }

.gallery-cta { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-top: 2.5rem; }

/* ─── CTA Band ─── */
.cta-band {
    background: var(--bg-secondary);
    border-block: 1px solid var(--border);
    text-align: center;
    padding: 4rem 0;
}
.cta-content h2 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    margin-bottom: .8rem;
}
.cta-content p { color: var(--text-secondary); max-width: 520px; margin: 0 auto 1.8rem; }

/* ─── Contact ─── */
.contact { background: var(--bg-primary); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.contact-desc { color: var(--text-secondary); margin-bottom: 1.5rem; }
.contact-details { margin-bottom: 2rem; }
.contact-details div { padding: .5rem 0; }
.contact-label { display: inline-block; min-width: 90px; font-weight: 600; font-size: .85rem; color: var(--accent); }
.contact-details a { color: var(--text-primary); font-weight: 500; border-bottom: 1px solid transparent; transition: border-color .2s; }
.contact-details a:hover { border-bottom-color: var(--accent); }

.social-cta { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.social-cta p { color: var(--text-secondary); font-size: .9rem; margin-bottom: .6rem; }
.social-links-large { display: flex; gap: 1.2rem; }
.social-links-large a {
    font-size: .9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color .2s;
}
.social-links-large a:hover { color: var(--accent); }

.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
}
.form-group { margin-bottom: 1.2rem; }
.form-group label {
    display: block;
    font-size: .82rem;
    font-weight: 500;
    margin-bottom: .35rem;
    color: var(--text-secondary);
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: .7rem .9rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: inherit;
    font-size: .95rem;
    transition: border-color .2s, box-shadow .2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(201,169,110,0.12);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #5a5f68; }

/* Honeypot — hidden from real users */
.form-honey { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

.form-note { text-align: center; font-size: .82rem; color: var(--text-secondary); margin-top: .8rem; }

/* ─── Footer ─── */
.site-footer { background: var(--bg-secondary); border-top: 1px solid var(--border); padding: 3rem 0 1.5rem; }
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 2rem;
    margin-bottom: 2rem;
}
.footer-brand p { color: var(--text-secondary); font-size: .9rem; margin-top: .8rem; line-height: 1.6; }
.logo-img-footer { height: 52px; width: auto; border-radius: 4px; display: block; }

.footer-links { display: flex; flex-direction: column; gap: .5rem; }
.footer-links strong { color: var(--text-primary); font-weight: 600; font-size: .92rem; margin-bottom: .4rem; }
.footer-links a { color: var(--text-secondary); font-size: .88rem; transition: color .2s; }
.footer-links a:hover { color: var(--accent); }

.footer-contact { display: flex; flex-direction: column; gap: .5rem; }
.footer-contact strong { color: var(--text-primary); font-weight: 600; font-size: .92rem; margin-bottom: .4rem; }
.footer-contact a { color: var(--text-secondary); font-size: .88rem; transition: color .2s; }
.footer-contact a:hover { color: var(--accent); }

.social-links { display: flex; gap: .8rem; margin-top: .4rem; }
.social-links a { font-size: 1.2rem; transition: transform .2s; }
.social-links a:hover { transform: scale(1.15); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    font-size: .82rem;
    color: var(--text-secondary);
    flex-wrap: wrap;
    gap: .5rem;
}
.footer-bottom .meta { color: #5a5f68; }

/* ─── Lightbox ─── */
.lightbox {
    display: none;
    position: fixed; inset: 0; z-index: 2000;
    background: rgba(0,0,0,0.92);
    align-items: center; justify-content: center; flex-direction: column;
    padding: 2rem;
}
.lightbox.active { display: flex; }
.lightbox img { max-height: 85vh; max-width: 90vw; object-fit: contain; border-radius: var(--radius); }
.lightbox-close {
    position: absolute; top: 1rem; right: 1.5rem;
    background: none; border: none; color: #fff;
    font-size: 2.5rem; cursor: pointer; line-height: 1;
    transition: color .2s;
}
.lightbox-close:hover { color: var(--accent); }
.lightbox p { color: var(--text-secondary); margin-top: .8rem; font-size: .9rem; }

/* ─── Mobile ─── */
@media (max-width: 768px) {
    .nav-links {
        position: fixed; top: 0; right: -100%; width: min(280px, 80%); height: 100vh;
        background: var(--bg-secondary); flex-direction: column;
        padding: 5rem 2rem 2rem; gap: 1.5rem;
        transition: right .3s ease; box-shadow: -8px 0 30px rgba(0,0,0,0.4);
        z-index: 1001;
    }
    .nav-links.open { right: 0; }
    .nav-toggle { display: flex; z-index: 1002; }
    .nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .nav-toggle.active span:nth-child(2) { opacity: 0; }
    .nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

    .hero-logo { max-height: 110px; max-width: 80vw; }
    .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
    .hero-stats strong { font-size: 1.4rem; }

    .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }

    .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); grid-auto-rows: 180px; }
    .gallery-item figcaption { opacity: 1; font-size: .75rem; padding: 1.2rem .5rem .5rem; }
}
