/* ============================================================
   DriveEase Car Rental - Main Stylesheet
   Purple/Orange theme matching design reference
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ============================================================
   CSS VARIABLES
   ============================================================ */
:root {
  --primary:      #6b21a8;
  --primary-dark: #1a0533;
  --primary-mid:  #4a1272;
  --accent:       #f97316;
  --accent-dark:  #ea6c0d;
  --white:        #ffffff;
  --light:        #f8f4ff;
  --gray:         #8b949e;
  --text:         #1a0533;
  --card-bg:      #ffffff;
  --border:       rgba(107,33,168,0.12);
  --shadow:       0 8px 32px rgba(107,33,168,0.15);
  --shadow-lg:    0 24px 64px rgba(107,33,168,0.2);
  --radius:       16px;
  --radius-sm:    10px;
  --radius-pill:  999px;
  --font-head:    'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;
  --transition:   all 0.3s cubic-bezier(0.4,0,0.2,1);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; font-family: var(--font-body); }

/* ============================================================
   SCROLLBAR
   ============================================================ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--light); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 999px; }

/* ============================================================
   UTILITY
   ============================================================ */
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.text-center { text-align: center; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.5rem; } .gap-2 { gap: 1rem; } .gap-3 { gap: 1.5rem; }
.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1,h2,h3,h4,h5,h6 { font-family: var(--font-head); font-weight: 700; line-height: 1.2; }

.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); color: var(--primary-dark); }
.section-header h2 span { color: var(--primary); }
.section-header p { color: var(--gray); margin-top: 0.75rem; font-size: 1.05rem; }

.label-tag {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: rgba(107,33,168,0.08); color: var(--primary);
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 0.35rem 0.9rem; border-radius: var(--radius-pill); margin-bottom: 1rem;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.75rem 1.75rem; border-radius: var(--radius-pill);
  font-family: var(--font-body); font-weight: 600; font-size: 0.95rem;
  transition: var(--transition); white-space: nowrap;
}
.btn-primary {
  background: var(--accent); color: var(--white);
  box-shadow: 0 4px 20px rgba(249,115,22,0.35);
}
.btn-primary:hover {
  background: var(--accent-dark); transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(249,115,22,0.45);
}
.btn-outline {
  background: transparent; color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: var(--white); transform: translateY(-2px); }
.btn-white {
  background: var(--white); color: var(--primary); font-weight: 700;
}
.btn-white:hover { background: var(--light); transform: translateY(-2px); }
.btn-sm { padding: 0.5rem 1.2rem; font-size: 0.85rem; }
.btn-lg { padding: 1rem 2.5rem; font-size: 1.05rem; }
.btn-icon {
  width: 44px; height: 44px; padding: 0; border-radius: 50%;
  background: var(--accent); color: var(--white);
  box-shadow: 0 4px 14px rgba(249,115,22,0.3);
}
.btn-icon:hover { background: var(--accent-dark); transform: scale(1.08); }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  transition: var(--transition);
  padding: 0;
}
.site-header.scrolled {
  background: rgba(26,5,51,0.97); backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
  padding: 0;
}
.site-header .header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; padding: 0 1.5rem;
  max-width: 1280px; margin: 0 auto;
}
.site-logo { display: flex; align-items: center; gap: 0.75rem; }
.site-logo img { height: 40px; width: auto; }
.site-logo .logo-text {
  font-family: var(--font-head); font-size: 1.5rem; font-weight: 800;
  color: var(--white);
}
.site-logo .logo-text span { color: var(--accent); }

.nav-menu { display: flex; align-items: center; gap: 0.25rem; list-style: none; }
.nav-menu a {
  color: rgba(255,255,255,0.85); font-weight: 500; font-size: 0.95rem;
  padding: 0.5rem 1rem; border-radius: var(--radius-sm);
  transition: var(--transition);
}
.nav-menu a:hover, .nav-menu a.active {
  color: var(--white); background: rgba(255,255,255,0.1);
}
.nav-actions { display: flex; align-items: center; gap: 0.75rem; }
.hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  padding: 8px; background: none;
}
.hamburger span {
  display: block; width: 24px; height: 2px; background: var(--white);
  border-radius: 2px; transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

.mobile-nav {
  display: none; position: fixed; top: 72px; left: 0; width: 100%;
  background: rgba(26,5,51,0.98); backdrop-filter: blur(20px);
  padding: 1.5rem; list-style: none; flex-direction: column; gap: 0.5rem;
  z-index: 999; border-top: 1px solid rgba(255,255,255,0.1);
}
.mobile-nav.open { display: flex; }
.mobile-nav a { color: var(--white); font-weight: 500; padding: 0.75rem 1rem; display: block; border-radius: var(--radius-sm); }
.mobile-nav a:hover { background: rgba(255,255,255,0.08); }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, #9333ea 100%);
  position: relative; overflow: hidden; padding-top: 72px;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content { position: relative; z-index: 2; max-width: 680px; }
.hero-content .label-tag { background: rgba(249,115,22,0.15); color: #fba46b; }
.hero-content h1 {
  font-size: clamp(2.2rem, 6vw, 4rem); font-weight: 800;
  color: var(--white); line-height: 1.1; margin-bottom: 1.25rem;
}
.hero-content h1 span { color: var(--accent); }
.hero-content p { color: rgba(255,255,255,0.8); font-size: 1.1rem; margin-bottom: 2rem; max-width: 520px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 2rem; margin-top: 3rem; flex-wrap: wrap;
}
.hero-stat { }
.hero-stat .num { font-family: var(--font-head); font-size: 2rem; font-weight: 800; color: var(--white); line-height: 1; }
.hero-stat .num span { color: var(--accent); }
.hero-stat .lbl { color: rgba(255,255,255,0.6); font-size: 0.85rem; margin-top: 0.25rem; }

/* ============================================================
   SEARCH / BOOKING BAR
   ============================================================ */
.search-bar {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 1.5rem 2rem;
  margin-top: -2rem; position: relative; z-index: 10;
}
.search-bar .search-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr 1fr auto;
  gap: 1rem; align-items: end;
}
.search-field label {
  display: block; font-size: 0.78rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.05em; color: var(--gray); margin-bottom: 0.5rem;
}
.search-field .input-wrap {
  display: flex; align-items: center; gap: 0.5rem;
  border: 2px solid var(--border); border-radius: var(--radius-sm);
  padding: 0.65rem 1rem; transition: var(--transition);
}
.search-field .input-wrap:focus-within { border-color: var(--primary); }
.search-field .input-wrap svg { color: var(--gray); flex-shrink: 0; width:18px;height:18px; }
.search-field select, .search-field input {
  border: none; outline: none; width: 100%; background: transparent;
  font-family: var(--font-body); font-size: 0.95rem; color: var(--text);
}

/* ============================================================
   CAR CARDS
   ============================================================ */
.cars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.75rem;
}

.car-card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(107,33,168,0.08);
  overflow: hidden; transition: var(--transition);
  border: 1px solid var(--border);
  position: relative;
}
.car-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(107,33,168,0.2);
}
.car-card-img {
  position: relative; height: 200px; overflow: hidden;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}
.car-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.car-card:hover .car-card-img img { transform: scale(1.05); }
.car-card-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--accent); color: var(--white);
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  padding: 0.3rem 0.75rem; border-radius: var(--radius-pill);
}
.car-card-wishlist {
  position: absolute; top: 12px; right: 12px;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.9); display: flex; align-items: center; justify-content: center;
  transition: var(--transition); cursor: pointer;
}
.car-card-wishlist:hover { background: var(--white); transform: scale(1.1); }
.car-card-wishlist svg { width: 18px; height: 18px; color: var(--primary); }

.car-card-body { padding: 1.5rem; }
.car-card-brand {
  font-size: 0.78rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.05em; color: var(--primary); margin-bottom: 0.3rem;
}
.car-card-name {
  font-family: var(--font-head); font-size: 1.2rem; font-weight: 700;
  color: var(--primary-dark); margin-bottom: 0.75rem;
}
.car-card-specs {
  display: flex; gap: 1rem; margin-bottom: 1.25rem; flex-wrap: wrap;
}
.car-spec {
  display: flex; align-items: center; gap: 0.35rem;
  font-size: 0.82rem; color: var(--gray);
}
.car-spec svg { width: 15px; height: 15px; color: var(--primary); }

.car-card-footer { display: flex; align-items: center; justify-content: space-between; }
.car-price .amount {
  font-family: var(--font-head); font-size: 1.5rem; font-weight: 800; color: var(--primary-dark);
}
.car-price .per { font-size: 0.8rem; color: var(--gray); }

.car-rating {
  display: flex; align-items: center; gap: 0.3rem;
  font-size: 0.82rem; color: var(--gray);
}
.car-rating .stars { color: #f59e0b; display: flex; }
.car-rating .stars svg { width: 14px; height: 14px; }

/* Trending horizontal scroll */
.trending-scroll { position: relative; }
.trending-scroll .scroll-track {
  display: flex; gap: 1.5rem; overflow-x: auto; padding-bottom: 1rem;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.trending-scroll .scroll-track::-webkit-scrollbar { display: none; }
.trending-scroll .scroll-track .car-card {
  min-width: 300px; scroll-snap-align: start; flex-shrink: 0;
}
.scroll-arrows {
  display: flex; gap: 0.5rem; margin-top: 1.5rem; justify-content: center;
}
.scroll-arrow {
  width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--white); border: 2px solid var(--border); color: var(--primary);
  transition: var(--transition); cursor: pointer;
}
.scroll-arrow:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }
.scroll-arrow svg { width: 20px; height: 20px; }

/* ============================================================
   BRANDS SECTION
   ============================================================ */
.brands-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 1.25rem;
}
.brand-card {
  background: var(--white); border: 2px solid var(--border); border-radius: var(--radius);
  padding: 1.5rem 1rem; text-align: center; transition: var(--transition); cursor: pointer;
}
.brand-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow); }
.brand-card img { height: 40px; width: auto; margin: 0 auto 0.75rem; object-fit: contain; }
.brand-card .brand-name { font-weight: 700; font-size: 0.9rem; color: var(--primary-dark); }
.brand-card .brand-count { font-size: 0.78rem; color: var(--gray); margin-top: 0.2rem; }
.brand-logo-text {
  font-family: var(--font-head); font-size: 1.1rem; font-weight: 800;
  color: var(--primary); margin-bottom: 0.75rem; height: 40px; display: flex; align-items: center; justify-content: center;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 2rem; }
.step-card { text-align: center; padding: 2rem 1.5rem; position: relative; }
.step-card::after {
  content: ''; position: absolute; top: 2.5rem; right: -1rem;
  width: 2rem; height: 2px; background: var(--border);
}
.step-card:last-child::after { display: none; }
.step-icon {
  width: 72px; height: 72px; border-radius: 20px;
  background: linear-gradient(135deg, var(--primary), #9333ea);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 1.25rem;
  box-shadow: 0 8px 24px rgba(107,33,168,0.3);
}
.step-icon svg { width: 32px; height: 32px; color: var(--white); }
.step-num {
  position: absolute; top: 1.75rem; right: 50%; transform: translateX(2rem);
  width: 24px; height: 24px; border-radius: 50%; background: var(--accent);
  color: var(--white); font-size: 0.72rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.step-card h3 { font-size: 1.1rem; color: var(--primary-dark); margin-bottom: 0.5rem; }
.step-card p { color: var(--gray); font-size: 0.9rem; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 1.75rem; }
.testimonial-card {
  background: var(--white); border-radius: var(--radius); padding: 2rem;
  box-shadow: 0 4px 20px rgba(107,33,168,0.08); border: 1px solid var(--border);
  transition: var(--transition);
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.testimonial-stars { color: #f59e0b; display: flex; gap: 2px; margin-bottom: 1rem; }
.testimonial-stars svg { width: 18px; height: 18px; }
.testimonial-text { color: var(--text); line-height: 1.7; margin-bottom: 1.5rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-avatar {
  width: 46px; height: 46px; border-radius: 50%; object-fit: cover;
  background: linear-gradient(135deg, var(--primary), #9333ea);
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-weight: 700; font-size: 1rem; font-family: var(--font-head);
  flex-shrink: 0;
}
.testimonial-avatar img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.testimonial-name { font-weight: 700; font-size: 0.95rem; color: var(--primary-dark); }
.testimonial-role { font-size: 0.8rem; color: var(--gray); }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  border-radius: 2rem; padding: 4rem; text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(249,115,22,0.15) 0%, transparent 60%);
}
.cta-section * { position: relative; z-index: 1; }
.cta-section h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); color: var(--white); margin-bottom: 1rem; }
.cta-section p { color: rgba(255,255,255,0.75); font-size: 1.05rem; margin-bottom: 2rem; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   NEWSLETTER
   ============================================================ */
.newsletter-section { background: var(--light); }
.newsletter-box {
  display: flex; gap: 1rem; max-width: 520px; margin: 1.5rem auto 0;
}
.newsletter-box input {
  flex: 1; padding: 0.85rem 1.25rem; border: 2px solid var(--border);
  border-radius: var(--radius-pill); font-family: var(--font-body); font-size: 0.95rem;
  outline: none; transition: var(--transition);
}
.newsletter-box input:focus { border-color: var(--primary); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--primary-dark); color: rgba(255,255,255,0.75); padding: 4rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; }
.footer-brand .logo-text { font-family: var(--font-head); font-size: 1.4rem; font-weight: 800; color: var(--white); }
.footer-brand .logo-text span { color: var(--accent); }
.footer-brand p { margin-top: 0.75rem; line-height: 1.7; font-size: 0.9rem; max-width: 280px; }
.footer-social { display: flex; gap: 0.75rem; margin-top: 1.25rem; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.7);
  display: flex; align-items: center; justify-content: center; transition: var(--transition);
}
.footer-social a:hover { background: var(--accent); color: var(--white); }
.footer-social a svg { width: 18px; height: 18px; }
.footer-col h4 { font-family: var(--font-head); font-weight: 700; color: var(--white); margin-bottom: 1.25rem; font-size: 1rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul a { font-size: 0.9rem; transition: var(--transition); }
.footer-col ul a:hover { color: var(--accent); padding-left: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); margin-top: 3rem; padding: 1.5rem 0;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-size: 0.85rem; }

/* ============================================================
   PAGE HEADER
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 7rem 0 4rem; text-align: center; position: relative; overflow: hidden;
}
.page-hero h1 { color: var(--white); font-size: clamp(2rem,5vw,3rem); }
.page-hero p { color: rgba(255,255,255,0.75); margin-top: 0.75rem; font-size: 1.05rem; }
.breadcrumb {
  display: flex; align-items: center; gap: 0.5rem; justify-content: center;
  margin-top: 1rem; font-size: 0.85rem; color: rgba(255,255,255,0.6);
}
.breadcrumb a { color: var(--accent); }
.breadcrumb svg { width: 14px; height: 14px; }

/* ============================================================
   CARS PAGE / FILTER SIDEBAR
   ============================================================ */
.cars-layout { display: grid; grid-template-columns: 280px 1fr; gap: 2rem; }
.filter-sidebar {
  background: var(--white); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: 0 4px 20px rgba(107,33,168,0.08);
  height: fit-content; position: sticky; top: 88px;
  border: 1px solid var(--border);
}
.filter-group { margin-bottom: 1.75rem; padding-bottom: 1.75rem; border-bottom: 1px solid var(--border); }
.filter-group:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.filter-group h4 { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--gray); margin-bottom: 0.75rem; }
.filter-option { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.5rem; cursor: pointer; }
.filter-option input[type=checkbox], .filter-option input[type=radio] { accent-color: var(--primary); width: 16px; height: 16px; }
.filter-option label { font-size: 0.9rem; cursor: pointer; }
.price-range { width: 100%; accent-color: var(--primary); }

/* ============================================================
   CAR DETAIL PAGE
   ============================================================ */
.car-detail-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: start; }
.car-gallery .main-img {
  border-radius: var(--radius); overflow: hidden; height: 380px; background: var(--light);
}
.car-gallery .main-img img { width: 100%; height: 100%; object-fit: cover; }
.car-gallery .thumbs { display: flex; gap: 0.75rem; margin-top: 0.75rem; }
.car-gallery .thumb {
  width: 80px; height: 64px; border-radius: 8px; overflow: hidden;
  border: 2px solid transparent; cursor: pointer; transition: var(--transition);
}
.car-gallery .thumb:hover, .car-gallery .thumb.active { border-color: var(--primary); }
.car-gallery .thumb img { width: 100%; height: 100%; object-fit: cover; }

.car-detail-info h1 { font-size: 2rem; color: var(--primary-dark); }
.car-detail-info .brand-tag { color: var(--primary); font-weight: 600; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.05em; }
.car-specs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin: 1.5rem 0; }
.car-spec-item {
  background: var(--light); border-radius: var(--radius-sm); padding: 1rem;
  display: flex; align-items: center; gap: 0.75rem;
}
.car-spec-item svg { width: 24px; height: 24px; color: var(--primary); flex-shrink: 0; }
.car-spec-item .spec-label { font-size: 0.75rem; color: var(--gray); text-transform: uppercase; letter-spacing: 0.03em; }
.car-spec-item .spec-val { font-weight: 700; font-size: 0.95rem; color: var(--primary-dark); }

.car-price-box {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: var(--radius); padding: 2rem; color: var(--white);
}
.car-price-big { font-family: var(--font-head); font-size: 2.5rem; font-weight: 800; }
.car-price-big span { font-size: 1rem; font-weight: 400; opacity: 0.7; }

/* ============================================================
   BOOKING FORM
   ============================================================ */
.booking-card {
  background: var(--white); border-radius: var(--radius); padding: 2rem;
  box-shadow: var(--shadow); border: 1px solid var(--border); position: sticky; top: 88px;
}
.booking-card h3 { font-size: 1.2rem; color: var(--primary-dark); margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--gray); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.5rem; }
.form-control {
  width: 100%; padding: 0.75rem 1rem; border: 2px solid var(--border);
  border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 0.95rem;
  color: var(--text); background: var(--white); outline: none; transition: var(--transition);
}
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(107,33,168,0.1); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.price-summary { background: var(--light); border-radius: var(--radius-sm); padding: 1.25rem; margin: 1.25rem 0; }
.price-row { display: flex; justify-content: space-between; font-size: 0.9rem; margin-bottom: 0.5rem; }
.price-row.total { font-weight: 700; font-size: 1.05rem; color: var(--primary-dark); border-top: 1px solid var(--border); padding-top: 0.75rem; margin-top: 0.5rem; }

/* ============================================================
   PAYMENT METHODS
   ============================================================ */
.payment-methods { display: flex; flex-direction: column; gap: 0.75rem; }
.payment-option {
  display: flex; align-items: center; gap: 0.75rem; padding: 1rem;
  border: 2px solid var(--border); border-radius: var(--radius-sm); cursor: pointer; transition: var(--transition);
}
.payment-option:hover { border-color: var(--primary); }
.payment-option.selected { border-color: var(--primary); background: rgba(107,33,168,0.04); }
.payment-option input { accent-color: var(--primary); }
.payment-option .pm-icon {
  width: 40px; height: 30px; border-radius: 6px; object-fit: contain;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.7rem;
}
.pm-paystack { background: #0ba4db; color: var(--white); }
.pm-bank { background: #1a6b3a; color: var(--white); }
.pm-momo { background: #ffd200; color: #1a0533; }
.payment-option .pm-name { font-weight: 600; font-size: 0.9rem; }
.payment-option .pm-desc { font-size: 0.78rem; color: var(--gray); }

/* ============================================================
   ALERTS / FLASH MESSAGES
   ============================================================ */
.alert {
  padding: 1rem 1.25rem; border-radius: var(--radius-sm); margin-bottom: 1rem;
  display: flex; align-items: center; gap: 0.75rem; font-size: 0.9rem;
}
.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 svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ============================================================
   BOOKING CONFIRMATION
   ============================================================ */
.booking-success {
  text-align: center; padding: 3rem 2rem; background: var(--white);
  border-radius: var(--radius); box-shadow: var(--shadow); max-width: 600px; margin: 0 auto;
}
.success-icon {
  width: 80px; height: 80px; border-radius: 50%;
  background: linear-gradient(135deg, #10b981, #059669);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem;
  box-shadow: 0 8px 24px rgba(16,185,129,0.3);
}
.success-icon svg { width: 40px; height: 40px; color: var(--white); }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 3rem; }
.contact-info-card {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: var(--radius); padding: 2.5rem; color: var(--white);
}
.contact-info-card h2 { font-size: 1.75rem; margin-bottom: 0.75rem; }
.contact-info-card p { opacity: 0.8; margin-bottom: 2rem; }
.contact-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; }
.contact-item-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-item-icon svg { width: 22px; height: 22px; color: var(--accent); }
.contact-item .ci-title { font-weight: 700; font-size: 0.9rem; margin-bottom: 0.2rem; }
.contact-item .ci-val { font-size: 0.88rem; opacity: 0.8; }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination { display: flex; gap: 0.5rem; justify-content: center; margin-top: 3rem; flex-wrap: wrap; }
.pagination a, .pagination span {
  width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; font-weight: 600; border: 2px solid var(--border); transition: var(--transition);
}
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination .active { background: var(--primary); border-color: var(--primary); color: var(--white); }

/* ============================================================
   LOADING / SKELETON
   ============================================================ */
.skeleton { background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: var(--radius-sm); }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-in { opacity: 0; transition: opacity 0.6s ease; }
.fade-in.visible { opacity: 1; }
.slide-left { opacity: 0; transform: translateX(-30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.slide-left.visible { opacity: 1; transform: translateX(0); }
.slide-right { opacity: 0; transform: translateX(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.slide-right.visible { opacity: 1; transform: translateX(0); }

/* stagger delays */
.delay-1 { transition-delay: 0.1s !important; }
.delay-2 { transition-delay: 0.2s !important; }
.delay-3 { transition-delay: 0.3s !important; }
.delay-4 { transition-delay: 0.4s !important; }
.delay-5 { transition-delay: 0.5s !important; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cars-layout { grid-template-columns: 1fr; }
  .filter-sidebar { position: static; }
  .car-detail-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .search-bar .search-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-menu { display: none; }
  .hamburger { display: flex; }
  .hero-stats { gap: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .step-card::after { display: none; }
  .cta-section { padding: 2.5rem 1.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .cars-grid { grid-template-columns: 1fr; }
  .search-bar { padding: 1.25rem; }
  .search-bar .search-grid { grid-template-columns: 1fr; }
  .booking-card { position: static; }
  .car-specs-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .section { padding: 3rem 0; }
  .hero-content h1 { font-size: 2rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .steps-grid { grid-template-columns: 1fr; }
  .brands-grid { grid-template-columns: repeat(2, 1fr); }
  .newsletter-box { flex-direction: column; }
}
