/* =========================================================
   Le Voiturier — Concierge automobile
   Custom theme layered on Bootstrap 5
   ========================================================= */

:root {
  --bg: #030303;
  --ink: #f4f4f2;
  --muted: rgba(244, 244, 242, .66);
  --faint: rgba(244, 244, 242, .42);
  --line: rgba(255, 255, 255, .14);
  --glass: rgba(10, 10, 10, .64);
  --glass-2: rgba(255, 255, 255, .07);
  --red: #e10613;
  --red2: #ff2c2c;
  --violet: #9b4dff;
  --miami: #ff3ab5;
  --gold: #d8c38a;
  --radius: 28px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 80% 6%, rgba(155, 77, 255, .16), transparent 36%),
    radial-gradient(circle at 20% 10%, rgba(225, 6, 19, .11), transparent 28%),
    var(--bg);
  background-attachment: fixed;
  color: var(--ink);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ---- Typography helpers ---- */
.display-heavy {
  font-weight: 900;
  letter-spacing: -.045em;
  line-height: .9;
  text-transform: uppercase;
}
.eyebrow {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--red2);
}
.text-muted-2 { color: var(--muted) !important; }
.text-faint { color: var(--faint) !important; }
.section { padding: clamp(3rem, 7vw, 6rem) 0; }
.section-title {
  font-weight: 900;
  letter-spacing: -.03em;
  text-transform: uppercase;
  font-size: clamp(1.6rem, 4.5vw, 2.6rem);
}

/* ---- Navbar ---- */
.navbar {
  background: rgba(6, 6, 6, .72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.navbar .navbar-brand { display: flex; align-items: center; gap: .65rem; }
.brand-mark { width: 40px; height: 26px; color: var(--ink); }
.brand-text { line-height: 1; }
.brand-text .name {
  font-weight: 900; letter-spacing: .04em; font-size: 1.05rem; text-transform: uppercase;
}
.brand-text .sub {
  font-size: .54rem; letter-spacing: .28em; color: var(--faint); text-transform: uppercase;
}
.navbar .nav-link {
  color: var(--muted) !important;
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .5rem .85rem !important;
  transition: color .15s ease;
}
.navbar .nav-link:hover,
.navbar .nav-link:focus { color: var(--ink) !important; }

.lang-toggle {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .3rem .7rem;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .06em;
  background: transparent;
  color: var(--muted);
}
.lang-toggle .on { color: var(--ink); }
.lang-toggle:hover { border-color: rgba(255,255,255,.3); }

.navbar-toggler {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .45rem .6rem;
}
.navbar-toggler:focus { box-shadow: none; }

/* ---- Buttons ---- */
.btn-lv {
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: .02em;
  padding: .8rem 1.5rem;
  color: #fff;
  background: linear-gradient(135deg, var(--red), #a8000b);
  box-shadow: 0 14px 40px rgba(225, 6, 19, .34);
  display: inline-flex; align-items: center; gap: .55rem;
}
.btn-lv:hover { color: #fff; filter: brightness(1.06); transform: translateY(-1px); }
.btn-ghost {
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: .02em;
  padding: .8rem 1.4rem;
  color: var(--ink);
  background: rgba(255, 255, 255, .06);
  display: inline-flex; align-items: center; gap: .55rem;
}
.btn-ghost:hover { color: var(--ink); border-color: rgba(255,255,255,.32); background: rgba(255,255,255,.1); }

/* ---- Hero ---- */
/* The hero is a full-width band; the photo lives in a centered, contained
   panel so it never spans the whole viewport (black gutters on the sides). */
.hero {
  position: relative;
  padding-top: calc(64px + clamp(1rem, 3vw, 1.75rem));
  padding-bottom: clamp(1rem, 3vw, 2rem);
}
.hero-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(520px, 80vh, 820px);
  padding-top: clamp(2rem, 6vw, 4rem);
  padding-bottom: clamp(1.75rem, 4vw, 2.75rem);
  background-image: url("../img/header.png");
  background-size: cover;
  background-position: center 35%;
  background-repeat: no-repeat;
  border-radius: var(--radius);
  overflow: hidden;
}
/* Dark scrim so the headline stays readable over the photo */
.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3,3,3,.94) 0%, rgba(3,3,3,.78) 34%, rgba(3,3,3,.32) 64%, rgba(3,3,3,.55) 100%),
    linear-gradient(0deg, rgba(3,3,3,.96) 0%, rgba(3,3,3,.15) 42%, rgba(3,3,3,0) 70%);
  pointer-events: none;
}
.hero-panel > .row,
.hero-panel > .feature-strip { position: relative; z-index: 1; width: 100%; }
.hero-content { text-shadow: 0 2px 24px rgba(0,0,0,.55); }
.hero-title { font-size: clamp(2.6rem, 9vw, 5.2rem); }
.hero-script {
  font-family: "Caveat", cursive;
  color: var(--red2);
  font-size: clamp(2rem, 7vw, 3.6rem);
  font-weight: 700;
  line-height: 1;
  margin-top: .2rem;
  text-shadow: 0 4px 30px rgba(225, 6, 19, .35);
}
.hero-sub { max-width: 32rem; color: var(--muted); }
.avail-badge {
  position: absolute; top: 18px; right: 18px; z-index: 2;
  cursor: pointer; transition: border-color .15s ease, transform .15s ease;
  background: rgba(6, 6, 6, .7);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: .5rem .8rem;
  font-size: .7rem; line-height: 1.25;
}
.avail-badge:hover { border-color: rgba(37,211,102,.6); transform: translateY(-1px); }
.avail-badge:focus-visible { outline: 2px solid var(--red2); outline-offset: 3px; }
.avail-badge .dot {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--red2); margin-right: 6px; box-shadow: 0 0 10px var(--red2);
}

/* ---- Feature strip ---- */
.feature-strip {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--glass);
  backdrop-filter: blur(14px);
}
/* Keep the container stable; stagger the 5 items in as it scrolls into view */
.feature-strip.reveal { opacity: 1; transform: none; }
.feature-strip .col {
  opacity: 0; transform: translateY(16px);
  transition: opacity .55s ease, transform .55s ease;
}
.feature-strip.in .col { opacity: 1; transform: none; }
.feature-strip.in .col:nth-child(2) { transition-delay: .08s; }
.feature-strip.in .col:nth-child(3) { transition-delay: .16s; }
.feature-strip.in .col:nth-child(4) { transition-delay: .24s; }
.feature-strip.in .col:nth-child(5) { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .feature-strip .col { opacity: 1; transform: none; transition: none; }
}
.feature {
  display: flex; align-items: center; gap: .8rem;
  padding: 1rem 1.1rem;
}
.feature .ico {
  width: 42px; height: 42px; flex: none;
  display: grid; place-items: center;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .05);
  color: var(--ink);
}
.feature b { display: block; font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; }
.feature span { font-size: .72rem; color: var(--faint); text-transform: uppercase; letter-spacing: .1em; }

/* ---- Cards (vehicles + services) ---- */
.lv-card {
  position: relative;
  height: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #080808;
  cursor: pointer;
  text-align: left;
  width: 100%;
  padding: 0;
  color: var(--ink);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.lv-card:hover {
  transform: translateY(-4px);
  border-color: rgba(225, 6, 19, .5);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .6), 0 0 0 1px rgba(225, 6, 19, .2);
}
.lv-card .media { display: block; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; }
.lv-card .media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .4s ease;
}
.lv-card:hover .media img { transform: scale(1.05); }
.lv-card .body { padding: 1rem 1.1rem 1.2rem; }
.lv-card .title {
  font-weight: 900; text-transform: uppercase; letter-spacing: .02em;
  font-size: 1rem; margin: 0 0 .25rem;
}
.lv-card .desc { color: var(--faint); font-size: .8rem; margin: 0; line-height: 1.45; }
.lv-card .plus {
  position: absolute; right: 12px; bottom: 12px;
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(0, 0, 0, .4);
  display: grid; place-items: center; color: #fff; font-size: 1.1rem; line-height: 1;
}

/* ---- About ---- */
.about-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255,255,255,.06), rgba(255,255,255,.02)),
    #070707;
  padding: clamp(1.5rem, 4vw, 2.6rem);
}

/* ---- Payment / footer ---- */
.pay-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .02);
}
.coin {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .04em; color: var(--muted);
}
.coin .dot { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .62rem; font-weight: 900; color: #000; }
.coin.usdt .dot { background: #26a17b; color: #fff; }
.coin.btc  .dot { background: #f7931a; color: #fff; }
.coin.eth  .dot { background: #627eea; color: #fff; }
.coin.usdc .dot { background: #2775ca; color: #fff; }
.coin.sol  .dot { background: linear-gradient(135deg,#9945ff,#14f195); color: #fff; }

footer { color: var(--faint); }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--ink); }

/* ---- Floating WhatsApp (mobile) ---- */
.fab-wa {
  position: fixed; right: 16px; bottom: 16px; z-index: 1040;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #25d366, #128c4a);
  color: #fff; box-shadow: 0 12px 40px rgba(0, 0, 0, .5);
}
.fab-wa:hover { color: #fff; transform: scale(1.05); }

/* ---- Modals ---- */
.modal-content {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .035)),
    radial-gradient(circle at 20% 6%, rgba(225, 6, 19, .2), transparent 32%),
    radial-gradient(circle at 92% 16%, rgba(155, 77, 255, .2), transparent 34%),
    #080808;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 28px;
  color: var(--ink);
  box-shadow: 0 40px 140px rgba(0, 0, 0, .82);
}
.modal-header, .modal-footer { border-color: var(--line); }
.suit {
  width: 52px; height: 52px; border-radius: 16px;
  display: grid; place-items: center;
  background: rgba(225, 6, 19, .12);
  border: 1px solid rgba(225, 6, 19, .35);
  font-size: 1.4rem;
  box-shadow: 0 0 30px rgba(225, 6, 19, .18);
}
.spec {
  display: flex; gap: .7rem; align-items: flex-start;
  padding: .65rem .75rem; border-radius: 14px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .84); font-size: .85rem;
}
.spec b {
  color: #fff; min-width: 64px; text-transform: uppercase;
  font-size: .62rem; letter-spacing: .12em; padding-top: 2px;
}
.lv-label {
  color: var(--faint); font-size: .62rem; text-transform: uppercase;
  letter-spacing: .16em; font-weight: 800; margin-bottom: .35rem; display: block;
}
.form-control, .form-select {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  color: #fff; border-radius: 14px; height: 48px;
}
.form-control:focus, .form-select:focus {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(225, 6, 19, .6);
  color: #fff; box-shadow: 0 0 0 .2rem rgba(225, 6, 19, .15);
}
.form-select option { background: #090909; color: #fff; }
.urgency .btn-check + .btn {
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .06);
  color: #fff; border-radius: 12px; font-weight: 700;
}
.urgency .btn-check:checked + .btn {
  background: rgba(225, 6, 19, .22);
  border-color: rgba(225, 6, 19, .65);
  box-shadow: 0 0 24px rgba(225, 6, 19, .16);
}
.tiny-note {
  color: var(--faint); font-size: .68rem; letter-spacing: .08em;
  text-transform: uppercase; text-align: center;
}

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
