/* ===========================
   Abilene Irrigation Repair
   Style Sheet
   =========================== */

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

:root {
  --green:      #2e7d32;
  --green-dark: #1b5e20;
  --green-light:#e8f5e9;
  --orange:     #e65100;
  --text:       #212121;
  --muted:      #555;
  --border:     #ddd;
  --white:      #fff;
  --radius:     8px;
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
}

a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- HEADER --- */
header {
  background: var(--green-dark);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.logo-main {
  display: block;
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 700;
}
.logo-sub {
  display: block;
  color: #a5d6a7;
  font-size: 0.8rem;
}
.cta-phone {
  background: var(--orange);
  color: var(--white);
  padding: 10px 22px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1.05rem;
  transition: background 0.2s;
}
.cta-phone:hover { background: #bf360c; text-decoration: none; }

/* --- HERO --- */
.hero {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: var(--white);
  padding: 70px 0;
  text-align: center;
}
.hero h1 {
  font-size: 2.4rem;
  margin-bottom: 16px;
  line-height: 1.2;
}
.hero-sub {
  font-size: 1.15rem;
  max-width: 620px;
  margin: 0 auto 30px;
  opacity: 0.92;
}
.btn-primary {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1.1rem;
  margin: 6px;
  transition: background 0.2s;
}
.btn-primary:hover { background: #bf360c; text-decoration: none; }
.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  margin: 6px;
  transition: all 0.2s;
}
.btn-secondary:hover { background: rgba(255,255,255,0.15); text-decoration: none; }

/* --- SECTIONS --- */
.section { padding: 60px 0; }

.intro-text {
  font-size: 1.1rem;
  max-width: 820px;
  margin: 0 auto;
  color: var(--muted);
  border-left: 4px solid var(--green);
  padding-left: 20px;
}

/* --- SERVICES --- */
.services-section { background: #f9f9f9; }
.services-section h2 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 36px;
  color: var(--green-dark);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: block;
  transition: box-shadow 0.2s, transform 0.2s;
  color: var(--text);
}
.service-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transform: translateY(-2px);
  text-decoration: none;
}
.service-card h3 {
  color: var(--green-dark);
  margin-bottom: 10px;
  font-size: 1.1rem;
}
.service-card p { color: var(--muted); font-size: 0.95rem; margin-bottom: 14px; }
.learn-more { color: var(--green); font-weight: 600; font-size: 0.9rem; }

/* --- WHY --- */
.why-section h2 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 36px;
  color: var(--green-dark);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}
.why-item {
  background: var(--green-light);
  border-radius: var(--radius);
  padding: 24px;
}
.why-item h3 {
  color: var(--green-dark);
  margin-bottom: 8px;
}
.why-item p { color: var(--muted); font-size: 0.95rem; }

/* --- FAQ --- */
.faq-section { background: #f9f9f9; }
.faq-section h2 {
  font-size: 1.8rem;
  margin-bottom: 32px;
  color: var(--green-dark);
}
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}
.faq-item:last-child { border-bottom: none; }
.faq-item h3 {
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 8px;
}
.faq-item p { color: var(--muted); }

/* --- CTA SECTION --- */
.cta-section {
  background: var(--green-dark);
  color: var(--white);
  text-align: center;
}
.cta-section h2 { font-size: 1.8rem; margin-bottom: 14px; }
.cta-section p { margin-bottom: 24px; opacity: 0.9; }

/* --- FOOTER --- */
footer {
  background: #111;
  color: #aaa;
  text-align: center;
  padding: 28px 0;
  font-size: 0.88rem;
}
footer p { margin-bottom: 8px; }
footer nav a { color: #aaa; margin: 0 4px; }
footer nav a:hover { color: var(--white); }

/* --- SERVICE PAGE STYLES --- */
.page-hero {
  background: var(--green-dark);
  color: var(--white);
  padding: 50px 0;
}
.page-hero h1 { font-size: 2rem; margin-bottom: 10px; }
.page-hero p { opacity: 0.9; max-width: 600px; }

.content-section { padding: 50px 0; }
.content-section h2 {
  font-size: 1.4rem;
  color: var(--green-dark);
  margin: 32px 0 12px;
}
.content-section p { color: var(--muted); margin-bottom: 16px; }
.content-section ul { color: var(--muted); padding-left: 22px; margin-bottom: 16px; }
.content-section ul li { margin-bottom: 6px; }

/* --- CONTACT PAGE --- */
.contact-form { max-width: 600px; margin: 0 auto; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--green); }
.form-group textarea { height: 130px; resize: vertical; }
.form-submit {
  background: var(--green);
  color: var(--white);
  border: none;
  padding: 14px 36px;
  border-radius: var(--radius);
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}
.form-submit:hover { background: var(--green-dark); }

/* --- RESPONSIVE --- */
@media (max-width: 640px) {
  .hero h1 { font-size: 1.7rem; }
  .hero-sub { font-size: 1rem; }
  header .container { flex-direction: column; text-align: center; }
}
