/* ============================================================
   PREMIUM CAR DETAILING — Adelaide
   Dark, premium automotive aesthetic. Mobile-first.
   ============================================================ */

:root {
  --bg: #0b0b0d;
  --bg-2: #101013;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f5f5f6;
  --muted: #a2a2ac;
  --muted-2: #71717a;

  /* Champagne / gold accent = premium automotive */
  --accent: #e7c37c;
  --accent-2: #cfa14e;
  --accent-soft: rgba(231, 195, 124, 0.14);
  --accent-grad: linear-gradient(135deg, #f2dca6 0%, #e7c37c 45%, #c99a44 100%);

  --radius: 16px;
  --radius-sm: 11px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.7);
  --maxw: 1120px;
  --font-head: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}
.container-narrow { max-width: 760px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-sm { padding: 9px 16px; font-size: 0.85rem; }
.btn-lg { padding: 16px 30px; font-size: 1.02rem; }
.btn.full { width: 100%; }

.btn-accent {
  background: var(--accent-grad);
  color: #1a1406;
  box-shadow: 0 8px 24px -8px rgba(231, 195, 124, 0.5);
}
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -8px rgba(231, 195, 124, 0.55); }

.btn-outline {
  border-color: var(--border-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

.btn-ghost {
  color: var(--text);
  background: var(--surface-2);
  border-color: var(--border);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }

.btn-ico { font-size: 0.95em; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 11, 13, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--border);
  background: rgba(11, 11, 13, 0.9);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: -0.01em;
}
.brand-mark {
  color: var(--accent);
  font-size: 0.9rem;
  filter: drop-shadow(0 0 8px rgba(231, 195, 124, 0.5));
}
.brand-text { display: flex; align-items: baseline; gap: 6px; }
.brand-thin { color: var(--muted); font-weight: 500; font-size: 0.82em; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .btn-ghost { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 92px 0 84px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(8, 8, 10, 0.94) 0%, rgba(8, 8, 10, 0.66) 52%, rgba(8, 8, 10, 0.4) 100%),
    linear-gradient(180deg, rgba(8, 8, 10, 0.45) 0%, rgba(11, 11, 13, 0.9) 92%),
    url("images/1.jpg") center 30% / cover no-repeat;
}
.hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 300px at 15% 110%, rgba(231, 195, 124, 0.08), transparent 60%);
  pointer-events: none;
}
.hero-inner { position: relative; }
.eyebrow {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 18px;
}
.hero-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2.5rem, 8vw, 4.6rem);
  line-height: 1.03;
  letter-spacing: -0.025em;
  margin-bottom: 22px;
}
.grad {
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: clamp(1.02rem, 2.4vw, 1.22rem);
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 34px;
}
.hero-sub strong { color: var(--text); font-weight: 600; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 13px; margin-bottom: 34px; }
.hero-badges {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
}
.hero-badges li { color: var(--text); }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-2); }
.section-head { max-width: 640px; margin-bottom: 46px; }
.section-head h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.8rem, 4.5vw, 2.7rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.section-lead { color: var(--muted); font-size: 1.05rem; }

/* ---------- Service card ---------- */
.service-card {
  max-width: 620px;
  margin: 0 auto;
  background: linear-gradient(160deg, rgba(231, 195, 124, 0.08), var(--surface));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--accent-grad);
}
.service-card-body { padding: 34px 30px 32px; }
.service-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.service-card-head h3 {
  font-family: var(--font-head);
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.price { display: flex; align-items: baseline; gap: 6px; }
.price-from { color: var(--muted); font-size: 0.9rem; }
.price-num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 2rem;
  color: var(--accent);
}
.service-desc { color: var(--muted); margin-bottom: 22px; }
.checklist {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 11px 20px;
  margin-bottom: 22px;
}
.checklist li {
  position: relative;
  padding-left: 28px;
  font-size: 0.96rem;
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -1px;
  color: var(--accent);
  font-weight: 700;
}
.service-note {
  font-size: 0.86rem;
  color: var(--muted-2);
  border-left: 2px solid var(--accent-2);
  padding-left: 14px;
  margin-bottom: 26px;
}

/* ---------- Feature grid ---------- */
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 16px; }
.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 26px 24px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.feature:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.feature-ico {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  background: var(--accent-soft);
  border-radius: 12px;
  margin-bottom: 16px;
}
.step-num {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  margin-bottom: 16px;
}
.feature h3 {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.feature p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Before / After slider ---------- */
.ba-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  max-height: 520px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow);
  user-select: none;
  touch-action: pan-y;
  margin-bottom: 22px;
}
.ba-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
/* Placeholder "photos" until real images are added */
.ba-after {
  background:
    radial-gradient(900px 500px at 70% 30%, rgba(231, 195, 124, 0.28), transparent 60%),
    linear-gradient(135deg, #23324a 0%, #101826 55%, #05070c 100%);
}
.ba-before {
  background:
    linear-gradient(135deg, #3a382f 0%, #26241d 55%, #14130f 100%);
  filter: grayscale(0.35) brightness(0.82);
  width: 50%;
  border-right: 2px solid var(--accent);
}
.ba-tag {
  position: absolute;
  top: 16px;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
}
.ba-tag-before { left: 16px; }
.ba-tag-after { right: 16px; color: var(--accent); }
.ba-handle {
  position: absolute;
  top: 0;
  left: 50%;
  height: 100%;
  width: 44px;
  transform: translateX(-50%);
  cursor: ew-resize;
  display: grid;
  place-items: center;
  z-index: 3;
}
.ba-handle::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: var(--accent);
}
.ba-handle-grip {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent-grad);
  color: #1a1406;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 4;
}

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.gallery-slot {
  aspect-ratio: 4 / 3;
  border: 1.5px dashed var(--border-strong);
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  color: var(--muted-2);
  font-size: 0.85rem;
  background: var(--surface);
}
.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.gallery img:hover {
  transform: scale(1.02);
  border-color: var(--border-strong);
}

/* ---------- Reviews ---------- */
.reviews-empty {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  padding: 44px 28px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--muted);
}
.reviews-empty-title {
  font-family: var(--font-head);
  font-size: 1.25rem;
  color: var(--text);
  margin-bottom: 10px;
}
.review {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 24px;
}
.review p { margin-bottom: 14px; }
.review cite { color: var(--muted); font-style: normal; font-size: 0.9rem; }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 4px 20px;
  transition: border-color 0.2s ease;
}
.faq details[open] { border-color: var(--border-strong); }
.faq summary {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 16px 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--accent);
  font-size: 1.4rem;
  font-weight: 400;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 0 18px; }

/* ---------- Form ---------- */
.quote-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
}
.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr; gap: 0 16px; }
.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 7px;
  color: var(--muted);
}
.field .opt { color: var(--muted-2); font-weight: 400; }
.field input,
.field textarea {
  width: 100%;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 13px 14px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--muted-2); }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.field textarea { resize: vertical; }
.quote-form .btn { margin-top: 8px; }
.form-status {
  text-align: center;
  margin-top: 14px;
  font-size: 0.95rem;
  min-height: 1.2em;
}
.form-status.ok { color: #7bd88f; }
.form-status.err { color: #f08a8a; }
.form-fineprint {
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
  margin-top: 14px;
}
.form-fineprint a { color: var(--accent); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 96px;
  background: var(--bg-2);
}
.footer-inner { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; }
.footer-areas { color: var(--muted); max-width: 620px; font-size: 0.92rem; }
.footer-cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.footer-legal { color: var(--muted-2); font-size: 0.82rem; }

/* ---------- Mobile sticky bar ---------- */
.mobile-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(11, 11, 13, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--border);
}
.mobile-bar-btn {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.92rem;
  text-align: center;
  padding: 12px 8px;
  border-radius: 12px;
}
.mobile-bar-btn.call { background: var(--surface-2); border: 1px solid var(--border); }
.mobile-bar-btn.text { background: var(--surface-2); border: 1px solid var(--border); }
.mobile-bar-btn.book { background: var(--accent-grad); color: #1a1406; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE — tablet & up
   ============================================================ */
@media (min-width: 620px) {
  .checklist { grid-template-columns: 1fr 1fr; }
  .field-row { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 860px) {
  .header-actions .btn-ghost { display: inline-flex; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .section { padding: 100px 0; }
  .hero { padding: 120px 0 100px; }
  .mobile-bar { display: none; }
  .site-footer { padding-bottom: 48px; }
}
