/* ================================
   SJOFA’s Mobile Detailing — Styles
   Theme: Graphite + Metallic Gold + Fade + Zoom Hero + Showroom Glow
   ================================ */

/* Root */
:root {
  --bg: #0e0e0e;
  --bg-2: #0e0e0e;            /* same as --bg (no gray) */
  --panel: #1a1a1a;
  --gold: #d3a83a;
  --gold-dark: #8c6d23;
  --line: #272018;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

/* Base */
* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--gold);
  line-height: 1.6;
  text-shadow:
    0 0 8px rgba(0,0,0,.6),
    0 0 15px rgba(211,168,58,.5),
    0 0 25px rgba(211,168,58,.25);
  opacity: 0;
  animation: fadeIn 1.6s ease-out forwards;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* Sticky CTA */
.sticky-cta {
  position: sticky; top: 0; z-index: 50;
  background: rgba(0,0,0,.75);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
  transition: transform .25s ease, opacity .25s ease;
}
.sticky-cta__inner { display: flex; align-items: center; justify-content: space-between; padding: .6rem 0; }
.sticky-cta__text { color: var(--gold); }
.sticky-cta.hide { transform: translateY(-10px); opacity: 0; }

/* Header / Nav */
.header {
  position: sticky; top: 44px; z-index: 40;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
  transition: transform .28s ease, opacity .28s ease, background-color .25s ease, box-shadow .25s ease;
  animation: fadeIn 1.8s ease-out forwards;
}
.header__inner { display: flex; align-items: center; gap: 14px; padding: .8rem 0; }
.brand img { height: 48px; }
.nav { margin-left: auto; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.nav a { color: var(--gold); padding: .35rem .6rem; border-radius: 6px; text-shadow: 0 0 8px rgba(0,0,0,.6); }
.nav a:hover { background: #1b1b1b; text-decoration: none; }
.nav-toggle { display: none; color: var(--gold); font-size: 1.4rem; background: transparent; border: 1px solid var(--line); border-radius: 8px; padding: .25rem .5rem; }
.header--hidden { transform: translateY(-16px); opacity: 0; pointer-events: none; }
.header--scrolled { background: rgba(0,0,0,.82); box-shadow: 0 6px 18px rgba(0,0,0,.35); }
@media (max-width: 880px) {
  .nav { display: none; flex-direction: column; align-items: flex-end; gap: .4rem; }
  .header[menu-open="true"] .nav { display: flex; }
  .nav-toggle { display: inline-flex; margin-left: auto; }
}

/* Hero */
.hero {
  position: relative; overflow: hidden; min-height: 70vh;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(1000px 400px at 60% 10%, rgba(211,168,58,.15), transparent 70%);
  opacity: 0;
  animation: fadeIn 2s ease-out .2s forwards;
}
.hero__bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: .55;
  filter: brightness(1.25) contrast(1.1);
  transform: scale(1);
  animation: heroZoom 8s ease-in-out forwards;
}
@keyframes heroZoom { 0% { transform: scale(1); } 100% { transform: scale(1.05); } }

/* ✨ Alternating shimmer reflection */
.hero::after {
  content: ""; position: absolute; top: 0; left: -80%; width: 50%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.12), transparent);
  transform: skewX(-20deg);
  animation: shimmer-alternate 10s ease-in-out infinite alternate;
}
@keyframes shimmer-alternate {
  0% { left: -80%; opacity: .15; }
  50% { left: 130%; opacity: .35; }
  100% { left: -80%; opacity: .15; }
}
.hero__content { position: relative; z-index: 2; text-align: center; padding: 5rem 0 3.5rem; }
.hero__headline {
  font-size: clamp(2rem, 4vw + 1rem, 3.6rem);
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 900;
  text-shadow: 0 0 10px rgba(0,0,0,.8), 0 0 25px rgba(211,168,58,.5), 0 0 45px rgba(211,168,58,.3);
}
.hero__sub { color: #d9b84a; text-shadow: 0 0 5px rgba(0,0,0,.6); font-size: 1.1rem; }
.hero__cta { margin-top: 1rem; }
.scroll-down { position: absolute; left: 50%; transform: translateX(-50%); bottom: 10px; opacity: .7; }

/* Sections */
.section { padding: 3rem 0; }
.section--dark {
  background: var(--bg);      /* same black as everything */
  border: 0;                  /* remove gray separators */
}
.section__title {
  display: inline-block; margin: 0 0 1.2rem; padding: .6rem .9rem;
  background: linear-gradient(90deg,#a37c21,var(--gold),#a37c21);
  color: #191308; text-transform: uppercase;
  letter-spacing: .12em; font-weight: 800; border-radius: 6px;
  box-shadow: 0 2px 0 rgba(0,0,0,.35);
}

/* Grid / Cards */
.grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1rem 1.1rem; box-shadow: var(--shadow); }
.card--thin { padding: .9rem; }
.card__title { margin: .25rem 0 .5rem; font-weight: 800; letter-spacing: .02em; }
.card__desc { margin: 0 0 .8rem; color: #d6b75a; }
.price-list { list-style: none; margin: 0 0 .9rem; padding: 0; display: grid; gap: .45rem; }
.price-list li { display: flex; align-items: center; justify-content: space-between; background: #181818; border: 1px solid var(--line); border-radius: 8px; padding: .6rem .8rem; }
.price-list li span { color: var(--gold); }
.price-list li strong { color: var(--gold); }
.service-link { display: flex; align-items: center; justify-content: space-between; width: 100%; color: var(--gold); text-decoration: none; }
.service-link:hover { color: #fff; }

/* Add-ons */
.addons { list-style: none; margin: .6rem 0 1rem; padding: 0; display: grid; gap: .45rem; }
.addons li { background: #181818; border: 1px solid var(--line); border-radius: 8px; padding: .6rem .8rem; color: var(--gold); }

/* Gallery */
.gallery { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
figure { margin: 0; background: #111; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
figure img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
figcaption { padding: .5rem .7rem; color: #d6b75a; }

/* Reviews */
.reviews { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.review { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: .9rem; display: flex; gap: .75rem; color: var(--gold); }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: #222; color: var(--gold); display: grid; place-items: center; font-weight: 800; border: 1px solid var(--line); }
.review__head { margin-bottom: .15rem; }
.stars { color: var(--gold); }

/* Contact + Map */
.contact { display: grid; gap: 1rem; grid-template-columns: 1.1fr .9fr; align-items: start; }
.contact__info p { margin: .3rem 0; color: var(--gold); }
.contact__map iframe { width: 100%; height: 320px; border: 1px solid var(--line); border-radius: 8px; }

/* Footer */
.footer { background: #0a0a0a; border-top: 1px solid var(--line); padding: 1.2rem 0; }
.footer__inner { display: grid; gap: 1rem; grid-template-columns: auto 1fr auto; align-items: center; color: var(--gold); }
.footer__logo { opacity: .95; }

/* FAB + Back to top */
.fab { position: fixed; right: 14px; bottom: 14px; z-index: 60; display: flex; flex-direction: column; gap: 10px; }
.fab__btn { width: 48px; height: 48px; display: grid; place-items: center; background: var(--gold); color: #181818; border-radius: 50%; border: 1px solid var(--gold-dark); box-shadow: var(--shadow); }
.fab__btn:hover { filter: brightness(1.06); }
.to-top { position: fixed; right: 74px; bottom: 16px; z-index: 60; background: #1a1a1a; color: var(--gold); border: 1px solid var(--line); border-radius: 999px; padding: .5rem .8rem; cursor: pointer; opacity: .85; display: none; }
.to-top.show { display: inline-flex; }
.to-top:hover { opacity: 1; }

/* Responsive */
@media (max-width: 880px) {
  .contact { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; text-align: center; }
  .to-top { right: 16px; }
}

/* ==========================================================
   HARD OVERRIDES — force every section to pure black
   ========================================================== */
html, body {
  background-color: var(--bg) !important;
  background-image: none !important;
}

.section,
.section--dark,
main,
#services,
#aviation,
#marine,
#exterior-cleaning,
#seasonal,
#addons,
#gallery,
#testimonials,
#contact {
  background-color: var(--bg) !important;
  background-image: none !important;
  border: 0 !important;
}

.wrap, .grid {
  background: transparent !important;   /* prevent any container fill */
}

.section::before,
.section::after,
.section--dark::before,
.section--dark::after {
  content: none !important;
}

/* keep panels distinct (no page-wide gray bands) */
.card,
.addons li,
.price-list li,
.review,
figure {
  background: #181818 !important;
  border: 1px solid var(--line) !important;
}

/* footer unified to black as well */
.footer { background: var(--bg) !important; border: 0 !important; }
