/* ================================
   D.S. WELDING SERVICES — SITE CSS
   ================================ */

:root {
  --black: #121417;
  --charcoal: #1c2024;
  --charcoal-2: #262b31;
  --steel: #7a8290;
  --steel-light: #b9c0c9;
  --off-white: #f4f3ef;
  --white: #ffffff;
  --accent: #e8590c;
  --accent-light: #ff8a3d;
  --border: #33393f;
  --font-head: 'Oswald', 'Arial Narrow', Impact, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--off-white);
  color: var(--charcoal);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--black);
  line-height: 1.15;
}

h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

.eyebrow {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
}

.lede {
  font-size: 1.1rem;
  color: #4a5057;
  max-width: 640px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 15px 32px;
  border-radius: 3px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}
.btn-primary:hover { background: var(--accent-light); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--black); }

.btn-dark {
  background: var(--black);
  color: var(--white);
}
.btn-dark:hover { background: var(--charcoal-2); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: var(--black);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1180px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  color: var(--white);
  font-size: 1.3rem;
  letter-spacing: 1px;
}
.logo img { height: 44px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  color: var(--steel-light);
  font-family: var(--font-head);
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--accent-light); }

.nav-cta {
  background: var(--accent);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: 3px;
}
.nav-cta:hover { background: var(--accent-light); }

.nav-phone {
  color: var(--white) !important;
  font-weight: 600;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  width: 26px;
  height: 2px;
  background: var(--white);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, rgba(18,20,23,0.6) 0%, rgba(18,20,23,0.9) 100%), var(--black);
  background-size: cover;
  background-position: center;
  color: var(--white);
  overflow: hidden;
}
.hero-inner { position: relative; z-index: 2; padding: 100px 24px; max-width: 1180px; margin: 0 auto; }
.hero .eyebrow { color: var(--accent-light); }
.hero h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  margin: 14px 0 22px;
  max-width: 780px;
}
.hero p.lede { color: var(--steel-light); font-size: 1.2rem; max-width: 620px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-badges {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-badges div { font-size: 0.85rem; color: var(--steel-light); text-transform: uppercase; letter-spacing: 1px; }
.hero-badges strong { display: block; color: var(--white); font-family: var(--font-head); font-size: 1.4rem; letter-spacing: 0; text-transform: none; }

/* ---------- Sections ---------- */
section { padding: 90px 0; }
.section-head { margin-bottom: 44px; }
.section-head.center { text-align: center; }
.section-head.center .lede { margin-left: auto; margin-right: auto; }

.bg-dark { background: var(--black); color: var(--white); }
.bg-dark h2, .bg-dark h3, .bg-dark h4 { color: var(--white); }
.bg-dark .lede { color: var(--steel-light); }

.bg-charcoal { background: var(--charcoal); color: var(--white); }
.bg-charcoal h2, .bg-charcoal h3 { color: var(--white); }
.bg-charcoal .lede { color: var(--steel-light); }

/* ---------- Audience split (GC / Homeowner) ---------- */
.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.audience-card {
  background: var(--white);
  border: 1px solid #e2e0d9;
  border-top: 4px solid var(--accent);
  padding: 36px 32px;
  border-radius: 4px;
}
.audience-card h3 { margin-bottom: 12px; }
.audience-card p { color: #4a5057; margin-bottom: 18px; }
.audience-card ul { margin-bottom: 22px; }
.audience-card li { padding: 6px 0; padding-left: 24px; position: relative; color: #3a3f45; }
.audience-card li::before {
  content: "";
  position: absolute; left: 0; top: 14px;
  width: 10px; height: 2px; background: var(--accent);
}

/* ---------- Project categories ---------- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.category-card {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--charcoal-2);
}
.category-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}
.category-card:hover img { transform: scale(1.06); }
.category-card .label {
  position: absolute; inset: auto 0 0 0;
  padding: 20px;
  background: linear-gradient(0deg, rgba(0,0,0,0.85), transparent);
  color: var(--white);
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1.1rem;
}

/* ---------- Gallery (projects page) ---------- */
.gallery-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.filter-btn {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
  padding: 9px 18px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--charcoal);
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.2s;
}
.filter-btn.active, .filter-btn:hover { background: var(--accent); border-color: var(--accent); color: var(--white); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.gallery-item {
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  background: #e2e0d9;
}
.gallery-item img { width: 100%; height: 260px; object-fit: cover; transition: transform 0.35s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item .cap {
  position: absolute; inset: auto 0 0 0;
  padding: 10px 14px;
  background: linear-gradient(0deg, rgba(0,0,0,0.8), transparent);
  color: var(--white); font-size: 0.85rem;
  font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.5px;
}

/* ---------- Process steps ---------- */
.process-list { display: grid; gap: 0; }
.process-step {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.process-step:last-child { border-bottom: none; }
.step-num {
  font-family: var(--font-head);
  font-size: 2.6rem;
  color: var(--accent);
  line-height: 1;
}
.process-step h4 { margin-bottom: 8px; }
.process-step p { color: var(--steel-light); }

/* ---------- Testimonials ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid #e2e0d9;
  border-radius: 4px;
  padding: 30px;
}
.stars { color: var(--accent); letter-spacing: 2px; margin-bottom: 14px; font-size: 1rem; }
.testimonial-card p.quote { color: #3a3f45; font-style: italic; margin-bottom: 18px; }
.testimonial-card .who { font-family: var(--font-head); text-transform: uppercase; font-size: 0.85rem; letter-spacing: 1px; color: var(--accent); }
.testimonial-card .proj { font-size: 0.8rem; color: var(--steel); margin-top: 2px; }

/* ---------- Stats strip ---------- */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stat strong { display: block; font-family: var(--font-head); font-size: 2.4rem; color: var(--accent-light); }
.stat span { color: var(--steel-light); text-transform: uppercase; letter-spacing: 1px; font-size: 0.8rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--accent);
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}
.cta-band h2 { color: var(--white); margin-bottom: 10px; }
.cta-band p { color: rgba(255,255,255,0.9); margin-bottom: 26px; }

/* ---------- Contact / form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-info h3 { margin-bottom: 18px; }
.contact-info .item { margin-bottom: 20px; }
.contact-info .item .lbl { font-family: var(--font-head); text-transform: uppercase; letter-spacing: 1px; font-size: 0.8rem; color: var(--accent); }
.contact-info .item .val { font-size: 1.15rem; color: var(--charcoal); }
.form-embed {
  background: var(--white);
  border: 1px solid #e2e0d9;
  border-radius: 4px;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--steel);
  text-align: center;
  padding: 40px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--black);
  color: var(--steel-light);
  padding: 60px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-grid h4 { color: var(--white); margin-bottom: 16px; font-size: 1rem; }
.footer-grid ul li { margin-bottom: 10px; }
.footer-grid ul li a:hover { color: var(--accent-light); }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-logo img { height: 38px; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--steel);
}
.footer-bottom a:hover { color: var(--accent-light); }
.social-row { display: flex; gap: 14px; margin-top: 10px; }
.social-row img { height: 22px; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  background: var(--black);
  color: var(--white);
  padding: 70px 0 50px;
  text-align: center;
}
.page-hero h1 { color: var(--white); margin: 10px 0 0; font-size: clamp(2rem, 4.5vw, 3rem); }

/* ---------- Warranty box ---------- */
.info-box {
  background: var(--white);
  border: 1px solid #e2e0d9;
  border-left: 4px solid var(--accent);
  border-radius: 4px;
  padding: 28px 32px;
}
.info-box h4 { margin-bottom: 12px; }
.info-box p { color: #4a5057; margin-bottom: 10px; }

/* ---------- Lightbox ---------- */
.lightbox {
  display: none;
  position: fixed; inset: 0;
  background: rgba(10,10,12,0.94);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox img { max-height: 88vh; max-width: 90vw; border-radius: 4px; }
.lightbox-close {
  position: absolute; top: 24px; right: 32px;
  color: var(--white); font-size: 2.2rem; cursor: pointer; background: none; border: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-links { position: fixed; top: 73px; left: 0; right: 0; background: var(--black); flex-direction: column; align-items: flex-start; padding: 20px 24px; gap: 18px; border-bottom: 1px solid var(--border); transform: translateY(-140%); transition: transform 0.25s ease; }
  .nav-links.open { transform: translateY(0); }
  .hamburger { display: flex; }
  .audience-grid, .category-grid, .gallery-grid, .testimonial-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .process-step { grid-template-columns: 60px 1fr; }
}
