/* Plumbing East Lansing - Simple, fast, modern CSS */
:root {
  --primary: #0d6efd;
  --primary-dark: #0a58ca;
  --accent: #198754;
  --dark: #212529;
  --light: #f8f9fa;
  --gray: #6c757d;
  --white: #ffffff;
  --shadow: 0 2px 8px rgba(0,0,0,0.08);
  --radius: 8px;
  --max-w: 1100px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background: var(--white);
  font-size: 16px;
}

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

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

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header & Nav */
.site-header {
  background: var(--white);
  border-bottom: 1px solid #e9ecef;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  gap: 1rem;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  white-space: nowrap;
}
.logo span { color: var(--primary); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid #dee2e6;
  border-radius: var(--radius);
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  align-items: center;
}

.main-nav a {
  color: var(--dark);
  font-weight: 500;
  padding: 0.25rem 0;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--primary);
  text-decoration: none;
}

.header-cta {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.btn {
  display: inline-block;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600;
  text-align: center;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  text-decoration: none;
  font-size: 0.95rem;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--primary-dark);
  color: var(--white);
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  text-decoration: none;
}

.btn-accent {
  background: var(--accent);
  color: var(--white);
}
.btn-accent:hover {
  background: #157347;
  color: var(--white);
  text-decoration: none;
}

.btn-lg {
  padding: 0.85rem 1.75rem;
  font-size: 1.05rem;
}

/* Hero */
.hero {
  position: relative;
  color: var(--white);
  text-align: center;
  padding: 4rem 0 5rem;
  background: linear-gradient(rgba(13, 33, 55, 0.72), rgba(13, 33, 55, 0.78)), url('../images/hero.jpg') center/cover no-repeat;
  min-height: 420px;
  display: flex;
  align-items: center;
}

.hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 0.75rem;
  font-weight: 800;
  line-height: 1.2;
}

.hero .usp {
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  max-width: 640px;
  margin: 0 auto 1.75rem;
  opacity: 0.95;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* Sections */
section {
  padding: 3.5rem 0;
}

.section-title {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  text-align: center;
}

.section-sub {
  text-align: center;
  color: var(--gray);
  margin-bottom: 2rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* Services grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--light);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid #e9ecef;
  transition: box-shadow 0.2s;
}
.service-card:hover {
  box-shadow: var(--shadow);
}
.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}
.service-card p {
  color: var(--gray);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}
.service-card a {
  font-weight: 600;
}

/* Testimonials */
.testimonials {
  background: var(--light);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.testimonial {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.testimonial .stars {
  color: #ffc107;
  margin-bottom: 0.5rem;
  letter-spacing: 2px;
}
.testimonial p {
  font-style: italic;
  margin-bottom: 1rem;
  color: #444;
}
.testimonial .author {
  font-weight: 600;
  font-size: 0.95rem;
}
.testimonial .location {
  font-size: 0.85rem;
  color: var(--gray);
}

/* Why us / CTA */
.cta-band {
  background: var(--primary);
  color: var(--white);
  text-align: center;
  padding: 3rem 0;
}
.cta-band h2 {
  margin-bottom: 0.75rem;
}
.cta-band p {
  margin-bottom: 1.5rem;
  opacity: 0.95;
}

/* Footer */
.site-footer {
  background: var(--dark);
  color: #adb5bd;
  padding: 3rem 0 1.5rem;
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}
.site-footer h4 {
  color: var(--white);
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
}
.site-footer ul {
  list-style: none;
}
.site-footer a {
  color: #adb5bd;
}
.site-footer a:hover {
  color: var(--white);
}
.footer-bottom {
  border-top: 1px solid #343a40;
  padding-top: 1.25rem;
  text-align: center;
  font-size: 0.85rem;
}

/* Page content */
.page-hero {
  background: var(--light);
  padding: 2.5rem 0;
  text-align: center;
  border-bottom: 1px solid #e9ecef;
}
.page-hero h1 {
  font-size: 1.85rem;
  margin-bottom: 0.35rem;
}
.page-hero p {
  color: var(--gray);
}

.content {
  padding: 2.5rem 0 3.5rem;
}
.content h2 {
  font-size: 1.4rem;
  margin: 1.75rem 0 0.75rem;
}
.content p, .content ul {
  margin-bottom: 1rem;
}
.content ul {
  padding-left: 1.25rem;
}
.content li {
  margin-bottom: 0.35rem;
}

/* Contact form */
.contact-form {
  max-width: 560px;
  margin: 0 auto;
}
.form-group {
  margin-bottom: 1.15rem;
}
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid #ced4da;
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
}
.form-group textarea {
  min-height: 120px;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: 2px solid var(--primary);
  border-color: var(--primary);
}

.contact-info {
  background: var(--light);
  padding: 1.5rem;
  border-radius: var(--radius);
  margin-bottom: 2rem;
}
.contact-info p {
  margin-bottom: 0.5rem;
}

/* Blog cards */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.blog-card {
  border: 1px solid #e9ecef;
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.blog-card:hover {
  box-shadow: var(--shadow);
}
.blog-card-body {
  padding: 1.25rem;
}
.blog-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}
.blog-card .meta {
  font-size: 0.85rem;
  color: var(--gray);
  margin-bottom: 0.5rem;
}
.blog-card p {
  color: var(--gray);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

/* Service areas list */
.areas-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.5rem 1.5rem;
  list-style: none;
  padding: 0;
}
.areas-list li {
  padding: 0.35rem 0;
  border-bottom: 1px solid #eee;
}

/* Mobile nav */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid #e9ecef;
    box-shadow: var(--shadow);
    display: none;
  }
  .main-nav.open {
    display: block;
  }
  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0;
  }
  .main-nav a {
    display: block;
    padding: 0.75rem 1.25rem;
  }
  .header-cta .btn {
    display: none;
  }
  .header-cta .btn-call-mobile {
    display: inline-block;
  }
  .hero {
    min-height: 360px;
    padding: 3rem 0 4rem;
  }
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  .hero-buttons .btn {
    width: 100%;
    max-width: 280px;
  }
}

@media (min-width: 769px) {
  .header-cta .btn-call-mobile {
    display: none;
  }
}

/* Utility */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
