/* ==========================================================================
   WEBFLUENCE STARTER — MAIN STYLESHEET
   Professional landscaping lead generation theme
   ========================================================================== */

/* --- CSS VARIABLES --- */
:root {
  --wf-navy: #0D2137;
  --wf-teal: #1a6b7a;
  --wf-green: #2E7D32;
  --wf-green-light: #E8F5E9;
  --wf-gold: #F9A825;
  --wf-orange: #E65100;
  --wf-white: #ffffff;
  --wf-off-white: #f8f9fa;
  --wf-light-gray: #f0f2f4;
  --wf-mid-gray: #6c757d;
  --wf-dark-gray: #343a40;
  --wf-text: #2d3436;
  --wf-radius: 8px;
  --wf-shadow: 0 2px 15px rgba(0,0,0,0.08);
  --wf-shadow-hover: 0 8px 30px rgba(0,0,0,0.12);
  --wf-transition: all 0.3s ease;
  --wf-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wf-max-width: 1200px;
}

/* --- RESET & BASE --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--wf-font);
  font-size: 17px;
  line-height: 1.7;
  color: var(--wf-text);
  background: var(--wf-white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--wf-teal); text-decoration: none; transition: var(--wf-transition); }
a:hover { color: var(--wf-green); }
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.25; color: var(--wf-navy); margin-bottom: 0.5em; }
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
p { margin-bottom: 1em; }
ul, ol { margin-bottom: 1em; padding-left: 1.5em; }
li { margin-bottom: 0.3em; }

/* --- UTILITY --- */
.wf-container { max-width: var(--wf-max-width); margin: 0 auto; padding: 0 24px; }
.wf-section { padding: 60px 0; }
.wf-section--gray { background: var(--wf-light-gray); }
.wf-section--navy { background: var(--wf-navy); color: var(--wf-white); }
.wf-section--navy h2, .wf-section--navy h3 { color: var(--wf-white); }
.wf-section--teal { background: var(--wf-teal); color: var(--wf-white); }
.wf-section--teal h2 { color: var(--wf-white); }
.wf-section--green { background: var(--wf-green); color: var(--wf-white); }
.wf-section--green h2 { color: var(--wf-white); }
.wf-text-center { text-align: center; }
.wf-mb-0 { margin-bottom: 0; }

/* --- BUTTONS --- */
.wf-btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--wf-radius);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--wf-transition);
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
}
.wf-btn--primary {
  background: var(--wf-green);
  color: var(--wf-white);
  border-color: var(--wf-green);
}
.wf-btn--primary:hover {
  background: #1b5e20;
  border-color: #1b5e20;
  color: var(--wf-white);
  transform: translateY(-2px);
  box-shadow: var(--wf-shadow-hover);
}
.wf-btn--outline {
  background: transparent;
  color: var(--wf-white);
  border-color: var(--wf-white);
}
.wf-btn--outline:hover {
  background: var(--wf-white);
  color: var(--wf-navy);
  transform: translateY(-2px);
}
.wf-btn--gold {
  background: var(--wf-gold);
  color: var(--wf-navy);
  border-color: var(--wf-gold);
}
.wf-btn--gold:hover {
  background: #f57f17;
  border-color: #f57f17;
  color: var(--wf-white);
  transform: translateY(-2px);
}
.wf-btn--phone {
  background: var(--wf-teal);
  color: var(--wf-white);
  border-color: var(--wf-teal);
  font-size: 18px;
}
.wf-btn--phone:hover {
  background: #145a67;
  border-color: #145a67;
  color: var(--wf-white);
}
.wf-btn-group { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 24px; }

/* --- HEADER --- */
.wf-header {
  background: var(--wf-white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.wf-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--wf-max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
}
.wf-logo {
  font-size: 20px;
  font-weight: 800;
  color: var(--wf-navy);
  text-decoration: none;
  line-height: 1.2;
}
.wf-logo span { color: var(--wf-green); }
.wf-logo small { display: block; font-size: 11px; font-weight: 400; color: var(--wf-mid-gray); letter-spacing: 1px; text-transform: uppercase; }

/* --- NAV --- */
.wf-nav { display: flex; align-items: center; gap: 4px; }
.wf-nav a {
  padding: 8px 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--wf-dark-gray);
  border-radius: 6px;
  transition: var(--wf-transition);
}
.wf-nav a:hover, .wf-nav a.active { background: var(--wf-light-gray); color: var(--wf-green); }
.wf-nav__dropdown { position: relative; }
.wf-nav__dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--wf-white);
  border-radius: var(--wf-radius);
  box-shadow: var(--wf-shadow-hover);
  min-width: 220px;
  padding: 8px 0;
  z-index: 100;
}
.wf-nav__dropdown:hover .wf-nav__dropdown-menu { display: block; }
.wf-nav__dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  border-radius: 0;
}
.wf-nav__cta {
  background: var(--wf-green) !important;
  color: var(--wf-white) !important;
  font-weight: 600 !important;
  padding: 10px 20px !important;
  border-radius: var(--wf-radius) !important;
  margin-left: 8px;
}
.wf-nav__cta:hover { background: #1b5e20 !important; }
.wf-header__phone { display: none; font-size: 14px; font-weight: 600; color: var(--wf-teal); }

/* Mobile Menu Toggle */
.wf-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.wf-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--wf-navy);
  margin: 5px 0;
  transition: var(--wf-transition);
}

/* --- HERO --- */
.wf-hero {
  position: relative;
  background: var(--wf-navy);
  color: var(--wf-white);
  min-height: 500px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.wf-hero--short { min-height: 300px; }
.wf-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
}
.wf-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,33,55,0.9) 0%, rgba(26,107,122,0.7) 100%);
}
.wf-hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--wf-max-width);
  margin: 0 auto;
  padding: 80px 24px;
  width: 100%;
}
.wf-hero h1 { color: var(--wf-white); margin-bottom: 16px; font-size: clamp(2rem, 5vw, 3.2rem); }
.wf-hero__subtitle {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  opacity: 0.9;
  max-width: 700px;
  margin-bottom: 8px;
  line-height: 1.6;
}
.wf-hero__badge {
  display: inline-block;
  background: var(--wf-gold);
  color: var(--wf-navy);
  padding: 6px 16px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

/* --- SERVICE CARDS --- */
.wf-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.wf-service-card {
  background: var(--wf-white);
  border-radius: var(--wf-radius);
  padding: 32px;
  box-shadow: var(--wf-shadow);
  transition: var(--wf-transition);
  border-top: 4px solid var(--wf-green);
}
.wf-service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--wf-shadow-hover);
}
.wf-service-card__icon {
  width: 56px;
  height: 56px;
  background: var(--wf-green-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 16px;
}
.wf-service-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.wf-service-card p { font-size: 15px; color: var(--wf-mid-gray); margin-bottom: 16px; }
.wf-service-card a { font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: 0.5px; }

/* --- TESTIMONIALS --- */
.wf-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.wf-testimonial {
  background: var(--wf-white);
  border-radius: var(--wf-radius);
  padding: 28px;
  box-shadow: var(--wf-shadow);
  border-left: 4px solid var(--wf-gold);
}
.wf-testimonial__quote {
  font-size: 15px;
  font-style: italic;
  line-height: 1.7;
  color: var(--wf-text);
  margin-bottom: 16px;
}
.wf-testimonial__author {
  font-weight: 600;
  font-size: 14px;
  color: var(--wf-green);
}
.wf-testimonial__stars {
  color: var(--wf-gold);
  font-size: 16px;
  margin-bottom: 12px;
}

/* --- FAQ ACCORDION --- */
.wf-faq { margin-top: 32px; }
.wf-faq__item {
  border: 1px solid #e0e0e0;
  border-radius: var(--wf-radius);
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--wf-white);
}
.wf-faq__question {
  width: 100%;
  text-align: left;
  padding: 18px 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--wf-navy);
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--wf-transition);
  font-family: var(--wf-font);
}
.wf-faq__question:hover { background: var(--wf-light-gray); }
.wf-faq__question::after {
  content: "+";
  font-size: 22px;
  font-weight: 300;
  color: var(--wf-teal);
  transition: var(--wf-transition);
  flex-shrink: 0;
  margin-left: 16px;
}
.wf-faq__item.active .wf-faq__question::after { content: "−"; }
.wf-faq__answer {
  display: none;
  padding: 0 24px 18px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--wf-mid-gray);
}
.wf-faq__item.active .wf-faq__answer { display: block; }

/* --- CTA SECTION --- */
.wf-cta {
  background: linear-gradient(135deg, var(--wf-green) 0%, var(--wf-teal) 100%);
  color: var(--wf-white);
  text-align: center;
  padding: 60px 24px;
}
.wf-cta h2 { color: var(--wf-white); margin-bottom: 16px; }
.wf-cta p { font-size: 18px; opacity: 0.9; max-width: 600px; margin: 0 auto 24px; }

/* --- STATS BAR --- */
.wf-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 24px;
  text-align: center;
  padding: 40px 0;
}
.wf-stat__number { font-size: 2.5rem; font-weight: 800; color: var(--wf-green); }
.wf-stat__label { font-size: 14px; color: var(--wf-mid-gray); text-transform: uppercase; letter-spacing: 1px; }

/* --- AREAS GRID --- */
.wf-areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.wf-area-item {
  background: var(--wf-white);
  border: 1px solid #e0e0e0;
  border-radius: var(--wf-radius);
  padding: 16px 20px;
  font-weight: 500;
  transition: var(--wf-transition);
}
.wf-area-item:hover { border-color: var(--wf-green); background: var(--wf-green-light); }
.wf-area-item strong { display: block; color: var(--wf-navy); }
.wf-area-item span { font-size: 13px; color: var(--wf-mid-gray); }

/* --- QUOTE FORM --- */
.wf-form { max-width: 600px; margin: 32px auto 0; }
.wf-form__group { margin-bottom: 20px; }
.wf-form__label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; color: var(--wf-navy); }
.wf-form__input, .wf-form__textarea, .wf-form__select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: var(--wf-radius);
  font-size: 16px;
  font-family: var(--wf-font);
  transition: var(--wf-transition);
  background: var(--wf-white);
}
.wf-form__input:focus, .wf-form__textarea:focus, .wf-form__select:focus {
  border-color: var(--wf-teal);
  outline: none;
  box-shadow: 0 0 0 3px rgba(26,107,122,0.15);
}
.wf-form__textarea { min-height: 120px; resize: vertical; }

/* --- FOOTER --- */
.wf-footer {
  background: var(--wf-navy);
  color: rgba(255,255,255,0.7);
  padding: 48px 0 24px;
}
.wf-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}
.wf-footer h4 { color: var(--wf-white); font-size: 16px; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 1px; }
.wf-footer a { color: rgba(255,255,255,0.7); }
.wf-footer a:hover { color: var(--wf-gold); }
.wf-footer ul { list-style: none; padding: 0; }
.wf-footer li { margin-bottom: 8px; font-size: 15px; }
.wf-footer__phone { font-size: 20px; font-weight: 700; color: var(--wf-gold); }
.wf-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
}

/* --- PAGE CONTENT --- */
.wf-page-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 24px;
}
.wf-page-content h2 { margin-top: 2em; }
.wf-page-content h2:first-child { margin-top: 0; }
.wf-page-content--wide { max-width: var(--wf-max-width); }

/* --- BLOG --- */
.wf-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.wf-post-card {
  background: var(--wf-white);
  border-radius: var(--wf-radius);
  overflow: hidden;
  box-shadow: var(--wf-shadow);
  transition: var(--wf-transition);
}
.wf-post-card:hover { transform: translateY(-3px); box-shadow: var(--wf-shadow-hover); }
.wf-post-card__img { height: 200px; background: var(--wf-light-gray); background-size: cover; background-position: center; }
.wf-post-card__body { padding: 24px; }
.wf-post-card__meta { font-size: 13px; color: var(--wf-mid-gray); margin-bottom: 8px; }
.wf-post-card h3 { font-size: 1.1rem; }

.wf-single-post { max-width: 780px; margin: 0 auto; padding: 48px 24px; }
.wf-single-post__meta { font-size: 14px; color: var(--wf-mid-gray); margin-bottom: 32px; }

/* --- 404 --- */
.wf-404 { text-align: center; padding: 80px 24px; min-height: 50vh; display: flex; flex-direction: column; align-items: center; justify-content: center; }

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 768px) {
  .wf-menu-toggle { display: block; }
  .wf-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--wf-white);
    flex-direction: column;
    padding: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    gap: 0;
  }
  .wf-nav.open { display: flex; }
  .wf-nav a { padding: 12px 16px; width: 100%; border-radius: 0; }
  .wf-nav__dropdown-menu {
    position: static;
    box-shadow: none;
    background: var(--wf-light-gray);
    display: none;
    border-radius: 0;
  }
  .wf-nav__dropdown.open .wf-nav__dropdown-menu { display: block; }
  .wf-nav__cta { margin-left: 0 !important; margin-top: 8px; text-align: center; }
  .wf-header__phone { display: block; margin-right: 12px; }
  .wf-hero { min-height: 400px; }
  .wf-hero--short { min-height: 220px; }
  .wf-hero__content { padding: 48px 24px; }
  .wf-services-grid { grid-template-columns: 1fr; }
  .wf-testimonials-grid { grid-template-columns: 1fr; }
  .wf-footer__grid { grid-template-columns: 1fr; }
  .wf-btn-group { flex-direction: column; }
  .wf-btn-group .wf-btn { text-align: center; }
  .wf-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .wf-services-grid { grid-template-columns: repeat(2, 1fr); }
}
