/* ================================================================
   Barhorst Woodworks — style.css
   Brand colors: #950101 (red), #000 (black), #FCECDD (warm tan)
================================================================ */

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

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

body {
  font-family: Avenir, "Myriad Pro", Myriad, Tahoma, "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #222;
  background: #fff;
  line-height: 1.6;
}

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

a {
  color: #950101;
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

/* ----------------------------------------------------------------
   Layout helpers
---------------------------------------------------------------- */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ----------------------------------------------------------------
   Header
---------------------------------------------------------------- */
header {
  background: #000;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid #950101;
}

.header-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 50%;
}

.brand-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #FCECDD;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.2;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 0.25rem;
  flex-wrap: wrap;
}

nav ul a {
  display: inline-block;
  padding: 0.4rem 0.75rem;
  color: #FCECDD;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  border-radius: 4px;
  transition: color 0.15s, background 0.15s;
}

nav ul a:hover,
nav ul a:focus {
  color: #fff;
  background: #950101;
  text-decoration: none;
}

nav ul .nav-cta {
  background: #950101;
  color: #fff;
}

nav ul .nav-cta:hover,
nav ul .nav-cta:focus {
  background: #7a0000;
}

/* ----------------------------------------------------------------
   Hero
---------------------------------------------------------------- */
.hero {
  background: #000 url('assets/hero.jpg') center center / cover no-repeat;
  color: #fff;
  padding: 5rem 1.5rem;
  text-align: center;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.hero-inner {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #FCECDD;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.hero-sub {
  font-size: 1.1rem;
  color: #ccc;
  margin-bottom: 2rem;
}

/* ----------------------------------------------------------------
   Button
---------------------------------------------------------------- */
.btn {
  display: inline-block;
  background: #950101;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.75rem 2rem;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.15s;
}

.btn:hover,
.btn:focus {
  background: #7a0000;
  text-decoration: none;
  color: #fff;
}

/* ----------------------------------------------------------------
   Services
---------------------------------------------------------------- */
.services {
  background: #FCECDD;
  padding: 4rem 0;
}

.services h2 {
  font-size: 1.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #000;
  margin-bottom: 2rem;
}

.service-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem 1.5rem;
}

.service-list li {
  padding: 0.75rem 1rem;
  background: #fff;
  border-left: 4px solid #950101;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 0 4px 4px 0;
}

/* ----------------------------------------------------------------
   About
---------------------------------------------------------------- */
.about {
  background: #fff;
  padding: 4rem 0;
}

.about h2 {
  font-size: 1.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #000;
  margin-bottom: 1.25rem;
}

.about p {
  font-size: 1.05rem;
  max-width: 680px;
  color: #333;
}

/* ----------------------------------------------------------------
   Testimonials
---------------------------------------------------------------- */
.testimonials {
  background: #FCECDD;
  padding: 4rem 0;
}

.testimonials h2 {
  font-size: 1.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #000;
  margin-bottom: 2rem;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

blockquote {
  background: #fff;
  border-left: 4px solid #950101;
  border-radius: 0 6px 6px 0;
  padding: 1.5rem;
}

blockquote p {
  font-size: 1rem;
  color: #333;
  font-style: italic;
  margin-bottom: 0.75rem;
}

blockquote cite {
  font-size: 0.9rem;
  font-style: normal;
  font-weight: 700;
  color: #950101;
}

/* ----------------------------------------------------------------
   Contact
---------------------------------------------------------------- */
.contact {
  background: #000;
  color: #fff;
  padding: 4rem 0;
}

.contact h2 {
  font-size: 1.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #FCECDD;
  margin-bottom: 0.75rem;
}

.contact-lead {
  color: #ccc;
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-list li {
  display: flex;
  align-items: baseline;
  gap: 1rem;
}

.contact-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #950101;
  min-width: 4rem;
}

.contact-list a {
  color: #FCECDD;
  font-size: 1.1rem;
  font-weight: 600;
}

.contact-list a:hover,
.contact-list a:focus {
  color: #fff;
  text-decoration: underline;
}

/* ----------------------------------------------------------------
   Footer
---------------------------------------------------------------- */
footer {
  background: #111;
  border-top: 3px solid #950101;
  padding: 1.25rem 0;
  text-align: center;
}

footer p {
  font-size: 0.85rem;
  color: #888;
}

/* ----------------------------------------------------------------
   Responsive
---------------------------------------------------------------- */
@media (max-width: 640px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    min-height: unset;
  }

  nav ul {
    gap: 0.1rem;
  }

  nav ul a {
    font-size: 0.8rem;
    padding: 0.35rem 0.5rem;
  }

  .hero {
    padding: 3rem 1.5rem;
  }

  .services,
  .about,
  .testimonials,
  .contact {
    padding: 2.5rem 0;
  }
}
