/* Gloss Boss Auto Spa - Dusk Blue palette */
:root {
  --bg: #14161c;
  --surface: #1c1f27;
  --surface-2: #232733;
  --text: #f4f5f8;
  --muted: #a9b0bf;
  --accent: #5b6cff;
  --accent-hover: #7a88ff;
  --highlight: #f5a524;
  --border: #2c3140;
  --radius: 12px;
  --maxw: 1140px;
  --header-h: 68px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-hover); text-decoration: none; }
a:hover { text-decoration: none; }
a:hover h3 { text-decoration: underline; text-underline-offset: 4px; }

:focus-visible { outline: 2px solid var(--highlight); outline-offset: 3px; }

.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 200;
  background: var(--accent); color: #fff; padding: 8px 14px; border-radius: 8px;
}
.skip-link:focus { left: 8px; }

.container { width: min(var(--maxw), 100% - 2.5rem); margin-inline: auto; }
section { padding: 4.5rem 0; }
.section-alt { background: var(--surface); }

h1, h2, h3 { line-height: 1.2; margin: 0 0 0.6em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
.eyebrow {
  display: inline-block; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--highlight); margin-bottom: 0.75rem;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.section-head { max-width: 680px; margin-bottom: 2.5rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(20, 22, 28, 0.92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: 0.6rem; color: var(--text); font-weight: 700; }
.brand:hover { text-decoration: none; }
.brand img { width: 44px; height: 44px; object-fit: contain; }
.brand span { font-size: 1rem; letter-spacing: 0.02em; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a { color: var(--muted); font-size: 0.95rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); text-decoration: none; }
.nav .btn-primary, .nav .btn-primary:hover { color: #fff; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--border); color: var(--text);
  border-radius: 8px; padding: 0.45rem 0.7rem; font: inherit; cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.4rem; border-radius: 999px; font: inherit; font-weight: 600;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { border-color: var(--border); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--accent); }
.btn-sm { padding: 0.55rem 1rem; font-size: 0.9rem; }

/* Hero */
.hero { padding: 6rem 0 5rem; position: relative; overflow: hidden; }
.hero-grid { display: grid; gap: 3rem; align-items: center; grid-template-columns: 1.1fr 0.9fr; }
.hero-copy .lead { margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-note { margin-top: 1.25rem; font-size: 0.95rem; color: var(--muted); }

/* Cards */
.grid { display: grid; gap: 1.25rem; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.6rem; transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-4px); border-color: #3a4054; box-shadow: var(--shadow); }
.card p { color: var(--muted); margin: 0; }
/* Smaller card, same text size */
.card.compact { padding: 1.1rem 1.2rem; }
.card.compact .icon { width: 34px; height: 34px; margin-bottom: 0.7rem; font-size: 0.95rem; }
.booking-cards { max-width: 900px; margin-inline: auto; }
.card .icon {
  width: 42px; height: 42px; border-radius: 10px; background: rgba(91, 108, 255, 0.14);
  color: var(--accent-hover); display: grid; place-items: center; margin-bottom: 1rem; font-size: 1.2rem;
}

/* Packages */
.package { display: flex; flex-direction: column; }
.package.featured { border-color: var(--accent); }
.package .tag {
  align-self: flex-start; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: #111; background: var(--highlight); padding: 0.25rem 0.6rem; border-radius: 999px; margin-bottom: 0.8rem;
}
.price-table { width: 100%; border-collapse: collapse; margin: 1rem 0 0.5rem; font-size: 0.95rem; }
.price-table th, .price-table td { text-align: left; padding: 0.55rem 0; border-bottom: 1px solid var(--border); }
.price-table th { font-weight: 500; color: var(--muted); }
.price-table td { font-weight: 600; text-align: right; white-space: nowrap; }
.package .note { font-size: 0.9rem; color: var(--muted); margin: 0.75rem 0 0; }
.package .card-actions { margin-top: auto; padding-top: 1.25rem; }

.included { columns: 2 260px; column-gap: 2rem; list-style: none; padding: 0; margin: 0; }
.included li {
  break-inside: avoid; padding: 0.55rem 0 0.55rem 1.6rem; position: relative; color: var(--muted);
  border-bottom: 1px solid var(--border);
}
.included li::before {
  content: ""; position: absolute; left: 0; top: 1.05rem; width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
}

/* Package rows: three across, the last two centered below */
.pkg-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.25rem; }
.pkg-row > .card { flex: 0 1 calc((100% - 2.5rem) / 3); min-width: 0; }
.pkg-row > .card:hover { transform: translateY(-4px); }

/* What each package includes: check and X marks */
.inclusions { list-style: none; padding: 0; margin: 1.25rem 0 0; border-top: 1px solid var(--border); }
.inclusions li {
  display: flex; align-items: flex-start; gap: 0.6rem; padding: 0.5rem 0;
  border-bottom: 1px solid var(--border); font-size: 0.95rem; line-height: 1.4;
}
.inclusions li::before { flex: 0 0 auto; width: 1.1rem; font-weight: 700; text-align: center; line-height: 1.4; }
.inclusions li.yes { color: var(--text); }
.inclusions li.yes::before { content: "\2713"; color: #5fd38d; }
.inclusions li.no { color: var(--muted); }
.inclusions li.no::before { content: "\2715"; color: #e5484d; }
.package .note + .inclusions { margin-top: 1.25rem; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Gallery */
.gallery { display: grid; gap: 0.9rem; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.gallery button {
  padding: 0; border: 0; background: none; border-radius: var(--radius); overflow: hidden; cursor: zoom-in;
  aspect-ratio: 4 / 3; position: relative;
}
.gallery img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease, filter 0.3s ease;
}
.gallery button:hover img { transform: scale(1.05); filter: brightness(1.08); }
.gallery button:focus-visible { outline: 2px solid var(--highlight); outline-offset: 3px; }

/* Reviews */
.reviews-empty { color: var(--muted); }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, #232a52 0%, #1c1f27 100%);
  border: 1px solid var(--border); border-radius: 16px; padding: 3rem 2rem; text-align: center;
}
.cta-band p { color: var(--muted); max-width: 56ch; margin: 0 auto 1.5rem; }

/* Contact */
.contact-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.contact-item .label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 0.3rem; }
.contact-item .value { font-size: 1.15rem; font-weight: 600; }
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); margin-top: 2.5rem; }
.map-wrap iframe { width: 100%; height: 360px; border: 0; display: block; filter: grayscale(0.4) contrast(1.05); }

form.quote { display: grid; gap: 1rem; }
form.quote .row { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
form.quote label { display: grid; gap: 0.35rem; font-size: 0.9rem; color: var(--muted); }
form.quote input, form.quote select, form.quote textarea {
  font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--border);
  border-radius: 8px; padding: 0.7rem 0.8rem; width: 100%;
}
form.quote input:focus, form.quote select:focus, form.quote textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
form.quote textarea { min-height: 120px; resize: vertical; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 3.5rem 0 2rem; background: #101217; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.site-footer h3 { font-size: 0.95rem; color: var(--text); }
.site-footer p, .site-footer li { color: var(--muted); font-size: 0.95rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.4rem; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--border); color: var(--muted); font-size: 0.85rem; }

/* Page hero (inner pages) */
.page-hero { padding: 4.5rem 0 2.5rem; }

/* Modal */
.modal {
  position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center;
  background: rgba(5, 6, 9, 0.7); padding: 1.25rem;
}
.modal.open { display: flex; }
.modal-dialog {
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 2rem;
  width: min(560px, 100%); max-height: 90vh; overflow: auto; position: relative; box-shadow: var(--shadow);
}
.modal-close {
  position: absolute; top: 0.8rem; right: 0.8rem; background: none; border: 0; color: var(--muted);
  font-size: 1.6rem; line-height: 1; cursor: pointer; padding: 0.3rem 0.5rem; border-radius: 8px;
}
.modal-close:hover { color: var(--text); }
.modal .choices { display: grid; gap: 0.75rem; margin-top: 1.25rem; }
.modal .choices a { display: block; padding: 1rem 1.1rem; border: 1px solid var(--border); border-radius: 10px; color: var(--text); }
.modal .choices a:hover { border-color: var(--accent); text-decoration: none; }
.modal .choices small { display: block; color: var(--muted); font-size: 0.9rem; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 400; display: none; align-items: center; justify-content: center;
  background: rgba(5, 6, 9, 0.92); padding: 2rem;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: min(1100px, 100%); max-height: 86vh; border-radius: 10px; object-fit: contain; }
.lightbox button {
  position: absolute; background: rgba(255, 255, 255, 0.08); border: 0; color: #fff; cursor: pointer;
  font-size: 1.8rem; line-height: 1; width: 48px; height: 48px; border-radius: 50%;
}
.lightbox .lb-close { top: 1rem; right: 1rem; }
.lightbox .lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox button:hover { background: rgba(255, 255, 255, 0.18); }
.lightbox .lb-caption { position: absolute; bottom: 1rem; left: 0; right: 0; text-align: center; color: var(--muted); font-size: 0.9rem; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero { padding: 4rem 0 3rem; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch;
    gap: 0; background: var(--bg); border-bottom: 1px solid var(--border); display: none; padding: 0.5rem 1.25rem 1rem;
  }
  .nav.open { display: flex; }
  .nav a { padding: 0.85rem 0; border-bottom: 1px solid var(--border); }
  .nav .btn { margin-top: 0.75rem; border-bottom: 0; }
}
@media (max-width: 900px) {
  .pkg-row > .card { flex-basis: 100%; max-width: 560px; }
}
@media (max-width: 560px) {
  form.quote .row { grid-template-columns: 1fr; }
  section { padding: 3.25rem 0; }
  .cta-band { padding: 2.25rem 1.25rem; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .card:hover, .btn:hover, .gallery button:hover img { transform: none; }
}
