/* ============================================
   TREESERVICEMARIETTA.COM - Cloudflare Pages
   Mobile-First | Conversion Focused | SEO Ready
   ============================================ */

:root {
  --green-primary: #2d5a27;
  --green-dark: #1e3d1a;
  --green-light: #4a7c43;
  --brown: #5c4033;
  --brown-light: #8b6914;
  --emergency-red: #c0392b;
  --emergency-dark: #a93226;
  --orange: #e67e22;
  --text-dark: #1a1a1a;
  --text-light: #555;
  --bg-light: #f8f9f5;
  --bg-white: #ffffff;
  --shadow: 0 2px 10px rgba(0,0,0,0.1);
  --radius: 8px;
  --transition: all 0.3s ease;
  --max-width: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background: var(--bg-white);
  padding-bottom: 70px;
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.2rem;
}

/* ============================================
   STICKY HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: var(--bg-white);
  box-shadow: var(--shadow);
  z-index: 1000;
  transition: var(--transition);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1.2rem;
  max-width: var(--max-width);
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--green-primary);
}
.logo-icon {
  width: 36px; height: 36px;
  background: var(--green-primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.1rem;
}
.header-phone {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.phone-text {
  display: none;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-dark);
}
.btn-call {
  background: var(--emergency-red);
  color: white;
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}
.btn-call:hover { background: var(--emergency-dark); transform: translateY(-1px); }
.btn-call svg { width: 16px; height: 16px; }

/* Mobile nav toggle */
.nav-toggle {
  display: block;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--green-primary);
  cursor: pointer;
  padding: 0.3rem;
}
.nav-menu {
  display: none;
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: var(--bg-white);
  box-shadow: var(--shadow);
  border-top: 1px solid #eee;
}
.nav-menu.active { display: block; }
.nav-menu a {
  display: block;
  padding: 0.9rem 1.2rem;
  font-weight: 600;
  border-bottom: 1px solid #f0f0f0;
  color: var(--text-dark);
}
.nav-menu a:hover { background: var(--bg-light); color: var(--green-primary); }

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 6rem 1rem 4rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.4) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}
.emergency-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--emergency-red);
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1.2rem;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(192,57,43,0.5); }
  50% { box-shadow: 0 0 0 10px rgba(192,57,43,0); }
}
.hero h1 {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.hero-sub {
  font-size: 1.05rem;
  opacity: 0.95;
  margin-bottom: 1.5rem;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 1.8rem;
  font-size: 0.9rem;
}
.hero-badges span {
  display: flex; align-items: center; gap: 0.3rem;
}
.hero-badges svg { width: 18px; height: 18px; color: #2ecc71; }
.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  align-items: center;
}
.btn-primary {
  background: var(--emergency-red);
  color: white;
  padding: 1rem 2rem;
  border-radius: var(--radius);
  font-weight: 800;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(192,57,43,0.3);
}
.btn-primary:hover { background: var(--emergency-dark); transform: translateY(-2px); }
.btn-secondary {
  background: rgba(255,255,255,0.15);
  color: white;
  padding: 1rem 2rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255,255,255,0.3);
  transition: var(--transition);
}
.btn-secondary:hover { background: rgba(255,255,255,0.25); }

/* ============================================
   EMERGENCY STRIP
   ============================================ */
.emergency-strip {
  background: var(--emergency-red);
  color: white;
  text-align: center;
  padding: 0.7rem 1rem;
  font-weight: 700;
  font-size: 0.9rem;
}
.emergency-strip a { color: white; text-decoration: underline; }

/* ============================================
   SECTIONS GENERAL
   ============================================ */
.section {
  padding: 3rem 0;
}
.section-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--green-dark);
  text-align: center;
  margin-bottom: 0.5rem;
}
.section-subtitle {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

/* ============================================
   SERVICES GRID
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}
.service-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid #eee;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 8px 25px rgba(0,0,0,0.12); }
.service-img {
  height: 180px;
  overflow: hidden;
}
.service-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: var(--transition);
}
.service-card:hover .service-img img { transform: scale(1.05); }
.service-body {
  padding: 1.2rem;
}
.service-body h3 {
  font-size: 1.15rem;
  color: var(--green-dark);
  margin-bottom: 0.4rem;
}
.service-body p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 0.8rem;
}
.service-link {
  color: var(--emergency-red);
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

/* ============================================
   WHY CHOOSE US
   ============================================ */
.why-section { background: var(--bg-light); }
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.why-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  background: var(--bg-white);
  padding: 1rem 1.2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.why-icon {
  width: 40px; height: 40px;
  background: var(--green-primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.1rem;
  flex-shrink: 0;
}
.why-item h4 { font-size: 1rem; color: var(--green-dark); margin-bottom: 0.2rem; }
.why-item p { font-size: 0.85rem; color: var(--text-light); }

/* ============================================
   AREAS / ZIP CODES
   ============================================ */
.areas-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.area-card {
  background: var(--bg-white);
  padding: 1.2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-left: 4px solid var(--green-primary);
}
.area-card h4 {
  color: var(--green-dark);
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}
.area-card p { font-size: 0.9rem; color: var(--text-light); }
.area-card a { color: var(--emergency-red); font-weight: 600; font-size: 0.9rem; }
.zip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.8rem;
}
.zip-tag {
  background: var(--bg-light);
  padding: 0.3rem 0.7rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--green-dark);
}

/* ============================================
   EMERGENCY SECTION
   ============================================ */
.emergency-section {
  background: var(--green-dark);
  color: white;
}
.emergency-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
.emergency-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.emergency-img img { width: 100%; height: 250px; object-fit: cover; }
.emergency-content h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: white;
}
.emergency-content p { opacity: 0.9; margin-bottom: 1.2rem; }
.emergency-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}
.emergency-list li {
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 0.9rem;
}
.emergency-list svg { width: 18px; height: 18px; color: var(--orange); flex-shrink: 0; }

/* ============================================
   PRICING SECTION (No $ amounts)
   ============================================ */
.pricing-section { background: var(--bg-light); }
.pricing-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.pricing-card {
  background: var(--bg-white);
  padding: 1.5rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--green-primary);
}
.pricing-card h4 { color: var(--green-dark); margin-bottom: 0.3rem; }
.pricing-card p { font-size: 0.85rem; color: var(--text-light); }
.pricing-note {
  text-align: center;
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

/* ============================================
   TRUST SIGNALS
   ============================================ */
.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.2rem 0.8rem;
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.trust-item svg {
  width: 32px; height: 32px;
  color: var(--green-primary);
  margin-bottom: 0.5rem;
}
.trust-item h4 { font-size: 0.85rem; color: var(--green-dark); }

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-item {
  background: var(--bg-white);
  border-radius: var(--radius);
  margin-bottom: 0.7rem;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  padding: 1rem 1.2rem;
  background: none;
  border: none;
  text-align: left;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--green-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-question svg { width: 20px; height: 20px; transition: var(--transition); color: var(--emergency-red); }
.faq-item.active .faq-question svg { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-item.active .faq-answer { max-height: 300px; }
.faq-answer p {
  padding: 0 1.2rem 1rem;
  font-size: 0.9rem;
  color: var(--text-light);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-primary) 100%);
  color: white;
  text-align: center;
  padding: 3rem 1rem;
}
.cta-section h2 { font-size: 1.6rem; margin-bottom: 0.8rem; }
.cta-section p { opacity: 0.9; margin-bottom: 1.5rem; }
.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  align-items: center;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--text-dark);
  color: #aaa;
  padding: 2.5rem 0 1.5rem;
  font-size: 0.85rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.footer-col h4 {
  color: white;
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
}
.footer-col a {
  display: block;
  padding: 0.25rem 0;
  color: #aaa;
  transition: var(--transition);
}
.footer-col a:hover { color: var(--green-light); }
.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 1rem;
  text-align: center;
}
.footer-bottom a { color: #aaa; margin: 0 0.5rem; }
.footer-bottom a:hover { color: white; }
.owner-note {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: #666;
}

/* ============================================
   STICKY BOTTOM CALL BUTTON (Mobile)
   ============================================ */
.sticky-call {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--emergency-red);
  color: white;
  padding: 0.9rem;
  text-align: center;
  font-weight: 800;
  font-size: 1.1rem;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}
.sticky-call svg { width: 20px; height: 20px; }

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb {
  background: var(--bg-light);
  padding: 0.8rem 0;
  font-size: 0.8rem;
  color: var(--text-light);
}
.breadcrumb a { color: var(--green-primary); }
.breadcrumb a:hover { text-decoration: underline; }

/* ============================================
   SERVICE PAGE HERO
   ============================================ */
.page-hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-primary) 100%);
  color: white;
  padding: 5rem 1rem 3rem;
  text-align: center;
}
.page-hero h1 { font-size: 1.8rem; font-weight: 800; margin-bottom: 0.5rem; }
.page-hero p { opacity: 0.9; max-width: 600px; margin: 0 auto; }

/* Content pages */
.content-page { padding: 2rem 0; }
.content-page h2 {
  color: var(--green-dark);
  font-size: 1.4rem;
  margin: 1.5rem 0 0.8rem;
}
.content-page h3 {
  color: var(--green-primary);
  font-size: 1.1rem;
  margin: 1.2rem 0 0.5rem;
}
.content-page p { margin-bottom: 1rem; color: var(--text-light); }
.content-page ul { margin: 0.5rem 0 1rem 1.5rem; list-style: disc; color: var(--text-light); }
.content-page li { margin-bottom: 0.3rem; }

/* ============================================
   TABLET & DESKTOP
   ============================================ */
@media (min-width: 768px) {
  .hero h1 { font-size: 2.8rem; }
  .hero-sub { font-size: 1.2rem; }
  .hero-ctas { flex-direction: row; justify-content: center; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .emergency-inner { grid-template-columns: 1fr 1fr; }
  .emergency-img img { height: 350px; }
  .pricing-cards { grid-template-columns: repeat(3, 1fr); }
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .cta-buttons { flex-direction: row; justify-content: center; }
  .phone-text { display: block; }
  .nav-toggle { display: none; }
  .nav-menu {
    display: flex !important;
    position: static;
    box-shadow: none;
    border: none;
    background: transparent;
  }
  .nav-menu a {
    display: inline-block;
    padding: 0.5rem 0.9rem;
    border: none;
    font-size: 0.9rem;
  }
  body { padding-bottom: 0; }
  .sticky-call { display: none; }
}

@media (min-width: 1024px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(3, 1fr); }
  .areas-grid { grid-template-columns: repeat(3, 1fr); }
  .trust-grid { grid-template-columns: repeat(6, 1fr); }
  .section { padding: 4rem 0; }
  .section-title { font-size: 2rem; }
}
