/* Badrie 26 Transport — corporate, professional. Glass is used only for the header. */

/* Tokens: light (default) */
:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --ink: #0f172a;
  --muted: #526077;
  --line: #e2e8f0;
  --accent: #1d4ed8;
  --accent-soft: #e0e9ff;
  --navy: #0f172a;
  --green: #16a34a;
  --green-2: #15803d;
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px rgba(15, 23, 42, .06);
  --radius: 14px;
  --gutter: 16px;

  /* Header glass */
  --nav-bg: rgba(255, 255, 255, .6);
  --nav-border: rgba(255, 255, 255, .85);
  --nav-ink: #0f172a;
  --nav-hover: rgba(15, 23, 42, .08);
  --nav-line: rgba(15, 23, 42, .18);
}

/* Dark: follows the system unless a theme is chosen explicitly */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a1020;
    --surface: #111a2e;
    --surface-2: #16223b;
    --ink: #e6ecf5;
    --muted: #9aa8be;
    --line: #22304d;
    --accent: #60a5fa;
    --accent-soft: rgba(96, 165, 250, .14);
    --navy: #060b17;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
    --nav-bg: rgba(17, 26, 46, .6);
    --nav-border: rgba(148, 163, 184, .25);
    --nav-ink: #e6ecf5;
    --nav-hover: rgba(226, 232, 240, .1);
    --nav-line: rgba(226, 232, 240, .25);
  }
}
:root[data-theme="dark"] {
  --bg: #0a1020;
  --surface: #111a2e;
  --surface-2: #16223b;
  --ink: #e6ecf5;
  --muted: #9aa8be;
  --line: #22304d;
  --accent: #60a5fa;
  --accent-soft: rgba(96, 165, 250, .14);
  --navy: #060b17;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
  --nav-bg: rgba(17, 26, 46, .6);
  --nav-border: rgba(148, 163, 184, .25);
  --nav-ink: #e6ecf5;
  --nav-hover: rgba(226, 232, 240, .1);
  --nav-line: rgba(226, 232, 240, .25);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background .3s, color .3s;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 var(--gutter); }
section { padding: 72px 0; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 12px; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.1rem); font-weight: 700; letter-spacing: -.01em; }
.eyebrow {
  display: inline-block; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); font-weight: 600; margin-bottom: 8px;
}
.section-head { margin-bottom: 36px; max-width: 640px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head p { color: var(--muted); margin: 8px 0 0; }

/* Surfaces */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 10px; font-weight: 600; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; font-size: .95rem; font-family: inherit;
  transition: transform .2s, background .2s, border-color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-wa { background: var(--green); color: #fff; }
.btn-wa:hover { background: var(--green-2); }
.btn-ghost { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .4); }
.btn-ghost:hover { background: rgba(255, 255, 255, .2); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: 9px 16px; font-size: .88rem; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* Header (glass) */
.navbar { position: fixed; top: 12px; left: 0; right: 0; z-index: 50; padding: 0 var(--gutter); }
.nav-inner {
  max-width: 1140px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px 10px 18px; gap: 12px; position: relative;
  background: var(--nav-bg);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid var(--nav-border);
  border-radius: 999px;
  box-shadow: 0 8px 30px rgba(15, 23, 42, .12);
}
.brand img { height: 34px; width: auto; }
:root[data-theme="dark"] .brand img { filter: brightness(0) invert(1); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .brand img { filter: brightness(0) invert(1); }
}
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  color: var(--nav-ink); text-decoration: none; font-size: .86rem; padding: 8px 12px; border-radius: 999px;
  opacity: .85; white-space: nowrap; font-weight: 500;
}
.nav-links a:hover, .nav-links a.active { background: var(--nav-hover); opacity: 1; }
.nav-right { display: flex; align-items: center; gap: 8px; }
.icon-btn, .menu-toggle, .theme-toggle {
  background: transparent; color: var(--nav-ink); border: 1px solid var(--nav-line); border-radius: 10px;
  width: 38px; height: 36px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
}
.icon-btn svg, .menu-toggle svg, .theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .moon { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .sun { display: none; }
  :root:not([data-theme="light"]) .theme-toggle .moon { display: block; }
}
.lang { display: inline-flex; border: 1px solid var(--nav-line); border-radius: 10px; overflow: hidden; }
.lang button {
  background: transparent; color: var(--nav-ink); border: 0; padding: 0 10px; height: 36px;
  font-family: inherit; font-size: .78rem; font-weight: 600; cursor: pointer; opacity: .7;
}
.lang button[aria-pressed="true"] { background: var(--accent); color: #fff; opacity: 1; }
.menu-toggle { display: none; }

/* Hero */
.hero {
  position: relative; min-height: 92vh; min-height: 92svh; display: flex; align-items: center;
  padding: 132px 0 96px; color: #fff; overflow: hidden; background: var(--navy);
}
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(6,11,23,.9) 0%, rgba(6,11,23,.7) 45%, rgba(6,11,23,.35) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 680px; }
.tagline {
  display: inline-block; font-weight: 600; font-size: .85rem; letter-spacing: .04em;
  padding: 6px 12px; border-radius: 8px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  margin-bottom: 20px;
}
.hero h1 { font-size: clamp(2rem, 5.4vw, 3.2rem); font-weight: 700; margin-bottom: 16px; letter-spacing: -.02em; }
.hero p.lead { font-size: clamp(1rem, 2vw, 1.12rem); opacity: .9; margin: 0 0 30px; max-width: 580px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.scroll-hint {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 2;
  width: 24px; height: 38px; border: 2px solid rgba(255,255,255,.55); border-radius: 12px;
}
.scroll-hint::after {
  content: ""; position: absolute; top: 7px; left: 50%; width: 4px; height: 8px; margin-left: -2px;
  background: #fff; border-radius: 2px; animation: drop 1.6s infinite;
}
@keyframes drop { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* Trust strip */
.trust { padding: 0; background: var(--surface); border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.trust-item { display: flex; gap: 12px; align-items: center; padding: 22px 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-item:nth-child(2n) { border-right: 0; }
.trust-item:nth-last-child(-n+2) { border-bottom: 0; }
.trust-item .check {
  flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent);
}
.trust-item .check svg { width: 18px; height: 18px; }
.trust-item strong { display: block; font-size: .92rem; font-weight: 600; line-height: 1.3; }
.trust-item span { font-size: .8rem; color: var(--muted); }

/* About */
.about-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
.about-text { padding: 32px; }
.about-text p { color: var(--muted); margin: 0 0 14px; }
.about-text p:last-child { margin-bottom: 0; }
.about-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.about-points li {
  display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; font-size: .95rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
}
.about-points .dot {
  flex: none; width: 24px; height: 24px; border-radius: 8px; background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; font-size: .8rem; font-weight: 700; margin-top: 1px;
}

/* Services / why choose us */
.alt { background: var(--surface-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.reasons { display: grid; gap: 16px; grid-template-columns: 1fr; }
.reason { padding: 26px 24px; }
.reason .icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px;
  background: var(--accent-soft); color: var(--accent);
}
.reason .icon svg { width: 22px; height: 22px; }
.reason h3 { font-size: 1.02rem; font-weight: 600; }
.reason p { margin: 0; color: var(--muted); font-size: .94rem; }

/* Clients */
.clients { margin-top: 52px; }
.clients h3 { font-size: .8rem; color: var(--muted); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; text-align: center; }
.marquee {
  overflow: hidden; position: relative; padding: 4px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; gap: 16px; width: max-content; animation: marquee 28s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.logo-card {
  width: 170px; height: 88px; flex: none; display: grid; place-items: center; padding: 14px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
}
.logo-card img { max-width: 100%; max-height: 100%; object-fit: contain; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } .scroll-hint::after { animation: none; } html { scroll-behavior: auto; } }

/* Cars */
.cars-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
.car { overflow: hidden; display: flex; flex-direction: column; }
.car-img { aspect-ratio: 16 / 10; background: var(--surface-2); overflow: hidden; border-bottom: 1px solid var(--line); }
.car-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.car:hover .car-img img { transform: scale(1.03); }
.car-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.car-body h3 { font-size: 1rem; margin: 0; font-weight: 600; }
.price { font-size: 1.3rem; font-weight: 700; color: var(--accent); }
.price small { font-size: .8rem; font-weight: 500; color: var(--muted); }
.car-body .btn { margin-top: auto; align-self: stretch; }
.fleet-note {
  margin: 24px 0 0; padding: 14px 18px; font-size: .9rem; color: var(--muted); text-align: left;
  border-left: 3px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0; background: var(--surface);
  border-top: 1px solid var(--line); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
}

/* Contact */
.contact-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
.contact-card { padding: 26px; display: flex; flex-direction: column; gap: 18px; }
.info-item { display: flex; gap: 14px; align-items: flex-start; }
.info-item .icon {
  flex: none; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent);
}
.info-item .icon svg { width: 19px; height: 19px; }
.info-item h4 { margin: 0 0 2px; font-size: .75rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.info-item p, .info-item a { margin: 0; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; }
.info-item a:hover { color: var(--accent); }
.social-row { display: flex; gap: 10px; flex-wrap: wrap; }
.map { border-radius: var(--radius); overflow: hidden; min-height: 320px; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--surface-2); }
.map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }

/* Footer */
footer { padding: 40px 0 28px; background: var(--navy); color: #fff; }
.footer-inner { display: flex; flex-direction: column; gap: 18px; align-items: center; text-align: center; }
.footer-inner img { height: 40px; width: auto; filter: brightness(0) invert(1); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: center; list-style: none; padding: 0; margin: 0; }
.footer-links a { color: rgba(255,255,255,.78); text-decoration: none; font-size: .9rem; }
.footer-links a:hover { color: #fff; }
.copy { color: rgba(255,255,255,.6); font-size: .85rem; margin: 0; }

/* Floating WhatsApp */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60; display: inline-flex; align-items: center; gap: 8px;
  background: var(--green); color: #fff; text-decoration: none; font-weight: 600; font-size: .9rem;
  padding: 12px 18px; border-radius: 999px; box-shadow: 0 10px 24px rgba(22,163,74,.3);
}
.wa-float svg { width: 22px; height: 22px; }
.wa-float:hover { background: var(--green-2); }

/* Subpages (blog, terms) */
.page-hero { padding: 150px 0 40px; }
.page-hero p { color: var(--muted); max-width: 640px; margin: 8px 0 0; }
.page-body { padding: 0 0 72px; }
.card-page { padding: 32px; max-width: 860px; }
.terms-list { padding: 0; list-style: none; margin: 0; display: grid; gap: 10px; }
.terms-list li {
  position: relative; padding: 14px 16px 14px 48px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line);
  color: var(--ink); font-size: .95rem;
}
.terms-list li::before {
  content: attr(data-n); position: absolute; left: 14px; top: 13px; width: 22px; height: 22px; border-radius: 6px;
  background: var(--accent); color: #fff; font-size: .75rem; font-weight: 700; display: grid; place-items: center;
}
.empty-state { text-align: center; padding: 56px 24px; }
.empty-state h2 { font-size: 1.5rem; }
.empty-state p { color: var(--muted); }

/* Responsive */
@media (min-width: 640px) {
  .reasons, .cars-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
  .trust-item { border-bottom: 0; }
  .trust-item:nth-child(2n) { border-right: 1px solid var(--line); }
  .trust-item:last-child { border-right: 0; }
}
@media (min-width: 900px) {
  section { padding: 96px 0; }
  .about-grid { grid-template-columns: 1.1fr .9fr; }
  .reasons { grid-template-columns: repeat(3, 1fr); }
  .cars-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: .9fr 1.1fr; }
}

/* Mobile navigation: collapses into a glass drawer */
@media (max-width: 1020px) {
  .menu-toggle { display: inline-flex; }
  .nav-links {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0; flex-direction: column; align-items: stretch;
    padding: 8px; border-radius: 18px; background: var(--nav-bg);
    -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
    border: 1px solid var(--nav-border); box-shadow: 0 20px 40px rgba(15,23,42,.18);
    display: none;
  }
  .navbar.open .nav-links { display: flex; }
  .nav-links a { padding: 12px 14px; font-size: .95rem; }
  .hero { padding-top: 120px; }
}
@media (max-width: 560px) {
  .hero-actions .btn { width: 100%; }
  .wa-float span { display: none; }
  .wa-float { padding: 14px; }
  .nav-right .btn-wa { display: none; }
  .lang button { padding: 0 8px; }
  .trust-item { padding: 18px 14px; }
  footer { padding-bottom: 96px; }
}