
/* =============================================
   Macomb County Bathtubs - Main Stylesheet
   ============================================= */

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

:root {
  --navy:   #003087;
  --blue:   #0055b3;
  --orange: #e87722;
  --dark:   #1a202c;
  --gray:   #6b7280;
  --light:  #f3f6fb;
  --white:  #ffffff;
  --border: #dde3ed;
  --radius: 8px;
  --shadow: 0 2px 16px rgba(0,48,135,0.10);
  --max-w:  1140px;
}

html { scroll-behavior: smooth; }

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

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--orange); }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }

/* ── Top Bar ── */
.top-bar {
  background: var(--navy);
  color: var(--white);
  font-size: 14px;
  padding: 8px 0;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.top-bar a { color: var(--white); font-weight: 600; }
.top-bar a:hover { color: var(--orange); }
.top-bar .phone-label { opacity: 0.8; }

/* ── Header / Nav ── */
header {
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  max-width: var(--max-w);
  margin: 0 auto;
  gap: 20px;
}
.logo { display: flex; flex-direction: column; line-height: 1.15; }
.logo-main {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.5px;
}
.logo-sub {
  font-size: 12px;
  color: var(--gray);
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

nav { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
nav a {
  color: var(--dark);
  font-weight: 600;
  font-size: 15px;
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s;
}
nav a:hover { background: var(--light); color: var(--navy); }
nav a.active { color: var(--navy); }

.btn-call {
  background: var(--orange);
  color: var(--white) !important;
  padding: 10px 22px !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  white-space: nowrap;
  transition: background 0.2s, transform 0.1s;
}
.btn-call:hover { background: #d06400 !important; transform: translateY(-1px); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--navy); border-radius: 2px;
  transition: all 0.3s;
}

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #0055b3 60%, #0077cc 100%);
  color: var(--white);
  padding: 80px 20px 90px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.hero h1 {
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
.hero-sub {
  font-size: clamp(16px, 2.5vw, 20px);
  opacity: 0.92;
  margin-bottom: 36px;
  line-height: 1.5;
}
.hero-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}
.badge {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.30);
  border-radius: 50px;
  padding: 6px 18px;
  font-size: 14px;
  font-weight: 600;
}
.hero-ctas { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.btn-primary {
  background: var(--orange);
  color: var(--white);
  padding: 16px 36px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 800;
  display: inline-block;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 4px 20px rgba(232,119,34,0.45);
}
.btn-primary:hover { background: #d06400; color: var(--white); transform: translateY(-2px); }
.btn-secondary {
  background: transparent;
  color: var(--white);
  padding: 16px 36px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 700;
  display: inline-block;
  border: 2px solid rgba(255,255,255,0.7);
  transition: background 0.2s, color 0.2s;
}
.btn-secondary:hover { background: rgba(255,255,255,0.15); color: var(--white); }

/* ── Services ── */
.section { padding: 72px 0; }
.section-light { background: var(--light); }
.section-title {
  text-align: center;
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
}
.section-sub {
  text-align: center;
  color: var(--gray);
  font-size: 17px;
  margin-bottom: 52px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.service-card {
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 36px 32px;
  border-top: 4px solid var(--orange);
  transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,48,135,0.14); }
.service-icon { font-size: 42px; margin-bottom: 16px; }
.service-card h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
}
.service-card p { color: var(--gray); line-height: 1.7; }
.service-card .learn-more {
  display: inline-block;
  margin-top: 20px;
  color: var(--orange);
  font-weight: 700;
  font-size: 15px;
}
.service-card .learn-more:hover { color: var(--navy); }

/* ── Why Choose Us ── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 0;
}
.why-item {
  text-align: center;
  padding: 28px 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 1px 8px rgba(0,48,135,0.07);
}
.why-icon { font-size: 36px; margin-bottom: 12px; }
.why-item h4 { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.why-item p { font-size: 14px; color: var(--gray); }

/* ── Process ── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  counter-reset: steps;
  position: relative;
}
.process-step {
  text-align: center;
  padding: 32px 24px;
  position: relative;
}
.step-num {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 22px;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.process-step h4 { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.process-step p { font-size: 14px; color: var(--gray); }

/* ── CTA Banner ── */
.cta-banner {
  background: linear-gradient(135deg, var(--navy), #0055b3);
  color: var(--white);
  padding: 64px 20px;
  text-align: center;
}
.cta-banner h2 { font-size: clamp(22px, 4vw, 36px); font-weight: 800; margin-bottom: 12px; }
.cta-banner p { font-size: 18px; opacity: 0.9; margin-bottom: 32px; }
.cta-banner .btn-primary { font-size: 20px; padding: 18px 44px; }
.cta-phone { font-size: 32px; font-weight: 900; color: var(--orange); margin-top: 16px; display: block; }
.cta-phone:hover { color: var(--white); }

/* ── Service Areas ── */
.areas-columns {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 40px;
}
.area-county-label {
  grid-column: 1 / -1;
  font-size: 14px;
  font-weight: 700;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 16px 0 4px;
  border-top: 2px solid var(--border);
  margin-top: 8px;
}
.area-county-label:first-child { margin-top: 0; border-top: none; }
.area-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  color: var(--dark);
  font-size: 15px;
  font-weight: 500;
  transition: all 0.15s;
}
.area-link:hover { border-color: var(--navy); color: var(--navy); background: var(--light); transform: translateX(3px); }
.area-link::before { content: '📍'; font-size: 14px; }

/* ── City Page ── */
.city-hero {
  background: linear-gradient(135deg, var(--navy), #0055b3);
  color: var(--white);
  padding: 60px 20px 70px;
  text-align: center;
}
.city-hero h1 { font-size: clamp(26px, 4.5vw, 46px); font-weight: 900; margin-bottom: 14px; }
.city-hero p { font-size: 18px; opacity: 0.9; max-width: 600px; margin: 0 auto 28px; }
.city-breadcrumb { font-size: 14px; opacity: 0.7; margin-bottom: 16px; }
.city-breadcrumb a { color: rgba(255,255,255,0.8); }
.city-breadcrumb a:hover { color: var(--white); }

.city-content-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
  padding: 60px 0;
}
.city-main h2 { font-size: 26px; font-weight: 800; color: var(--navy); margin: 32px 0 14px; }
.city-main h2:first-child { margin-top: 0; }
.city-main p { color: #374151; line-height: 1.75; margin-bottom: 14px; }
.city-main ul { margin: 12px 0 18px 20px; }
.city-main ul li { color: #374151; line-height: 1.7; margin-bottom: 6px; }

.sidebar-card {
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 28px;
  border-top: 4px solid var(--orange);
  position: sticky;
  top: 90px;
}
.sidebar-card h3 { font-size: 20px; font-weight: 800; color: var(--navy); margin-bottom: 16px; }
.sidebar-phone {
  display: block;
  text-align: center;
  background: var(--orange);
  color: var(--white);
  padding: 16px;
  border-radius: 50px;
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 16px;
  transition: background 0.2s;
}
.sidebar-phone:hover { background: #d06400; color: var(--white); }
.sidebar-card p { font-size: 14px; color: var(--gray); text-align: center; line-height: 1.6; }
.sidebar-list { list-style: none; margin: 16px 0; }
.sidebar-list li {
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 8px;
}
.sidebar-list li:last-child { border-bottom: none; }
.sidebar-list li::before { content: '✓'; color: var(--orange); font-weight: 800; }

/* ── Footer ── */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  padding: 56px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .logo-main { color: var(--white); font-size: 20px; }
.footer-brand .logo-sub { color: rgba(255,255,255,0.6); }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.7); line-height: 1.7; margin-top: 12px; }
.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,0.7); transition: color 0.15s; }
.footer-col ul li a:hover { color: var(--orange); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}
.footer-bottom a { color: rgba(255,255,255,0.6); }
.footer-bottom a:hover { color: var(--orange); }

/* ── Nearby Cities ── */
.nearby-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.nearby-chip {
  padding: 6px 16px;
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 14px;
  color: var(--dark);
  transition: all 0.15s;
  display: inline-block;
}
.nearby-chip:hover { border-color: var(--navy); color: var(--navy); background: var(--light); }

/* ── Contact Form ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-info h2 { font-size: 32px; font-weight: 800; color: var(--navy); margin-bottom: 20px; }
.contact-info p { color: var(--gray); line-height: 1.75; margin-bottom: 24px; }
.contact-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 16px;
}
.contact-detail .icon { font-size: 22px; }
.contact-form-box {
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 40px;
  border-top: 4px solid var(--orange);
}
.contact-form-box h3 { font-size: 22px; font-weight: 800; color: var(--navy); margin-bottom: 24px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: var(--dark); margin-bottom: 6px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: inherit;
  color: var(--dark);
  transition: border-color 0.2s;
  background: var(--white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,85,179,0.12);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.btn-submit {
  width: 100%;
  background: var(--navy);
  color: var(--white);
  padding: 15px;
  border: none;
  border-radius: 50px;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-submit:hover { background: var(--blue); }

/* ── Breadcrumb ── */
.breadcrumb-bar {
  background: var(--light);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.breadcrumb {
  font-size: 13px;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--gray); }
.breadcrumb a:hover { color: var(--navy); }
.breadcrumb .sep { opacity: 0.5; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .city-content-grid { grid-template-columns: 1fr; }
  .sidebar-card { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  nav { display: none; flex-direction: column; width: 100%; }
  nav.open { display: flex; }
  .header-inner { flex-wrap: wrap; }
  .hamburger { display: flex; }
  nav a { width: 100%; text-align: center; border-radius: 0; border-bottom: 1px solid var(--border); }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 56px 20px 64px; }
  .section { padding: 52px 0; }
}

/* ── Misc ── */
.divider { border: none; border-top: 2px solid var(--border); margin: 40px 0; }
.tag {
  display: inline-block;
  background: var(--light);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}
