/* ── Reset & base ─────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bark:    #3b2a1a;
  --walnut:  #6b3f1f;
  --cedar:   #a0522d;
  --grain:   #c8905a;
  --sawdust: #f2e0c8;
  --cream:   #fdf6ee;
  --white:   #ffffff;
  --text:    #2b1a0e;
  --muted:   #7a5c40;
  --radius:  6px;
  --shadow:  0 4px 20px rgba(59,42,26,.18);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Georgia', serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.7;
}

/* ── Utility ──────────────────────────────────── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
.btn {
  display: inline-block;
  padding: .75rem 2rem;
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: filter .2s, transform .15s;
}
.btn:hover { filter: brightness(1.1); transform: translateY(-2px); }
.btn-primary   { background: var(--cedar); color: var(--white); }
.btn-secondary { background: transparent; color: var(--cedar); border: 2px solid var(--cedar); }

/* ── Header / Nav ─────────────────────────────── */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bark);
  box-shadow: 0 2px 10px rgba(0,0,0,.35);
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .9rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  color: var(--sawdust);
}

.nav-logo svg { flex-shrink: 0; }

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-text .wordmark {
  font-size: 1.55rem;
  font-weight: bold;
  letter-spacing: .04em;
  color: var(--grain);
}
.logo-text .tagline {
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sawdust);
  opacity: .8;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}
.nav-links a {
  color: var(--sawdust);
  text-decoration: none;
  font-size: .95rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 2px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--grain);
  transition: width .25s;
}
.nav-links a:hover::after { width: 100%; }

/* Hamburger (mobile) */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { display: block; width: 26px; height: 2px; background: var(--sawdust); border-radius: 2px; transition: .3s; }

/* ── Hero ─────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(59,42,26,.82) 0%, rgba(107,63,31,.55) 100%),
    repeating-linear-gradient(
      92deg,
      rgba(160,82,45,.15) 0px, rgba(160,82,45,.15) 2px,
      transparent 2px, transparent 60px
    ),
    repeating-linear-gradient(
      2deg,
      rgba(200,144,90,.08) 0px, rgba(200,144,90,.08) 1px,
      transparent 1px, transparent 40px
    );
  background-color: #5a3520;
}

/* Wood-grain texture overlay */
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23noise)' opacity='0.06'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.2rem;
}
.hero-content h1 em {
  font-style: normal;
  color: var(--grain);
}
.hero-content p {
  font-size: 1.15rem;
  color: var(--sawdust);
  margin-bottom: 2rem;
  max-width: 520px;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── Section shared ───────────────────────────── */
section { padding: 5rem 0; }
.section-label {
  font-size: .78rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--cedar);
  font-family: 'Arial', sans-serif;
  margin-bottom: .6rem;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--bark);
  margin-bottom: 1rem;
}
.divider {
  width: 56px; height: 4px;
  background: var(--grain);
  border-radius: 2px;
  margin: 1rem 0 2rem;
}

/* ── Services strip ───────────────────────────── */
#services {
  background: var(--bark);
  padding: 3.5rem 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  text-align: center;
}

.service-card {
  padding: 2rem 1rem;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(200,144,90,.2);
  border-radius: var(--radius);
  color: var(--sawdust);
}
.service-card .icon { font-size: 2.2rem; margin-bottom: .8rem; }
.service-card h3 { font-size: 1.05rem; color: var(--grain); margin-bottom: .4rem; }
.service-card p  { font-size: .88rem; opacity: .8; }

/* ── About ────────────────────────────────────── */
#about { background: var(--cream); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-visual {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-visual svg { width: 80%; height: auto; }

.about-text p { color: var(--muted); margin-bottom: 1rem; }

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-top: 2rem;
}
.stat { background: var(--sawdust); border-radius: var(--radius); padding: 1.2rem 1rem; }
.stat-num { font-size: 2rem; font-weight: bold; color: var(--cedar); line-height: 1; }
.stat-lbl { font-size: .82rem; color: var(--muted); margin-top: .3rem; }

/* ── Orders ───────────────────────────────────── */
#orders { background: var(--sawdust); }

.orders-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}

.order-info p  { color: var(--muted); margin-bottom: 1rem; }
.order-info ul { list-style: none; margin-top: 1.2rem; }
.order-info ul li {
  padding: .6rem 0;
  border-bottom: 1px solid rgba(107,63,31,.15);
  color: var(--muted);
  display: flex;
  gap: .6rem;
}
.order-info ul li::before { content: '✓'; color: var(--cedar); font-weight: bold; flex-shrink: 0; }

/* Order form */
.order-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}
.order-form h3 { font-size: 1.3rem; color: var(--bark); margin-bottom: 1.8rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.2rem; }
.field label { font-size: .85rem; font-weight: bold; color: var(--bark); }
.field input,
.field select,
.field textarea {
  padding: .7rem .9rem;
  border: 1.5px solid rgba(107,63,31,.25);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: .95rem;
  color: var(--text);
  background: var(--cream);
  transition: border-color .2s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--cedar);
  background: var(--white);
}
.field textarea { resize: vertical; min-height: 100px; }

/* ── Contact ──────────────────────────────────── */
#contact { background: var(--cream); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-cards { display: flex; flex-direction: column; gap: 1.2rem; margin-top: 1.5rem; }
.contact-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--sawdust);
  padding: 1.3rem 1.5rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--cedar);
}
.contact-card .icon { font-size: 1.4rem; flex-shrink: 0; }
.contact-card h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; color: var(--cedar); margin-bottom: .2rem; }
.contact-card p, .contact-card a { color: var(--muted); font-size: .95rem; text-decoration: none; }
.contact-card a:hover { color: var(--cedar); }

.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}
.contact-form h3 { font-size: 1.3rem; color: var(--bark); margin-bottom: 1.8rem; }

/* ── Footer ───────────────────────────────────── */
footer {
  background: var(--bark);
  color: var(--sawdust);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.footer-brand .logo-text .wordmark { color: var(--grain); font-size: 1.3rem; }
.footer-brand p { font-size: .88rem; color: rgba(242,224,200,.7); margin-top: .8rem; line-height: 1.6; }

.footer-col h4 {
  font-size: .8rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--grain);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: .5rem; }
.footer-col ul li a { color: rgba(242,224,200,.7); text-decoration: none; font-size: .88rem; transition: color .2s; }
.footer-col ul li a:hover { color: var(--grain); }

.footer-bottom {
  border-top: 1px solid rgba(200,144,90,.2);
  padding-top: 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
}
.footer-bottom p { font-size: .8rem; opacity: .6; }

/* ── Responsive ───────────────────────────────── */
@media (max-width: 768px) {
  .about-grid,
  .orders-layout,
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--bark);
    flex-direction: column;
    padding: 1rem 1.5rem 1.5rem;
    gap: 1.2rem;
    box-shadow: 0 8px 20px rgba(0,0,0,.3);
  }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }

  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
}
