/* Mooresville Tree Removal Pros - Site Styles */
:root {
  --forest: #2d4a2b;
  --forest-dark: #1f3520;
  --moss: #5a7a4f;
  --bark: #6b4f2e;
  --bark-light: #8b6b48;
  --cream: #f7f3eb;
  --sand: #e8dfc9;
  --charcoal: #2a2a2a;
  --slate: #4a4a4a;
  --rust: #b54e1f;
  --white: #ffffff;
  --shadow: 0 4px 16px rgba(31, 53, 32, 0.08);
  --shadow-lg: 0 12px 32px rgba(31, 53, 32, 0.15);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Lora', Georgia, serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--cream);
}

h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--forest-dark);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: 1rem; }
h3 { font-size: 1.4rem; margin-bottom: 0.6rem; }

p { margin-bottom: 1rem; }

a { color: var(--forest); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--rust); }

img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* === HEADER / NAV === */
.site-header {
  background: var(--white);
  border-bottom: 2px solid var(--sand);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: 1180px;
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--forest-dark);
}
.logo svg { width: 36px; height: 36px; flex-shrink: 0; }
.logo:hover { color: var(--forest); }
.nav-links {
  display: flex;
  gap: 1.8rem;
  list-style: none;
  align-items: center;
}
.nav-links a {
  color: var(--charcoal);
  font-size: 0.95rem;
  font-weight: 500;
}
.nav-links a:hover { color: var(--forest); }
.nav-cta {
  background: var(--forest);
  color: var(--white) !important;
  padding: 0.55rem 1.1rem;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.2s;
}
.nav-cta:hover { background: var(--rust); }

.menu-toggle { display: none; background: none; border: none; cursor: pointer; }
.menu-toggle svg { width: 28px; height: 28px; }

/* === HERO === */
.hero {
  position: relative;
  background:
    linear-gradient(135deg, rgba(31, 53, 32, 0.85), rgba(31, 53, 32, 0.65)),
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200" viewBox="0 0 200 200"><filter id="n"><feTurbulence baseFrequency="0.85" numOctaves="2" seed="3"/><feColorMatrix values="0 0 0 0 0.18  0 0 0 0 0.29  0 0 0 0 0.17  0 0 0 0.4 0"/></filter><rect width="200" height="200" filter="url(%23n)"/></svg>');
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 5rem 0 4rem;
  text-align: center;
}
.hero h1 {
  color: var(--white);
  margin-bottom: 1rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.hero-tagline {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.95;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 0.9rem 1.8rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 1.05rem;
  transition: all 0.25s;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
}
.btn-primary {
  background: var(--rust);
  color: var(--white) !important;
  border-color: var(--rust);
  box-shadow: 0 4px 12px rgba(181, 78, 31, 0.3);
}
.btn-primary:hover {
  background: #973f17;
  border-color: #973f17;
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(181, 78, 31, 0.4);
}
.btn-secondary {
  background: transparent;
  color: var(--white) !important;
  border-color: var(--white);
}
.btn-secondary:hover {
  background: var(--white);
  color: var(--forest-dark) !important;
}

/* === TRUST BAR === */
.trust-bar {
  background: var(--forest-dark);
  color: var(--cream);
  padding: 1rem 0;
  text-align: center;
}
.trust-items {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  font-size: 0.95rem;
}
.trust-items span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.trust-items svg { width: 18px; height: 18px; color: var(--moss); }

/* === SECTIONS === */
section { padding: 4rem 0; }
section.alt { background: var(--white); }
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header p {
  color: var(--slate);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0.5rem auto 0;
}

/* === SERVICES GRID === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--white);
  padding: 2rem 1.5rem;
  border-radius: 8px;
  border: 1px solid var(--sand);
  transition: all 0.25s;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  border-color: var(--moss);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.service-icon {
  width: 56px;
  height: 56px;
  background: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.service-icon svg { width: 30px; height: 30px; color: var(--forest); }
.service-card h3 { color: var(--forest-dark); }
.service-card p { color: var(--slate); flex: 1; }
.service-card a {
  margin-top: 1rem;
  color: var(--rust);
  font-weight: 600;
  font-size: 0.95rem;
}
.service-card a:hover { color: var(--forest); }

/* === WHY US === */
.why-us {
  background: var(--cream);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}
.why-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.why-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--forest);
  color: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 1.2rem;
}
.why-item h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.why-item p { color: var(--slate); margin: 0; font-size: 0.95rem; }

/* === SERVICE AREAS === */
.areas-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.8rem;
  max-width: 900px;
  margin: 0 auto;
}
.area-tile {
  background: var(--white);
  padding: 1.2rem 1rem;
  border-radius: 6px;
  text-align: center;
  border: 1px solid var(--sand);
  transition: all 0.2s;
  font-weight: 600;
  color: var(--forest-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.area-tile:hover {
  background: var(--forest);
  color: var(--white);
  border-color: var(--forest);
}
.area-tile svg { width: 16px; height: 16px; }

/* === TESTIMONIAL STRIP === */
.testimonial {
  background: var(--forest-dark);
  color: var(--cream);
  padding: 4rem 0;
  text-align: center;
}
.testimonial blockquote {
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 400;
  max-width: 800px;
  margin: 0 auto 1.2rem;
  line-height: 1.4;
}
.testimonial cite {
  font-style: normal;
  font-family: 'Lora', serif;
  font-size: 0.95rem;
  opacity: 0.85;
}
.stars { color: #f4c430; font-size: 1.2rem; margin-bottom: 1rem; letter-spacing: 0.2rem; }

/* === CTA BLOCK === */
.cta-block {
  background:
    linear-gradient(135deg, var(--moss) 0%, var(--forest) 100%);
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
}
.cta-block h2 { color: var(--white); margin-bottom: 0.8rem; }
.cta-block p {
  font-size: 1.15rem;
  margin-bottom: 2rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.95;
}
.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* === LEAD FORM === */
.lead-form-section {
  background: var(--cream);
  padding: 4rem 0;
}
.lead-form {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 10px;
  max-width: 640px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
  border-top: 5px solid var(--rust);
}
.lead-form h2 { text-align: center; }
.lead-form p { text-align: center; color: var(--slate); margin-bottom: 1.8rem; }
.form-row { margin-bottom: 1.1rem; }
.form-row label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--forest-dark);
  font-size: 0.95rem;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.75rem;
  font-family: inherit;
  font-size: 1rem;
  border: 1.5px solid var(--sand);
  border-radius: 4px;
  background: var(--cream);
  color: var(--charcoal);
  transition: border-color 0.2s;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--forest);
}
.form-row textarea { min-height: 100px; resize: vertical; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}
.lead-form button {
  width: 100%;
  padding: 1rem;
  font-size: 1.1rem;
  margin-top: 0.6rem;
}

/* === PAGE HEADER (interior pages) === */
.page-header {
  background: var(--forest-dark);
  color: var(--cream);
  padding: 3.5rem 0 3rem;
  text-align: center;
}
.page-header h1 { color: var(--cream); margin-bottom: 0.5rem; }
.page-header p { font-size: 1.1rem; opacity: 0.9; max-width: 700px; margin: 0 auto; }
.breadcrumb { font-size: 0.9rem; opacity: 0.7; margin-bottom: 1rem; }
.breadcrumb a { color: var(--cream); }

/* === CONTENT PAGE === */
.content-page {
  padding: 3.5rem 0;
}
.content-page .container {
  max-width: 880px;
}
.content-page h2 { margin-top: 2.5rem; }
.content-page h2:first-child { margin-top: 0; }
.content-page ul { margin: 1rem 0 1.5rem 1.5rem; }
.content-page li { margin-bottom: 0.5rem; }
.content-callout {
  background: var(--cream);
  border-left: 4px solid var(--rust);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 4px;
}
.content-callout strong { color: var(--forest-dark); }

/* === FOOTER === */
.site-footer {
  background: var(--forest-dark);
  color: var(--cream);
  padding: 3rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-grid h4 {
  color: var(--cream);
  font-size: 1rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 0.4rem; font-size: 0.95rem; }
.footer-grid a { color: var(--sand); }
.footer-grid a:hover { color: var(--white); }
.footer-brand p { font-size: 0.95rem; opacity: 0.85; margin-top: 0.5rem; }
.footer-bottom {
  border-top: 1px solid rgba(247, 243, 235, 0.15);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.7;
}

/* === STICKY MOBILE CTA === */
.sticky-call {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--rust);
  color: var(--white) !important;
  text-align: center;
  padding: 1rem;
  font-weight: 700;
  font-size: 1.1rem;
  z-index: 99;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.15);
}
.sticky-call:hover { background: #973f17; color: var(--white) !important; }

/* === RESPONSIVE === */
@media (max-width: 800px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1rem;
    gap: 0.8rem;
    border-bottom: 2px solid var(--sand);
  }
  .nav-links.open { display: flex; }
  .menu-toggle { display: block; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .hero { padding: 3.5rem 0 5rem; }
  .testimonial blockquote { font-size: 1.2rem; }
  .sticky-call { display: block; }
  body { padding-bottom: 60px; }
}

@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
  .trust-items { gap: 1rem; font-size: 0.85rem; }
}

/* === ACTION PHOTO GALLERY === */
.gallery {
  background: var(--white);
  padding: 3.5rem 0;
}
.action-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1.75rem;
}
.action-card {
  background: var(--cream);
  border: 1px solid var(--sand);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.action-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.action-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.action-body {
  padding: 0.85rem 1rem 1rem;
}
.action-body h3 {
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
  line-height: 1.25;
}
.action-body p {
  font-size: 0.9rem;
  color: var(--slate);
  margin: 0;
}
.service-photo {
  margin: 1.5rem 0 1.75rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.service-photo img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  display: block;
}
@media (max-width: 900px) {
  .action-grid { grid-template-columns: repeat(2, 1fr); }
  .action-card img { height: 170px; }
  .service-photo img { max-height: 260px; }
}
@media (max-width: 540px) {
  .action-grid { grid-template-columns: 1fr; gap: 1rem; }
  .action-card img { height: 200px; }
}
