/* ============ REY AUTO DETAILING — demo site ============ */
/* Glossy garage: electric blue on dark navy */
:root {
  --bg: #0d1116;
  --bg2: #11161d;
  --bg3: #161d26;
  --copper: #38b6e8;
  --copper-light: #8fd8f5;
  --rose: #2b6cb0;
  --text: #eef4f9;
  --muted: #a3b4c4;
  --line: #1f2833;
  --wa: #25d366;
  --radius: 10px;
  --font-display: 'Bebas Neue', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', -apple-system, 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

.wrap { width: min(1100px, 92%); margin: 0 auto; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 1rem;
  padding: .7rem 4%;
  background: rgba(20, 17, 16, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; margin-right: auto; }
.brand-mark {
  width: 16px; height: 36px; border-radius: 8px;
  background: linear-gradient(135deg, var(--copper) 0%, var(--rose) 55%, var(--copper-light) 100%);
  box-shadow: 0 0 12px rgba(217, 138, 75, .35);
  flex: none;
}
.brand-name { font-family: var(--font-display); font-size: 1.6rem; letter-spacing: .06em; line-height: 1; }
.brand-name em { font-style: normal; color: var(--copper); }

.site-nav { display: none; gap: 1.4rem; }
.site-nav a { text-decoration: none; color: var(--muted); font-weight: 600; font-size: .92rem; text-transform: uppercase; letter-spacing: .05em; }
.site-nav a:hover { color: var(--copper); }

.menu-toggle {
  display: flex; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: .5rem;
}
.menu-toggle span { width: 24px; height: 2px; background: var(--text); display: block; transition: .25s; }

@media (max-width: 860px) {
  .site-header .btn-sm { display: none; }
  .site-nav.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg2); padding: 1.2rem 4% 1.5rem;
    border-bottom: 1px solid var(--line); gap: 1rem;
  }
  .site-nav.open a { font-size: 1.05rem; }
}
@media (min-width: 861px) {
  .site-nav { display: flex; }
  .menu-toggle { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  text-decoration: none; font-weight: 700; font-size: 1rem;
  padding: .85rem 1.6rem; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:active { transform: scale(.97); }
.btn-wa { background: var(--wa); color: #062b16; }
.btn-wa:hover { box-shadow: 0 6px 24px rgba(37, 211, 102, .35); }
.btn-ghost { border-color: var(--copper); color: var(--copper-light); background: rgba(217, 138, 75, .06); }
.btn-ghost:hover { background: rgba(217, 138, 75, .16); }
.btn-accent { background: linear-gradient(135deg, var(--copper), var(--rose)); color: #241109; }
.btn-accent:hover { box-shadow: 0 6px 24px rgba(217, 138, 75, .35); }
.btn-lg { font-size: 1.1rem; padding: 1rem 2rem; }
.btn-sm { font-size: .88rem; padding: .6rem 1.1rem; }
.wa-icon { width: 1.25em; height: 1.25em; fill: currentColor; flex: none; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 92svh; display: flex; align-items: center; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background: url('images/hero-detail.jpg') center 30% / cover no-repeat;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,17,16,.55) 0%, rgba(20,17,16,.35) 40%, rgba(20,17,16,.92) 100%),
              linear-gradient(90deg, rgba(20,17,16,.78) 0%, rgba(20,17,16,.15) 70%);
}
.hero-content { position: relative; z-index: 2; width: min(1100px, 92%); margin: 0 auto; padding: 5rem 0 4rem; }
.hero-kicker {
  color: var(--copper); font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  font-size: .8rem; margin-bottom: 1rem;
}
.hero h1 {
  font-family: var(--font-display); font-size: clamp(3.4rem, 13vw, 7rem);
  line-height: .95; letter-spacing: .02em; margin-bottom: 1.1rem;
  text-shadow: 0 4px 30px rgba(0,0,0,.6);
}
.hero h1 .accent {
  background: linear-gradient(120deg, var(--copper-light), var(--copper) 45%, var(--rose));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-tagline { font-size: 1.15rem; color: var(--text); max-width: 34rem; margin-bottom: 1.4rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.8rem; }
.badge {
  font-size: .82rem; font-weight: 600; letter-spacing: .04em;
  border: 1px solid var(--line); border-radius: 999px; padding: .35rem .9rem;
  background: rgba(34, 28, 24, .75); color: var(--muted);
}
.badge small { font-weight: 500; opacity: .8; }
.badge-rating { color: #ffd97a; border-color: rgba(217, 138, 75, .5); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .9rem; }
.color-divider {
  position: absolute; bottom: 0; left: 0; right: 0; height: 5px; z-index: 3;
  background: linear-gradient(90deg, var(--copper) 0%, var(--rose) 35%, var(--copper-light) 60%, var(--copper) 100%);
}

/* ---------- Sections ---------- */
.section { padding: 4.5rem 0; }
.section-alt { background: var(--bg2); }
.section-kicker {
  color: var(--copper); font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  font-size: .78rem; margin-bottom: .6rem;
}
.section-title {
  font-family: var(--font-display); font-size: clamp(2.2rem, 7vw, 3.4rem);
  letter-spacing: .03em; line-height: 1; margin-bottom: .9rem;
}
.section-sub { color: var(--muted); max-width: 38rem; margin-bottom: 2.2rem; }

/* ---------- Color specialty ---------- */
.color-grid { display: grid; gap: 2rem; align-items: center; }
.color-img img { border-radius: var(--radius); box-shadow: 0 12px 40px rgba(0,0,0,.45); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.color-body p { color: var(--muted); margin-bottom: 1.2rem; }
.about-list { list-style: none; margin-bottom: 1.6rem; }
.about-list li { padding: .55rem 0 .55rem 1.8rem; position: relative; color: var(--text); }
.about-list li::before {
  content: ""; position: absolute; left: 0; top: 1rem;
  width: 10px; height: 10px; border-radius: 50%;
  background: linear-gradient(135deg, var(--copper), var(--rose));
}

/* ---------- Services ---------- */
.services-grid { display: grid; gap: 1.4rem; }
.service-card {
  background: var(--bg3); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .2s ease, box-shadow .2s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(0,0,0,.4); }
.service-img { aspect-ratio: 16/10; overflow: hidden; }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.service-card:hover .service-img img { transform: scale(1.04); }
.service-body { padding: 1.3rem 1.4rem 1.5rem; }
.service-body h3 { font-size: 1.25rem; margin-bottom: .4rem; }
.service-body p { color: var(--muted); font-size: .95rem; margin-bottom: .9rem; }
.service-link { color: var(--copper-light); font-weight: 700; text-decoration: none; font-size: .95rem; }
.service-link:hover { color: var(--copper); }
.price-note { margin-top: 1.8rem; color: var(--muted); font-size: .9rem; font-style: italic; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; }
.gallery-grid img {
  border-radius: var(--radius); aspect-ratio: 1/1; object-fit: cover; width: 100%;
  border: 1px solid var(--line);
}

/* ---------- Hours ---------- */
.hours-grid { display: grid; gap: 2rem; }
.hours-table { width: 100%; border-collapse: collapse; background: var(--bg3); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.hours-table td { padding: .9rem 1.2rem; border-bottom: 1px solid var(--line); }
.hours-table tr:last-child td { border-bottom: none; }
.hours-table td:last-child { text-align: right; color: var(--muted); font-weight: 600; }
.hours-table .tbd td:last-child { color: var(--copper-light); font-weight: 500; }
.hours-note { margin-top: 1.1rem; color: var(--muted); font-size: .88rem; font-style: italic; }

/* ---------- Location ---------- */
.location-grid { display: grid; gap: 1.6rem; }
.address { font-size: 1.15rem; font-weight: 600; margin-bottom: 1.4rem; line-height: 1.7; }
.map-embed iframe {
  width: 100%; height: 320px; border: 0; border-radius: var(--radius);
  filter: grayscale(30%) contrast(1.05);
}

/* ---------- Contact ---------- */
.contact-wrap { text-align: center; max-width: 42rem; margin: 0 auto; }
.contact-wrap .section-sub { margin-left: auto; margin-right: auto; }
.contact-links { margin: 1.6rem 0 .8rem; display: flex; justify-content: center; align-items: center; gap: .7rem; flex-wrap: wrap; }
.contact-links a { color: var(--copper-light); font-weight: 600; text-decoration: none; }
.contact-links a:hover { text-decoration: underline; }
.contact-hours { color: var(--muted); font-size: .92rem; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 2.2rem 0; text-align: center; }
.footer-brand { font-family: var(--font-display); font-size: 1.3rem; letter-spacing: .06em; margin-bottom: .5rem; }
.footer-brand span { color: var(--muted); font-size: 1rem; }
.footer-demo, .footer-note { color: var(--muted); font-size: .85rem; }
.footer-note { font-style: italic; margin-top: .3rem; }

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

/* ---------- Desktop tweaks ---------- */
@media (min-width: 700px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
  .color-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .hours-grid { grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: start; }
  .location-grid { grid-template-columns: .8fr 1.2fr; gap: 2.5rem; align-items: start; }
  .services-grid { grid-template-columns: repeat(4, 1fr); }
  .service-img { aspect-ratio: 4/3; }
}
