/* ============================================================================
   AUTOPOINT PLUS — 3 SWITCHABLE DESIGNS (?design=a | ?design=b | ?design=c)
   Core brand palette: Obsidian Asphalt + Crimson Signal Red (#e53935) + Steel/Gold accents
   ============================================================================ */

/* ----------------------------------------------------------------------------
   DESIGN A: ASTANGU UNDERGROUND — Concrete Streetwear & Brutalist Garage
   ---------------------------------------------------------------------------- */
html[data-theme="a"] {
  --bg-primary: #060608;
  --bg-secondary: #0c0d10;
  --bg-card: #121318;
  --bg-card-hover: #191b22;
  --border-color: #272932;
  --accent: #e53935;
  --accent-hover: #ff2b2b;
  --accent-glow: rgba(229, 57, 53, 0.38);
  --font-display: 'Oswald', 'Space Grotesk', sans-serif;
  --radius-sm: 2px;
  --radius-md: 3px;
  --radius-lg: 4px;
}

html[data-theme="a"] body {
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 0),
    linear-gradient(180deg, #060608 0%, #090a0d 100%);
  background-size: 22px 22px, 100% 100%;
}

html[data-theme="a"] .header {
  background: rgba(6, 6, 8, 0.94);
  border-bottom: 2px solid var(--accent);
}

html[data-theme="a"] .hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 72px;
  background: linear-gradient(120deg, #060608 56%, #13080a 100%);
  border-bottom: 2px solid #1f2128;
}

html[data-theme="a"] .hero-visual {
  display: block;
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 6, 8, 0.96) 36%, rgba(6, 6, 8, 0.72) 68%, rgba(229, 57, 53, 0.22) 100%),
    url('../img/bannerwide.jpg') center/cover no-repeat;
  opacity: 0.78;
  pointer-events: none;
}

html[data-theme="a"] .hero::after {
  content: "";
  position: absolute;
  top: -40px;
  right: 22%;
  width: 12px;
  height: 140%;
  background: var(--accent);
  transform: skewX(-18deg);
  opacity: 0.75;
  pointer-events: none;
}

html[data-theme="a"] .hero-container {
  position: relative;
  z-index: 2;
}

html[data-theme="a"] .badge {
  border-radius: 2px;
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: rgba(229, 57, 53, 0.16);
  border: 1px solid var(--accent);
}

html[data-theme="a"] .hero-title,
html[data-theme="a"] .section-title {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

html[data-theme="a"] .hero-title {
  font-size: 56px;
  line-height: 1.05;
}

html[data-theme="a"] .btn-primary {
  background: var(--accent);
  border-radius: 2px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

html[data-theme="a"] .btn-secondary {
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  border-color: #363946;
}

html[data-theme="a"] .service-card {
  border-left: 4px solid var(--accent);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

html[data-theme="a"] .service-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

html[data-theme="a"] .service-price {
  font-family: 'Oswald', sans-serif;
  font-size: 22px;
  letter-spacing: 0.5px;
}

html[data-theme="a"] .cat-tab {
  border-radius: 2px;
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.8px;
}

html[data-theme="a"] .booking-card {
  border-top: 4px solid var(--accent);
  background: #101116;
}

html[data-theme="a"] .news-card,
html[data-theme="a"] .gallery-item {
  border: 1px solid #2c2f3b;
}

/* ----------------------------------------------------------------------------
   DESIGN B: MIDNIGHT CARBON LUX — Cold Gangsta VIP Detailing & Gold Accents
   ---------------------------------------------------------------------------- */
html[data-theme="b"] {
  --bg-primary: #050507;
  --bg-secondary: #0a0a0f;
  --bg-card: rgba(16, 16, 22, 0.82);
  --bg-card-hover: rgba(24, 24, 34, 0.94);
  --border-color: rgba(212, 175, 55, 0.24);
  --accent: #d92626;
  --accent-hover: #ef3b3b;
  --accent-glow: rgba(217, 38, 38, 0.35);
  --gold: #d4af37;
  --font-display: 'Syne', 'Space Grotesk', sans-serif;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
}

html[data-theme="b"] body {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(217, 38, 38, 0.14) 0%, transparent 52%),
    radial-gradient(ellipse at 85% 30%, rgba(212, 175, 55, 0.08) 0%, transparent 45%),
    #050507;
}

html[data-theme="b"] .header {
  background: rgba(5, 5, 7, 0.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.22);
}

html[data-theme="b"] .hero {
  position: relative;
  overflow: hidden;
  padding: 104px 0 76px;
  background:
    radial-gradient(circle at 50% 15%, rgba(217, 38, 38, 0.18), transparent 55%),
    linear-gradient(180deg, rgba(5, 5, 7, 0.55) 0%, #050507 100%);
}

html[data-theme="b"] .hero-visual {
  display: block;
  position: absolute;
  inset: 0;
  background: url('../img/banner.jpg') center/cover no-repeat;
  opacity: 0.2;
  filter: contrast(1.15) saturate(0.85);
  pointer-events: none;
}

html[data-theme="b"] .hero-content {
  position: relative;
  z-index: 2;
  margin: 0 auto;
  text-align: center;
  max-width: 860px;
}

html[data-theme="b"] .hero-subtitle {
  margin-left: auto;
  margin-right: auto;
}

html[data-theme="b"] .hero-buttons {
  justify-content: center;
  flex-wrap: wrap;
}

html[data-theme="b"] .hero-stats {
  justify-content: center;
  background: rgba(16, 16, 22, 0.72);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 16px;
  padding: 22px 32px;
}

html[data-theme="b"] .stat-number {
  color: var(--gold);
}

html[data-theme="b"] .badge {
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.45);
  color: #f4d678;
}

html[data-theme="b"] .hero-title {
  font-size: 50px;
  line-height: 1.1;
  background: linear-gradient(135deg, #ffffff 35%, #f5d78e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

html[data-theme="b"] .service-card {
  backdrop-filter: blur(12px);
  border: 1px solid rgba(212, 175, 55, 0.22);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.48);
}

html[data-theme="b"] .service-card:hover {
  border-color: var(--gold);
  box-shadow: 0 16px 40px rgba(212, 175, 55, 0.14);
}

html[data-theme="b"] .service-price {
  color: #f4d678;
}

html[data-theme="b"] .booking-card {
  backdrop-filter: blur(16px);
  border: 1px solid rgba(212, 175, 55, 0.38);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65);
}

html[data-theme="b"] .cat-tab.active {
  background: linear-gradient(135deg, #b88920 0%, #d92626 100%);
  border-color: transparent;
}

/* ----------------------------------------------------------------------------
   DESIGN C: PIT-STOP TELEMETRY — Tactical Motorsport HUD & Dense Spec Grid
   ---------------------------------------------------------------------------- */
html[data-theme="c"] {
  --bg-primary: #080b10;
  --bg-secondary: #0c1017;
  --bg-card: #101620;
  --bg-card-hover: #161f2d;
  --border-color: #222e42;
  --accent: #f43f5e;
  --accent-hover: #fb7185;
  --accent-glow: rgba(244, 63, 94, 0.35);
  --amber: #f59e0b;
  --font-display: 'Chakra Petch', 'Space Grotesk', sans-serif;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 10px;
}

html[data-theme="c"] body {
  background-color: #080b10;
  background-image:
    linear-gradient(rgba(34, 46, 66, 0.25) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 46, 66, 0.25) 1px, transparent 1px);
  background-size: 36px 36px;
}

html[data-theme="c"] .header {
  background: rgba(8, 11, 16, 0.92);
  border-bottom: 1px solid #26354d;
}

html[data-theme="c"] .hero {
  padding: 72px 0 56px;
  background: radial-gradient(circle at 75% 30%, rgba(244, 63, 94, 0.14), transparent 55%);
}

html[data-theme="c"] .hero-container {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.95fr);
  gap: 36px;
  align-items: center;
}

html[data-theme="c"] .hero-content,
html[data-theme="c"] .hero-hud {
  min-width: 0;
  max-width: 100%;
}

html[data-theme="c"] .hero-hud {
  display: block;
  background: #0d131d;
  border: 1px solid #293852;
  border-top: 3px solid var(--accent);
  border-radius: 8px;
  padding: 20px;
  font-family: 'JetBrains Mono', monospace;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.55);
}

html[data-theme="c"] .hud-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #e2e8f0;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px dashed #25334a;
}

html[data-theme="c"] .hud-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
}

html[data-theme="c"] .hud-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(34, 46, 66, 0.65);
  font-size: 12px;
}

html[data-theme="c"] .hud-lbl {
  color: #94a3b8;
}

html[data-theme="c"] .hud-val {
  color: #f8fafc;
  font-weight: 700;
  text-align: right;
}

html[data-theme="c"] .hud-accent {
  color: var(--amber);
}

html[data-theme="c"] .hud-footer {
  display: flex;
  justify-content: space-between;
  padding-top: 12px;
  font-size: 11px;
  color: #64748b;
}

html[data-theme="c"] .services-grid {
  grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
  gap: 14px;
}

html[data-theme="c"] .service-card {
  padding: 18px;
  border-top: 2px solid #26354d;
}

html[data-theme="c"] .service-card:hover {
  border-top-color: var(--accent);
}

html[data-theme="c"] .service-price {
  font-family: 'JetBrains Mono', monospace;
  color: var(--amber);
  font-size: 17px;
}

html[data-theme="c"] .service-time {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
}

html[data-theme="c"] .badge {
  font-family: 'JetBrains Mono', monospace;
  border-radius: 4px;
}

@media (max-width: 860px) {
  html[data-theme="a"] .hero-title { font-size: 36px; }
  html[data-theme="b"] .hero-title { font-size: 32px; }
  html[data-theme="c"] .hero-container { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  html[data-theme="c"] .hud-row { flex-wrap: wrap; }
}
