/* =========================================
   County Road WW — Main Stylesheet
   ========================================= */

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

:root {
  --oak:        #8B5E3C;
  --oak-light:  #C49A6C;
  --oak-dark:   #5C3D1E;
  --cream:      #FAF6F0;
  --warm-white: #FFFDF9;
  --charcoal:   #2C2420;
  --ash:        #6B5B52;
  --sage:       #7A8C6E;
  --sand:       #E8DDD0;
}

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

body {
  font-family: 'Lato', sans-serif;
  background: var(--warm-white);
  color: var(--charcoal);
  overflow-x: hidden;
  line-height: 1.6;
}

/* =========================================
   NAVIGATION
   ========================================= */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 253, 249, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--sand);
  padding: 0 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.nav-logo-img {
  height: 48px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-family: 'Lato', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ash);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--oak);
}

/* =========================================
   BUTTONS
   ========================================= */

.btn-primary {
  display: inline-block;
  background: var(--oak-light);
  color: var(--oak-dark);
  font-family: 'Lato', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1rem 2.4rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover {
  background: #d4a97c;
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--cream);
  font-family: 'Lato', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1rem 2.4rem;
  border: 1px solid rgba(250, 246, 240, 0.35);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.btn-outline:hover {
  border-color: var(--oak-light);
  background: rgba(196, 154, 108, 0.1);
}

.btn-submit {
  align-self: flex-start;
}

/* =========================================
   SHARED LAYOUT
   ========================================= */

section {
  padding: 6rem 2rem;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--oak);
  margin-bottom: 0.75rem;
}

.section-label--center {
  text-align: center;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--charcoal);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.section-title em {
  font-style: italic;
  color: var(--oak);
}

.section-title--center {
  text-align: center;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.section-body {
  font-size: 1rem;
  font-weight: 300;
  color: var(--ash);
  line-height: 1.8;
  max-width: 600px;
}

.section-body--spaced {
  margin-top: 1rem;
}

/* =========================================
   HERO
   ========================================= */

.hero {
  min-height: 100vh;
  background: linear-gradient(160deg, var(--oak-dark) 0%, #3A2010 60%, #1E110A 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 120px 2rem 4rem;
}

.hero-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.08'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
}

.hero-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(196, 154, 108, 0.15);
}

.hero-ring:nth-child(2) {
  width: 600px;
  height: 600px;
  top: -100px;
  right: -150px;
}

.hero-ring:nth-child(3) {
  width: 400px;
  height: 400px;
  top: -50px;
  right: -100px;
  border-color: rgba(196, 154, 108, 0.1);
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--oak-light);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--oak-light);
  opacity: 0.5;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 600;
  color: var(--cream);
  line-height: 1.08;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.hero h1 em {
  font-style: italic;
  color: var(--oak-light);
}

.hero-sub {
  font-size: 1.1rem;
  font-weight: 300;
  color: rgba(250, 246, 240, 0.7);
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto 2.5rem;
}

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

/* =========================================
   CRAFT STRIP
   ========================================= */

.craft-strip {
  background: var(--cream);
  border-top: 1px solid var(--sand);
  border-bottom: 1px solid var(--sand);
  padding: 4rem 2rem;
}

.craft-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
}

.craft-card {
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--sand);
  position: relative;
}

.craft-card:last-child {
  border-right: none;
}

.craft-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 2rem;
  width: 2rem;
  height: 2px;
  background: var(--oak-light);
}

.craft-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.25rem;
  color: var(--oak);
}

.craft-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.6rem;
}

.craft-card p {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--ash);
  line-height: 1.7;
}

/* =========================================
   GALLERY
   ========================================= */

.gallery-section {
  background: var(--warm-white);
}

.gallery-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.gallery-note {
  font-size: 0.9rem;
  color: var(--ash);
  font-weight: 300;
  max-width: 300px;
  line-height: 1.6;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1rem;
}

.gallery-item {
  background: var(--sand);
  overflow: hidden;
  position: relative;
}

.gallery-item--featured {
  grid-row: 1 / 3;
  grid-column: 1;
}

.gallery-placeholder {
  width: 100%;
  height: 100%;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--sand) 0%, #d9cfc5 100%);
}

.gallery-item--featured .gallery-placeholder {
  min-height: 460px;
}

.gallery-placeholder svg {
  opacity: 0.25;
  color: var(--oak-dark);
}

.gallery-placeholder span {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ash);
  opacity: 0.5;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(44, 36, 32, 0.75) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay-text {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-style: italic;
  color: var(--cream);
}

/* =========================================
   ABOUT
   ========================================= */

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

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

.about-visual {
  position: relative;
}

.about-img-box {
  background: linear-gradient(135deg, var(--sand) 0%, #c8bfb6 100%);
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
}

.about-img-box::after {
  content: '';
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 100%;
  height: 100%;
  border: 1px solid var(--oak-light);
  z-index: -1;
}

.about-img-box span {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ash);
  opacity: 0.5;
}

.stats-row {
  display: flex;
  gap: 2.5rem;
  margin: 2.5rem 0;
  padding: 2rem 0;
  border-top: 1px solid var(--sand);
  border-bottom: 1px solid var(--sand);
}

.stat {
  text-align: left;
}

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--oak);
  line-height: 1;
  display: block;
}

.stat-label {
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--ash);
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
  display: block;
}

/* =========================================
   TESTIMONIALS
   ========================================= */

.testimonials-section {
  background: var(--oak-dark);
  padding: 6rem 2rem;
}

.testimonials-section .section-label {
  color: var(--oak-light);
}

.testimonials-section .section-title {
  color: var(--cream);
  margin-bottom: 0;
}

.testimonials-section .section-title em {
  color: var(--oak-light);
}

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

.testimonial-card {
  background: rgba(255, 253, 249, 0.06);
  border: 1px solid rgba(196, 154, 108, 0.2);
  padding: 2.25rem;
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  color: var(--oak-light);
  opacity: 0.3;
  position: absolute;
  top: 0.5rem;
  left: 1.5rem;
  line-height: 1;
}

.testimonial-text {
  font-size: 0.95rem;
  font-weight: 300;
  color: rgba(250, 246, 240, 0.8);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
  padding-top: 1.5rem;
}

.testimonial-author {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--oak-light);
}

/* =========================================
   CTA BANNER
   ========================================= */

.cta-banner {
  background: var(--charcoal);
  padding: 5rem 2rem;
  text-align: center;
}

.cta-inner {
  text-align: center;
}

.cta-banner .section-label {
  color: var(--oak-light);
  margin-bottom: 1rem;
}

.cta-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 1rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.25;
}

.cta-title em {
  font-style: italic;
  color: var(--oak-light);
}

.cta-sub {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(250, 246, 240, 0.6);
  margin-bottom: 2.5rem;
}

/* =========================================
   CONTACT
   ========================================= */

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

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

.contact-info .section-body {
  margin-bottom: 2.5rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--sand);
}

.contact-detail:first-of-type {
  border-top: 1px solid var(--sand);
}

.contact-detail-icon {
  width: 36px;
  height: 36px;
  background: var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--oak);
}

.contact-detail-text {
  flex: 1;
}

.contact-detail-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ash);
  display: block;
  margin-bottom: 0.2rem;
}

.contact-detail-value {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--charcoal);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ash);
}

.form-input {
  background: var(--warm-white);
  border: 1px solid var(--sand);
  color: var(--charcoal);
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  padding: 0.85rem 1rem;
  transition: border-color 0.2s;
  outline: none;
  width: 100%;
  appearance: none;
}

.form-input:focus {
  border-color: var(--oak-light);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

/* =========================================
   FOOTER
   ========================================= */

footer {
  background: var(--charcoal);
  padding: 3rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  border-top: 2px solid var(--oak);
}

.footer-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.footer-logo-img {
  height: 56px;
  width: auto;
  display: block;
  filter: invert(1) brightness(2);
}

.footer-copy {
  font-size: 0.8rem;
  font-weight: 300;
  color: rgba(250, 246, 240, 0.4);
}

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer-links a {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(250, 246, 240, 0.5);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--oak-light);
}

/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 900px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-item--featured {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .gallery-item--featured .gallery-placeholder {
    min-height: 280px;
  }
}

@media (max-width: 640px) {
  nav {
    padding: 0 1.25rem;
  }

  .nav-links {
    gap: 1.25rem;
  }

  .craft-grid {
    grid-template-columns: 1fr 1fr;
  }

  .craft-card {
    border-right: none;
    border-bottom: 1px solid var(--sand);
  }

  .craft-card:nth-child(odd) {
    border-right: 1px solid var(--sand);
  }

  .craft-card:last-child,
  .craft-card:nth-last-child(2):nth-child(odd) {
    border-bottom: none;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item--featured {
    grid-column: auto;
  }

  .stats-row {
    gap: 1.5rem;
  }

  footer {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .hero-ctas {
    flex-direction: column;
  }
}
