/* ============================
   NWA Decks & Patio — Master CSS
   ============================ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=DM+Sans:wght@400;500;600&display=swap');

:root {
  --forest: #2C4A2E;
  --forest-dark: #1A2E1B;
  --forest-light: #3D6B40;
  --cedar: #8B4513;
  --cedar-light: #A0522D;
  --gold: #C8930A;
  --gold-light: #E8A90F;
  --cream: #F8F4EE;
  --warm-white: #FDFAF6;
  --slate: #3A3A3A;
  --muted: #6B6B6B;
  --border: #DDD8D0;
  --shadow: rgba(44,74,46,0.12);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--slate);
  background: var(--warm-white);
}

/* ---- Typography ---- */
h1,h2,h3,h4,h5 { font-family: 'Playfair Display', serif; line-height: 1.2; color: var(--forest-dark); }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 700; font-family: 'DM Sans', sans-serif; }
p { margin-bottom: 1rem; }
a { color: var(--cedar); text-decoration: none; }
a:hover { color: var(--cedar-light); }

/* ---- Layout ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 50px 0; }
.section-title { text-align: center; margin-bottom: 3rem; }
.section-title p { color: var(--muted); font-size: 1.1rem; max-width: 600px; margin: 1rem auto 0; }
.eyebrow { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.5rem; display: block; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 30px; border-radius: 4px; font-weight: 600; font-size: 1rem;
  cursor: pointer; border: 2px solid transparent; transition: all 0.2s;
  font-family: 'DM Sans', sans-serif; text-decoration: none;
}
.btn-primary { background: var(--cedar); color: white; border-color: var(--cedar); }
.btn-primary:hover { background: var(--cedar-light); border-color: var(--cedar-light); color: white; }
.btn-secondary { background: transparent; color: var(--forest); border-color: var(--forest); }
.btn-secondary:hover { background: var(--forest); color: white; }
.btn-gold { background: var(--gold); color: white; border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); color: white; }
.btn-lg { padding: 18px 40px; font-size: 1.1rem; }
.btn-sm { padding: 10px 20px; font-size: 0.9rem; }

/* ---- NAV ---- */
.nav {
  position: sticky; top: 0; z-index: 1000;
  background: var(--forest-dark); color: white;
  border-bottom: 3px solid var(--gold);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav-logo { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 900; color: white; }
.nav-logo span { color: var(--gold); }
.nav-menu { display: flex; list-style: none; gap: 4px; }
.nav-menu a {
  color: rgba(255,255,255,0.85); padding: 8px 14px; border-radius: 4px;
  font-size: 0.9rem; font-weight: 500; transition: all 0.2s;
  display: block;
}
.nav-menu a:hover { color: white; background: rgba(255,255,255,0.1); }
.nav-cta { background: var(--cedar); color: white !important; border-radius: 4px; }
.nav-cta:hover { background: var(--cedar-light) !important; }

.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  position: absolute; top: 100%; left: 0; min-width: 220px;
  background: white; border: 1px solid var(--border); border-radius: 4px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12); padding: 8px; display: none;
  z-index: 999;
}
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a { color: var(--slate) !important; padding: 10px 14px; border-radius: 3px; font-size: 0.9rem; }
.nav-dropdown-menu a:hover { background: var(--cream); color: var(--forest) !important; }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger span { width: 24px; height: 2px; background: white; display: block; }

/* ---- HERO ---- */
.hero {
  background: url("/images/deck3.jpg") center center / cover no-repeat;
  color: white; padding: 100px 0 80px; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(26,46,27,0.88) 0%, rgba(44,74,46,0.82) 100%);
}
.hero-grid { display: grid; grid-template-columns: 1fr 420px; gap: 60px; align-items: center; position: relative; }
.hero-badge { display: inline-block; background: var(--gold); color: white; padding: 6px 16px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1.5rem; }
.hero h1 { color: white; margin-bottom: 1.5rem; }
.hero h1 span { color: var(--gold); }
.hero-lead { font-size: 1.15rem; color: rgba(255,255,255,0.85); margin-bottom: 2rem; max-width: 520px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero-trust { display: flex; gap: 24px; flex-wrap: wrap; }
.hero-trust-item { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; color: rgba(255,255,255,0.8); }
.hero-trust-item svg { color: var(--gold); }

/* ---- LEAD FORM (Hero) ---- */
.hero-form-card {
  background: white; border-radius: 8px; padding: 36px 30px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.hero-form-card h3 { color: var(--forest-dark); font-size: 1.3rem; margin-bottom: 0.25rem; }
.hero-form-card .subhead { color: var(--muted); font-size: 0.9rem; margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1rem; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--slate); margin-bottom: 4px; display: block; }
.form-control {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: 4px;
  font-family: 'DM Sans', sans-serif; font-size: 0.95rem; color: var(--slate);
  transition: border-color 0.2s; background: white;
}
.form-control:focus { outline: none; border-color: var(--forest); }
select.form-control { cursor: pointer; }
.form-submit { width: 100%; margin-top: 0.5rem; justify-content: center; font-size: 1.05rem; }
.form-privacy { font-size: 0.78rem; color: var(--muted); text-align: center; margin-top: 0.75rem; }

/* ---- TRUST BAR ---- */
.trust-bar { background: var(--cream); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 20px 0; }
.trust-bar-inner { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; }
.trust-bar-item { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--forest-dark); font-size: 0.9rem; }
.trust-icon { font-size: 1.3rem; }

/* ---- SERVICES GRID ---- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.service-card {
  background: white; border: 1px solid var(--border); border-radius: 8px;
  overflow: hidden; transition: all 0.25s; box-shadow: 0 2px 8px var(--shadow);
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px var(--shadow); }
.service-card-img { height: 180px; background: var(--forest); display: flex; align-items: center; justify-content: center; font-size: 3rem; position: relative; overflow: hidden; }
.service-card-body { padding: 24px; }
.service-card-body h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.service-card-body p { color: var(--muted); font-size: 0.92rem; margin-bottom: 1rem; }
.card-link { font-weight: 600; font-size: 0.9rem; color: var(--cedar); display: flex; align-items: center; gap: 6px; }
.card-link:hover { gap: 10px; }

/* ---- WHY US ---- */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.why-item { text-align: center; }
.why-icon { width: 64px; height: 64px; background: var(--cream); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; font-size: 1.6rem; border: 2px solid var(--border); }
.why-item h4 { font-size: 1rem; margin-bottom: 0.5rem; font-family: 'DM Sans', sans-serif; font-weight: 600; }
.why-item p { font-size: 0.9rem; color: var(--muted); }

/* ---- TESTIMONIALS ---- */
.testimonials { background: var(--forest-dark); color: white; }
.testimonials .section-title h2 { color: white; }
.testimonials .section-title p { color: rgba(255,255,255,0.7); }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.review-card { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); border-radius: 8px; padding: 28px; }
.review-stars { color: var(--gold); font-size: 1.1rem; letter-spacing: 2px; margin-bottom: 1rem; }
.review-text { font-size: 0.95rem; color: rgba(255,255,255,0.85); margin-bottom: 1.5rem; font-style: italic; }
.review-author { font-weight: 600; font-size: 0.9rem; }
.review-location { font-size: 0.8rem; color: rgba(255,255,255,0.5); }

/* ---- CTA STRIP ---- */
.cta-strip { background: var(--cedar); color: white; padding: 60px 0; }
.cta-strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-strip h2 { color: white; margin-bottom: 0.5rem; }
.cta-strip p { color: rgba(255,255,255,0.85); margin: 0; }
.cta-strip .btn-gold { font-size: 1.05rem; padding: 16px 36px; }

/* ---- LOCATIONS ---- */
.locations-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.location-card {
  background: white; border: 1px solid var(--border); border-radius: 8px;
  padding: 24px 20px; text-align: center; transition: all 0.2s;
}
.location-card:hover { border-color: var(--forest); background: var(--cream); transform: translateY(-2px); }
.location-icon { font-size: 1.8rem; margin-bottom: 0.75rem; }
.location-card h4 { font-family: 'DM Sans', sans-serif; font-size: 1rem; font-weight: 600; margin-bottom: 0.25rem; }
.location-card p { font-size: 0.82rem; color: var(--muted); margin: 0; }

/* ---- BLOG ---- */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 28px; }
.blog-card { background: white; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; transition: all 0.2s; }
.blog-card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px var(--shadow); }
.blog-card-img { height: 160px; background: var(--forest-light); display: flex; align-items: center; justify-content: center; font-size: 2.5rem; }
.blog-card-body { padding: 24px; }
.blog-tag { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--cedar); margin-bottom: 0.5rem; display: block; }
.blog-card-body h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.blog-card-body p { font-size: 0.88rem; color: var(--muted); margin-bottom: 1rem; }
.blog-meta { font-size: 0.8rem; color: var(--muted); }

/* ---- PAGE HERO (inner pages) ---- */
.page-hero { background: var(--forest-dark); color: white; padding: 70px 0 60px; }
.page-hero .eyebrow { color: var(--gold-light); }
.page-hero h1 { color: white; font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 1rem; }
.page-hero p { color: rgba(255,255,255,0.8); font-size: 1.05rem; max-width: 620px; }

/* ---- BREADCRUMB ---- */
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 0.85rem; color: rgba(255,255,255,0.6); margin-bottom: 1rem; flex-wrap: wrap; }
.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: white; }
.breadcrumb span { color: rgba(255,255,255,0.4); }

/* ---- CONTACT FORM PAGE ---- */
.contact-layout { display: grid; grid-template-columns: 1fr 380px; gap: 60px; align-items: start; }
.contact-form-card { background: white; border: 1px solid var(--border); border-radius: 8px; padding: 40px; box-shadow: 0 4px 20px var(--shadow); }
.contact-info { }
.contact-info-item { display: flex; gap: 16px; margin-bottom: 24px; }
.contact-info-icon { width: 44px; height: 44px; background: var(--cream); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; border: 1px solid var(--border); }
.contact-info-text h4 { font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: 0.95rem; margin-bottom: 2px; }
.contact-info-text p { color: var(--muted); font-size: 0.9rem; margin: 0; }

/* ---- BLOG ARTICLE ---- */
.article-layout { display: grid; grid-template-columns: 1fr 320px; gap: 60px; align-items: start; }
.article-body { }
.article-body h2 { margin: 2rem 0 1rem; font-size: 1.6rem; }
.article-body h3 { margin: 1.5rem 0 0.75rem; font-size: 1.25rem; }
.article-body ul, .article-body ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.article-body li { margin-bottom: 0.4rem; }
.article-body blockquote { border-left: 4px solid var(--cedar); padding: 1rem 1.5rem; background: var(--cream); border-radius: 0 4px 4px 0; margin: 1.5rem 0; font-style: italic; color: var(--muted); }
.article-sidebar { position: sticky; top: 90px; }
.sidebar-card { background: white; border: 1px solid var(--border); border-radius: 8px; padding: 28px; margin-bottom: 20px; }
.sidebar-card h4 { font-family: 'DM Sans', sans-serif; font-weight: 700; margin-bottom: 1rem; font-size: 1rem; border-bottom: 1px solid var(--border); padding-bottom: 0.75rem; }
.sidebar-card ul { list-style: none; }
.sidebar-card ul li { border-bottom: 1px solid var(--border); padding: 8px 0; font-size: 0.9rem; }
.sidebar-card ul li a { color: var(--slate); }
.sidebar-card ul li a:hover { color: var(--cedar); }

/* ---- FOOTER ---- */
.footer { background: var(--forest-dark); color: rgba(255,255,255,0.75); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand .nav-logo { display: block; margin-bottom: 1rem; font-size: 1.3rem; }
.footer-brand p { font-size: 0.9rem; margin-bottom: 1.25rem; }
.footer-phone { font-size: 1.3rem; font-weight: 700; color: var(--gold); font-family: 'Playfair Display', serif; display: block; margin-bottom: 0.5rem; }
.footer h4 { color: white; font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1rem; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 0.5rem; }
.footer ul a { color: rgba(255,255,255,0.65); font-size: 0.9rem; transition: color 0.2s; }
.footer ul a:hover { color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 0.82rem; color: rgba(255,255,255,0.4); }
.footer-bottom a { color: rgba(255,255,255,0.5); }

/* ---- PROCESS STEPS ---- */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; counter-reset: steps; }
.step-item { position: relative; text-align: center; }
.step-num { width: 52px; height: 52px; background: var(--cedar); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.2rem; font-family: 'Playfair Display', serif; margin: 0 auto 1rem; }
.step-item h4 { font-size: 1rem; margin-bottom: 0.5rem; font-family: 'DM Sans', sans-serif; font-weight: 600; }
.step-item p { font-size: 0.88rem; color: var(--muted); }

/* ---- FAQ ---- */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: 6px; margin-bottom: 10px; overflow: hidden; }
.faq-question {
  width: 100%; text-align: left; padding: 18px 22px; background: white;
  font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: 0.97rem;
  color: var(--slate); cursor: pointer; display: flex; justify-content: space-between;
  align-items: center; border: none; transition: background 0.2s;
}
.faq-question:hover { background: var(--cream); }
.faq-arrow { font-size: 0.8rem; color: var(--muted); transition: transform 0.2s; }
.faq-answer { padding: 0 22px; max-height: 0; overflow: hidden; transition: all 0.3s; font-size: 0.93rem; color: var(--muted); }
.faq-item.open .faq-answer { max-height: 200px; padding: 0 22px 18px; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }

/* ---- GALLERY PLACEHOLDER ---- */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.gallery-item { border-radius: 6px; overflow: hidden; aspect-ratio: 4/3; background: var(--forest-light); display: flex; align-items: center; justify-content: center; font-size: 2.5rem; }

/* ---- SCHEMA / SEO helpers ---- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-form-card { max-width: 480px; }
  .contact-layout { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-strip-inner { flex-direction: column; text-align: center; }
}
@media (max-width: 600px) {
  .nav-menu { display: none; }
  .nav-menu.open { display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: var(--forest-dark); padding: 16px; border-top: 1px solid rgba(255,255,255,0.1); }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; }
  .trust-bar-inner { gap: 20px; }
  .hero-btns { flex-direction: column; }
  .section { padding: 56px 0; }
}
