/*
Theme Name: Smog Busters
Theme URI: https://smogbusters.com
Author: Cary Darling
Description: Custom theme for smogbusters.com
Version: 1.0
*/

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

body {
  font-family: 'DM Sans', sans-serif;
  background: #fff;
  color: #0d0d0d;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── HEADER ─────────────────────────────────────────────────────────────── */
#sb-header {
  background: #fff;
  border-bottom: 3px solid #4caf50;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

#sb-header .header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

#sb-header .logo img {
  height: 56px;
  width: auto;
  display: block;
}

#sb-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

#sb-nav a {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #2e7d32;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 4px;
  transition: background 0.15s;
  white-space: nowrap;
}

#sb-nav a:hover,
#sb-nav a.current {
  background: #e8f5e9;
  color: #1b5e20;
}

.header-cta a {
  background: #4caf50;
  color: #fff !important;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s;
}

.header-cta a:hover {
  background: #388e3c;
}

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #2e7d32;
  border-radius: 2px;
}

/* ── MAIN CONTENT ───────────────────────────────────────────────────────── */
#sb-content {
  flex: 1;
  width: 100%;
}

/* ── FOOTER ─────────────────────────────────────────────────────────────── */
#sb-footer {
  background: #0d0d0d;
  border-top: 4px solid #CC2229;
  padding: 28px 24px 20px;
  margin-top: auto;
}

#sb-footer .footer-links {
  max-width: 1100px;
  margin: 0 auto 12px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 4px;
}

#sb-footer .footer-links a {
  color: #9eb4c0;
  font-size: 13px;
  text-decoration: none;
  padding: 4px 10px;
  transition: color 0.15s;
}

#sb-footer .footer-links a:hover {
  color: #fff;
}

#sb-footer .footer-links .footer-phone {
  color: #fff;
  font-weight: 600;
}

#sb-footer .footer-social {
  max-width: 1100px;
  margin: 0 auto 16px;
  display: flex;
  justify-content: center;
  gap: 16px;
}

#sb-footer .footer-social a {
  color: #9eb4c0;
  font-size: 13px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.15s;
}

#sb-footer .footer-social a:hover {
  color: #fff;
}

#sb-footer .footer-social svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

#sb-footer .footer-social svg[fill="none"] {
  fill: none;
  stroke: currentColor;
}

#sb-footer .footer-copy {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  font-size: 12px;
  color: #556;
  line-height: 1.6;
}

#sb-footer .footer-copy .footer-tagline {
  color: #667;
  margin-bottom: 8px;
}

#sb-footer .footer-disclaimer {
  font-size: 11px;
  color: #445;
  margin-top: 10px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

/* ── RESPONSIVE ─────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  #sb-nav { display: none; }
  .hamburger { display: flex; }
  #sb-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 3px solid #4caf50;
    padding: 16px 24px;
    align-items: flex-start;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }
  .header-inner { position: relative; }
}
