/* ==========================================================================
   Kodinga Logistics - Global Stylesheet
   Primary: #1a1a2e (deep navy)  Accent: #c9a84c (gold/champagne)
   ========================================================================== */

/* ── Google Fonts loaded in header ─────────────────────────────────────── */

/* ── CSS Variables ─────────────────────────────────────────────────────── */
:root {
  --primary:       #1a1a2e;
  --primary-mid:   #16213e;
  --primary-light: #0f3460;
  --accent:        #c9a84c;
  --accent-dark:   #a8893a;
  --accent-light:  #e2c76a;
  --white:         #ffffff;
  --bg:            #f8f8f8;
  --text:          #222222;
  --text-secondary:#444444;
  --text-muted:    #666666;
  --border:        #e0e0e0;
  --shadow-sm:     0 1px 4px rgba(0,0,0,.08);
  --shadow:        0 4px 16px rgba(0,0,0,.10);
  --shadow-md:     0 8px 30px rgba(0,0,0,.13);
  --shadow-lg:     0 16px 48px rgba(0,0,0,.16);
  --radius-sm:     4px;
  --radius:        8px;
  --radius-md:     12px;
  --radius-lg:     16px;
  --radius-xl:     24px;
  --radius-full:   9999px;
  --transition:    .2s ease;
  --font:          'Inter', system-ui, -apple-system, sans-serif;

  /* Status colors */
  --c-gray:   #6b7280;
  --c-blue:   #2563eb;
  --c-orange: #ea580c;
  --c-green:  #16a34a;
  --c-red:    #dc2626;
}

/* ── Reset ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Container ─────────────────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
.container-sm { max-width: 860px; margin: 0 auto; padding: 0 1.25rem; }

/* ── Typography ────────────────────────────────────────────────────────── */
h1,h2,h3,h4,h5,h6 { font-weight: 700; line-height: 1.25; color: var(--primary); }
h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.25rem; }
p  { color: var(--text-muted); }

/* ── Buttons ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .65rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600; font-size: .93rem; font-family: var(--font);
  cursor: pointer; border: 2px solid transparent;
  transition: all var(--transition); text-align: center; white-space: nowrap;
}
.btn-primary   { background: var(--accent); color: var(--primary); border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn-dark      { background: var(--primary); color: var(--white); border-color: var(--primary); }
.btn-dark:hover { background: var(--primary-light); border-color: var(--primary-light); }
.btn-outline   { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn-outline:hover { background: var(--accent); color: var(--primary); }
.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,.6); }
.btn-outline-white:hover { background: rgba(255,255,255,.12); border-color: var(--white); }
.btn-danger    { background: var(--c-red); color: #fff; border-color: var(--c-red); }
.btn-danger:hover { background: #b91c1c; }
.btn-sm        { padding: .4rem 1rem; font-size: .82rem; }
.btn-lg        { padding: .85rem 2rem; font-size: 1rem; }
.btn-full      { width: 100%; justify-content: center; }

/* ── Badges / Pills ────────────────────────────────────────────────────── */
.badge {
  display: inline-block; padding: .25rem .75rem;
  border-radius: var(--radius-full); font-size: .75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .03em;
}
.badge-gray    { background: #f3f4f6; color: var(--c-gray); }
.badge-blue    { background: #eff6ff; color: var(--c-blue); }
.badge-orange  { background: #fff7ed; color: var(--c-orange); }
.badge-green   { background: #f0fdf4; color: var(--c-green); }
.badge-red     { background: #fef2f2; color: var(--c-red); }
.badge-gold    { background: #fefce8; color: var(--accent-dark); }
.badge-cat     { background: var(--primary); color: var(--accent); font-size: .7rem; padding: .2rem .6rem; }

/* ── Alerts / Flash ─────────────────────────────────────────────────────── */
.alert {
  padding: .9rem 1.25rem; border-radius: var(--radius);
  font-size: .9rem; margin-bottom: 1rem;
  display: flex; align-items: center; gap: .75rem;
}
.alert-success { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.alert-error   { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.alert-info    { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }
.alert-warning { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }
.flash-area    { padding: .75rem 0 0; }

/* ── Forms ─────────────────────────────────────────────────────────────── */
.form-group    { margin-bottom: 1.1rem; }
.form-label    { display: block; font-weight: 600; font-size: .875rem; margin-bottom: .4rem; color: var(--primary); }
.form-control  {
  width: 100%; padding: .65rem .9rem;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  font-family: var(--font); font-size: .93rem; color: var(--text);
  background: var(--white); transition: border-color var(--transition);
}
.form-control:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(201,168,76,.15); }
.form-control.is-invalid { border-color: var(--c-red); }
.form-error    { color: var(--c-red); font-size: .8rem; margin-top: .3rem; }
.form-hint     { color: var(--text-muted); font-size: .8rem; margin-top: .3rem; }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .75rem center; padding-right: 2.5rem; }
textarea.form-control { resize: vertical; min-height: 90px; }
.form-row      { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

/* ── Cards ─────────────────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.card-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.card-header h2,.card-header h3 { font-size: 1.1rem; color: var(--primary); margin: 0; }
.card-body   { padding: 1.5rem; }
.card-footer { padding: 1rem 1.5rem; border-top: 1px solid var(--border); background: #fafafa; }

/* ── Tables ─────────────────────────────────────────────────────────────── */
.table-wrap  { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); }
table        { width: 100%; border-collapse: collapse; font-size: .88rem; }
thead th     { background: var(--primary); color: var(--accent); font-weight: 600; padding: .85rem 1rem; text-align: left; white-space: nowrap; }
tbody tr     { border-bottom: 1px solid var(--border); }
tbody tr:last-child { border-bottom: none; }
tbody tr:hover { background: #f9f7f1; }
td           { padding: .8rem 1rem; vertical-align: middle; }
.td-actions  { white-space: nowrap; display: flex; gap: .4rem; flex-wrap: wrap; }

/* ── Site Header / Navbar ───────────────────────────────────────────────── */
.site-header {
  background: var(--primary);
  position: sticky; top: 0; z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
}
.navbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: .9rem 1.25rem; gap: 1rem;
}
.navbar-brand {
  display: flex; align-items: center; gap: .6rem;
  font-size: 1.2rem; font-weight: 800; letter-spacing: 0; color: var(--white);
}
.navbar-logo {
  height: 48px;
  max-height: 48px;
  width: auto;
  max-width: 180px;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}
.navbar-brand .brand-k { color: var(--accent); font-size: 1.5rem; }
.nav-links {
  display: flex; align-items: center; gap: .25rem; flex-wrap: wrap;
}
.nav-link {
  color: rgba(255,255,255,.8); padding: .45rem .85rem; border-radius: var(--radius-sm);
  font-size: .9rem; font-weight: 500; transition: all var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--white); background: rgba(255,255,255,.1); }
.nav-link.btn-nav-accent { background: var(--accent); color: var(--primary); font-weight: 700; }
.nav-link.btn-nav-accent:hover { background: var(--accent-dark); }
.nav-link.btn-nav-outline { border: 1.5px solid rgba(255,255,255,.4); color: var(--white); }
.nav-link.btn-nav-outline:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.nav-link.nav-icon-link { padding: .45rem .55rem; display: inline-flex; align-items: center; }
.nav-link.nav-icon-link svg { display: block; }
.nav-link.nav-icon-link:hover { background: rgba(255,255,255,.13); }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: .4rem; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: all var(--transition); }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links  {
    display: none; flex-direction: column; align-items: stretch;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--primary); padding: 1rem; gap: .3rem;
    box-shadow: 0 8px 24px rgba(0,0,0,.3);
  }
  .nav-links.open { display: flex; }
  .site-header { position: sticky; }
  .nav-link { display: block; width: 100%; }
}

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  background:
    linear-gradient(90deg, rgba(13,13,26,.96) 0%, rgba(13,13,26,.82) 38%, rgba(13,13,26,.34) 72%, rgba(13,13,26,.18) 100%),
    url("../images/Rolls%20Royce%20Phantom.jpg");
  background-size: cover;
  background-position: center right;
  position: relative; overflow: hidden;
  padding: 6rem 0 5rem;
  min-height: 88vh; display: flex; align-items: center;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    45deg,
    rgba(201,168,76,.03) 0px,
    rgba(201,168,76,.03) 1px,
    transparent 1px,
    transparent 60px
  );
}
.hero .container { position: relative; z-index: 1; }
.hero-content { position: relative; max-width: 680px; }
.hero-eyebrow { display: inline-block; background: rgba(201,168,76,.15); color: var(--accent); padding: .3rem 1rem; border-radius: var(--radius-full); font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1.25rem; border: 1px solid rgba(201,168,76,.3); }
.hero h1 { color: var(--white); font-size: 3.8rem; line-height: 1.1; margin-bottom: 1rem; text-shadow: 0 6px 26px rgba(0,0,0,.28); }
.hero h1 span { color: var(--accent); }
.hero-subtitle { color: rgba(255,255,255,.72); font-size: 1.1rem; max-width: 520px; margin-bottom: 2.25rem; }
.hero-cta      { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-divider  { width: 60px; height: 3px; background: var(--accent); border-radius: 2px; margin-bottom: 2rem; }

/* ── Stats Bar ──────────────────────────────────────────────────────────── */
.stats-bar {
  background: var(--accent);
  padding: 1.1rem 0;
}
.stats-bar-inner {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 1.5rem 3rem;
  font-weight: 700; color: var(--primary); font-size: .95rem;
  letter-spacing: .01em;
}
.stats-bar-inner span { display: flex; align-items: center; gap: .5rem; }
.stats-sep { opacity: .4; font-size: 1.2rem; }

/* ── Section helpers ─────────────────────────────────────────────────────── */
.section    { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-dark { background: var(--primary); }
.section-alt  { background: var(--white); }
.page-hero {
  background: var(--primary);
  position: relative;
  overflow: hidden;
  padding: 4rem 0 3.25rem;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13,13,26,.96) 0%, rgba(13,13,26,.74) 48%, rgba(13,13,26,.32) 100%);
}
.page-hero .container {
  position: relative;
  z-index: 1;
}
.fleet-page-hero {
  background-image:
    linear-gradient(90deg, rgba(13,13,26,.96) 0%, rgba(13,13,26,.76) 48%, rgba(13,13,26,.36) 100%),
    url("../images/Range%20Rover%20Vogue.jpg");
  background-size: cover;
  background-position: center right;
}
.section-label {
  display: inline-block; color: var(--accent); font-weight: 700;
  font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: .75rem;
}
.section-title { margin-bottom: .75rem; }
.section-subtitle { color: var(--text-muted); max-width: 600px; margin: 0 auto 2.5rem; }
.text-center { text-align: center; }

/* ── Fleet Cards ─────────────────────────────────────────────────────────── */
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.65rem;
}
.vehicle-card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  border: 1px solid rgba(26,26,46,.08);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex; flex-direction: column;
}
.vehicle-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.vehicle-card-img {
  background: #0d0d1a;
  height: 210px; display: flex; align-items: stretch; justify-content: stretch;
  position: relative; overflow: hidden;
}
.vehicle-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease, filter .35s ease;
}
.vehicle-card-img::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 42%;
  background: linear-gradient(180deg, transparent 0%, rgba(13,13,26,.5) 100%);
  pointer-events: none;
}
.vehicle-card:hover .vehicle-card-img img { transform: scale(1.045); filter: saturate(1.05); }
.vehicle-unavailable-overlay {
  position: absolute; inset: 0;
  z-index: 2;
  background: rgba(0,0,0,.58);
  display: flex; align-items: center; justify-content: center;
}
.vehicle-card-body { padding: 1.25rem; flex: 1; }
.vehicle-card-name { font-size: 1.05rem; font-weight: 700; color: var(--primary); margin-bottom: .4rem; }
.vehicle-card-meta { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: .75rem; align-items: center; }
.vehicle-card-price { font-size: .85rem; color: var(--text-muted); }
.vehicle-card-price strong { color: var(--accent-dark); font-size: 1rem; }
.vehicle-card-footer { padding: 1rem 1.25rem; border-top: 1px solid var(--border); background: #fff; }

/* About page */
.about-page-hero {
  background-image:
    linear-gradient(90deg, rgba(13,13,26,.96) 0%, rgba(13,13,26,.78) 48%, rgba(13,13,26,.42) 100%),
    url("../images/Range%20Rover%20Vogue.jpg");
  background-size: cover;
  background-position: center right;
}
.about-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  gap: 2rem;
  align-items: start;
}
.about-panel {
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
}
.about-panel h3 { color: var(--accent); font-size: 1.05rem; margin-bottom: 1rem; }
.about-check-list { display: grid; gap: .8rem; }
.about-check-list li {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  color: rgba(255,255,255,.78);
  font-size: .92rem;
}
.about-check-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  margin-top: .55rem;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.value-card {
  background: var(--white);
  border: 1px solid rgba(26,26,46,.08);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  padding: 1.5rem;
}
.value-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--accent);
  margin-bottom: 1rem;
}
.value-card h3 { margin-bottom: .55rem; }
.value-card p { font-size: .9rem; }
.about-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.about-cta-actions { display: flex; gap: .75rem; flex-wrap: wrap; }

/* ── Services Section ─────────────────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
  color: var(--accent);
}
.service-card h3 { color: var(--primary); margin-bottom: .6rem; }
.service-card p  { font-size: .9rem; }

/* ── Steps / How to Book ─────────────────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
  counter-reset: steps;
}
.step {
  text-align: center; position: relative;
  padding: 2rem 1rem;
}
.step-num {
  width: 52px; height: 52px;
  background: var(--accent); color: var(--primary);
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; font-weight: 800;
  margin: 0 auto 1rem;
}
.step h3 { color: var(--primary); margin-bottom: .5rem; }
.step p  { font-size: .88rem; }

/* ── Rate Table ──────────────────────────────────────────────────────────── */
.rate-table-wrap { overflow-x: auto; }
.rate-table {
  width: 100%; border-collapse: collapse;
  border-radius: var(--radius);
  overflow: hidden;
}
.rate-table thead th {
  background: var(--primary); color: var(--accent);
  padding: 1rem 1.25rem; text-align: left; font-size: .88rem; font-weight: 700;
}
.rate-table tbody tr { border-bottom: 1px solid var(--border); }
.rate-table tbody tr:hover { background: #f9f7f1; }
.rate-table td { padding: .85rem 1.25rem; font-size: .9rem; }
.rate-table .cat-row td {
  background: linear-gradient(90deg, rgba(26,26,46,.07) 0%, rgba(26,26,46,.02) 100%);
  font-weight: 700; color: var(--primary); font-size: .82rem; text-transform: uppercase; letter-spacing: .06em;
  padding: .6rem 1.25rem;
}
.rate-amount { font-weight: 600; color: var(--accent-dark); }

/* ── Contact Strip ───────────────────────────────────────────────────────── */
.contact-strip {
  background: var(--primary);
  padding: 2.5rem 0;
}
.contact-strip-grid {
  display: flex; flex-wrap: wrap; gap: 1.5rem 3rem;
  align-items: center; justify-content: center;
}
.contact-item {
  display: flex; align-items: center; gap: .75rem;
  color: rgba(255,255,255,.85);
}
.contact-item svg { color: var(--accent); flex-shrink: 0; }
.contact-item a   { color: var(--accent); font-weight: 600; }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.site-footer     { background: #0d0d1a; color: rgba(255,255,255,.65); }
.footer-top      { padding: 3.5rem 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
  gap: 2rem;
}
.footer-brand { display: flex; align-items: center; gap: .6rem; margin-bottom: 1rem; color: var(--white); font-size: 1.1rem; font-weight: 800; }
.footer-tagline { font-size: .87rem; line-height: 1.65; margin-bottom: 1.25rem; }
.footer-heading { color: var(--accent); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; margin-bottom: 1rem; }
.footer-links li { margin-bottom: .45rem; }
.footer-links a  { font-size: .88rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--accent); }
.footer-contact  { display: flex; flex-direction: column; gap: .75rem; }
.footer-contact li { display: flex; gap: .65rem; font-size: .87rem; }
.footer-contact li svg { flex-shrink: 0; color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.25rem 0;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem;
  font-size: .82rem;
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 580px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ── Auth Pages ──────────────────────────────────────────────────────────── */
.auth-wrap {
  min-height: 100vh; background: var(--bg);
  display: flex; align-items: center; justify-content: center; padding: 2rem 1rem;
}
.auth-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 2.5rem 2rem;
  width: 100%; max-width: 440px;
}
.auth-logo {
  display: flex; align-items: center; gap: .65rem;
  margin-bottom: 1.5rem;
}
.auth-logo-icon { font-size: 2rem; }
.auth-logo-name { font-weight: 800; font-size: 1.2rem; color: var(--primary); }
.auth-logo-name span { color: var(--accent); }
.auth-title    { font-size: 1.6rem; margin-bottom: .4rem; }
.auth-subtitle { font-size: .9rem; margin-bottom: 1.75rem; }
.auth-divider  { text-align: center; color: var(--text-muted); font-size: .85rem; margin: 1.25rem 0; }
.auth-footer   { text-align: center; margin-top: 1.25rem; font-size: .88rem; color: var(--text-muted); }
.auth-footer a { color: var(--accent-dark); font-weight: 600; }
.demo-creds    { background: #fafafa; border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem; font-size: .82rem; margin-top: 1rem; }
.demo-creds strong { display: block; margin-bottom: .4rem; }

/* ── Dashboard ───────────────────────────────────────────────────────────── */
.dash-wrap { min-height: 100vh; background: var(--bg); padding: 2rem 0 4rem; }
.dash-header { background: var(--primary); color: var(--white); padding: 2rem 0; margin-bottom: 2rem; }
.dash-header h1 { color: var(--white); font-size: 1.6rem; margin-bottom: .25rem; }
.dash-header p  { color: rgba(255,255,255,.65); }
.stat-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 1.25rem; margin-bottom: 2rem; }
.stat-card  {
  background: var(--white); border-radius: var(--radius-md);
  padding: 1.4rem; box-shadow: var(--shadow);
  border-left: 4px solid var(--accent);
}
.stat-card .stat-val  { font-size: 2rem; font-weight: 800; color: var(--primary); line-height: 1; }
.stat-card .stat-lbl  { font-size: .82rem; color: var(--text-muted); margin-top: .35rem; }

/* ── Admin Layout ─────────────────────────────────────────────────────────── */
.admin-wrap   { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 250px; flex-shrink: 0;
  background: var(--primary);
  display: flex; flex-direction: column;
  min-height: 100vh; position: sticky; top: 0;
}
.admin-main   { flex: 1; background: var(--bg); padding: 2rem; min-width: 0; }
.sidebar-brand {
  display: flex; align-items: center; gap: .6rem;
  padding: 1.35rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  color: var(--white); font-weight: 800; font-size: 1rem;
}
.sidebar-brand span.k { color: var(--accent); font-size: 1.3rem; }
.sidebar-nav   { flex: 1; padding: 1rem 0; }
.sidebar-section { padding: .35rem 1.25rem; font-size: .7rem; color: rgba(255,255,255,.35); text-transform: uppercase; letter-spacing: .1em; font-weight: 600; margin-top: .5rem; }
.sidebar-link  {
  display: flex; align-items: center; gap: .65rem;
  padding: .65rem 1.25rem;
  color: rgba(255,255,255,.72); font-size: .88rem; font-weight: 500;
  transition: all var(--transition); border-left: 3px solid transparent;
}
.sidebar-link:hover { color: var(--white); background: rgba(255,255,255,.07); }
.sidebar-link.active { color: var(--accent); background: rgba(201,168,76,.1); border-left-color: var(--accent); }
.sidebar-link svg { width: 18px; height: 18px; flex-shrink: 0; }
.sidebar-footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid rgba(255,255,255,.08);
}
.sidebar-user  { display: flex; align-items: center; gap: .65rem; }
.sidebar-avatar {
  width: 34px; height: 34px;
  background: var(--accent); color: var(--primary);
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .88rem; flex-shrink: 0;
}
.sidebar-user-name { font-size: .85rem; font-weight: 600; color: var(--white); }
.sidebar-user-role { font-size: .75rem; color: rgba(255,255,255,.45); }
.admin-page-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.5rem; }
.admin-page-header h1 { font-size: 1.5rem; color: var(--primary); }

/* ── Booking Confirmation Receipt ─────────────────────────────────────────── */
.receipt {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 680px; margin: 0 auto;
  overflow: hidden;
}
.receipt-head {
  background: var(--primary);
  padding: 2rem 2.5rem;
  display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}
.receipt-head-brand { color: var(--white); }
.receipt-head-brand .brand  { font-size: 1.3rem; font-weight: 800; }
.receipt-head-brand .brand span { color: var(--accent); }
.receipt-head-brand .tagline { font-size: .8rem; color: rgba(255,255,255,.55); margin-top: .15rem; }
.receipt-head-ref { text-align: right; }
.receipt-head-ref .ref   { color: var(--accent); font-size: 1.2rem; font-weight: 800; font-family: monospace; }
.receipt-head-ref .label { font-size: .75rem; color: rgba(255,255,255,.55); margin-bottom: .25rem; }
.receipt-divider { height: 4px; background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 100%); }
.receipt-section { padding: 1.5rem 2.5rem; border-bottom: 1px solid var(--border); }
.receipt-section:last-child { border-bottom: none; }
.receipt-section h4 { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--accent-dark); font-weight: 700; margin-bottom: 1rem; }
.receipt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem 1.5rem; }
.receipt-row  { display: flex; justify-content: space-between; padding: .5rem 0; border-bottom: 1px solid #f0f0f0; font-size: .9rem; gap: 1rem; }
.receipt-row:last-child { border-bottom: none; }
.receipt-row .rl { color: var(--text-muted); flex-shrink: 0; }
.receipt-row .rv { font-weight: 600; color: var(--primary); text-align: right; }
.receipt-totals { padding: 1.5rem 2.5rem; background: #fafafa; }
.receipt-total-row { display: flex; justify-content: space-between; padding: .5rem 0; font-size: .95rem; }
.receipt-total-row.total-due { font-size: 1.15rem; font-weight: 800; color: var(--primary); border-top: 2px solid var(--accent); padding-top: .85rem; margin-top: .25rem; }
.receipt-total-row.total-due .amount { color: var(--accent-dark); }
.receipt-actions { padding: 1.5rem 2.5rem; display: flex; gap: .75rem; flex-wrap: wrap; }
@media (max-width: 600px) {
  .receipt-head { padding: 1.5rem; }
  .receipt-section { padding: 1.25rem 1.5rem; }
  .receipt-grid { grid-template-columns: 1fr; }
  .receipt-totals, .receipt-actions { padding: 1.25rem 1.5rem; }
}

/* ── Booking Form ─────────────────────────────────────────────────────────── */
.booking-wrap { background: var(--bg); padding: 2.5rem 0 4rem; }
.booking-card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden; max-width: 860px; margin: 0 auto; }
.booking-card-header { background: var(--primary); padding: 1.75rem 2rem; }
.booking-card-header h1 { color: var(--white); font-size: 1.5rem; margin-bottom: .25rem; }
.booking-card-header p  { color: rgba(255,255,255,.6); font-size: .9rem; }
.booking-card-body { padding: 2rem; }
.booking-section { margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--border); }
.booking-section:last-child { border-bottom: none; margin-bottom: 0; }
.booking-section-title { font-size: 1rem; font-weight: 700; color: var(--primary); margin-bottom: 1.25rem; display: flex; align-items: center; gap: .5rem; }
.booking-section-title span.num { width: 26px; height: 26px; background: var(--accent); color: var(--primary); border-radius: var(--radius-full); display: inline-flex; align-items: center; justify-content: center; font-size: .82rem; font-weight: 800; flex-shrink: 0; }
.price-summary { background: var(--primary); color: var(--white); border-radius: var(--radius-md); padding: 1.25rem 1.5rem; margin-top: 1.25rem; }
.price-summary h4 { color: var(--accent); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: .75rem; }
.price-row { display: flex; justify-content: space-between; font-size: .9rem; padding: .3rem 0; }
.price-total { display: flex; justify-content: space-between; font-size: 1.15rem; font-weight: 800; padding: .6rem 0 0; margin-top: .4rem; border-top: 1px solid rgba(201,168,76,.35); color: var(--accent); }
.vehicle-select-card { border: 2px solid var(--border); border-radius: var(--radius-md); padding: 1rem 1.25rem; cursor: pointer; transition: all var(--transition); background: var(--white); margin-bottom: .6rem; }
.vehicle-select-card:hover { border-color: var(--accent); }
.vehicle-select-card.selected { border-color: var(--accent); background: #fefce8; }

/* ── Filter Bar ──────────────────────────────────────────────────────────── */
.filter-bar { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filter-btn {
  padding: .45rem 1.1rem; border-radius: var(--radius-full);
  border: 1.5px solid var(--border); background: var(--white);
  font-size: .85rem; font-weight: 500; cursor: pointer;
  transition: all var(--transition);
}
.filter-btn:hover, .filter-btn.active { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* ── Responsive content grid classes ─────────────────────────────────────── */
/* Used by contact page, vehicle pages etc — avoids inline styles */
.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.vehicle-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.vehicle-content-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 3rem;
  align-items: start;
}

/* Page hero title/subtitle utility classes */
.page-hero-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--white);
  margin: .5rem 0 1rem;
  line-height: 1.2;
}
.page-hero-subtitle {
  color: rgba(255,255,255,.72);
  font-size: 1.05rem;
  max-width: 600px;
}
.vehicle-hero-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--white);
  margin: .5rem 0 1rem;
  line-height: 1.2;
}

/* Responsive polish */
@media (max-width: 980px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  .hero h1 { font-size: 3rem; }
  .about-intro-grid { grid-template-columns: 1fr; }
  .about-cta { flex-direction: column; align-items: flex-start; }
  .admin-booking-layout { grid-template-columns: 1fr !important; }
  .vehicle-hero-grid,
  .vehicle-content-grid { gap: 2rem; }
}

@media (max-width: 900px) {
  .admin-wrap { flex-direction: column; }
  .admin-sidebar {
    width: 100%;
    min-height: auto;
    position: static;
  }
  .sidebar-brand { padding: 1rem; }
  .sidebar-nav {
    display: flex;
    gap: .35rem;
    overflow-x: auto;
    padding: .65rem 1rem;
    -webkit-overflow-scrolling: touch;
  }
  .sidebar-section,
  .sidebar-footer { display: none; }
  .sidebar-link {
    flex: 0 0 auto;
    border-left: 0;
    border-bottom: 3px solid transparent;
    border-radius: var(--radius-sm);
    padding: .6rem .8rem;
  }
  .sidebar-link.active { border-left-color: transparent; border-bottom-color: var(--accent); }
  .admin-main { padding: 1.25rem; }
}

@media (max-width: 768px) {
  html { font-size: 15px; }
  body { overflow-x: hidden; }
  input,
  select,
  textarea { font-size: 16px; }
  .container,
  .container-sm { padding-left: 1rem; padding-right: 1rem; }
  .navbar { padding: .75rem 1rem; }
  .navbar-brand { font-size: 1rem; min-width: 0; white-space: nowrap; }
  .navbar-brand .brand-k { font-size: 1.35rem; }
  .navbar-logo { height: 36px; max-height: 36px; max-width: 130px; }
  .hero {
    min-height: 65vh;
    padding: 3.5rem 0 3rem;
    background-position: center;
  }
  .hero-subtitle { font-size: 1rem; }
  .hero-cta { margin-bottom: 0; gap: .75rem; }
  .section { padding: 3rem 0; }
  .section-sm { padding: 2rem 0; }
  .page-hero { padding: 2.5rem 0 2rem; }
  .page-hero-title,
  .vehicle-hero-title { font-size: 1.85rem; }
  .page-hero-subtitle { font-size: .95rem; }
  .stats-bar-inner { justify-content: flex-start; gap: .8rem 1rem; }
  .stats-sep { display: none !important; }
  .fleet-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
  .services-grid,
  .steps-grid,
  .value-grid,
  .stat-cards { grid-template-columns: 1fr; }
  .vehicle-card-img { height: 200px; }
  .filter-bar { overflow-x: auto; flex-wrap: nowrap; padding-bottom: .35rem; -webkit-overflow-scrolling: touch; }
  .filter-btn { flex: 0 0 auto; white-space: nowrap; }
  .card-header { flex-direction: column; align-items: stretch; }
  .table-wrap,
  .rate-table-wrap { -webkit-overflow-scrolling: touch; }
  .table-wrap table,
  .rate-table { min-width: 600px; }
  th, td { padding: .65rem .75rem; }
  .contact-strip-grid { align-items: stretch; justify-content: flex-start; flex-direction: column; gap: 1rem; }
  .contact-item { width: 100%; }
  .booking-wrap { padding: 1.5rem 0 3rem; }
  .booking-card { border-radius: var(--radius-md); }
  .booking-card-header,
  .booking-card-body { padding: 1.25rem; }
  /* Responsive grids collapse to single column */
  .two-col-grid,
  .vehicle-hero-grid,
  .vehicle-content-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  /* Vehicle hero image on mobile */
  .vehicle-hero-grid > div:last-child { order: -1; }
  .vehicle-hero-grid > div:last-child img { height: 230px !important; border-radius: 12px; object-fit: cover; width: 100%; }
}

@media (max-width: 560px) {
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.55rem; }
  h3 { font-size: 1.05rem; }
  /* Standalone buttons go full width; inside flex card footers they share space */
  .hero-cta .btn,
  .about-cta-actions .btn,
  .receipt-actions .btn { width: 100%; justify-content: center; }
  .hero h1 { font-size: 2.2rem; }
  .hero-eyebrow { font-size: .72rem; line-height: 1.45; }
  .stats-bar-inner span { width: 100%; }
  .page-hero-title,
  .vehicle-hero-title { font-size: 1.55rem; }
  .section-subtitle { margin-bottom: 1.5rem; }
  .service-card,
  .value-card,
  .stat-card { padding: 1.2rem; }
  .receipt-head { flex-direction: column; padding: 1.25rem; }
  .receipt-head-ref { text-align: left; }
  .receipt-row,
  .receipt-total-row,
  .price-row,
  .price-total {
    flex-direction: column;
    align-items: flex-start;
    gap: .2rem;
  }
  .receipt-row .rv { text-align: left; }
  .auth-card { padding: 1.75rem 1.1rem; }
  .auth-logo-name { font-size: 1.05rem; }
  .footer-top { padding: 2.25rem 0; }
  .admin-main { padding: 1rem; }
  /* Fleet card footer: two buttons stay side-by-side */
  .vehicle-card-footer { flex-wrap: nowrap; }
  .vehicle-card-footer .btn { padding: .6rem .6rem; font-size: .82rem; }
  /* Two-col grid form row collapses */
  .two-col-grid > div,
  .vehicle-content-grid > div { min-width: 0; }
}

@media (max-width: 400px) {
  .page-hero-title,
  .vehicle-hero-title { font-size: 1.35rem; }
  .hero h1 { font-size: 1.9rem; }
  .fleet-grid { grid-template-columns: 1fr; }
  .vehicle-card-footer { flex-direction: column; gap: .4rem; }
  .vehicle-card-footer .btn { width: 100%; justify-content: center; }
}

/* ── Misc utilities ───────────────────────────────────────────────────────── */
.text-gold   { color: var(--accent-dark); }
.text-muted  { color: var(--text-muted); }
.text-white  { color: var(--white); }
.text-sm     { font-size: .85rem; }
.text-xs     { font-size: .75rem; }
.fw-700      { font-weight: 700; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.gap-1 { gap: .5rem; }
.d-flex { display: flex; align-items: center; }
.justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.w-full { width: 100%; }
.hidden { display: none !important; }
.print-only { display: none; }
@media print { .no-print { display: none !important; } .print-only { display: block; } }
