@import url('https://fonts.googleapis.com/css2?family=Anton&family=Inter:wght@400;600;700;800&display=swap');
/* Do It All Auto Sales — shared styles. Mobile-first. */
:root {
  --bg: #f4f5f7;
  --card: #ffffff;
  --ink: #171a20;
  --muted: #68707d;
  --line: #e3e6eb;
  --header: #14181f;
  --accent: #d92d20;
  --accent-dark: #b02318;
  --ok: #1c7c3e;
  --radius: 12px;
  --shadow: 0 2px 10px rgba(20, 24, 31, 0.08);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 16px; }

/* ---------- header ---------- */
.site-header {
  background: var(--header);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
}
.brand { color: #fff; text-decoration: none; font-weight: 800; font-size: 1.05rem; letter-spacing: 0.2px; display: inline-flex; align-items: center; }
.brand span { color: var(--accent); }
.brand img { height: 46px; width: auto; display: block; }
.tagline { font-style: italic; color: var(--accent); font-weight: 600; margin: 0 0 8px; }
.bhp-banner { background: #fff7ed; border: 1px solid #fed7aa; border-left: 4px solid var(--accent); border-radius: 10px; padding: 14px 16px; margin: 0 0 18px; line-height: 1.55; }
.bhp-banner strong { color: var(--accent-dark); }
.hours-list { display: grid; gap: 5px; margin-top: 10px; }
.hours-row { display: flex; justify-content: space-between; gap: 16px; font-size: 0.92rem; }
.hours-row span:first-child { color: #cbd5e1; }
.hours-row span:last-child { font-weight: 600; color: #fff; text-align: right; }
.hours-standalone { max-width: 340px; }
.hours-standalone .hours-row span:first-child { color: var(--muted, #5b6472); }
.hours-standalone .hours-row span:last-child { color: inherit; }
.nav-toggle {
  background: none; border: 1px solid #3a4150; color: #fff;
  border-radius: 8px; padding: 8px 12px; font-size: 1.1rem; cursor: pointer;
}
.main-nav { display: none; }
.main-nav.open { display: block; background: #1d232e; }
.main-nav a {
  display: block; color: #dfe3ea; text-decoration: none;
  padding: 12px 20px; border-top: 1px solid #2a3140; font-weight: 600;
}
.main-nav a:hover, .main-nav a.active { color: #fff; background: #262e3d; }
@media (min-width: 760px) {
  .nav-toggle { display: none; }
  .main-nav { display: flex !important; background: none; }
  .main-nav a { border: 0; padding: 8px 12px; border-radius: 8px; }
}

/* ---------- hero ---------- */
.hero {
  background: linear-gradient(135deg, #14181f 0%, #232b3a 60%, #3a1f1c 100%);
  color: #fff;
  padding: 56px 0;
}
.hero h1 { margin: 0 0 10px; font-size: 2rem; line-height: 1.2; }
.hero p { color: #c9d0dc; margin: 0 0 22px; max-width: 34rem; }
.hero .cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; border: 0; cursor: pointer; text-decoration: none;
  background: var(--accent); color: #fff; font-weight: 700;
  padding: 12px 22px; border-radius: 10px; font-size: 1rem;
}
.btn:hover { background: var(--accent-dark); color: #fff; }
.btn.secondary { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn.secondary:hover { background: #eef0f3; }
.btn.ghost { background: transparent; color: #fff; border: 1px solid #556; }
.btn.small { padding: 8px 14px; font-size: 0.9rem; }
.btn.danger { background: #b02318; }
.btn.block { display: block; width: 100%; text-align: center; }

/* ---------- sections & cards ---------- */
.section { padding: 36px 0; }
.section h2 { margin: 0 0 6px; font-size: 1.5rem; }
.section .sub { color: var(--muted); margin: 0 0 20px; }
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
}
.grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid { grid-template-columns: repeat(3, 1fr); } }

.vehicle-card { text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: transform 0.12s ease; }
.vehicle-card:hover { transform: translateY(-2px); }
.vehicle-photo { aspect-ratio: 16 / 10; background: #dfe3e9; position: relative; overflow: hidden; }
.vehicle-photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #2a3140, #4a5468); color: #aeb7c6;
  font-weight: 700; font-size: 0.9rem; text-align: center; padding: 12px;
}
.vehicle-body { padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.vehicle-title { font-weight: 800; font-size: 1.05rem; margin: 0; }
.vehicle-meta { color: var(--muted); font-size: 0.9rem; margin: 0; }
.vehicle-price { font-size: 1.25rem; font-weight: 800; color: var(--accent); margin: 4px 0 0; }
.sample-badge {
  display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.4px;
  background: #fff3cd; color: #8a6d00; border: 1px solid #e6c84a;
  padding: 2px 8px; border-radius: 20px; width: fit-content;
}

/* ---------- forms ---------- */
.form-card { padding: 22px; max-width: 640px; margin: 0 auto; }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; font-size: 0.95rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 12px; font-size: 1rem;
  border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink);
}
.field textarea { min-height: 110px; resize: vertical; }
.field .hint { font-size: 0.85rem; color: var(--muted); margin-top: 4px; }
.field-row { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.checkbox-row { display: flex; gap: 10px; align-items: flex-start; }
.checkbox-row input { width: auto; margin-top: 4px; }
.error { color: var(--accent-dark); font-weight: 600; margin: 0 0 12px; }
.success { color: var(--ok); font-weight: 600; margin: 0 0 12px; }

/* ---------- filters ---------- */
.filters {
  display: grid; gap: 10px; grid-template-columns: 1fr 1fr;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 14px; margin-bottom: 18px;
}
.filters .full { grid-column: 1 / -1; }
.filters input, .filters select {
  width: 100%; padding: 10px; font-size: 0.95rem;
  border: 1px solid var(--line); border-radius: 8px;
}
@media (min-width: 760px) { .filters { grid-template-columns: repeat(6, 1fr); } }

/* ---------- vehicle detail ---------- */
.detail-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 860px) { .detail-grid { grid-template-columns: 1.2fr 1fr; } }
.gallery-main { aspect-ratio: 16 / 10; background: #dfe3e9; border-radius: var(--radius); overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 8px; margin-top: 8px; overflow-x: auto; }
.gallery-thumbs img {
  width: 84px; height: 56px; object-fit: cover; border-radius: 8px;
  cursor: pointer; border: 2px solid transparent;
}
.gallery-thumbs img.active { border-color: var(--accent); }
.spec-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.spec-table th, .spec-table td { text-align: left; padding: 8px 4px; border-bottom: 1px solid var(--line); }
.spec-table th { color: var(--muted); font-weight: 600; width: 42%; }
.price-big { font-size: 2rem; font-weight: 800; color: var(--accent); margin: 0 0 12px; }
.cta-stack { display: grid; gap: 10px; margin-top: 16px; }

/* ---------- footer ---------- */
.site-footer { background: var(--header); color: #aeb7c6; padding: 28px 0; margin-top: 40px; font-size: 0.92rem; }
.site-footer a { color: #dfe3ea; }
.site-footer .wrap { display: grid; gap: 16px; }
@media (min-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr 1fr 1fr; } }
.site-footer h3 { color: #fff; margin: 0 0 8px; font-size: 1rem; }

/* ---------- admin ---------- */
.admin-shell { max-width: 1000px; margin: 0 auto; padding: 24px 16px 60px; }
.tabs { display: flex; gap: 8px; margin: 18px 0; flex-wrap: wrap; }
.tab {
  border: 1px solid var(--line); background: #fff; border-radius: 10px;
  padding: 10px 16px; font-weight: 700; cursor: pointer; font-size: 0.95rem;
}
.tab.active { background: var(--header); color: #fff; border-color: var(--header); }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; background: #fff; border-radius: var(--radius); overflow: hidden; }
.admin-table th, .admin-table td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.admin-table th { background: #eef0f3; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.4px; }
.table-scroll { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); }
.status-new { color: var(--accent-dark); font-weight: 700; }
.status-contacted { color: var(--ok); font-weight: 700; }
.row-actions { display: flex; gap: 6px; flex-wrap: wrap; }

/* VIN scanner */
.scanner-box { background: #000; border-radius: var(--radius); overflow: hidden; position: relative; }
.scanner-box video { width: 100%; display: block; }
.scan-hint {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 10px;
  background: rgba(0, 0, 0, 0.6); color: #fff; font-size: 0.9rem; text-align: center;
}
.scan-frame {
  position: absolute; left: 10%; right: 10%; top: 38%; height: 24%;
  border: 3px solid var(--accent); border-radius: 8px; pointer-events: none;
}
.notice { background: #fff8e1; border: 1px solid #e6c84a; border-radius: 10px; padding: 12px 14px; margin: 0 0 16px; font-size: 0.93rem; }
.map-embed iframe { width: 100%; height: 320px; border: 0; border-radius: var(--radius); }
.two-col { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .two-col { grid-template-columns: 1fr 1fr; } }

/* ================= ENERGY PASS — brand attitude ================= */
.display, .hero h1, .section h2, .site-footer h3, .price-big, .vehicle-price {
  font-family: 'Anton', 'Arial Narrow', Impact, sans-serif;
  font-weight: 400;
  letter-spacing: 0.5px;
}
.section h2 { text-transform: uppercase; font-size: 1.9rem; }
.kicker {
  display: inline-block; color: #fff; background: var(--accent);
  font-weight: 800; text-transform: uppercase; font-size: 0.72rem;
  letter-spacing: 2.5px; padding: 6px 12px; border-radius: 4px; margin: 0 0 14px;
}
.kicker.ghost { background: transparent; border: 1px solid var(--accent); color: var(--accent); }

/* hero */
.hero {
  position: relative; overflow: hidden; padding: 76px 0 92px;
  background:
    radial-gradient(900px 420px at 85% 0%, rgba(217, 45, 32, 0.28) 0%, transparent 60%),
    linear-gradient(135deg, #0b0d12 0%, #1a2230 55%, #2a1512 100%);
}
.hero::after {
  content: ""; position: absolute; right: -70px; top: 50%;
  transform: translateY(-50%) rotate(-4deg);
  width: min(520px, 70vw); aspect-ratio: 1368 / 564;
  background: url('/images/logo-white.png') no-repeat center / contain;
  opacity: 0.08; pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1 {
  margin: 0 0 12px; text-transform: uppercase;
  font-size: clamp(2.5rem, 7vw, 4.2rem); line-height: 0.98;
  text-shadow: 0 3px 0 rgba(0, 0, 0, 0.35);
}
.hero h1 .hl { color: var(--accent); }
.hero p { color: #c9d0dc; margin: 0 0 18px; max-width: 34rem; font-size: 1.08rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.hero-badges span {
  font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1.2px;
  color: #fff; border: 1px solid #5b6678; border-radius: 20px; padding: 6px 13px;
  background: rgba(255, 255, 255, 0.06);
}
.hero-badges span.hot { background: var(--accent); border-color: var(--accent); }

/* marquee strip */
.marquee {
  background: var(--accent); color: #fff; overflow: hidden; white-space: nowrap;
  border-top: 3px solid #0b0d12; border-bottom: 3px solid #0b0d12;
}
.marquee-inner {
  display: inline-block; padding: 9px 0;
  font-family: 'Anton', 'Arial Narrow', sans-serif; text-transform: uppercase;
  letter-spacing: 2px; font-size: 0.95rem;
  animation: marquee-scroll 26s linear infinite;
}
.marquee-inner .sep { margin: 0 18px; opacity: 0.65; }
@keyframes marquee-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-inner { animation: none; } }

/* buttons with punch */
.btn {
  text-transform: uppercase; letter-spacing: 0.8px; font-size: 0.93rem;
  box-shadow: 0 4px 14px rgba(217, 45, 32, 0.35);
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 7px 20px rgba(217, 45, 32, 0.45); }
.btn.secondary { box-shadow: none; }
.btn.secondary:hover { box-shadow: 0 4px 12px rgba(20, 24, 31, 0.12); }

/* cards */
.vehicle-card { transition: transform 0.14s ease, box-shadow 0.14s ease, border-color 0.14s ease; }
.vehicle-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(20, 24, 31, 0.16);
  border-color: var(--accent);
}
.vehicle-price { font-size: 1.4rem; }
.price-big { font-size: 2.4rem; }

/* BHPH banner — dark and loud */
.bhp-banner {
  background: #14181f; color: #f3f4f6;
  border: 1px solid #2a3140; border-left: 5px solid var(--accent);
  border-radius: 10px; padding: 16px 18px; margin: 0 0 18px; line-height: 1.6;
}
.bhp-banner strong { color: var(--accent); text-transform: uppercase; letter-spacing: 0.6px; }

/* footer */
.site-footer h3 { font-size: 1.05rem; letter-spacing: 1px; }
.footer-signoff {
  font-family: 'Anton', 'Arial Narrow', sans-serif; font-size: 1.6rem;
  color: #fff; text-transform: uppercase; letter-spacing: 1px; margin: 18px 0 0;
}
.footer-signoff em { color: var(--accent); font-style: normal; }
