/* ===== Dave the Plumber — Cape Cod coastal / trade palette ===== */
:root {
  --ocean-deep: #0a4a63;
  --ocean: #14708f;
  --ocean-light: #2a91b0;
  --sun: #f5b840;
  --sun-dark: #d9971e;
  --cream: #faf5ec;
  --cream-dark: #f0e6d2;
  --ink: #182530;
  --slate: #52626e;
  --white: #ffffff;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}

h1, h2, h3, h4, .display-font {
  font-family: 'League Spartan', 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
}

a {
  text-decoration: none;
}

.text-ocean { color: var(--ocean-deep); }
.bg-cream { background: var(--cream); }
.bg-cream-dark { background: var(--cream-dark); }

/* ===== Navbar ===== */
.navbar {
  background: rgba(250, 245, 236, 0.97);
  box-shadow: 0 2px 16px rgba(10, 74, 99, 0.08);
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
}

.navbar-brand {
  font-family: 'League Spartan', sans-serif;
  font-weight: 800;
  font-size: 1.55rem;
  color: var(--ocean-deep) !important;
  line-height: 1;
}

.navbar-brand span {
  color: var(--sun-dark);
}

.navbar .nav-link {
  font-weight: 600;
  color: var(--ink) !important;
  padding: 0.5rem 0.9rem !important;
}

.navbar .nav-link:hover {
  color: var(--ocean-deep) !important;
}

.navbar-call-btn {
  background: var(--sun);
  color: var(--ink) !important;
  font-weight: 700;
  border-radius: 50px;
  padding: 0.5rem 1.2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: background 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.navbar-call-btn:hover {
  background: var(--sun-dark);
  color: var(--ink) !important;
  transform: translateY(-1px);
}

.navbar-toggler {
  border: none;
  padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('img/hero.webp') center 30%/cover no-repeat;
  clip-path: ellipse(140% 100% at 50% 0%);
  margin-top: -1px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 65% at 50% 48%, rgba(10, 40, 60, 0.45) 0%, rgba(10, 40, 60, 0.10) 100%),
    linear-gradient(to bottom, rgba(10, 30, 48, 0.55) 0%, rgba(20, 112, 143, 0.28) 45%, rgba(10, 30, 48, 0.6) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 760px;
  padding: 2.25rem 2rem;
  background: rgba(6, 30, 42, 0.22);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: 20px;
}

.hero-eyebrow {
  color: var(--sun);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.9rem;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 1px 12px rgba(0,0,0,0.95), 0 0 30px rgba(0,0,0,0.8);
}

.hero-title {
  color: #fff;
  font-size: clamp(2.75rem, 7vw, 5.2rem);
  font-weight: 800;
  line-height: 0.98;
  margin: 0.5rem 0 1rem;
  text-shadow: 0 0 4px rgba(0,0,0,1), 0 2px 20px rgba(0,0,0,0.95), 0 0 60px rgba(0,0,0,0.8);
}

.hero-subtitle {
  color: #fff;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 500;
  max-width: 560px;
  margin: 0 auto 1.75rem;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 2px 16px rgba(0,0,0,0.95), 0 0 40px rgba(0,0,0,0.85);
}

.hero-actions {
  display: flex;
  gap: 0.9rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-sun {
  background: var(--sun);
  color: var(--ink);
  font-weight: 700;
  padding: 0.8rem 1.9rem;
  border-radius: 50px;
  border: 2px solid var(--sun);
  transition: all 0.2s ease;
}

.btn-sun:hover {
  background: var(--sun-dark);
  border-color: var(--sun-dark);
  color: var(--ink);
  transform: translateY(-2px);
}

.btn-outline-hero {
  background: transparent;
  color: #fff;
  font-weight: 700;
  padding: 0.8rem 1.9rem;
  border-radius: 50px;
  border: 2px solid rgba(255,255,255,0.85);
  transition: all 0.2s ease;
}

.btn-outline-hero:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
  transform: translateY(-2px);
}

/* ===== Stats strip ===== */
.stats-strip {
  background: var(--cream);
  padding: 3.5rem 0 3rem;
  margin-top: -2px;
}

.stat-card {
  text-align: center;
  padding: 1.5rem 1rem;
}

.stat-icon {
  font-size: 2.1rem;
  color: var(--ocean);
  margin-bottom: 0.6rem;
}

.stat-value {
  font-family: 'League Spartan', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--ocean-deep);
  margin-bottom: 0.2rem;
}

.stat-label {
  color: var(--slate);
  font-size: 0.92rem;
  font-weight: 500;
}

/* ===== Statement band ===== */
.statement-band {
  background: linear-gradient(135deg, var(--ocean-deep) 0%, var(--ocean) 100%);
  color: #fff;
  padding: 4.5rem 0;
  position: relative;
  overflow: hidden;
}

.statement-band::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(245, 184, 64, 0.1);
}

.statement-band h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  max-width: 640px;
  margin: 0 auto 1.1rem;
}

.statement-band p {
  max-width: 620px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.7;
}

/* ===== Section headers ===== */
.section-pad {
  padding: 5.5rem 0;
}

.section-eyebrow {
  color: var(--sun-dark);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--ocean-deep);
  margin-bottom: 1rem;
}

.section-intro {
  color: var(--slate);
  font-size: 1.08rem;
  max-width: 680px;
  line-height: 1.7;
}

/* ===== Services grid ===== */
.service-card {
  background: #fff;
  border-radius: 16px;
  padding: 2.1rem 1.8rem;
  height: 100%;
  box-shadow: 0 6px 24px rgba(10, 74, 99, 0.07);
  border: 1px solid rgba(10, 74, 99, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(10, 74, 99, 0.13);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--cream-dark);
  color: var(--ocean-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.1rem;
}

.service-card h3 {
  font-size: 1.25rem;
  color: var(--ink);
  margin-bottom: 0.6rem;
}

.service-card p {
  color: var(--slate);
  font-size: 0.97rem;
  margin: 0;
  line-height: 1.6;
}

/* ===== Our Story ===== */
.story-panel {
  background: var(--ocean-deep);
  color: #fff;
  border-radius: 20px;
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 100%;
  min-height: 280px;
}

.story-panel .story-year {
  font-family: 'League Spartan', sans-serif;
  font-weight: 800;
  font-size: 4.5rem;
  line-height: 1;
  color: var(--sun);
}

.story-panel .story-year-label {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 700;
  margin-top: 0.5rem;
  color: rgba(255,255,255,0.85);
}

.story-text p {
  color: var(--slate);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.1rem;
}

.story-text strong {
  color: var(--ink);
}

.license-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--cream-dark);
  color: var(--ocean-deep);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  margin-top: 0.5rem;
}

/* ===== Service Area ===== */
.map-frame {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(10, 74, 99, 0.15);
  border: 6px solid #fff;
}

.map-frame iframe {
  width: 100%;
  height: 380px;
  border: 0;
  display: block;
}

.radius-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #fff;
  border: 2px solid var(--sun);
  color: var(--ocean-deep);
  font-weight: 700;
  padding: 0.7rem 1.3rem;
  border-radius: 50px;
  margin-top: 1.2rem;
}

/* ===== Contact ===== */
.contact-section {
  background: linear-gradient(135deg, var(--ocean-deep) 0%, #0d5a76 100%);
  color: #fff;
  border-radius: 24px;
  padding: 3.5rem 2.5rem;
  position: relative;
  overflow: hidden;
}

.contact-section::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -60px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(245, 184, 64, 0.08);
}

.contact-section h2 {
  color: #fff;
}

.contact-section p {
  color: rgba(255,255,255,0.88);
  font-size: 1.05rem;
  line-height: 1.7;
}

.contact-info-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.1rem;
  font-size: 1.05rem;
}

.contact-info-row i {
  color: var(--sun);
  font-size: 1.3rem;
  flex-shrink: 0;
}

.btn-call-big {
  background: var(--sun);
  color: var(--ink);
  font-weight: 800;
  font-size: 1.3rem;
  padding: 1rem 2.2rem;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  transition: all 0.2s ease;
}

.btn-call-big:hover {
  background: var(--sun-dark);
  color: var(--ink);
  transform: translateY(-2px);
}

/* ===== Footer ===== */
.site-footer {
  background: #0a1c26;
  color: rgba(255,255,255,0.75);
  padding: 3.5rem 0 2rem;
}

.footer-brand {
  font-family: 'League Spartan', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: #fff;
}

.footer-brand span {
  color: var(--sun);
}

.site-footer a {
  color: rgba(255,255,255,0.75);
}

.site-footer a:hover {
  color: var(--sun);
}

.footer-divider {
  border-color: rgba(255,255,255,0.12);
  margin: 2rem 0 1.5rem;
}

.powered-by {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
}

.powered-by a {
  color: var(--sun);
  font-weight: 600;
}

/* ===== Responsive ===== */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: var(--cream);
    padding: 1rem;
    border-radius: 12px;
    margin-top: 0.5rem;
  }
  .story-panel {
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 767.98px) {
  .hero {
    min-height: 92vh;
    clip-path: ellipse(180% 100% at 50% 0%);
  }
  .section-pad {
    padding: 3.5rem 0;
  }
  .contact-section {
    padding: 2.5rem 1.5rem;
  }
}
