/* Bowman E&M Car & Truck Center
   ---------------------------------
   Single stylesheet for the whole site.
   Brand palette: official NAPA blue + NAPA yellow, with a small AutoCare red accent.
*/

:root {
  --navy: #003594;          /* NAPA Blue (PMS 287) */
  --navy-dark: #002978;     /* darker NAPA blue */
  --red: #FFCD11;           /* NAPA Yellow (PMS 116) */
  --red-dark: #E6B900;      /* darker NAPA yellow for hover */
  --gold: #FFCD11;
  --accent-red: #C8102E;    /* small AutoCare red accent only */
  --bg: #ffffff;
  --bg-alt: #f4f6fa;
  --text: #1a1a1a;
  --muted: #5a6473;
  --border: #e3e7ee;
  --shadow: 0 4px 14px rgba(0, 53, 148, 0.10);
  --shadow-lg: 0 12px 32px rgba(0, 53, 148, 0.18);
  --radius: 10px;
  --maxw: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---------- Top utility bar ---------- */
.topbar {
  background: var(--navy-dark);
  color: #cfd8e6;
  font-size: 0.88rem;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 20px;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar a { color: #fff; }
.topbar .tb-phone { font-weight: 600; }

/* ---------- Header / Nav ---------- */
.header {
  background: var(--navy);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow);
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  text-decoration: none;
}
.brand-logo {
  height: 60px;
  width: auto;
  display: block;
}
.brand-mark {
  background: var(--red);
  color: var(--navy);
  font-weight: 800;
  letter-spacing: 1px;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 1.05rem;
  line-height: 1;
}
.brand-name { font-weight: 700; font-size: 1.05rem; line-height: 1.15; }
.brand-sub { font-size: 0.78rem; color: #bcc7da; letter-spacing: 0.5px; text-transform: uppercase; }
.brand-divider {
  width: 1px;
  align-self: stretch;
  background: rgba(255,255,255,0.25);
  margin: 4px 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav a {
  color: #fff;
  padding: 10px 14px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.95rem;
}
.nav a:hover { background: rgba(255,255,255,0.1); text-decoration: none; }
.nav a.active { background: var(--red); color: var(--navy); }
.nav .btn-cta {
  background: var(--red);
  color: var(--navy);
  margin-left: 8px;
}
.nav .btn-cta:hover { background: var(--red-dark); color: var(--navy); }

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
}

@media (max-width: 880px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy-dark);
    flex-direction: column;
    align-items: stretch;
    padding: 8px 0;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 20px; border-radius: 0; }
  .nav .btn-cta { margin: 8px 20px; text-align: center; }
  .menu-toggle { display: inline-block; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--red);
  color: var(--navy);
  padding: 12px 22px;
  border-radius: 6px;
  font-weight: 700;
  border: 0;
  cursor: pointer;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.05s ease;
}
.btn:hover { background: var(--red-dark); color: var(--navy); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}
.btn-outline:hover { background: #fff; color: var(--navy); }
.btn-dark {
  background: var(--navy);
  color: #fff;
}
.btn-dark:hover { background: var(--navy-dark); color: #fff; }

/* ---------- Hero ---------- */
.hero {
  background:
    linear-gradient(135deg, rgba(6,26,48,0.92) 0%, rgba(10,37,64,0.85) 100%),
    radial-gradient(circle at 20% 30%, #1f4068 0%, transparent 60%),
    var(--navy);
  color: #fff;
  padding: 80px 0 90px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(transparent 95%, rgba(255,255,255,0.04) 95%),
    linear-gradient(90deg, transparent 95%, rgba(255,255,255,0.04) 95%);
  background-size: 40px 40px;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero .eyebrow {
  display: inline-block;
  background: var(--red);
  color: var(--navy);
  padding: 6px 14px;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 999px;
  margin-bottom: 18px;
  font-weight: 600;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  margin: 0 0 14px;
  line-height: 1.1;
  font-weight: 800;
}
.hero .sub {
  font-size: 1.2rem;
  color: #cfd8e6;
  max-width: 720px;
  margin: 0 auto 28px;
}
.hero .cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero .address {
  margin-top: 32px;
  font-size: 1.05rem;
  color: #e2e8f3;
}
.hero .address strong { color: #fff; }

/* ---------- Page header (subpages) ---------- */
.page-header {
  background: var(--navy);
  color: #fff;
  padding: 56px 0 48px;
  text-align: center;
}
.page-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin: 0 0 10px;
}
.page-header p {
  color: #cfd8e6;
  margin: 0 auto;
  max-width: 720px;
  font-size: 1.05rem;
}

/* ---------- Sections ---------- */
section { padding: 64px 0; }
.section-alt { background: var(--bg-alt); }
.section-title {
  text-align: center;
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  margin: 0 0 8px;
  color: var(--navy);
}
.section-lead {
  text-align: center;
  color: var(--muted);
  max-width: 680px;
  margin: 0 auto 40px;
  font-size: 1.05rem;
}

/* ---------- Feature/Why row ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.feature {
  background: #fff;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  text-align: center;
}
.feature .icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 14px;
  background: var(--red);
  color: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
}
.feature h3 { margin: 0 0 6px; color: var(--navy); font-size: 1.1rem; }
.feature p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* ---------- Service highlight cards (home) ---------- */
.svc-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.svc-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.svc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.svc-card h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.svc-card p { color: var(--muted); margin: 0 0 14px; font-size: 0.95rem; }
.svc-card .more { color: var(--navy); font-weight: 700; font-size: 0.9rem; }

/* ---------- Service list (services page) ---------- */
.svc-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 10px;
  margin-top: 24px;
}
.svc-list a {
  display: block;
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--red);
  padding: 14px 16px;
  border-radius: 6px;
  color: var(--navy);
  font-weight: 500;
  transition: transform 0.1s ease, background 0.15s ease;
}
.svc-list a:hover {
  background: var(--bg-alt);
  text-decoration: none;
  transform: translateX(3px);
}

/* ---------- CTA strip ---------- */
.cta-strip {
  background: var(--navy);
  color: #fff;
  padding: 40px 0;
  text-align: center;
}
.cta-strip h2 { margin: 0 0 8px; font-size: 1.8rem; }
.cta-strip p { margin: 0 0 18px; color: #cfd8e6; }
.cta-strip .btn { background: var(--red); color: var(--navy); }
.cta-strip .btn:hover { background: var(--red-dark); color: var(--navy); }

/* ---------- Two-column ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 800px) { .two-col { grid-template-columns: 1fr; } }
.two-col h2 { color: var(--navy); margin-top: 0; }

/* ---------- Form ---------- */
.form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  max-width: 720px;
  margin: 0 auto;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
  font-size: 0.92rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(200,16,46,0.12);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 6px; }
.form-success {
  display: none;
  background: #e8f5ec;
  border: 1px solid #b5dcc1;
  color: #1d6a3a;
  padding: 16px;
  border-radius: 6px;
  margin-bottom: 16px;
}
.form-success.show { display: block; }
.form-error {
  display: none;
  background: #fdecec;
  border: 1px solid #f5b7b1;
  color: #8b1d1d;
  padding: 16px;
  border-radius: 6px;
  margin-bottom: 16px;
}
.form-error.show { display: block; }


/* ---------- Map ---------- */
.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.map-wrap iframe { display: block; width: 100%; height: 360px; border: 0; }

/* ---------- Warranty / Financing badges ---------- */
.badge-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 24px 0;
}
.badge {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  text-align: center;
}
.badge .num {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 6px;
}
.badge h4 { margin: 0 0 6px; color: var(--navy); }

.badge p { margin: 0; color: var(--muted); font-size: 0.9rem; }

/* ---------- Specials ---------- */
.special-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.special {
  background: #fff;
  border: 2px dashed var(--accent-red);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
}
.special .amount {
  font-size: 2.4rem;
  color: var(--accent-red);
  font-weight: 800;
  margin-bottom: 6px;
}
.special h3 { margin: 0 0 10px; color: var(--navy); }
.special .expires { color: var(--muted); font-size: 0.9rem; margin: 8px 0 16px; }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 20px; }
.review {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.stars { color: var(--gold); margin-bottom: 8px; font-size: 1.1rem; }
.review p { margin: 0 0 10px; color: var(--text); font-style: italic; }
.review .author { color: var(--muted); font-size: 0.9rem; font-weight: 600; }

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-dark);
  color: #c0cbdc;
  padding: 50px 0 22px;
  font-size: 0.95rem;
}
.footer h4 {
  color: #fff;
  letter-spacing: 1.5px;
  font-size: 0.9rem;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  margin-bottom: 28px;
}
.footer-badge {
  background: #fff;
  border-radius: var(--radius);
  padding: 14px;
  display: inline-block;
  margin-top: 4px;
}
.footer-badge img { height: 90px; width: auto; display: block; }
.footer a { color: #c0cbdc; }
.footer a:hover { color: #fff; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 8px; }
.social { display: flex; gap: 10px; margin-top: 8px; }
.social a {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
}
.social a:hover { background: var(--red); color: var(--navy); text-decoration: none; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 18px;
  text-align: center;
  color: #8a95a8;
  font-size: 0.85rem;
}

/* ---------- Misc ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.legal { max-width: 860px; margin: 0 auto; }
.legal h2 { color: var(--navy); margin-top: 32px; }
.legal h3 { color: var(--navy); }
.legal p, .legal li { color: var(--text); }

/* ========== Bowman clone additions ========== */

/* Hero photo background */
.hero.hero-photo {
  background:
    linear-gradient(rgba(0,28,80,0.78), rgba(0,28,80,0.78)),
    url('/assets/orig/hero-mechanic.jpg') center/cover no-repeat;
  padding: 120px 0 130px;
  text-align: left;
}
.hero.hero-photo .container { max-width: 1100px; }
.hero.hero-photo h1 {
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 800;
  margin: 0 0 14px;
  line-height: 1.05;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.hero.hero-photo .hero-tag {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: #fff;
  margin: 0 0 28px;
  font-weight: 500;
  opacity: 0.95;
}
.hero.hero-photo .hero-addr {
  margin: 4px 0;
  font-size: 1.05rem;
  color: #e6ecf6;
}
.hero.hero-photo .hero-phone {
  margin: 4px 0 22px;
  font-size: 1.6rem;
  font-weight: 700;
}
.hero.hero-photo .hero-phone a { color: var(--red); }
.hero.hero-photo .hero-phone a:hover { color: #fff; text-decoration: none; }
.hero.hero-photo .cta-row { justify-content: flex-start; }

/* Yellow specials ribbon */
.specials-ribbon {
  display: block;
  background: var(--red);
  color: var(--navy);
  text-align: center;
  padding: 16px 0;
  font-weight: 800;
  letter-spacing: 1px;
  font-size: 1.1rem;
  text-transform: uppercase;
  transition: background 0.15s ease;
}
.specials-ribbon:hover { background: var(--red-dark); color: var(--navy); text-decoration: none; }

/* Why-choose-us simple row of checks */
.why-row {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.why-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.25rem;
  color: var(--navy);
  font-weight: 600;
}
.why-check {
  color: var(--accent-red);
  font-size: 1.6rem;
  font-weight: 700;
}

/* Service photo cards (3 across) */
.svc-photo-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 800px) { .svc-photo-cards { grid-template-columns: 1fr; } }
.svc-photo {
  display: block;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  color: var(--text);
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.svc-photo:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); text-decoration: none; }
.svc-photo img {
  width: 100%;
  max-width: 180px;
  height: auto;
  margin: 0 auto 14px;
  display: block;
}
.svc-photo h3 {
  margin: 6px 0 10px;
  color: var(--navy);
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.svc-photo p { color: var(--muted); margin: 0; font-size: 0.95rem; }

/* Financing section with Synchrony card */
.financing-section { padding: 64px 0; background: #fff; }
.financing-section h2 { color: var(--navy); margin-top: 0; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.financing-section p { color: var(--text); font-size: 1.05rem; }
.synchrony-card {
  max-width: 380px;
  width: 100%;
  height: auto;
  margin: 0 auto;
  display: block;
}

/* Tire / brand logo strip */
.brand-strip {
  background: var(--bg-alt);
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.brand-logos {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 32px;
}
.brand-logos img {
  height: 70px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  filter: grayscale(15%);
  opacity: 0.92;
  transition: filter 0.2s ease, opacity 0.2s ease;
}
.brand-logos img:hover { filter: none; opacity: 1; }

/* Footer adjustments */
.footer-grid-4 {
  grid-template-columns: 1.2fr 1.5fr 1fr 1.2fr;
}
@media (max-width: 880px) { .footer-grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid-4 { grid-template-columns: 1fr; } }
.footer-blurb {
  color: #c0cbdc;
  font-size: 0.9rem;
  text-align: center;
  max-width: 900px;
  margin: 8px auto 22px;
  line-height: 1.6;
}
.footer-blurb a { color: var(--red); }
/* ========== NAPA AutoCare prominence strip ========== */
.napa-strip {
  background: var(--red);
  color: var(--navy);
  padding: 6px 0;
  font-size: 0.92rem;
  font-weight: 600;
  border-bottom: 2px solid var(--navy);
}
.napa-strip .container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  text-align: center;
}
.napa-strip-item { white-space: nowrap; }
.napa-strip-sep { opacity: 0.5; }
@media (max-width: 700px) {
  .napa-strip-sep { display: none; }
  .napa-strip .container { gap: 4px 14px; font-size: 0.85rem; }
}

/* Hero warranty subhead */
.hero.hero-photo .hero-warranty {
  font-size: 1.05rem;
  color: #e6ecf6;
  max-width: 720px;
  margin: 0 0 18px;
  line-height: 1.55;
}
.hero.hero-photo .hero-warranty strong { color: var(--red); }

/* Specials promo cards (NAPA banner artwork) */
.promo-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}
.promo-card {
  display: block;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  color: var(--text);
  box-shadow: var(--shadow);
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.promo-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); text-decoration: none; }
.promo-title {
  background: var(--navy);
  color: #fff;
  margin: 0;
  padding: 14px 18px;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 700;
}
.promo-card img {
  width: 100%;
  height: auto;
  display: block;
}
.promo-expires {
  margin: 0;
  padding: 12px;
  color: var(--accent-red);
  font-weight: 600;
  font-size: 0.95rem;
  background: #fff;
}