/* ============================================
   NORTHWOODS WORKSHOP — High-end Rustic Styles
   ============================================ */

:root {
  /* Color Palette */
  --walnut: #3D2B1F;
  --charcoal: #1A1612;
  --dark-walnut: #2C2118;
  --medium-wood: #5C4033;
  --cream: #F5F0E6;
  --off-white: #FAF7F0;
  --warm-cream: #EDE6D9;
  --accent-gold: #C4A35A;
  --text-dark: #2A2118;
  --text-muted: #6B5E4F;
  --border-subtle: rgba(61, 43, 31, 0.15);
  
  /* Typography */
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Source Sans 3', 'Segoe UI', system-ui, sans-serif;
  
  /* Spacing */
  --section-padding: 6rem 0;
  --container-max: 1200px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--off-white);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.25s ease, opacity 0.25s ease;
}

ul, ol {
  list-style: none;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
  color: var(--walnut);
}

h1 { font-size: clamp(2.5rem, 5vw, 3.75rem); }
h2 { font-size: clamp(2rem, 4vw, 2.75rem); margin-bottom: 1.5rem; }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.75rem); margin-bottom: 0.75rem; }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1.25rem;
  color: var(--text-muted);
}

.lead {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--text-dark);
}

/* ========== LAYOUT ========== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: var(--section-padding);
}

.section-dark {
  background-color: var(--charcoal);
  color: var(--cream);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--cream);
}

.section-dark p {
  color: rgba(245, 240, 230, 0.85);
}

.section-cream {
  background-color: var(--warm-cream);
}

.section-wood {
  background-color: var(--dark-walnut);
  color: var(--cream);
}

.text-center { text-align: center; }
.text-left { text-align: left; }

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 2px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--walnut);
  color: var(--cream);
  border-color: var(--walnut);
}

.btn-primary:hover {
  background-color: var(--dark-walnut);
  border-color: var(--dark-walnut);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--cream);
  border-color: var(--cream);
}

.btn-outline:hover {
  background-color: var(--cream);
  color: var(--walnut);
}

.btn-outline-dark {
  background-color: transparent;
  color: var(--walnut);
  border-color: var(--walnut);
}

.btn-outline-dark:hover {
  background-color: var(--walnut);
  color: var(--cream);
}

.btn-gold {
  background-color: var(--accent-gold);
  color: var(--charcoal);
  border-color: var(--accent-gold);
}

.btn-gold:hover {
  background-color: #b8944a;
  border-color: #b8944a;
}

/* ========== HEADER / NAV ========== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(26, 22, 18, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(196, 163, 90, 0.2);
  transition: background 0.3s ease;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  height: 48px;
  width: auto;
  border-radius: 50%;
  object-fit: cover;
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(245, 240, 230, 0.85);
  letter-spacing: 0.03em;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-gold);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent-gold);
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  margin-left: 0.5rem;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
  margin: 5px 0;
  transition: 0.3s;
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(26,22,18,0.85) 0%, rgba(44,33,24,0.75) 100%),
              url('../images/logo.png') center/cover no-repeat;
  background-blend-mode: multiply;
  text-align: center;
  color: var(--cream);
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 0%, rgba(26,22,18,0.4) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 2rem 1.5rem;
}

.hero-logo {
  width: 180px;
  height: 180px;
  margin: 0 auto 2rem;
  border-radius: 50%;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  border: 3px solid rgba(196, 163, 90, 0.4);
  object-fit: cover;
}

.hero h1 {
  color: var(--cream);
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.hero .tagline {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  font-style: italic;
  color: var(--accent-gold);
  margin-bottom: 1.5rem;
}

.hero .subtitle {
  font-size: 1.15rem;
  color: rgba(245, 240, 230, 0.9);
  margin-bottom: 2.5rem;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

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

/* ========== FEATURED WORK ========== */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.project-card {
  background: white;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(42, 33, 24, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(42, 33, 24, 0.14);
}

.project-card .img-wrap {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--medium-wood);
  position: relative;
}

.project-card .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .img-wrap img {
  transform: scale(1.05);
}

.project-card .content {
  padding: 1.5rem;
}

.project-card .category {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 0.4rem;
}

.project-card h3 {
  margin-bottom: 0.5rem;
  color: var(--walnut);
}

.project-card p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ========== PROCESS STEPS ========== */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  counter-reset: step;
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--walnut);
  color: var(--cream);
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.step h4 {
  color: var(--cream);
  margin-bottom: 0.5rem;
}

.step p {
  font-size: 0.95rem;
  color: rgba(245, 240, 230, 0.8);
  margin: 0;
}

/* ========== TESTIMONIALS ========== */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.testimonial {
  background: white;
  padding: 2rem;
  border-radius: 4px;
  border-left: 4px solid var(--accent-gold);
  box-shadow: 0 4px 16px rgba(42, 33, 24, 0.06);
}

.testimonial blockquote {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.testimonial .author {
  font-weight: 600;
  color: var(--walnut);
  font-size: 0.95rem;
}

.testimonial .location {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ========== CTA BANNER ========== */
.cta-banner {
  background: linear-gradient(135deg, var(--dark-walnut) 0%, var(--charcoal) 100%);
  padding: 5rem 0;
  text-align: center;
}

.cta-banner h2 {
  color: var(--cream);
  margin-bottom: 1rem;
}

.cta-banner p {
  color: rgba(245, 240, 230, 0.85);
  font-size: 1.15rem;
  max-width: 520px;
  margin: 0 auto 2rem;
}

/* ========== FOOTER ========== */
.site-footer {
  background: var(--charcoal);
  color: rgba(245, 240, 230, 0.8);
  padding: 4rem 0 2rem;
}

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

.footer-brand .logo-text {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  display: block;
}

.footer-brand p {
  font-size: 0.95rem;
  color: rgba(245, 240, 230, 0.7);
  max-width: 280px;
}

.footer-col h4 {
  color: var(--cream);
  font-size: 1rem;
  margin-bottom: 1.25rem;
  letter-spacing: 0.03em;
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: rgba(245, 240, 230, 0.7);
  margin-bottom: 0.6rem;
}

.footer-col a:hover {
  color: var(--accent-gold);
}

.footer-bottom {
  border-top: 1px solid rgba(245, 240, 230, 0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(245, 240, 230, 0.5);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(245, 240, 230, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  font-size: 0.9rem;
}

.social-links a:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

/* ========== PAGE HERO (inner pages) ========== */
.page-hero {
  background: linear-gradient(135deg, var(--charcoal) 0%, var(--dark-walnut) 100%);
  padding: 9rem 0 4rem;
  text-align: center;
  color: var(--cream);
}

.page-hero h1 {
  color: var(--cream);
  margin-bottom: 0.75rem;
}

.page-hero p {
  color: rgba(245, 240, 230, 0.85);
  font-size: 1.15rem;
  max-width: 560px;
  margin: 0 auto;
}

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

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.value-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: white;
  border-radius: 4px;
  box-shadow: 0 4px 16px rgba(42, 33, 24, 0.06);
}

.value-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.value-card h3 {
  margin-bottom: 0.75rem;
}

/* ========== PORTFOLIO ========== */
.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.6rem 1.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: transparent;
  border: 1.5px solid var(--border-subtle);
  border-radius: 2px;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.25s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--walnut);
  border-color: var(--walnut);
  color: var(--cream);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}

/* ========== SERVICES ========== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.75rem;
}

.service-card {
  background: white;
  padding: 2rem;
  border-radius: 4px;
  border: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
}

.service-card:hover {
  border-color: var(--accent-gold);
  box-shadow: 0 8px 24px rgba(42, 33, 24, 0.08);
  transform: translateY(-3px);
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  margin-bottom: 0.6rem;
}

.service-card p {
  font-size: 0.95rem;
  margin: 0;
}

/* ========== WOOD LIBRARY ========== */
.wood-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2rem;
}

.wood-card {
  background: white;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(42, 33, 24, 0.06);
}

.wood-swatch {
  height: 120px;
  position: relative;
}

.wood-swatch.oak { background: linear-gradient(135deg, #C4A574 0%, #8B6914 100%); }
.wood-swatch.walnut { background: linear-gradient(135deg, #5C4033 0%, #2C2118 100%); }
.wood-swatch.maple { background: linear-gradient(135deg, #E8D5B5 0%, #C9B896 100%); }
.wood-swatch.cherry { background: linear-gradient(135deg, #A0522D 0%, #6B3A2A 100%); }
.wood-swatch.pine { background: linear-gradient(135deg, #D4C4A0 0%, #A89060 100%); }
.wood-swatch.mahogany { background: linear-gradient(135deg, #8B4513 0%, #4A2C0A 100%); }

.wood-card .content {
  padding: 1.5rem;
}

.wood-card h3 {
  margin-bottom: 0.5rem;
}

.wood-card p {
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.wood-traits {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.trait {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  background: var(--warm-cream);
  color: var(--walnut);
  border-radius: 2px;
}

/* ========== FORMS ========== */
.form-section {
  max-width: 720px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

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

label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--walnut);
  margin-bottom: 0.4rem;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  border: 1.5px solid var(--border-subtle);
  border-radius: 3px;
  background: white;
  color: var(--text-dark);
  transition: border-color 0.25s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent-gold);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.file-upload {
  border: 2px dashed var(--border-subtle);
  padding: 2rem;
  text-align: center;
  border-radius: 4px;
  background: var(--warm-cream);
  cursor: pointer;
  transition: border-color 0.25s;
}

.file-upload:hover {
  border-color: var(--accent-gold);
}

/* ========== CONTACT ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
}

.contact-info h3 {
  margin-bottom: 1.5rem;
}

.info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.info-item .icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.info-item strong {
  display: block;
  color: var(--walnut);
  margin-bottom: 0.2rem;
}

.info-item p {
  margin: 0;
  font-size: 0.95rem;
}

.map-placeholder {
  background: var(--warm-cream);
  height: 280px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 2rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--charcoal);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.25rem;
    border-bottom: 1px solid rgba(196, 163, 90, 0.2);
  }
  
  .nav-links.open {
    display: flex;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .process-steps {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .process-steps {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
  }
}

/* Utility */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.divider {
  width: 60px;
  height: 3px;
  background: var(--accent-gold);
  margin: 1.25rem auto 2rem;
}

.divider-left {
  margin-left: 0;
}
