/* ============================================================
   Immediate Pest Control — style.css (Eco-Green theme)
   ============================================================ */

/* Basic reset */
* { box-sizing: border-box; margin:0; padding:0; }
html,body { height:100%; font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial; color:#222; background:#fff; }

/* Layout container */
.container { width:92%; max-width:1200px; margin:0 auto; }

/* Colors */
:root{
  --green: #14883b;
  --green-dark: #0e6a30;
  --light-green:#e8f9e7;
  --muted:#6b6b6b;
  --card-border:#cfe9c6;
}

/* HEADER (sticky) */
.site-header {
  position: fixed;
  top:0; left:0; right:0;
  background:#fff;
  border-bottom: 1px solid rgba(20,111,31,0.08);
  z-index: 1000;
}
.header-inner { display:flex; align-items:center; gap:20px; padding:12px 0; }
.brand { display:flex; align-items:center; gap:12px; text-decoration:none; color:var(--green); }
.logo-img { height:48px; display:block; }
.brand-text strong { display:block; font-size:1.05rem; color:var(--green-dark); }
.tagline { font-size:0.8rem; color:var(--muted); }

/* nav & hamburger */
.main-nav { margin-left:auto; }
.main-nav ul { list-style:none; display:flex; gap:22px; align-items:center; margin:0; padding:0; }
.nav-link { color:#2c2c2c; text-decoration:none; font-weight:600; }
.nav-link:hover, .nav-link.active { color:var(--green-dark); }
.hamburger { display:none; background:none; border:0; cursor:pointer; padding:6px; }
.hamburger span { display:block; height:3px; width:22px; background:#333; margin:4px 0; border-radius:2px; }

/* header CTA */
.header-cta .phone { background:var(--green); color:#fff; padding:8px 12px; border-radius:6px; text-decoration:none; font-weight:700; }

/* HERO */
.hero { position:relative; height:65vh; margin-top:78px; overflow:hidden; display:block; }
.slides-wrapper { position:absolute; inset:0; }
.slide { position:absolute; inset:0; background-size:cover; background-position:center; opacity:0; transition:opacity .8s ease-in-out; }
.slide.active { opacity:1; z-index:1; }
.hero-overlay { position:relative; z-index:5; height:100%; display:flex; align-items:center; justify-content:center; padding:20px; text-align:center; }
.hero-content { max-width:980px; color:#fff; }
.hero-content h1 { font-size:2.2rem; margin-bottom:10px; text-shadow:0 3px 8px rgba(0,0,0,0.4); }
.lead { font-size:1.05rem; margin-bottom:16px; text-shadow:0 2px 6px rgba(0,0,0,0.35); }
.hero-actions { margin-bottom:12px; }
.btn { display:inline-block; padding:10px 18px; border-radius:6px; text-decoration:none; font-weight:700; }
.btn-primary { background:var(--green); color:#fff; border:2px solid var(--green); }
.btn-primary:hover { background:var(--green-dark); border-color:var(--green-dark); }
.btn-outline { background:transparent; color:#fff; border:2px solid rgba(255,255,255,0.9); }
.trust { margin-top:10px; display:flex; gap:14px; justify-content:center; font-size:0.95rem; opacity:0.95; }

/* slider controls */
.slider-controls { margin-top:16px; display:inline-flex; gap:8px; align-items:center; justify-content:center; }
.control-btn { background:rgba(255,255,255,0.95); border:none; padding:8px 12px; border-radius:6px; cursor:pointer; color:var(--green-dark); font-weight:700; }
.control-btn:hover { background:var(--green); color:#fff; }

/* ABOUT */
.about { padding:56px 0; text-align:center; }
.about h2 { color:var(--green-dark); margin-bottom:10px; }
.about p { color:#444; max-width:900px; margin:0 auto 14px; }

/* SERVICES */
.services { padding:60px 0; background:var(--light-green); text-align:center; }
.services h2 { color:var(--green-dark); margin-bottom:14px; }
.services-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:20px; max-width:1100px; margin:18px auto 0; }
.card { display:block; background:#fff; border:1px solid var(--card-border); border-radius:8px; padding:18px; text-decoration:none; color:inherit; transition:transform .25s, box-shadow .25s; }
.card img { height:64px; object-fit:contain; margin:0 auto 12px; display:block; }
.card h3 { color:var(--green-dark); margin-bottom:6px; }
.card p { color:var(--muted); }

/* WHY */
.why { display:flex; gap:30px; align-items:center; padding:60px 0; max-width:1100px; margin:0 auto; }
.why-left img { width:100%; border-radius:8px; }
.why-right h2 { color:var(--green-dark); margin-bottom:12px; }
.why-right ul { list-style:none; padding-left:0; color:#444; }
.why-right li { margin-bottom:10px; }

/* CONTACT STRIP */
.contact-strip { background:var(--green); color:#fff; padding:16px 0; }
.cta-inner { display:flex; gap:12px; align-items:center; justify-content:space-between; flex-wrap:wrap; }

/* FOOTER */
.site-footer { background:#173010; color:#e9f9df; padding:36px 0 18px; margin-top:24px; }
.footer-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:18px; max-width:1100px; margin:0 auto; }
.site-footer h4 { color:#fff; margin-bottom:8px; }
.site-footer a { color:inherit; text-decoration:none; }
.footer-logo img { height:56px; }

/* small helpers */
.center { text-align:center; }

/* Responsive */
@media (max-width:900px){
  .nav-link { font-size:0.95rem; }
  .hamburger { display:block; margin-left:12px; }
  .main-nav { position: absolute; top:68px; right:14px; background:#fff; border:1px solid #eee; padding:12px; display:none; border-radius:8px; }
  .main-nav.open { display:block; }
  .main-nav ul { flex-direction:column; gap:10px; }
  .hero { height:55vh; margin-top:72px; }
  .hero-content h1 { font-size:1.6rem; }
  .why { flex-direction:column; gap:18px; }
}