/* =============================================
   Napleton's Subaru Group — Main Stylesheet
   ============================================= */

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

:root {
  --blue-deep:   #003087;
  --blue-mid:    #0077C8;
  --blue-light:  #E8F1FB;
  --gold:        #C8972A;
  --text:        #1C2B3A;
  --muted:       #5a6a7a;
  --white:       #F9FAFB;
  --border:      #d4dde8;
  --radius:      8px;
  --max-width:   1100px;
}

html { scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── HEADER ─────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.65rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.site-brand { display: flex; align-items: center; }
.nav-logo {
  max-height: 56px;
  width: auto;
}
.site-nav {
  display: flex;
  gap: 1.75rem;
  font-size: 0.9rem;
  font-weight: 500;
}
.site-nav a {
  color: var(--text);
  transition: color 0.2s;
}
.site-nav a:hover { color: var(--blue-mid); }

/* ── HERO ────────────────────────────────────── */
.hero {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  padding: 5rem 2rem 4rem;
  text-align: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}
.lwyb-logo {
  max-width: 200px;
  margin: 0 auto 1.5rem;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.hero p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 2.5rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.cta-group { display: flex; flex-direction: column; align-items: center; gap: 0.6rem; }
.cta-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.75;
}
.cta-buttons { display: flex; gap: 0.6rem; }

/* ── BUTTONS ─────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.6rem 1.3rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--blue-mid);
  color: #fff;
  border-color: var(--blue-mid);
}
.btn-primary:hover { background: var(--blue-deep); border-color: var(--blue-deep); }

.btn-secondary {
  background: transparent;
  color: var(--blue-mid);
  border-color: var(--blue-mid);
}
.btn-secondary:hover { background: var(--blue-mid); color: #fff; }

.btn-ghost {
  background: transparent;
  color: var(--muted);
  border-color: var(--border);
  font-weight: 500;
}
.btn-ghost:hover { border-color: var(--blue-mid); color: var(--blue-mid); }

.btn-white {
  background: #fff;
  color: var(--blue-deep);
  border-color: #fff;
}
.btn-white:hover { background: var(--blue-light); border-color: var(--blue-light); }

.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.15); border-color: #fff; }

/* ── SECTIONS ────────────────────────────────── */
.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 2rem;
}
.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--blue-deep);
  margin-bottom: 0.5rem;
  text-align: center;
}
.section-sub {
  text-align: center;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  font-size: 1rem;
}

/* ── LOCATIONS ───────────────────────────────── */
.locations { background: var(--blue-light); }
.location-cards {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
}
.location-card {
  flex: 1;
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 2px 12px rgba(0,48,135,0.08);
  border-top: 4px solid var(--blue-mid);
}
.store-logo {
  max-height: 60px;
  width: auto;
  margin-bottom: 1rem;
}
.location-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--blue-deep);
  margin-bottom: 0.5rem;
}
.loc-address { font-size: 0.9rem; color: var(--muted); margin-bottom: 0.35rem; }
.loc-phone   { font-size: 1.05rem; font-weight: 600; margin-bottom: 1.25rem; }
.loc-phone a:hover { color: var(--blue-mid); }
.loc-buttons { display: flex; flex-wrap: wrap; gap: 0.5rem; }

/* ── WHY NAPLETON / LWYB ─────────────────────── */
.why-napleton { background: #fff; }

.lwyb-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}
.lwyb-section-logo {
  max-height: 64px;
  width: auto;
  margin: 0 auto 1.25rem;
}
.lwyb-intro h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 700;
  color: var(--blue-deep);
  margin-bottom: 0.75rem;
}
.lwyb-intro p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
}

.lwyb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.lwyb-card {
  background: var(--blue-light);
  border-radius: var(--radius);
  padding: 1.75rem;
  border-top: 3px solid var(--blue-mid);
}
.lwyb-icon {
  font-size: 1.4rem;
  color: var(--blue-mid);
  margin-bottom: 0.75rem;
}
.lwyb-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue-deep);
  margin-bottom: 0.5rem;
}
.lwyb-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ── FOOTER ──────────────────────────────────── */
.site-footer {
  background: var(--blue-deep);
  color: rgba(255,255,255,0.85);
  padding: 3rem 2rem 1.5rem;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto 2rem;
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}
.footer-col { flex: 1; min-width: 220px; }
.footer-col strong {
  display: block;
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 0.5rem;
}
.footer-col p { font-size: 0.85rem; margin-bottom: 0.35rem; }
.footer-col a:hover { color: #fff; }
.footer-copy {
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.25rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* ── PAGE CONTENT ────────────────────────────── */
.page-content { min-height: 60vh; }
.page-content h1 { font-size: 2rem; color: var(--blue-deep); margin-bottom: 1rem; }

/* ── HAMBURGER ───────────────────────────────── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 200;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center;
}
/* X state */
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 150;
  }
  .site-nav.open { display: flex; }
  .site-nav a {
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--border);
    font-size: 1rem;
  }
  .site-nav a:last-child { border-bottom: none; }

  .location-cards { flex-direction: column; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .footer-inner { flex-direction: column; gap: 2rem; }
}
@media (max-width: 480px) {
  .header-inner { padding: 0.75rem 1rem; }
  .section-inner { padding: 3rem 1rem; }
  .hero { padding: 3rem 1rem; }
}
