/* ===== Brush & Hose - base styles ===== */
:root {
  /* Brush & Hose palette - reds / black / grays / white */
  --blue: #CC1F1F;          /* primary red (kept var name to avoid churn) */
  --blue-dark: #761717;     /* dark red */
  --cyan: #C22727;          /* secondary red (gradient stop) */
  --navy: #4E0F0F;          /* deep maroon - headings */
  --soft: #f6f1f1;
  --gray: #838285;
  --gray-light: #B0AFAB;
  --ink: #1c1417;           /* near-black body text */
  --shadow: 0 14px 36px rgba(40, 6, 6, 0.18);
  --shadow-sm: 0 4px 14px rgba(40, 6, 6, 0.12);
}

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

/* ===== Background video (home page only) ===== */
html { background: #f3eaea; }           /* light fallback behind the video */
body.home { background: transparent; }  /* transparent so the fixed video/scrim show through (Safari-safe) */
.bg-wrap {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: #140d0f;
}
.bg-wrap video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
/* Blurred copy fills the whole viewport so the vertical clip has no side bars */
.bg-fill {
  object-fit: cover;
  filter: blur(22px) brightness(.8) saturate(1.1);
  transform: scale(1.25);
}
/* Sharp, full, uncropped frame - centered (ideal on portrait / mobile) */
.bg-main {
  object-fit: contain;
}

/* On wide screens a vertical clip as a centered sharp frame looks like a phone
   strip, so fill the whole width instead: hide the contained copy and let the
   edge-to-edge blurred copy carry the background (softly, so the crop reads as
   an intentional ambient backdrop rather than a hard zoom). */
@media (min-width: 820px) {
  .bg-main { display: none; }
  .bg-fill {
    filter: blur(5px) brightness(.92) saturate(1.08);
    transform: scale(1.08);
  }
}
.bg-scrim {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(800px 480px at 12% -5%, rgba(204,31,31,.12) 0%, transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,.30) 30%, rgba(255,255,255,.22) 55%, rgba(255,255,255,.30) 100%);
}

body {
  font-family: 'Poppins', system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(900px 500px at 12% -5%, rgba(204,31,31,.16) 0%, transparent 55%),
    radial-gradient(1100px 600px at 88% -8%, rgba(118,23,23,.20) 0%, transparent 60%),
    linear-gradient(180deg, #f7f1f1 0%, #fbf8f8 38%, #ffffff 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ===== Top bar ===== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 32px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(10, 28, 46, 0.06);
  box-shadow: 0 6px 20px rgba(10, 28, 46, 0.05);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--navy);
  font-weight: 800;
  font-size: 1.35rem;
}
.brand-mark { display: flex; filter: drop-shadow(0 4px 6px rgba(204,31,31,.40)); }
.brand-text em { color: var(--blue); font-style: normal; }

.nav { display: flex; gap: 18px; margin-left: 8px; }
.nav a {
  text-decoration: none;
  color: var(--navy);
  font-weight: 600;
  padding: 6px 4px;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav a:hover { color: var(--blue); }
.nav a.active { color: var(--blue); border-bottom-color: var(--blue); }

.socials {
  margin-left: auto;
  display: flex;
  gap: 10px;
}
.socials a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--blue-dark);
  background: #f3e9e9;
  transition: transform .2s, background .2s, color .2s;
}
.socials a:hover {
  transform: translateY(-3px);
  background: var(--blue);
  color: #fff;
}

/* ===== Hero ===== */
.hero {
  text-align: center;
  padding: 72px 24px 34px;
}
.hero-inner { max-width: 780px; margin: 0 auto; }
.hero h1 {
  font-size: clamp(2.2rem, 6.5vw, 4rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 18px rgba(255, 255, 255, 0.6);
}
.hero h1 span {
  background: linear-gradient(115deg, var(--blue), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p {
  margin: 20px auto 30px;
  font-size: 1.12rem;
  color: #3a3537;
  max-width: 600px;
  line-height: 1.6;
  text-shadow: 0 1px 12px rgba(255, 255, 255, 0.9);
}
.cta {
  display: inline-block;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .01em;
  padding: 15px 34px;
  border-radius: 40px;
  box-shadow: 0 10px 24px rgba(204,31,31,.35);
  transition: transform .2s, box-shadow .2s, filter .2s;
}
.cta:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(204,31,31,.45); filter: brightness(1.05); }

/* ===== Falling-cars stage ===== */
.stage {
  position: relative;
  width: 100%;
  min-height: 70vh;
  padding-bottom: 40px;
}

.car-card {
  position: absolute;
  width: 200px;
  height: 140px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 5px solid #fff;
  cursor: pointer;
  background: #e8e2e2;
  transform: translateY(-120vh) rotate(var(--rot, 0deg));
  opacity: 0;
  transition: transform .25s ease, box-shadow .25s ease;
}
.car-card.drop {
  animation: drop-in var(--fall, 1.6s) cubic-bezier(.5, .05, .35, 1) forwards;
  animation-delay: var(--delay, 0s);
}
.car-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.car-card:hover {
  transform: scale(1.06) rotate(0deg) !important;
  box-shadow: 0 20px 44px rgba(40,6,6,.32);
  z-index: 5;
}

@keyframes drop-in {
  0%   { transform: translateY(-120vh) rotate(var(--rot, 0deg)); opacity: 0; }
  70%  { opacity: 1; }
  85%  { transform: translateY(8px) rotate(calc(var(--rot, 0deg) * 0.5)); }
  100% { transform: translateY(0) rotate(var(--rot, 0deg)); opacity: 1; }
}

/* ===== Lightbox ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  background: rgba(10,2,2,0.90);
  padding: 30px;
  backdrop-filter: blur(4px);
}
.lightbox.open { display: grid; animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.lightbox img {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: 14px;
  border: 5px solid #fff;
  box-shadow: 0 30px 70px rgba(0,0,0,.6);
}
.lightbox-caption {
  color: #fff;
  margin-top: 16px;
  font-weight: 600;
  font-size: 1.1rem;
}
.lightbox-close {
  position: absolute;
  top: 22px;
  right: 30px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.6rem;
  line-height: 1;
  cursor: pointer;
  transition: transform .2s;
}
.lightbox-close:hover { transform: rotate(90deg); }

/* ===== Shop nav link ===== */
.nav a.shop-link {
  background: var(--blue);
  color: #fff;
  border-radius: 20px;
  padding: 6px 14px;
  border-bottom: none;
}
.nav a.shop-link:hover { background: var(--blue-dark); color: #fff; }

/* ===== Merch promo ===== */
.merch {
  max-width: 1000px;
  margin: 30px auto 50px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 30px;
  align-items: center;
}
.merch-img {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
}
.merch-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.merch-tag {
  display: inline-block;
  background: #000000;
  color: #ffffff;
  font-weight: 700;
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.merch-copy h2 {
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  color: var(--navy);
  line-height: 1.05;
  margin-bottom: 12px;
}
.merch-copy h2 span { color: var(--blue); }
.merch-copy p { color: #5b585a; margin-bottom: 22px; max-width: 440px; }

@media (max-width: 720px) {
  .merch { grid-template-columns: 1fr; }
}

/* ===== Footer ===== */
.footer {
  text-align: center;
  padding: 28px;
  color: #838285;
  font-size: .9rem;
}
.footer p { margin: 2px 0; }
.footer a { color: var(--blue); font-weight: 700; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer .powered { margin-top: 8px; font-size: .8rem; opacity: .85; }
.footer .powered strong { color: var(--blue); font-weight: 700; }

/* ===== Home: mobile-business / service-area copy (SEO) ===== */
.about {
  max-width: 900px;
  margin: 24px auto 54px;
  padding: 34px 30px;
  text-align: center;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 20px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(4px);
}
.about h2 {
  font-size: clamp(1.6rem, 4.5vw, 2.4rem);
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 16px;
}
.about h2 span { color: var(--blue); }
.about p { color: #4a4446; line-height: 1.7; margin: 0 auto 14px; max-width: 720px; font-size: 1.05rem; }
.about .areas { font-size: .98rem; }
.about .cta { margin-top: 12px; }

/* Home: secondary "also offering - pressure washing" card (intentionally subtle) */
.also-offer { max-width: 720px; margin: 0 auto 54px; padding: 0 24px; }
.also-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(4px);
}
.also-card img {
  width: 150px;
  height: 104px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}
.also-copy { text-align: left; }
.also-tag {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gray);
  font-weight: 700;
}
.also-copy h3 { color: var(--navy); font-size: 1.2rem; margin: 3px 0 6px; }
.also-copy p { color: #51484b; font-size: .92rem; line-height: 1.5; margin-bottom: 8px; }
.also-link { color: var(--blue); font-weight: 700; text-decoration: none; font-size: .92rem; }
.also-link:hover { text-decoration: underline; }
@media (max-width: 560px) {
  .also-card { flex-direction: column; text-align: center; }
  .also-copy { text-align: center; }
  .also-card img { width: 100%; height: 150px; }
}

/* ===== Services: FAQ (SEO) ===== */
.faq {
  max-width: 820px;
  margin: 10px auto 70px;
  padding: 0 24px;
}
.faq > h2 {
  text-align: center;
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  color: var(--navy);
  margin-bottom: 26px;
}
.faq > h2 span { color: var(--blue); }
.faq-item {
  background: #fff;
  border-radius: 14px;
  padding: 18px 22px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
}
.faq-item h3 { color: var(--navy); font-size: 1.1rem; margin-bottom: 6px; }
.faq-item p { color: #51484b; line-height: 1.6; }

/* ===== Services page ===== */
.services-hero {
  text-align: center;
  padding: 70px 24px 20px;
}
.services-hero h1 {
  font-size: clamp(2rem, 6vw, 3rem);
  color: var(--navy);
  font-weight: 800;
}
.services-hero h1 span { color: var(--blue); }
.services-hero p { color: #5b585a; max-width: 620px; margin: 16px auto 0; }

.services-grid {
  max-width: 1100px;
  margin: 40px auto 60px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
}
.service-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 22px 48px rgba(40,6,6,.22); }
.service-card .thumb { height: 170px; overflow: hidden; }
.service-card .thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Hover image swap (e.g. Inside & Out: interior -> exterior). Desktop/hover only. */
.thumb-swap { position: relative; }
.thumb-swap .img-hover {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .35s ease;
}
@media (hover: hover) {
  .service-card:hover .thumb-swap .img-hover { opacity: 1; }
}

/* Fill the frame with no crop: sharp full image on top, blurred copy fills the gaps */
.thumb-fill { position: relative; }
.thumb-fill .fill-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(14px) brightness(.92);
  transform: scale(1.15);
}
.thumb-fill .fill-main {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Center the last service card (Pressure Washing) in the middle column on desktop */
@media (min-width: 940px) {
  .services-grid .pw-last { grid-column: 2; }
}
.service-card .body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.service-card h3 { color: var(--navy); font-size: 1.25rem; margin-bottom: 8px; }
.service-card p { color: #6b686a; font-size: .95rem; }
.service-card .meta {
  margin-top: auto;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.service-card .price {
  font-weight: 800;
  color: var(--blue);
  font-size: 1.35rem;
}
.service-card .duration {
  font-size: .82rem;
  font-weight: 600;
  color: var(--gray);
  background: #f3e9e9;
  padding: 4px 10px;
  border-radius: 14px;
  white-space: nowrap;
}

/* Per-service "Book Now" payment button (links to a hosted checkout) */
.service-card .card-cta {
  display: block;
  margin-top: 14px;
  text-align: center;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .01em;
  padding: 12px 16px;
  border-radius: 12px;
  transition: transform .15s, box-shadow .2s, filter .2s;
}
.service-card .card-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(204, 31, 31, 0.30);
  filter: brightness(1.05);
}
/* Cards with no price/meta row (e.g. Pressure Washing): pin the button to the bottom */
.service-card ul + .card-cta { margin-top: auto; }

/* Hidden for now: apparel / "Slippery When Wet" clothing line */
.shop-link,
.merch { display: none !important; }

/* Hidden for now: only the Instagram social icon is shown */
.socials a[aria-label="Facebook"],
.socials a[aria-label="YouTube"],
.socials a[aria-label="TikTok"] { display: none !important; }

/* Featured "Most Popular" card */
.service-card.featured {
  position: relative;
  border: 2px solid var(--blue);
  box-shadow: 0 22px 48px rgba(204,31,31,.20);
}
.service-card.featured .ribbon {
  position: absolute;
  top: 14px;
  right: -2px;
  background: var(--blue);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 5px 14px 5px 12px;
  border-radius: 14px 0 0 14px;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(204,31,31,.35);
}
.service-card ul { margin: 12px 0 0; padding-left: 18px; color: #6b686a; font-size: .9rem; }
.service-card ul li { margin-bottom: 4px; }

.tier-banner {
  max-width: 1100px;
  margin: 0 auto 70px;
  padding: 34px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #fff;
  border-radius: 20px;
  text-align: center;
  box-shadow: var(--shadow);
}
.tier-banner h2 { font-size: 1.8rem; margin-bottom: 10px; }
.tier-banner p { opacity: .92; max-width: 560px; margin: 0 auto 20px; }
.tier-banner .cta { background: #fff; color: var(--blue-dark); }

@media (max-width: 640px) {
  .topbar { gap: 12px; padding: 12px 16px; }
  .nav { display: none; }
  .car-card { width: 150px; height: 105px; }
}
