/* ============================================
   STRUTZENBERG FARM DRAINAGE & EXCAVATING
   Static Site — styles.css
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;800;900&family=Barlow:wght@300;400;500;600&display=swap');

:root {
  --gold: #c8a12a;
  --gold-light: #d4b347;
  --dark: #1a1a1a;
  --dark2: #242424;
  --charcoal: #2e2e2e;
  --mid: #555;
  --light: #f5f4f0;
  --white: #ffffff;
  --nav-height: 80px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Barlow', sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

/* ── NAVBAR ───────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: var(--white);
  border-bottom: 1px solid #e8e6e0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.navbar-logo img {
  height: 48px;
  width: auto;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.navbar-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dark);
  transition: color 0.2s;
}

.navbar-links a:hover { color: var(--gold); }

/* Services dropdown */
.nav-dropdown { position: relative; }

.nav-dropdown > a::after {
  content: ' ▾';
  font-size: 10px;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  min-width: 240px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  border-top: 2px solid var(--gold);
  padding: 8px 0;
  list-style: none;
  margin-top: 8px;
}

.nav-dropdown:hover .dropdown-menu { display: block; }

.dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--dark);
  transition: background 0.15s, color 0.15s;
}

.dropdown-menu li a:hover {
  background: var(--light);
  color: var(--gold);
}

.navbar-phone {
  font-family: 'Barlow', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 6px;
}

.navbar-phone::before { content: '📞'; font-size: 13px; }

.btn-quote {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 2px solid var(--dark);
  padding: 10px 22px;
  color: var(--dark);
  transition: background 0.2s, color 0.2s;
}

.btn-quote:hover {
  background: var(--dark);
  color: var(--white);
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  transition: all 0.3s;
}

/* ── HERO ─────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  text-align: center;
  margin-top: var(--nav-height);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(0,0,0,0.3) 0%,
    rgba(0,0,0,0.5) 50%,
    rgba(0,0,0,0.65) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--white);
  padding: 0 20px;
  max-width: 900px;
}

.hero-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  margin-bottom: 16px;
}

.hero-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(52px, 9vw, 100px);
  font-weight: 900;
  line-height: 0.92;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 32px;
}

.hero-cta {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 2px solid var(--white);
  padding: 14px 36px;
  color: var(--white);
  transition: background 0.25s, color 0.25s, border-color 0.25s;
  margin: 0 8px;
}

.hero-cta:hover {
  background: var(--white);
  color: var(--dark);
}

.hero-cta.primary {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

.hero-cta.primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}

/* Page hero (smaller, for inner pages) */
.page-hero {
  height: 420px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  margin-top: var(--nav-height);
  position: relative;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.65));
}

.page-hero-content {
  position: relative;
  z-index: 1;
  color: var(--white);
  padding: 40px 60px;
  max-width: 800px;
}

.page-hero-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 8px;
}

.page-hero-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1;
}

/* ── SECTIONS ─────────────────────────────── */
section { padding: 90px 0; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.0;
  color: var(--dark);
  margin-bottom: 24px;
}

.section-title.light { color: var(--white); }

.section-body {
  font-size: 17px;
  font-weight: 400;
  color: var(--mid);
  max-width: 640px;
  line-height: 1.75;
}

/* ── ABOUT STRIP ──────────────────────────── */
.about-strip {
  background: var(--light);
}

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

.about-image { position: relative; }

.about-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.about-image::before {
  content: '';
  position: absolute;
  top: -12px;
  left: -12px;
  right: 12px;
  bottom: 12px;
  border: 3px solid var(--gold);
  z-index: 0;
}

.about-image img { position: relative; z-index: 1; }

.btn-solid {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: var(--dark);
  color: var(--white);
  padding: 14px 32px;
  margin-top: 28px;
  transition: background 0.2s;
}

.btn-solid:hover { background: var(--gold); }

.btn-outline {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 2px solid var(--dark);
  color: var(--dark);
  padding: 12px 30px;
  margin-top: 28px;
  transition: all 0.2s;
}

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

/* ── TILE DRAINAGE INFO ───────────────────── */
.tile-info {
  background: var(--dark);
  color: var(--white);
}

.tile-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.tile-info .section-body { color: rgba(255,255,255,0.7); max-width: 100%; }

/* ── BENEFITS ─────────────────────────────── */
.benefits { background: var(--white); }

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 60px;
}

.benefit-card {
  border-left: 3px solid var(--gold);
  padding: 8px 0 8px 24px;
}

.benefit-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--dark);
  margin-bottom: 10px;
}

.benefit-card p {
  font-size: 15px;
  color: var(--mid);
  line-height: 1.7;
}

/* ── SERVICES GRID ────────────────────────── */
.services { background: var(--light); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.service-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--dark);
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.5s ease;
  filter: brightness(0.65);
}

.service-card:hover img {
  transform: scale(1.05);
  filter: brightness(0.45);
}

.service-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
  color: var(--white);
}

.service-card-content h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.service-card-content a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-light);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}

.service-card-content a:hover { gap: 12px; }

/* ── TECHNOLOGY ───────────────────────────── */
.technology {
  background: var(--dark2);
  color: var(--white);
}

.tech-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.tech-list {
  list-style: none;
  margin-top: 28px;
}

.tech-list li {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  gap: 12px;
}

.tech-list li::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  background: var(--gold);
  flex-shrink: 0;
}

.technology .section-body { color: rgba(255,255,255,0.65); max-width: 100%; }

/* ── CTA BANNER ───────────────────────────── */
.cta-banner {
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 100px 0;
  text-align: center;
}

.cta-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
}

.cta-banner .container { position: relative; z-index: 1; }

.cta-banner .section-title { color: var(--white); margin-bottom: 12px; }

.cta-banner p {
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 36px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ── SERVICE PAGE CONTENT ─────────────────── */
.service-content { background: var(--white); }

.service-content-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 80px;
  align-items: start;
}

.service-body h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 32px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--dark);
  margin: 32px 0 12px;
}

.service-body h2:first-child { margin-top: 0; }

.service-body p {
  font-size: 16px;
  color: var(--mid);
  line-height: 1.8;
  margin-bottom: 16px;
}

.service-body ul {
  list-style: none;
  margin: 16px 0 24px;
}

.service-body ul li {
  font-size: 16px;
  color: var(--mid);
  padding: 8px 0;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.service-body ul li::before {
  content: '▸';
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.service-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + 32px);
}

.sidebar-card {
  background: var(--light);
  padding: 32px;
  margin-bottom: 24px;
}

.sidebar-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--dark);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gold);
}

.sidebar-card ul {
  list-style: none;
}

.sidebar-card ul li a {
  display: block;
  font-size: 15px;
  color: var(--mid);
  padding: 9px 0;
  border-bottom: 1px solid #e0deda;
  transition: color 0.2s, padding-left 0.2s;
}

.sidebar-card ul li a:hover {
  color: var(--gold);
  padding-left: 6px;
}

.sidebar-cta {
  background: var(--dark);
  padding: 32px;
  text-align: center;
  color: var(--white);
}

.sidebar-cta h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.sidebar-cta p {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 20px;
  line-height: 1.6;
}

.sidebar-cta .btn-gold {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--white);
  padding: 14px 24px;
  text-align: center;
  transition: background 0.2s;
}

.sidebar-cta .btn-gold:hover { background: var(--gold-light); }

/* ── ABOUT PAGE ───────────────────────────── */
.about-content { background: var(--white); }

.about-full-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 80px;
  align-items: start;
}

/* ── CONTACT PAGE ─────────────────────────── */
.contact-section { background: var(--white); }

.contact-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 80px;
}

.contact-form label {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 8px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #d8d5ce;
  background: var(--light);
  font-family: 'Barlow', sans-serif;
  font-size: 15px;
  color: var(--dark);
  outline: none;
  transition: border-color 0.2s;
  margin-bottom: 20px;
  -webkit-appearance: none;
  border-radius: 0;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--gold);
}

.contact-form textarea { height: 140px; resize: vertical; }

.contact-form .btn-submit {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: var(--dark);
  color: var(--white);
  border: none;
  padding: 16px 40px;
  cursor: pointer;
  width: 100%;
  transition: background 0.2s;
}

.contact-form .btn-submit:hover { background: var(--gold); }

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 28px;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.contact-info-item h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--dark);
  margin-bottom: 4px;
}

.contact-info-item p {
  font-size: 15px;
  color: var(--mid);
  line-height: 1.5;
}

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

/* ── FOOTER ───────────────────────────────── */
footer {
  background: var(--dark);
  color: var(--white);
  padding: 60px 0 32px;
}

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

.footer-logo img { height: 52px; margin-bottom: 16px; }

.footer-tagline {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  max-width: 240px;
}

.footer-col h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; }

.footer-col ul li { margin-bottom: 8px; }

.footer-col ul li a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}

.footer-col ul li a:hover { color: var(--white); }

.footer-col p {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 24px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}

/* ── GALLERY GRID ─────────────────────────── */
.gallery-section { background: var(--light); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.gallery-grid img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.4s, filter 0.4s;
  filter: brightness(0.9);
}
.gallery-grid img:hover { transform: scale(1.02); filter: brightness(1); }

/* ── RESPONSIVE ───────────────────────────── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-height: 64px; }
  .navbar { padding: 0 20px; }
  .navbar-links, .navbar-phone { display: none; }
  .navbar-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: var(--white);
    padding: 24px;
    gap: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  }
  .nav-toggle { display: flex; }
  .dropdown-menu { position: static; transform: none; box-shadow: none; border: none; padding-left: 16px; }
  .nav-dropdown:hover .dropdown-menu { display: none; }
  .nav-dropdown.open .dropdown-menu { display: block; }

  .about-grid, .tile-info-grid, .tech-grid,
  .service-content-grid, .about-full-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }

  .services-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .page-hero-content { padding: 32px 24px; }
  .container { padding: 0 20px; }
  section { padding: 60px 0; }
  .hero { background-attachment: scroll; }
  .form-row { grid-template-columns: 1fr; }
  .service-sidebar { position: static; }
  .about-image::before { display: none; }
}
