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

/* Zoellner Plumbing — Navy Classic design system */

:root {
  --brand-primary: #1a3a52;          /* Deep navy */
  --brand-primary-dark: #0f2438;     /* Darker navy */
  --brand-accent: #d4af37;            /* Gold/amber accent */
  --brand-accent-light: #e5c158;      /* Light gold */
  --brand-accent-tint: #fffaf0;       /* Gold tint background */
  --brand-dark: #0f1419;
  --black: #0F0F0F;
  --dark: #1A1A1A;
  --mid: #3D3D3D;
  --muted: #6B6B6B;
  --border: #E5E5E5;
  --light-bg: #F7F7F7;
  --white: #FFFFFF;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

/* Hero full-bleed fix */
html, body { margin: 0; padding: 0; overflow-x: hidden; overscroll-behavior-y: none; background-color: var(--brand-primary); }

.hero {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
}

.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; background-size: cover; background-position: center top; }

/* ── Mobile overflow guard ── */
*, *::before, *::after { box-sizing: border-box; }

img, video, svg { max-width: 100%; height: auto; }

/* Button text alignment */
.btn, .btn-primary, .btn-secondary, .cta-btn, .nav-cta, button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

html { scroll-behavior: smooth; overflow-x: hidden; }

body { font-family: 'Lato', var(--font); color: var(--black); background: var(--white); -webkit-font-smoothing: antialiased; margin: 0; padding: 0; }

/* ── CONTAINER — constrains content inside full-bleed sections ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
  padding: 0 24px;
}

@media (min-width: 1024px) {
  .container { padding: 0 48px; }
}

/* ── UTILITY BAR ── */
#site-header {
  position: fixed;
  top: 0;
  left: 0; right: 0;
  z-index: 9998;
  background: var(--brand-primary);
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  will-change: transform;
}

.util-bar {
  position: relative;
  background: var(--brand-primary);
  padding: 10px 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.72);
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 10px;
}

.util-left { text-align: center; }

.util-bar span { color: var(--brand-accent); font-weight: 600; }

.util-bar a { color: #ccc; text-decoration: none; margin: 0 12px; white-space: nowrap; }

.util-bar a:hover { color: var(--white); }

.util-social { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.util-social a { color: #fff; display: inline-flex; align-items: center; opacity: .82; margin: 0; }
.util-social svg { width: 15px; height: 15px; display: block; flex-shrink: 0; }

/* ── NAV ── */
nav {
  position: relative;
  top: auto;
  left: auto; right: auto;
  z-index: 9997;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--brand-primary);
  border-bottom: none;
}

@media (min-width: 1024px) {
  nav { padding: 16px 48px; }
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.03em;
  z-index: 201;
}

.nav-logo .dot {
  width: 10px; height: 10px;
  background: var(--brand-accent);
  border-radius: 50%;
  flex-shrink: 0;
}

.nav-links { display: flex; gap: 32px; list-style: none; }

.nav-links a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--white); }

.nav-cta {
  background: var(--brand-accent);
  color: var(--brand-primary);
  padding: 10px 22px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}

.nav-cta:hover { background: var(--brand-accent-light); transform: translateY(-1px); }

.nav-cta-arrow {
  width: 22px; height: 22px;
  background: rgba(26,58,82,0.25);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 201;
}

.nav-hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.25s;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu drawer */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--brand-primary);
  padding-top: 140px;
  z-index: 9996;
  overflow-y: auto;
}

.mobile-menu.open { display: flex; flex-direction: column; }

.mobile-menu a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  padding: 14px 24px;
  font-size: 15px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: background 0.2s;
}

.mobile-menu a:hover { background: rgba(212,175,55,0.1); }

.mobile-cta { background: var(--brand-accent); color: var(--brand-primary); font-weight: 700; text-align: center; }

.mobile-phone { text-align: center; color: var(--brand-accent); }

@media (max-width: 767px) {
  .nav-hamburger { display: flex !important; }
  .nav-links { display: none !important; }
  .nav-cta { display: none !important; }
}

/* ── HERO SECTION ── */
.hero {
  position: relative;
  height: 580px;
  overflow: hidden;
  margin-top: 70px;
  display: flex;
  align-items: center;
}

.hero-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,58,82,0.75) 0%, rgba(15,36,56,0.6) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  color: white;
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212,175,55,0.15);
  border: 1px solid rgba(212,175,55,0.4);
  padding: 8px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-accent);
  margin-bottom: 20px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--brand-accent);
  border-radius: 50%;
  flex-shrink: 0;
}

.hero h1 {
  font-family: 'Merriweather', serif;
  font-size: 52px;
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 20px 0;
  color: white;
}

.hero h1 em {
  font-style: normal;
  color: var(--brand-accent);
}

.hero-sub {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255,255,255,0.9);
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--brand-accent);
  color: var(--brand-primary);
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  gap: 8px;
}

.btn-primary:hover {
  background: var(--brand-accent-light);
  transform: translateY(-2px);
}

.arrow-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: rgba(26,58,82,0.2);
  border-radius: 50%;
  font-size: 12px;
}

.hero-proof {
  position: absolute;
  bottom: 30px;
  right: 30px;
  z-index: 3;
  background: rgba(255,255,255,0.95);
  padding: 16px 20px;
  border-radius: 12px;
  text-align: center;
}

.hero-proof-text {
  color: var(--brand-primary);
  font-size: 13px;
  font-weight: 600;
}

.hero-proof-stars {
  color: var(--brand-accent);
  font-size: 14px;
  display: block;
}

@media (max-width: 768px) {
  .hero {
    height: auto;
    min-height: 480px;
    margin-top: 70px;
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 24px;
  }
  
  .hero h1 {
    font-size: 36px;
  }
  
  .hero-proof {
    position: static;
    margin: 20px 0 0;
    display: inline-block;
    bottom: auto;
    right: auto;
    font-size: 12px;
  }
}

/* ── LOGO BAR / TRUST SIGNALS ── */
.logo-bar {
  background: var(--light-bg);
  padding: 40px 24px;
}

.logo-bar-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.logo-bar-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
}

.logo-item {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-primary);
  padding: 12px;
  text-align: center;
  background: white;
  border-radius: 8px;
  border: 1px solid var(--brand-accent);
}

/* ── SERVICES SECTION ── */
.services-section {
  padding: 60px 24px;
}

.section-heading {
  font-family: 'Merriweather', serif;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 40px 0;
  color: var(--brand-primary);
}

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

.service-card {
  position: relative;
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card:hover {
  border-color: var(--brand-accent);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(26,58,82,0.15);
}

.service-card-img {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
}

.service-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(212,175,55,0.1);
  opacity: 0;
  transition: opacity 0.3s;
}

.service-card:hover .service-card-overlay {
  opacity: 1;
}

.service-card-body {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.service-card-name {
  font-weight: 600;
  color: var(--brand-primary);
}

.service-card-name span {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
  margin-top: 4px;
}

.service-arrow {
  color: var(--brand-accent);
  font-size: 24px;
  flex-shrink: 0;
}

/* ── FEATURES / WHY US ── */
.features-section {
  background: var(--light-bg);
  padding: 60px 24px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}

.feature-card {
  background: white;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid var(--border);
  text-align: center;
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--brand-accent-tint);
  border: 2px solid var(--brand-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 24px;
}

.feature-card h3 {
  font-family: 'Merriweather', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--brand-primary);
  margin: 0 0 8px 0;
}

.feature-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

/* ── CONTACT SECTION ── */
.contact-section {
  padding: 60px 24px;
  background: white;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-primary);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--brand-accent);
}

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

.form-submit {
  background: var(--brand-accent);
  color: var(--brand-primary);
  padding: 14px 24px;
  border-radius: 8px;
  border: none;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  align-self: flex-start;
}

.form-submit:hover {
  background: var(--brand-accent-light);
  transform: translateY(-2px);
}

.form-disclosure {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.info-card {
  background: var(--light-bg);
  padding: 24px;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.info-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--brand-primary);
  margin: 0 0 12px 0;
}

.info-card p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.info-card a {
  color: var(--brand-primary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.info-card a:hover {
  color: var(--brand-accent);
}

.phone-card h3 {
  color: var(--brand-accent);
}

@media (max-width: 768px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ── FOOTER ── */
footer {
  background: var(--brand-primary);
  color: rgba(255,255,255,0.8);
  padding: 40px 24px;
  font-size: 13px;
  text-align: center;
}

footer a {
  color: var(--brand-accent);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* ── REVIEWS / PROOF SECTION ── */
.reviews-section {
  background: var(--brand-accent-tint);
  padding: 60px 24px;
}

.reviews-header {
  text-align: center;
  margin-bottom: 40px;
}

.reviews-header h2 {
  font-family: 'Merriweather', serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--brand-primary);
  margin: 0 0 8px 0;
}

.reviews-badge {
  display: inline-block;
  background: white;
  padding: 12px 20px;
  border-radius: 100px;
  font-weight: 600;
  color: var(--brand-accent);
  margin-top: 16px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.review-card {
  background: white;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.review-stars {
  color: var(--brand-accent);
  font-size: 16px;
  margin-bottom: 8px;
}

.review-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--mid);
  margin-bottom: 12px;
}

.review-author {
  font-weight: 600;
  color: var(--brand-primary);
  font-size: 13px;
}

/* ── CTA SECTION ── */
.cta-section {
  background: linear-gradient(135deg, var(--brand-primary) 0%, #0f2438 100%);
  color: white;
  padding: 60px 24px;
  text-align: center;
}

.cta-section h2 {
  font-family: 'Merriweather', serif;
  font-size: 42px;
  font-weight: 700;
  margin: 0 0 16px 0;
}

.cta-section p {
  font-size: 18px;
  margin: 0 0 32px 0;
  color: rgba(255,255,255,0.9);
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-accent);
  color: var(--brand-primary);
  padding: 14px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  font-size: 15px;
}

.cta-button:hover {
  background: var(--brand-accent-light);
  transform: translateY(-2px);
}
