/* ============================================================
   "Iridescent Dark" design system — reusable one-page site template
   Edit the :root variables below to reskin the entire site.
   ============================================================ */

:root {
  --bg: #121212;
  --bg-elevated: #181818;
  --card: #1c1c1c;
  --border: rgba(255, 255, 255, 0.08);
  --text: #f2f2f0;
  --text-dim: #a8a8a8;
  --text-faint: #6b6b6b;

  --accent-a: #ffffff;
  --accent-b: #cdb37c;
  --accent-c: #9c8253;
  --gradient: linear-gradient(120deg, var(--accent-b), var(--accent-c));

  --font-brand: 'Montserrat', sans-serif;
  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-sans: 'Inter', sans-serif;

  --radius: 18px;
  --radius-sm: 12px;
  --radius-btn: 6px;
  --container: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.75;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: var(--font-display); font-weight: 800; line-height: 1.08;
  letter-spacing: 0.01em; text-transform: uppercase;
}

section.section { padding: 110px 24px; max-width: var(--container); margin: 0 auto; }

/* ---------- scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: var(--gradient); z-index: 1000; transition: width 0.1s linear;
}

/* ---------- reveal-on-scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------- nav ---------- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  background: rgba(18, 18, 18, 0.7); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: background 0.3s, border-color 0.3s;
}
.navbar.scrolled { background: rgba(18, 18, 18, 0.88); border-bottom-color: var(--border); }

.nav-inner {
  max-width: var(--container); margin: 0 auto; padding: 18px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}

.logo {
  font-family: var(--font-brand); font-weight: 800; font-size: 1.6rem;
  letter-spacing: 0.03em; text-transform: uppercase; white-space: nowrap;
}
.logo span {
  background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
}

.nav-links {
  position: relative; display: flex; align-items: center; gap: 32px;
}
.nav-link {
  font-family: var(--font-sans);
  position: relative; font-size: 0.92rem; font-weight: 500; color: var(--text-dim);
  padding: 6px 2px; transition: color 0.25s;
}
.nav-link:hover, .nav-link.active { color: var(--text); }

.nav-cta {
  font-family: var(--font-sans);
  background: var(--gradient); color: #000000 !important; font-weight: 700;
  padding: 10px 22px; border-radius: var(--radius-btn); font-size: 0.88rem;
}
.nav-cta:hover { filter: brightness(1.08); }

/* ---------- open/closed status badge ---------- */
.status-badge {
  font-family: var(--font-sans);
  display: flex; align-items: center; gap: 8px; flex: 0 0 auto;
  padding: 6px 14px; border-radius: 999px; border: 1px solid var(--border);
  background: var(--bg-elevated); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.02em; white-space: nowrap;
}
.status-dot { width: 8px; height: 8px; border-radius: 50%; flex: 0 0 auto; background: var(--text-faint); }
.status-badge.is-open .status-dot {
  background: #4ade80; animation: statusPulse 2s infinite;
}
.status-badge.is-open .status-text { color: #4ade80; }
.status-badge.is-closed .status-dot { background: #f87171; }
.status-badge.is-closed .status-text { color: #f87171; }
@keyframes statusPulse {
  0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5); }
  70% { box-shadow: 0 0 0 7px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

@media (max-width: 780px) {
  .nav-links { display: none; }
}
@media (max-width: 460px) {
  .status-badge .status-text { display: none; }
  .status-badge { padding: 8px; }
}

/* ---------- hero: 50/50 split (text left, video right) ---------- */
.hero-split { position: relative; display: flex; min-height: 100vh; background: var(--bg); }

.hero-text-col {
  flex: 1 1 50%; display: flex; flex-direction: column; justify-content: center;
  text-align: left; padding: 150px clamp(24px, 5vw, 72px) 90px clamp(24px, 6vw, 96px);
  position: relative; z-index: 1;
}
.hero-text-col .hero-desc { margin: 0 0 34px; }
.hero-text-col .hero-buttons { justify-content: flex-start; }

.hero-media-col { flex: 1 1 50%; position: relative; overflow: hidden; min-height: 420px; }
.hero-img,
.hero-video {
  width: 100%; height: 100%; object-fit: cover; opacity: 0.85; filter: saturate(1.1);
}
.hero-overlay {
  position: absolute; inset: 0;
  /* dark top blends under the glass header, dark bottom blends into the trust-badge
     strip below; the clear middle lets the video read at full strength */
  background: linear-gradient(180deg,
    rgba(18, 18, 18, 0.75) 0%,
    rgba(18, 18, 18, 0.1) 22%,
    rgba(18, 18, 18, 0.1) 80%,
    rgba(18, 18, 18, 0.6) 100%);
}
.hero-blob {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.35; z-index: 0;
}
.hero-blob-a { width: 320px; height: 320px; top: -80px; left: -80px; background: var(--accent-a); }
.hero-blob-b { width: 300px; height: 300px; bottom: -60px; right: -40px; background: var(--accent-b); }

.hero-accent-logo {
  position: absolute; right: 6%; bottom: 8%; width: 160px; aspect-ratio: 1 / 1;
  border-radius: 50%; overflow: hidden; border: 3px solid var(--accent-b);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5); z-index: 2;
}
.hero-accent-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.hero-eyebrow {
  font-family: var(--font-sans);
  text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.8rem; font-weight: 600;
  color: var(--accent-b); margin-bottom: 18px;
}
.hero-title {
  font-family: var(--font-brand); font-size: clamp(2.6rem, 5.4vw, 4rem); font-weight: 400; margin-bottom: 22px;
}
.hero-title span {
  background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-desc { color: var(--text-dim); font-size: 1.08rem; max-width: 480px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  font-family: var(--font-sans);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 30px; border-radius: var(--radius-btn); font-weight: 700; font-size: 0.95rem;
  cursor: pointer; border: none; transition: transform 0.25s, filter 0.25s, background 0.25s;
}
.btn-primary { background: var(--gradient); color: #000000; }
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn-outline { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-outline:hover { border-color: var(--accent-b); color: var(--accent-b); }

.scroll-cue {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 2;
}
.scroll-cue span {
  display: block; width: 22px; height: 36px; border: 2px solid var(--text-faint); border-radius: 999px; position: relative;
}
.scroll-cue span::before {
  content: ''; position: absolute; top: 6px; left: 50%; width: 4px; height: 8px;
  background: var(--accent-b); border-radius: 999px; transform: translateX(-50%);
  animation: scrollcue 1.6s infinite;
}
@keyframes scrollcue { 0% { opacity: 1; top: 6px; } 100% { opacity: 0; top: 18px; } }

@media (max-width: 900px) {
  .hero-split { flex-direction: column; min-height: auto; }
  .hero-text-col { padding: 140px 24px 48px; }
  .hero-media-col { min-height: 340px; }
  .hero-accent-logo { display: none; }
  .scroll-cue { display: none; }
}

/* ---------- trust badges ---------- */
.trust-badges { padding: 32px 24px 10px; text-align: center; }
.trust-badges-label {
  font-family: var(--font-sans); font-size: 0.72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.16em; color: var(--text-faint); margin-bottom: 18px;
}
.badge-row {
  max-width: var(--container); margin: 0 auto; display: flex; flex-wrap: wrap;
  align-items: center; justify-content: center; gap: 40px 56px;
}
/* Text stand-ins for real logo marks — replace each with
   <img src="images/brands/<brand>.svg" class="badge-item" alt="<brand> logo">
   once you have licensed, grayscale-friendly logo files for brands you're
   an authorized dealer/installer for. */
.badge-item {
  font-family: var(--font-brand); font-weight: 800; font-size: 1.3rem;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-dim);
  filter: grayscale(1); opacity: 0.6; transition: opacity 0.25s, filter 0.25s;
}
.badge-item:hover { opacity: 1; filter: grayscale(0.4); }
.badge-item img { height: 28px; width: auto; display: block; }

/* ---------- stats ---------- */
.stats { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 56px 24px; }
.stats-grid {
  max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; text-align: center;
}
.stat-number {
  font-family: var(--font-display); font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 600;
  background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-label { font-family: var(--font-sans); margin-top: 8px; color: var(--text-dim); font-size: 0.85rem; }
@media (max-width: 700px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- section head ---------- */
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.eyebrow {
  font-family: var(--font-sans);
  text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.78rem; font-weight: 700;
  color: var(--accent-c); margin-bottom: 12px;
}
.section-head h2 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); margin-bottom: 14px; }
.section-sub { color: var(--text-dim); font-size: 1.08rem; }

/* Shared heading sizing for the left/right-aligned split-section text columns
   below (.services-intro-text, .reviews-text-col) — .section-head h2 above only
   applies inside the centered heading blocks. */
.split-heading h2 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); margin-bottom: 14px; }
.split-heading .section-sub { margin-top: 4px; }

/* ---------- services: reversed 50/50 intro (media left, text right) ---------- */
.services-intro { display: flex; align-items: center; gap: 48px; margin-bottom: 64px; }
.services-intro-media { flex: 1 1 50%; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; border: 1px solid var(--border); }
.services-intro-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.services-intro-text { flex: 1 1 50%; }
@media (max-width: 900px) {
  .services-intro { flex-direction: column; gap: 28px; margin-bottom: 40px; }
}

/* ---------- services: "tint drop" hover cards ---------- */
/* Flex-wrap + centered so an odd card count doesn't leave a lopsided last row. */
.services-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.services-grid .service-card { flex: 1 1 280px; max-width: 300px; }
@media (max-width: 600px) { .services-grid .service-card { flex: 1 1 100%; max-width: 420px; } }

.service-card {
  position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--border);
  transition: transform 0.3s, border-color 0.3s;
}
.service-card:hover { transform: translateY(-6px); border-color: var(--accent-a); }

.service-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.5s ease;
}
.service-card:hover .service-bg { transform: scale(1.05); }

/* Title shown by default, low on the card, over a bottom fade for legibility. */
.service-title {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; margin: 0;
  padding: 40px 20px 18px; font-size: 1.05rem;
  background: linear-gradient(180deg, transparent, rgba(18, 18, 18, 0.85));
  transition: opacity 0.3s ease;
}
.service-card:hover .service-title { opacity: 0; }

/* Dark "tint film" panel: sits above the card, slid up out of view by default,
   and animates straight down over the photo on hover — like film being applied. */
.tint-drop {
  position: absolute; inset: 0; z-index: 2; transform: translateY(-100%);
  background: linear-gradient(180deg, rgba(18, 18, 18, 0.35) 0%, rgba(18, 18, 18, 0.95) 60%);
  display: flex; align-items: flex-end; padding: 24px;
  transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}
.service-card:hover .tint-drop { transform: translateY(0); }

.tint-drop-inner { opacity: 0; transform: translateY(10px); transition: opacity 0.35s ease 0.15s, transform 0.35s ease 0.15s; }
.service-card:hover .tint-drop-inner { opacity: 1; transform: translateY(0); }
.tint-drop-inner h3 { font-size: 1.05rem; margin-bottom: 10px; }
.tint-drop-inner p { color: var(--text-dim); font-size: 0.9rem; }

@media (hover: none) {
  /* Touch devices: no hover, so keep the description visible instead of hiding it behind a gesture. */
  .tint-drop { transform: translateY(0); background: linear-gradient(180deg, transparent 0%, rgba(18, 18, 18, 0.95) 45%); }
  .tint-drop-inner { opacity: 1; transform: translateY(0); }
  .service-title { display: none; }
}

/* ---------- marquee (works) ---------- */
.marquee { overflow: hidden; position: relative; width: 100%; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; gap: 20px; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.work-card {
  width: 300px; flex: 0 0 auto; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); background: var(--card);
}
.work-card img { width: 100%; height: 200px; object-fit: cover; }
.work-card-body { padding: 16px 18px; }
.work-card-body h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 4px; }
.work-card-body p { font-size: 0.82rem; color: var(--text-dim); }

.review-card {
  width: 320px; flex: 0 0 auto; border-radius: var(--radius); border: 1px solid var(--border);
  background: var(--card); padding: 26px;
}
.review-stars { color: var(--accent-b); font-size: 0.9rem; margin-bottom: 12px; letter-spacing: 2px; }
.review-quote { font-size: 0.92rem; color: var(--text-dim); margin-bottom: 16px; }
.review-name { font-family: var(--font-sans); font-size: 0.85rem; font-weight: 700; }

/* ---------- reviews: 50/50 split, right side an auto-scrolling 2-col grid ---------- */
.reviews-split { display: flex; align-items: flex-start; gap: 48px; }
.reviews-text-col { flex: 1 1 38%; display: flex; flex-direction: column; justify-content: center; }
.reviews-scroll-col { flex: 1 1 62%; min-width: 0; }

.reviews-scroll {
  position: relative; height: 560px; overflow: hidden;
  mask-image: linear-gradient(180deg, transparent, #000 6%, #000 94%, transparent);
}
.reviews-track {
  display: flex; flex-direction: column; gap: 20px;
  animation: reviewsScrollY 24s linear infinite;
}
.reviews-scroll:hover .reviews-track { animation-play-state: paused; }
/* Two identical .reviews-grid blocks stacked in the track (built in script.js) —
   translateY(-50%) always lands exactly at the seam between them, so the loop
   is seamless regardless of how many rows an odd review count produces. */
@keyframes reviewsScrollY { from { transform: translateY(0); } to { transform: translateY(-50%); } }

.reviews-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.reviews-grid .review-card { width: auto; }

@media (max-width: 900px) {
  .reviews-split { flex-direction: column; gap: 32px; }
  .reviews-scroll { height: 480px; }
  .reviews-grid { grid-template-columns: 1fr; }
}

/* ---------- faq ---------- */
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--card); overflow: hidden; }
.faq-question {
  width: 100%; background: none; border: none; color: var(--text); font-family: var(--font-sans);
  font-weight: 600; font-size: 0.98rem; text-align: left; padding: 20px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer;
}
.faq-question .plus { position: relative; width: 16px; height: 16px; flex: 0 0 auto; }
.faq-question .plus::before, .faq-question .plus::after {
  content: ''; position: absolute; background: var(--accent-b); border-radius: 2px; transition: transform 0.3s;
}
.faq-question .plus::before { top: 50%; left: 0; width: 100%; height: 2px; transform: translateY(-50%); }
.faq-question .plus::after { left: 50%; top: 0; height: 100%; width: 2px; transform: translateX(-50%); }
.faq-item.open .plus::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-answer p { padding: 0 22px 20px; color: var(--text-dim); font-size: 0.92rem; }

/* ---------- booking form ---------- */
.booking-form {
  max-width: 720px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px;
  position: relative;
}
.form-row { display: flex; flex-direction: column; gap: 8px; }
.form-row-full { grid-column: 1 / -1; }
.form-row label { font-family: var(--font-sans); font-size: 0.85rem; color: var(--text-dim); }
.form-row input, .form-row select, .form-row textarea {
  background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 10px;
  padding: 12px 14px; color: var(--text); font-family: var(--font-sans); font-size: 0.92rem;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none; border-color: var(--accent-b);
}
.form-submit { grid-column: 1 / -1; margin-top: 6px; }

.form-success {
  position: absolute; inset: 0; border-radius: var(--radius); background: var(--card);
  display: none; align-items: center; justify-content: center; flex-direction: column; gap: 16px;
  text-align: center; padding: 40px;
}
.form-success.show { display: flex; }
.checkmark { width: 60px; height: 60px; }
.checkmark circle { fill: none; stroke: var(--accent-b); stroke-width: 2; }
.checkmark path { fill: none; stroke: var(--accent-b); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 640px) { .booking-form { grid-template-columns: 1fr; } }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: stretch; }
.contact-info { display: flex; flex-direction: column; gap: 22px; }
.contact-item { display: flex; flex-direction: column; gap: 4px; }
.contact-label { font-family: var(--font-sans); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent-b); }
.contact-value { font-size: 1.02rem; }
.contact-info .btn { align-self: flex-start; margin-top: 8px; }
.contact-map { border-radius: var(--radius); overflow: hidden; min-height: 320px; border: 1px solid var(--border); }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.footer { text-align: center; padding: 40px 24px; color: var(--text-faint); font-size: 0.85rem; border-top: 1px solid var(--border); }

/* ---------- back to top ---------- */
.back-to-top {
  position: fixed; bottom: 26px; right: 26px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--gradient); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity 0.3s, transform 0.3s; z-index: 800;
}
.back-to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top svg { width: 20px; height: 20px; fill: none; stroke: #000000; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

