/* ══════════════════════════════════════════════════════
   EarthGuard Lawn Care — Global Styles
   ══════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700&family=Open+Sans:wght@400;600;700&display=swap');

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

:root {
  --green-dark: #2d5a27;
  --green-mid: #3a7d32;
  --green-light: #5a9e50;
  --green-pale: #e8f5e3;
  --brown: #6b4c2a;
  --cream: #faf9f4;
  --white: #ffffff;
  --text-dark: #2c2c2c;
  --text-mid: #555555;
  --text-light: #777777;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

/* ── Top Bar ── */
.top-bar {
  background: var(--green-dark);
  color: var(--white);
  text-align: center;
  padding: 8px 20px;
  font-size: 0.85rem;
}

/* ── Header ── */
header {
  background: var(--white);
  border-bottom: 3px solid var(--green-mid);
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo-area img { height: 70px; width: auto; }

.logo-text h1 {
  font-family: 'Merriweather', serif;
  font-size: 1.6rem;
  color: var(--green-dark);
  line-height: 1.2;
}

.logo-text p {
  font-size: 0.85rem;
  color: var(--text-mid);
  font-style: italic;
}

.header-phone { text-align: right; }

.header-phone a {
  font-family: 'Merriweather', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--green-dark);
}

.header-phone span {
  display: block;
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ── Navigation ── */
nav { background: var(--green-mid); }

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

nav ul li a {
  display: block;
  padding: 14px 24px;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: background 0.2s;
}

nav ul li a:hover,
nav ul li a.active {
  background: var(--green-dark);
}

/* ── Page Banner ── */
.page-banner {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-mid) 50%, var(--green-light) 100%);
  color: var(--white);
  text-align: center;
  padding: 50px 40px;
  position: relative;
}

.page-banner h2 {
  font-family: 'Merriweather', serif;
  font-size: 2.4rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* ── Hero (home page) ── */
.hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-mid) 50%, var(--green-light) 100%);
  color: var(--white);
  text-align: center;
  padding: 80px 40px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(255,255,255,0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.08) 0%, transparent 50%);
}

.hero h2 {
  font-family: 'Merriweather', serif;
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
}

.hero h3 {
  font-size: 1.2rem;
  font-weight: 400;
  opacity: 0.9;
  position: relative;
}

/* ── Content Area ── */
.content {
  max-width: 960px;
  margin: 0 auto;
  padding: 60px 40px;
}

.section { margin-bottom: 50px; }

.section h3 {
  font-family: 'Merriweather', serif;
  font-size: 1.5rem;
  color: var(--green-dark);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--green-pale);
}

.section p, .section li {
  color: var(--text-mid);
  font-size: 1rem;
  line-height: 1.8;
}

.section ul {
  margin: 12px 0 12px 24px;
}

.section li { margin-bottom: 6px; }

.section img {
  border-radius: 8px;
  margin: 20px 0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

/* ── Highlight Box ── */
.highlight-box {
  background: var(--green-pale);
  border-left: 5px solid var(--green-mid);
  padding: 24px 30px;
  border-radius: 0 8px 8px 0;
  margin: 30px 0;
}

.highlight-box h3 {
  font-family: 'Merriweather', serif;
  color: var(--green-dark);
  font-size: 1.3rem;
  margin-bottom: 8px;
  border: none;
  padding: 0;
}

.highlight-box p {
  color: var(--green-dark);
  font-weight: 600;
  font-size: 1.05rem;
}

/* ── Services Grid (home) ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.service-card {
  background: var(--white);
  border-radius: 10px;
  padding: 32px 28px;
  text-align: center;
  border: 1px solid #e0e0d8;
  transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.service-icon { font-size: 2.4rem; margin-bottom: 14px; }

.service-card h4 {
  font-family: 'Merriweather', serif;
  color: var(--green-dark);
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.service-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ── CTA Phone Link ── */
.cta-phone {
  display: inline-block;
  font-family: 'Merriweather', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--green-dark);
  margin: 10px 0;
}

.cta-phone img {
  height: 30px;
  vertical-align: middle;
  margin-left: 8px;
}

/* ── Two Column Layout ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}

/* ── Contact Bar ── */
.contact-bar {
  background: var(--brown);
  color: var(--white);
  text-align: center;
  padding: 50px 40px;
}

.contact-bar h3 {
  font-family: 'Merriweather', serif;
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.contact-bar p {
  font-size: 1rem;
  opacity: 0.85;
  margin-bottom: 16px;
}

.contact-bar a.phone-link {
  display: inline-block;
  background: var(--green-mid);
  color: var(--white);
  padding: 14px 36px;
  border-radius: 6px;
  font-size: 1.2rem;
  font-weight: 700;
  transition: background 0.2s;
}

.contact-bar a.phone-link:hover { background: var(--green-dark); }

/* ── Contact Form ── */
.contact-form label {
  display: block;
  font-weight: 600;
  color: var(--text-mid);
  margin-bottom: 4px;
  margin-top: 16px;
  font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.95rem;
}

.contact-form textarea { height: 120px; resize: vertical; }

.contact-form button {
  margin-top: 20px;
  background: var(--green-mid);
  color: var(--white);
  border: none;
  padding: 12px 32px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.contact-form button:hover { background: var(--green-dark); }

/* ── Labels Grid ── */
.labels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.label-card {
  background: var(--white);
  border: 1px solid #e0e0d8;
  border-radius: 8px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.label-card h4 {
  font-family: 'Merriweather', serif;
  color: var(--green-dark);
  font-size: 1.05rem;
}

.label-card a {
  background: var(--green-mid);
  color: var(--white);
  padding: 8px 18px;
  border-radius: 5px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background 0.2s;
}

.label-card a:hover { background: var(--green-dark); }

/* ── County List ── */
.county-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.county-list li {
  padding: 6px 0;
  border-bottom: 1px solid var(--green-pale);
}

/* ── Footer ── */
footer {
  background: var(--green-dark);
  color: rgba(255,255,255,0.7);
  text-align: center;
  padding: 24px 40px;
  font-size: 0.8rem;
}

footer p { margin-bottom: 4px; }

/* ── Responsive ── */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    text-align: center;
    padding: 16px 20px;
  }
  .header-phone { text-align: center; }
  nav ul { flex-direction: column; align-items: center; }
  nav ul li a { padding: 12px 20px; }
  .hero, .page-banner { padding: 50px 24px; }
  .hero h2 { font-size: 2rem; }
  .content { padding: 40px 24px; }
  .two-col { grid-template-columns: 1fr; }
}
