/*
Theme Name: Driveway Weed Control
Theme URI: https://drivewayweedcontrol.com
Author: Driveway Weed Control
Author URI: https://drivewayweedcontrol.com
Description: Custom theme for Driveway Weed Control. Professional driveway weed control using QuickPro herbicide treatment. Mobile-first, conversion-optimized.
Version: 1.0.0
License: Proprietary
Text Domain: dwc
Tags: one-column, mobile-first, accessibility-ready, custom-colors
*/

/* === RESET / BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: #1F2937;
  background: #FFFFFF;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; }

h1, h2, h3 { line-height: 1.2; font-weight: 800; color: #0F1F12; }
h1 { font-size: 2.5rem; margin-bottom: 1rem; }
h2 { font-size: 2rem; margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
p { margin-bottom: 1rem; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section.tight { padding: 60px 0; }
.section.light { background: #F8F9FA; }

.center { text-align: center; }
.center-narrow { text-align: center; color: #6B7280; max-width: 600px; margin: 0 auto; }

/* === BUTTONS === */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 28px; border-radius: 8px;
  font-weight: 700; font-size: 1.05rem;
  transition: transform 0.1s, box-shadow 0.2s, background 0.2s;
  text-align: center;
}
.btn-primary { background: #2E7D32; color: #FFFFFF; }
.btn-primary:hover { background: #1F5C23; box-shadow: 0 4px 14px rgba(46, 125, 50, 0.3); }
.btn-phone { background: #FFC107; color: #1F2937; }
.btn-phone:hover { background: #FFB300; box-shadow: 0 4px 14px rgba(255, 193, 7, 0.4); }
.btn-outline {
  background: transparent; color: #2E7D32;
  border: 2px solid #2E7D32;
}
.btn-outline:hover { background: #2E7D32; color: #FFFFFF; }
.btn:active { transform: scale(0.98); }

/* === HEADER === */
header {
  position: sticky; top: 0; z-index: 100;
  background: #FFFFFF;
  border-bottom: 1px solid #E5E7EB;
  padding: 16px 0;
}
.header-row { display: flex; justify-content: space-between; align-items: center; }
.logo {
  font-size: 1.2rem; font-weight: 900;
  display: flex; align-items: center; gap: 8px;
}
.logo-mark { font-size: 1.5rem; }
.header-phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; color: #2E7D32; font-size: 1rem;
}
.header-phone:hover { color: #1F5C23; }

/* === HERO === */
.hero {
  padding: 80px 0 60px;
  background: linear-gradient(135deg, #F0F9F1 0%, #FFFFFF 100%);
}
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center;
}
.hero h1 { font-size: 3rem; color: #0F1F12; }
.hero h1 .accent { color: #2E7D32; }
.hero-sub { font-size: 1.2rem; color: #4B5563; margin-bottom: 2rem; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 1.5rem; }
.hero-trust {
  display: flex; gap: 20px; flex-wrap: wrap;
  color: #6B7280; font-size: 0.95rem;
}
.hero-trust span { display: inline-flex; align-items: center; gap: 6px; }
.hero-img {
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, #228B22 0%, #1F5C23 100%);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  text-align: center; padding: 32px;
  box-shadow: 0 20px 60px rgba(15, 31, 18, 0.15);
}
.hero-img .placeholder-label {
  display: block; font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; color: #FFFFFF;
}

/* === STATS === */
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: 40px;
}
.stat {
  text-align: center; padding: 24px;
  background: #FFFFFF; border-radius: 12px;
  border: 1px solid #E5E7EB;
}
.stat-num {
  font-size: 2.25rem; font-weight: 900; color: #2E7D32;
  line-height: 1; margin-bottom: 8px;
}
.stat-label { font-size: 0.95rem; color: #6B7280; }

/* === HOW IT WORKS === */
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
  margin-top: 40px;
}
.step {
  padding: 32px; border-radius: 12px;
  background: #FFFFFF; border: 1px solid #E5E7EB;
  position: relative;
}
.step-icon {
  width: 56px; height: 56px; border-radius: 12px;
  background: #E8F5E9; color: #2E7D32;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; font-weight: 900;
  margin-bottom: 16px;
}
.step h3 { color: #0F1F12; }

/* === BENEFITS === */
.benefits {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
  margin-top: 32px;
}
.benefit {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px;
}
.benefit-icon {
  flex-shrink: 0; width: 32px; height: 32px;
  border-radius: 50%; background: #2E7D32; color: #FFFFFF;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; font-weight: 700;
}
.benefit-text strong { display: block; margin-bottom: 4px; color: #0F1F12; }
.benefit-text span { color: #6B7280; font-size: 0.95rem; }

/* === SERVICE AREA === */
.area-list {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px 24px;
  margin: 32px 0; max-width: 720px;
}
.area-list li { list-style: none; padding: 6px 0; color: #4B5563; }
.area-list li::before { content: "✓"; color: #2E7D32; font-weight: 700; margin-right: 8px; }

/* === FAQ === */
.faq-list { margin-top: 32px; max-width: 820px; }
details {
  background: #FFFFFF; border: 1px solid #E5E7EB;
  border-radius: 8px; padding: 0; margin-bottom: 12px;
}
summary {
  padding: 20px 24px; cursor: pointer; font-weight: 700;
  list-style: none; position: relative; color: #0F1F12;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; position: absolute; right: 24px; top: 50%;
  transform: translateY(-50%); font-size: 1.4rem; color: #2E7D32;
}
details[open] summary::after { content: "−"; }
details[open] { border-color: #2E7D32; }
.faq-answer { padding: 0 24px 24px; color: #4B5563; }

/* === FORM === */
.contact {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  background: #FFFFFF; padding: 48px; border-radius: 16px;
  box-shadow: 0 10px 40px rgba(15, 31, 18, 0.08);
}
.contact-side h2 { color: #0F1F12; }
.contact-phone {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 1.5rem; font-weight: 800;
  color: #2E7D32; margin: 16px 0;
}
.form-row { margin-bottom: 16px; }
.form-row label {
  display: block; margin-bottom: 6px;
  font-weight: 600; font-size: 0.95rem; color: #1F2937;
}
.form-row input, .form-row textarea, .form-row select {
  width: 100%; padding: 12px 14px;
  border: 1px solid #D1D5DB; border-radius: 8px;
  font: inherit; color: #1F2937;
  background: #FFFFFF;
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus {
  outline: none; border-color: #2E7D32;
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.15);
}
.form-row textarea { resize: vertical; min-height: 100px; }
.submit-row {
  display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 8px;
}
.submit-row .btn { width: 100%; justify-content: center; }
.form-note { font-size: 0.85rem; color: #6B7280; margin-top: 12px; }
.form-success {
  display: none;
  padding: 16px; border-radius: 8px;
  background: #E8F5E9; color: #1B5E20;
  margin-top: 16px; font-weight: 600;
}

/* === FOOTER === */
footer {
  background: #0F1F12; color: #D1D5DB;
  padding: 40px 0 24px; font-size: 0.95rem;
}
footer a { color: #FFFFFF; }
footer a:hover { color: #FFC107; }
.footer-row {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 20px;
}
.footer-meta {
  margin-top: 24px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.85rem; color: #9CA3AF;
}

/* === PRIVACY POLICY === */
.privacy-content {
  max-width: 800px; margin: 0 auto; padding: 40px 24px;
  line-height: 1.7; color: #1F2937;
}
.privacy-content h1, .privacy-content h2 { color: #0F1F12; }
.privacy-content h1 { font-size: 2rem; margin: 1.5em 0 0.5em; }
.privacy-content h2 { font-size: 1.4rem; margin: 1.5em 0 0.5em; }
.privacy-content hr { border: 0; border-top: 1px solid #E5E7EB; margin: 32px 0; }
.privacy-content .updated { color: #6B7280; font-size: 0.95rem; }
.privacy-content .back-link { color: #2E7D32; font-weight: 700; }

/* === MOBILE === */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 2.25rem; }
  .hero { padding: 60px 0 40px; }
  .steps, .benefits, .stats { grid-template-columns: 1fr; }
  .area-list { grid-template-columns: repeat(2, 1fr); }
  .contact { grid-template-columns: 1fr; padding: 32px 24px; gap: 32px; }
  .section { padding: 60px 0; }
  .header-phone span { display: none; }
  .header-phone::after { content: "📞 Call"; font-size: 1rem; }
}
