/* ===================================================================
   Clean Vroom — palette pulled from logo gradients
   Dark logos: #0077FF -> #00FFAA   (used on dark backgrounds)
   Light logos: #0056B8 -> #00ADAD  (used on light backgrounds)
   =================================================================== */

:root {
  /* brand */
  --brand-1: #0077FF;
  --brand-2: #00FFAA;
  --brand-1-deep: #0056B8;
  --brand-2-deep: #00ADAD;
  --brand-grad: linear-gradient(135deg, #0077FF 0%, #00FFAA 100%);
  --brand-grad-deep: linear-gradient(135deg, #0056B8 0%, #00ADAD 100%);

  /* dark theme (default) */
  --bg: #06101e;
  --bg-elev: #0c1730;
  --surface: #0f1c36;
  --surface-2: #16253f;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #e9eefb;
  --text-strong: #ffffff;
  --text-muted: #95a3bf;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 22px 60px rgba(0, 0, 0, 0.55);
  --glow: 0 0 0 1px rgba(0, 255, 170, 0.18), 0 10px 32px rgba(0, 119, 255, 0.25);

  --radius: 14px;
  --radius-sm: 10px;
  --maxw: 1120px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  transition: background-color 0.2s ease, color 0.2s ease;
}

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

a { color: var(--brand-2); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  color: var(--text-strong);
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 4vw + 1rem, 3.4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 2vw + 1rem, 2.3rem); letter-spacing: -0.015em; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1em; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 0.65rem;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.gradient-text {
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede { font-size: 1.125rem; color: var(--text-muted); max-width: 60ch; }
.muted { color: var(--text-muted); }
.small { font-size: 0.9rem; }
.center { text-align: center; }

/* ===== Header / nav ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  margin-right: auto;
  flex-shrink: 0;
}
.brand:hover { text-decoration: none; }
.brand-logo {
  display: block;
  height: 32px;
  width: 168px;
  position: relative;
  line-height: 0;
}
.brand-logo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}
@media (min-width: 600px) {
  .brand-logo { height: 36px; width: 190px; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}
.nav-links a {
  color: var(--text);
  font-weight: 600;
  font-size: 0.97rem;
}
.nav-links a:hover { color: var(--brand-2); text-decoration: none; }
.nav-links a.active {
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-toggle { display: none; }
.nav-toggle-label {
  display: none;
  cursor: pointer;
  width: 28px;
  height: 22px;
  position: relative;
}
.nav-toggle-label span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease;
}
.nav-toggle-label span:nth-child(1) { top: 2px; }
.nav-toggle-label span:nth-child(2) { top: 10px; }
.nav-toggle-label span:nth-child(3) { top: 18px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1rem;
  transition: transform 0.05s ease, box-shadow 0.2s ease, filter 0.2s ease, background 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: var(--brand-grad);
  color: #fff;
  font-weight: 800;
  box-shadow: var(--glow);
}
.btn-primary:hover { transform: translateY(-1px); filter: brightness(1.06); }
.btn-ghost {
  background: transparent;
  border: 2px solid var(--border);
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover { background: var(--surface); border-color: var(--brand-2); color: var(--brand-2); }
.btn-sm { padding: 0.55rem 1rem; font-size: 0.9rem; }

/* ===== Hero ===== */
.hero {
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 4rem);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 80%;
  background: radial-gradient(circle, rgba(0, 119, 255, 0.18) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 50%;
  height: 80%;
  background: radial-gradient(circle, rgba(0, 255, 170, 0.10) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-copy h1 { margin-bottom: 0.4em; }
.hero-cta {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}
.hero-art {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.hero-art img,
.hero-art svg {
  display: block;
  width: 100%;
  height: auto;
}

/* ===== Page hero (sub-pages) ===== */
.page-hero {
  padding: clamp(2.5rem, 5vw, 4rem) 0 1.5rem;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 50%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 119, 255, 0.12) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero > .container { position: relative; z-index: 1; }

/* ===== Grids ===== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: start;
}

/* ===== Features (home) ===== */
.features { padding: clamp(2rem, 4vw, 3.5rem) 0; }
.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.2s ease;
}
.feature:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}
.feature h3 { margin-top: 0.75rem; }
.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--brand-grad);
  color: #051427;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 119, 255, 0.25);
}
.feature-icon svg { width: 24px; height: 24px; }

/* ===== Packages (services) ===== */
.packages { padding: clamp(2rem, 4vw, 3.5rem) 0; }
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.card:hover { border-color: var(--border-strong); }
.card.featured {
  border: 1px solid transparent;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    var(--brand-grad) border-box;
  box-shadow: var(--glow);
  transform: translateY(-4px);
}
.badge {
  position: absolute;
  top: -12px;
  left: 1.5rem;
  background: var(--brand-grad);
  color: #051427;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
}
.price {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 0 1rem;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}
.check-list li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--brand-2);
  border-bottom: 2px solid var(--brand-2);
  transform: rotate(-45deg);
}
/* ===== Add-ons ===== */
.addons { padding: 1rem 0 clamp(2rem, 4vw, 3.5rem); }
.addons h2 { margin-bottom: 1.25rem; }
.addon {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.15rem 1.3rem;
  transition: border-color 0.15s ease;
}
.addon:hover { border-color: var(--border-strong); }
.addon h4 { margin: 0 0 0.35rem; }
.addon p { margin: 0; color: var(--text-muted); font-size: 0.95rem; }

/* ===== Service area ===== */
.area { padding: clamp(2rem, 4vw, 3.5rem) 0; }
.area-list {
  columns: 2;
  list-style: none;
  padding: 0;
  margin: 0;
}
.area-list li {
  padding: 0.4rem 0;
  font-weight: 600;
  position: relative;
  padding-left: 1.2rem;
}
.area-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-grad);
}
.area-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  border: 1px solid var(--border);
}
.area-card h3 { margin-top: 0; }

/* ===== Schedule page ===== */
.schedule { padding: clamp(2rem, 4vw, 3.5rem) 0; }
.schedule-frame {
  background: #ffffff;  /* Google Calendar embed is its own light theme */
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 1rem;
}
.schedule-frame iframe { display: block; width: 100%; }

/* ===== CTA band ===== */
.cta-band {
  background: var(--brand-grad);
  color: #051427;
  padding: clamp(2rem, 4vw, 3rem) 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.18), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,0.10), transparent 50%);
  pointer-events: none;
}
.cta-band h2 { color: #051427; margin-bottom: 0.25rem; }
.cta-band p { color: rgba(5, 20, 39, 0.78); margin: 0; }
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.cta-band .btn-primary {
  background: #051427;
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
.cta-band .btn-primary:hover { filter: brightness(1.15); }

/* ===== Footer ===== */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0 2rem;
  background: var(--bg-elev);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  align-items: center;
}
.footer-logo {
  display: block;
  width: 100%;
  max-width: 280px;
  line-height: 0;
  margin-bottom: 0.5rem;
}
.footer-logo img {
  display: block;
  width: 100%;
  height: auto;
}
.footer-brand .muted { margin-top: 0.5rem; }
.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
}
.footer-links { display: flex; gap: 1.25rem; flex-wrap: wrap; justify-content: flex-end; }
.footer-links a { color: var(--text-muted); font-weight: 600; font-size: 0.95rem; }
.footer-links a:hover { color: var(--brand-2); text-decoration: none; }
.footer-copy { color: var(--text-muted); font-size: 0.88rem; }

/* ===== Mobile ===== */
@media (max-width: 820px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .card.featured { transform: none; }
  .area-list { columns: 1; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-right { align-items: center; }
  .footer-links { justify-content: center; }
  .footer-logo { margin: 0 auto 0.5rem; }

  .nav-toggle-label { display: block; }
  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1rem 1rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .nav-links a {
    padding: 0.9rem 0.25rem;
    border-bottom: 1px solid var(--border);
  }
  .nav-links a:last-of-type { border-bottom: none; }
  .nav-links .btn { margin-top: 0.5rem; align-self: stretch; }
  .nav-toggle:checked ~ .nav-links { max-height: 480px; }
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(1) { top: 10px; transform: rotate(45deg); }
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(3) { top: 10px; transform: rotate(-45deg); }
}
