/* ============================================================
   FRONTEND APP.CSS — Car Rental Platform
   Luxury/Dark theme inspired by mkrentacar.com
   ============================================================ */

/* ── Variables ──────────────────────────────────────────── */
:root {
  --gold:        #C9A84C;
  --gold-light:  #E2C97E;
  --gold-dark:   #9B7A2A;
  --dark:        #0A0A0A;
  --dark-2:      #111111;
  --dark-3:      #1A1A1A;
  --dark-4:      #222222;
  --dark-5:      #2D2D2D;
  --white:       #FFFFFF;
  --gray-100:    #F5F5F5;
  --gray-200:    #E5E5E5;
  --gray-400:    #9CA3AF;
  --gray-600:    #6B7280;
  --text:        #1A1A1A;
  --text-muted:  #6B7280;
  --border:      rgba(201,168,76,0.15);
  --radius-sm:   6px;
  --radius:      10px;
  --radius-lg:   18px;
  --shadow-sm:   0 2px 8px rgba(0,0,0,0.08);
  --shadow:      0 8px 30px rgba(0,0,0,0.12);
  --shadow-lg:   0 20px 60px rgba(0,0,0,0.18);
  --trans:       all 0.3s cubic-bezier(0.4,0,0.2,1);
  --font-main:   'ARBFONTS-MONTSERRAT-ARABIC', 'Montserrat', 'Noto Kufi Arabic', sans-serif;
  --font-display: 'ARBFONTS-MONTSERRAT-ARABIC', 'Cormorant Garamond', serif;
  --nav-h:       70px;
  --topbar-h:    38px;
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-main);
  font-size: 15px;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.65;
}
body.rtl { direction: rtl; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul { list-style: none; }
input, select, textarea {
  font-family: inherit;
  font-size: 14px;
  outline: none;
}

/* ── Container ──────────────────────────────────────────── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Preloader ──────────────────────────────────────────── */
#preloader {
  position: fixed; inset: 0;
  background: var(--dark);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-inner { text-align: center; }
.preloader-logo img { height: 60px; margin: 0 auto 24px; }
.preloader-text {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--gold);
  letter-spacing: 4px;
  margin-bottom: 24px;
  display: block;
}
.preloader-bar {
  width: 200px;
  height: 2px;
  background: var(--dark-5);
  border-radius: 2px;
  overflow: hidden;
  margin: 0 auto;
}
.preloader-bar span {
  display: block;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light));
  border-radius: 2px;
  animation: preloader-slide 1.2s ease-in-out infinite;
}
@keyframes preloader-slide {
  0%   { transform: translateX(-100%); }
  50%  { transform: translateX(150%); }
  100% { transform: translateX(400%); }
}

/* ════════════════════════════════════════════════════════
   HEADER / NAVBAR
════════════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: var(--trans);
}
 
/* Topbar */
.header-topbar {
  background: transparent;
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  height: var(--topbar-h);
  display: flex; align-items: center;
  /* border-bottom: 1px solid rgba(201,168,76,0.1); */
  transition: height 0.3s ease, opacity 0.3s ease;
}
.site-header.scrolled .header-topbar { height: 0; overflow: hidden; opacity: 0; }
.topbar-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  width: 100%;
}
.topbar-phone {
  display: flex; align-items: center; gap: 6px;
  color: var(--gold-light);
  font-weight: 500;
  transition: color 0.2s;
}
.topbar-phone:hover { color: var(--gold); }
.topbar-right { display: flex; align-items: center; gap: 16px; }

/* Lang Switcher */
.lang-switcher { display: flex; gap: 8px; }
.lang-item {
  display: flex; align-items: center; gap: 4px;
  padding: 2px 8px;
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 4px;
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  transition: var(--trans);
}
.lang-item:hover { border-color: var(--gold); color: var(--gold); }

/* Currency Switcher */
.currency-switcher { position: relative; }
.currency-toggle {
  display: flex; align-items: center; gap: 4px;
  padding: 2px 8px;
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 4px;
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  transition: var(--trans);
}
.currency-toggle:hover { border-color: var(--gold); color: var(--gold); }
.currency-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  min-width: 120px;
  opacity: 0; visibility: hidden;
  transform: translateY(-8px);
  transition: var(--trans);
  overflow: hidden;
  z-index: 150;
}
.currency-switcher:hover .currency-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.currency-item {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  transition: background 0.2s;
}
.currency-item:hover, .currency-item.active { background: rgba(201,168,76,0.1); color: var(--gold); }

/* Main Nav */
.main-nav {
  background: transparent;
  /* backdrop-filter: blur(20px); */
  /* -webkit-backdrop-filter: blur(20px); */
  /* border-bottom: 1px solid rgba(201,168,76,0.15); */
  height: var(--nav-h);
}
.nav-inner {
  height: var(--nav-h);
  display: flex; align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Logo */
.nav-logo {
  flex-shrink: 0;
  display: flex; align-items: center;
}
.logo-img { height: 44px; width: auto; }
.logo-dark { display: none; }
.logo-text {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--gold);
  letter-spacing: 2px;
}

/* Nav Menu */
.nav-menu {
  display: flex; align-items: center; gap: 4px;
  flex: 1;
  justify-content: center;
}
.nav-item { position: relative; }
.nav-link {
  display: flex; align-items: center; gap: 4px;
  padding: 8px 14px;
  color: rgba(255,255,255,0.85);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.3px;
  border-radius: var(--radius-sm);
  transition: var(--trans);
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: var(--gold); }
.nav-link .chevron { transition: transform 0.25s; }
.nav-item.has-dropdown:hover .nav-link .chevron { transform: rotate(180deg); }

/* Dropdowns */
.dropdown-panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 200;
  min-width: 240px;
}
.nav-item.has-dropdown:hover .dropdown-panel {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.rtl .dropdown-panel { left: auto; right: 50%; transform: translateX(50%) translateY(-10px); }
.rtl .nav-item.has-dropdown:hover .dropdown-panel { transform: translateX(50%) translateY(0); }

/* Types Dropdown */
.dropdown-types { min-width: 360px; padding: 20px; }
.types-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.type-card {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 12px 8px;
  border-radius: var(--radius-sm);
  text-align: center;
  color: rgba(255,255,255,0.8);
  font-size: 12px;
  font-weight: 500;
  transition: var(--trans);
}
.type-card:hover { background: rgba(201,168,76,0.1); color: var(--gold); }
.type-icon img { width: 36px; height: 36px; object-fit: contain; filter: brightness(0.8); }
.type-card:hover .type-icon img { filter: brightness(1); }

/* Mega Panel */
.mega-panel { min-width: 600px; padding: 24px; left: 50%; }
.mega-brands-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
.brand-mega-item {
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  padding: 10px 6px;
  border-radius: var(--radius-sm);
  text-align: center;
  color: rgba(255,255,255,0.75);
  font-size: 11px;
  font-weight: 500;
  transition: var(--trans);
}
.brand-mega-item:hover { background: rgba(201,168,76,0.1); color: var(--gold); }
.brand-mega-item img {
  width: 38px; height: 24px;
  object-fit: contain;
  filter: brightness(0.7) grayscale(0.2);
}
.brand-mega-item:hover img { filter: brightness(1) grayscale(0); }

/* Nav Actions */
.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.btn-icon {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: rgba(255,255,255,0.7);
  transition: var(--trans);
}
.btn-icon:hover { background: rgba(201,168,76,0.1); color: var(--gold); }
.btn-nav-cta {
  padding: 9px 20px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--dark);
  font-size: 13px;
  font-weight: 700;
  border-radius: 50px;
  letter-spacing: 0.3px;
  transition: var(--trans);
  box-shadow: 0 4px 15px rgba(201,168,76,0.3);
}
.btn-nav-cta:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(201,168,76,0.45);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  width: 36px; height: 36px;
  align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  transition: var(--trans);
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: rgba(255,255,255,0.85);
  border-radius: 2px;
  transition: var(--trans);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0; right: -100%;
  width: 300px; height: 100vh;
  background: var(--dark-2);
  z-index: 1100;
  transition: right 0.35s cubic-bezier(0.4,0,0.2,1);
  display: flex; flex-direction: column;
  box-shadow: -10px 0 40px rgba(0,0,0,0.4);
}
.rtl .mobile-drawer { right: auto; left: -100%; }
.mobile-drawer.open { right: 0; }
.rtl .mobile-drawer.open { left: 0; right: auto; }
.drawer-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1090;
  opacity: 0; visibility: hidden;
  transition: var(--trans);
  backdrop-filter: blur(4px);
}
.drawer-overlay.open { opacity: 1; visibility: visible; }
.drawer-header {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}
.drawer-close {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: rgba(255,255,255,0.7);
  transition: var(--trans);
}
.drawer-close:hover { background: rgba(201,168,76,0.1); color: var(--gold); }
.drawer-body { flex: 1; overflow-y: auto; padding: 16px 0; }
.drawer-menu { padding: 0 8px; }
.drawer-menu > li > a,
.drawer-toggle {
  display: flex; align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 16px;
  color: rgba(255,255,255,0.8);
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: var(--trans);
}
.drawer-menu > li > a:hover,
.drawer-toggle:hover { background: rgba(201,168,76,0.08); color: var(--gold); }
.drawer-sub {
  padding-left: 16px;
  margin: 4px 0;
  display: none;
}
.rtl .drawer-sub { padding-left: 0; padding-right: 16px; }
.drawer-sub.open { display: block; }
.drawer-sub li a {
  display: block;
  padding: 8px 16px;
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  border-radius: var(--radius-sm);
  transition: color 0.2s;
}
.drawer-sub li a:hover { color: var(--gold); }
.drawer-phone {
  display: flex; align-items: center; gap: 10px;
  margin: 16px;
  padding: 14px 16px;
  background: rgba(201,168,76,0.1);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--gold);
  font-weight: 600;
  font-size: 15px;
}

/* Header push padding */
#main-content { padding-top: calc(var(--topbar-h) + var(--nav-h)); }
.site-header.scrolled #main-content { padding-top: var(--nav-h); }

/* ════════════════════════════════════════════════════════
   HERO SECTION
════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  height: calc(100vh - var(--topbar-h) - var(--nav-h));
  min-height: 580px;
  max-height: 900px;
  overflow: hidden;
}
.hero-slider, .hero-default { width: 100%; height: 100%; position: relative; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0,0,0,0.75) 0%,
    rgba(0,0,0,0.4) 60%,
    rgba(0,0,0,0.2) 100%
  );
}
.hero-slide-content {
  position: absolute;
  bottom: 15%;
  left: 10%;
  max-width: 620px;
  z-index: 2;
}
.rtl .hero-slide-content { left: auto; right: 10%; }
.hero-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  position: relative;
  padding-left: 36px;
}
.hero-eyebrow::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 24px; height: 1px;
  background: var(--gold);
}
.rtl .hero-eyebrow { padding-left: 0; padding-right: 36px; }
.rtl .hero-eyebrow::before { left: auto; right: 0; }
.hero-title {
  font-family: var(--font-display);
  /* font-size: clamp(42px, 6vw, 80px); */
  font-size: clamp(32px, 4.5vw, 58px) !important;
  font-weight: 600;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 18px;
  animation: hero-in 0.8s ease forwards;
}
.hero-subtitle {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
  line-height: 1.6;
  max-width: 480px;
  animation: hero-in 0.8s 0.15s ease forwards;
  opacity: 0;
}
.hero-actions {
  display: flex; gap: 14px; flex-wrap: wrap;
  animation: hero-in 0.8s 0.3s ease forwards;
  opacity: 0;
}
@keyframes hero-in {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.btn-hero-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--dark);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
  border-radius: 50px;
  transition: var(--trans);
  box-shadow: 0 6px 24px rgba(201,168,76,0.4);
}
.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(201,168,76,0.55);
}
.btn-hero-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 30px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  color: var(--white);
  font-weight: 600;
  font-size: 14px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50px;
  transition: var(--trans);
}
.btn-hero-secondary:hover { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.5); }

/* Slider Controls */
.slider-btn {
  position: absolute; top: 50%; z-index: 10;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(10,10,10,0.6);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 50%;
  color: var(--white);
  transition: var(--trans);
  backdrop-filter: blur(10px);
}
.slider-btn:hover { background: var(--gold); color: var(--dark); border-color: var(--gold); }
.slider-prev { left: 24px; }
.slider-next { right: 24px; }
.slider-dots {
  position: absolute; bottom: 24px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 10;
}
.slider-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  transition: var(--trans);
}
.slider-dot.active {
  background: var(--gold);
  width: 24px;
  border-radius: 4px;
}

/* Trust Bar */
.hero-trust-bar {
  position: absolute; bottom: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: center;
  gap: 20px;
  background: rgba(10,10,10,0.8);
  backdrop-filter: blur(20px);
  padding: 14px 24px;
  border-top: 1px solid rgba(201,168,76,0.15);
  z-index: 5;
  flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 7px;
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  font-weight: 500;
}
.trust-item svg { color: var(--gold); }
.trust-divider { color: rgba(201,168,76,0.4); font-size: 18px; }

/* ════════════════════════════════════════════════════════
   QUICK SEARCH
════════════════════════════════════════════════════════ */
.quick-search-section {
  background: var(--dark-3);
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.quick-search-form {}
.qs-fields {
  display: flex; align-items: flex-end; gap: 12px;
  flex-wrap: wrap;
}
.qs-field {
  flex: 1; min-width: 160px;
    width: 100%;
}
.qs-field label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.qs-field select,
.qs-field input {
  width: 100%;
  padding: 11px 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-size: 13.5px;
  transition: border-color 0.2s;
}
.qs-field select:focus,
.qs-field input:focus { border-color: var(--gold); }
.qs-field select option { background: var(--dark-3); }
.qs-submit {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 28px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--dark);
  font-weight: 700;
  font-size: 14px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: var(--trans);
  box-shadow: 0 4px 15px rgba(201,168,76,0.3);
  flex-shrink: 0;
}
.qs-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(201,168,76,0.45);
}

/* ════════════════════════════════════════════════════════
   BRANDS TICKER
════════════════════════════════════════════════════════ */
.brands-ticker-section {
  direction: ltr;
  background: var(--dark-2);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 18px 0;
}
.brands-ticker-wrap { overflow: hidden; }
.brands-ticker {
  display: flex; align-items: center; gap: 40px;
  width: max-content;
  animation: ticker-scroll 40s linear infinite;
}
.brands-ticker:hover { animation-play-state: paused; }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.ticker-brand-item {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 16px;
  border: 1px solid rgba(201,168,76,0.1);
  border-radius: 40px;
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  transition: var(--trans);
  flex-shrink: 0;
}
.ticker-brand-item:hover { border-color: var(--gold); color: var(--gold); }
.ticker-brand-item img { height: 20px; width: auto; filter: brightness(0.6) grayscale(0.3); }
.ticker-brand-item:hover img { filter: brightness(1) grayscale(0); }

/* ════════════════════════════════════════════════════════
   SECTIONS COMMONS
════════════════════════════════════════════════════════ */
.section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header-left { text-align: left; }
.rtl .section-header-left { text-align: right; }
.section-header-split {
  display: flex; align-items: flex-start;
  justify-content: space-between; gap: 24px;
  text-align: left; margin-bottom: 40px;
  flex-wrap: wrap;
}
.rtl .section-header-split { text-align: right; }
.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 600;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 12px;
}
.section-desc {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
}
.section-header-left .section-desc,
.section-header-split .section-desc { margin: 0; }
.section-cta {
  text-align: center;
  margin-top: 40px;
}

/* ── Buttons ─────────────────────────────────────────── */
.btn-outline {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 11px 24px;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  font-weight: 600;
  font-size: 13.5px;
  border-radius: 50px;
  transition: var(--trans);
}
.btn-outline:hover { background: var(--gold); color: var(--dark); }
.btn-outline-sm { padding: 8px 18px; font-size: 13px; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--dark);
  font-weight: 700;
  font-size: 14px;
  border-radius: 50px;
  transition: var(--trans);
  box-shadow: 0 4px 15px rgba(201,168,76,0.3);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(201,168,76,0.45);
}

/* ════════════════════════════════════════════════════════
   CATEGORIES
════════════════════════════════════════════════════════ */
.categories-section { background: var(--gray-100); }
.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.category-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/9;
  cursor: pointer;
  display: flex; align-items: flex-end;
}
.category-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}
.category-bg-gradient { background: linear-gradient(135deg, var(--dark-3), var(--dark-5)); }
.category-card:hover .category-bg { transform: scale(1.06); }
.category-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.1) 60%);
  transition: var(--trans);
}
.category-card:hover .category-overlay { background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 60%); }
.category-content {
  position: relative;
  z-index: 2;
  padding: 45px;
  width: 100%;
  height: 100%;
}
.category-icon { width: 100%; height: 100%; object-fit: cover !important; margin-bottom: 8px; filter: brightness(0.85); }
.category-name {
  color: var(--white);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}
.category-count {
  color: var(--gold);
  font-size: 13px;
  font-weight: 500;
}

/* ════════════════════════════════════════════════════════
   CAR CARD
════════════════════════════════════════════════════════ */
.cars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.car-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.05);
  transition: var(--trans);
}
.car-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

/* Card Image */
.car-card-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
  background: var(--gray-100);
}
.car-card-img-link { display: block; width: 100%; height: 100%; }
.car-card-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.car-card:hover .car-card-img { transform: scale(1.04); }

/* Card Badges */
.car-card-badges {
  position: absolute; top: 12px; left: 12px;
  display: flex; flex-direction: column; gap: 5px;
}
.rtl .car-card-badges { left: auto; right: 12px; }
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.badge-featured { background: var(--gold); color: var(--dark); }
.badge-available { background: rgba(16,185,129,0.15); color: #10B981; border: 1px solid rgba(16,185,129,0.3); }

/* Wishlist */
.card-wishlist-btn {
  position: absolute; top: 12px; right: 12px;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.95);
  border-radius: 50%;
  color: var(--gray-400);
  transition: var(--trans);
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.rtl .card-wishlist-btn { right: auto; left: 12px; }
.card-wishlist-btn:hover, .card-wishlist-btn.active { color: #EF4444; }
.card-wishlist-btn.active svg { fill: #EF4444; }

/* Quick Actions */
.card-quick-actions {
  position: absolute;
  /* bottom: -60px;  */
  left: 0; right: 0;
  display: flex; gap: 0;
  transition: bottom 0.3s ease;
}
.car-card:hover .card-quick-actions { bottom: 0; }
.card-book-btn {
  flex: 1;
  padding: 12px;
  background: var(--gold);
  color: var(--dark);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  transition: background 0.2s;
}
.card-book-btn:hover { background: var(--gold-light); }
.card-wa-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 12px 16px;
  background: #25D366;
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}
.card-wa-btn:hover { background: #1EB05A; }

/* Card Body */
.car-card-body { padding: 18px; }
.car-card-meta {
  display: flex; gap: 6px; margin-bottom: 8px; flex-wrap: wrap;
}
.car-brand-tag, .car-type-tag {
  display: inline-block;
  padding: 2px 8px;
  background: rgba(201,168,76,0.08);
  color: var(--gold-dark);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 4px;
  border: 1px solid rgba(201,168,76,0.2);
}
.car-card-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.3;
}
.car-card-name a { color: inherit; transition: color 0.2s; }
.car-card-name a:hover { color: var(--gold-dark); }

/* Specs */
.car-specs {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--gray-200);
}
.spec-item {
  display: flex; align-items: center; gap: 4px;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}
.spec-item svg { color: var(--gold); }

/* Card Footer */
.car-card-footer {
  display: flex; align-items: center;
  justify-content: space-between;
}
.car-price { display: flex; align-items: baseline; gap: 4px; }
.price-label { font-size: 11px; color: var(--text-muted); }
.price-value { font-size: 22px; font-weight: 800; color: var(--dark); }
.price-period { font-size: 12px; color: var(--text-muted); }
.card-view-link {
  display: flex; align-items: center; gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-dark);
  transition: gap 0.2s;
}
.card-view-link:hover { gap: 6px; }

/* Car Tabs */
.cars-tabs {
  display: flex; gap: 6px;
  margin-bottom: 32px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.cars-tabs::-webkit-scrollbar { display: none; }
.cars-tab {
  padding: 9px 20px;
  border-radius: 50px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-muted);
  border: 1.5px solid var(--gray-200);
  white-space: nowrap;
  transition: var(--trans);
}
.cars-tab:hover { border-color: var(--gold); color: var(--gold-dark); }
.cars-tab.active {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--dark);
  border-color: transparent;
}
.cars-tab-panel { display: none; }
.cars-tab-panel.active { display: block; }

/* ════════════════════════════════════════════════════════
   OFFERS SLIDER
════════════════════════════════════════════════════════ */
.offers-section { background: var(--dark); }
.offers-section .section-title { color: var(--white); }
.offers-section .section-eyebrow { color: var(--gold-light); }
.offers-section .section-desc { color: rgba(255,255,255,0.6); }
.offers-section .btn-outline { border-color: rgba(255,255,255,0.3); color: rgba(255,255,255,0.8); }
.offers-section .btn-outline:hover { background: var(--gold); border-color: var(--gold); color: var(--dark); }
.offers-slider {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-dark) transparent;
}
.offers-slider::-webkit-scrollbar { height: 4px; }
.offers-slider::-webkit-scrollbar-track { background: rgba(255,255,255,0.05); }
.offers-slider::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 2px; }
.offers-slider .car-card { min-width: 280px; }
.offers-nav {
  display: flex; justify-content: center; gap: 12px; margin-top: 24px;
}
.offers-prev, .offers-next {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.3);
  color: rgba(255,255,255,0.7);
  transition: var(--trans);
}
.offers-prev:hover, .offers-next:hover { background: var(--gold); color: var(--dark); border-color: var(--gold); }

/* ════════════════════════════════════════════════════════
   STATS
════════════════════════════════════════════════════════ */
.stats-section {
  background: linear-gradient(135deg, var(--dark-3), var(--dark-2));
  padding: 60px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 24px 20px;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.rtl .stat-item { border-right: none; border-left: 1px solid var(--border); }
.rtl .stat-item:last-child { border-left: none; }
.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* ════════════════════════════════════════════════════════
   WHY US
════════════════════════════════════════════════════════ */
.why-section { background: var(--white); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.why-card {
  padding: 32px 28px;
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: var(--radius-lg);
  background: var(--white);
  transition: var(--trans);
  position: relative;
  overflow: hidden;
}
.why-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.why-card:hover::before { transform: scaleX(1); }
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(201,168,76,0.2);
}
.why-icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(201,168,76,0.08);
  border-radius: var(--radius);
  color: var(--gold);
  margin-bottom: 18px;
  transition: background 0.3s;
}
.why-card:hover .why-icon { background: rgba(201,168,76,0.15); }
.why-title {
  font-size: 17px; font-weight: 700;
  margin-bottom: 10px;
  color: var(--dark);
}
.why-desc { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* ════════════════════════════════════════════════════════
   REVIEWS
════════════════════════════════════════════════════════ */
.reviews-section { background: var(--gray-100); }
.reviews-slider {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: var(--shadow-sm);
  transition: var(--trans);
}
.review-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.review-stars { display: flex; gap: 3px; margin-bottom: 14px; }
.review-comment {
  font-size: 14.5px;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 20px;
  font-style: italic;
}
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--gold);
  display: flex; align-items: center; justify-content: center;
  color: var(--dark);
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}
.review-avatar img { width: 100%; height: 100%; object-fit: cover; }
.review-author-info { display: flex; flex-direction: column; gap: 3px; }
.review-author-info strong { font-size: 14px; font-weight: 700; }
.review-verified {
  display: inline-flex; align-items: center; gap: 3px;
  font-size: 12px;
  color: #10B981;
}
.review-nationality { font-size: 12px; color: var(--text-muted); }

/* ════════════════════════════════════════════════════════
   BRANDS SHOWCASE
════════════════════════════════════════════════════════ */
.brands-grid-display {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  align-items: center;
}
.brand-display-item {
  display: flex; align-items: center; justify-content: center;
  padding: 18px 16px;
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: var(--radius);
  background: var(--white);
  transition: var(--trans);
}
.brand-display-item:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 16px rgba(201,168,76,0.1);
  transform: translateY(-2px);
}
.brand-display-item img {
  height: 36px; width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(0.4) opacity(0.7);
  transition: filter 0.3s;
}
.brand-display-item:hover img { filter: grayscale(0) opacity(1); }
.brand-display-item span {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

/* ════════════════════════════════════════════════════════
   FAQ
════════════════════════════════════════════════════════ */
.faq-inner {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 60px;
  align-items: start;
}
.faq-section { background: var(--white); }
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item {
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--trans);
}
.faq-item.open { border-color: rgba(201,168,76,0.3); box-shadow: 0 4px 16px rgba(201,168,76,0.08); }
.faq-question {
  width: 100%;
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  gap: 12px;
  transition: var(--trans);
}
.rtl .faq-question { text-align: right; }
.faq-question:hover { color: var(--gold-dark); }
.faq-item.open .faq-question { color: var(--gold-dark); }
.faq-chevron { flex-shrink: 0; transition: transform 0.3s ease; color: var(--gold); }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-answer-inner {
  padding: 0 22px 18px;
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ════════════════════════════════════════════════════════
   CTA SECTION
════════════════════════════════════════════════════════ */
.cta-section { overflow: hidden; }
.cta-bg {
  position: relative;
  background: url('/images/cta-bg.jpg') center/cover no-repeat;
  background-color: var(--dark-3);
  padding: 80px 0;
}
.cta-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,10,10,0.92), rgba(10,10,10,0.75));
}
.cta-inner {
  position: relative; z-index: 1;
  display: flex; align-items: center;
  justify-content: space-between; gap: 40px;
  flex-wrap: wrap;
}
.cta-text h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 46px);
  color: var(--white);
  margin-bottom: 10px;
}
.cta-text p { color: rgba(255,255,255,0.7); font-size: 16px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; flex-shrink: 0; }
.btn-cta-primary {
  padding: 14px 34px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--dark);
  font-weight: 700;
  font-size: 15px;
  border-radius: 50px;
  transition: var(--trans);
  box-shadow: 0 6px 20px rgba(201,168,76,0.4);
}
.btn-cta-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(201,168,76,0.55); }
.btn-cta-secondary {
  padding: 13px 30px;
  border: 1.5px solid rgba(255,255,255,0.4);
  color: var(--white);
  font-weight: 600;
  font-size: 15px;
  border-radius: 50px;
  transition: var(--trans);
}
.btn-cta-secondary:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.7); }

/* ════════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════════ */
/* .site-footer { background: var(--dark); color: rgba(255,255,255,0.75); } */

.site-footer { 
    background: var(--dark); 
    color: rgba(255,255,255,0.75);
    /* position: relative;
    overflow: hidden; */
    background-image: url('/images/dark-section-bg-image.png');
}

/* Newsletter */
.footer-newsletter {
  background: linear-gradient(135deg, var(--dark-3), var(--dark-4));
  border-bottom: 1px solid var(--border);
  padding: 36px 0;
}
.newsletter-inner {
  display: flex; align-items: center;
  justify-content: space-between; gap: 32px;
  flex-wrap: wrap;
}
.newsletter-text h3 { color: var(--white); font-size: 20px; font-weight: 700; margin-bottom: 5px; }
.newsletter-text p { font-size: 14px; color: rgba(255,255,255,0.6); }
.newsletter-form {
  display: flex; gap: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(201,168,76,0.2);
  flex-shrink: 0;
  min-width: 360px;
}
.newsletter-form input {
  flex: 1;
  padding: 12px 18px;
  background: rgba(255,255,255,0.05);
  border: none;
  color: var(--white);
  font-size: 14px;
  min-width: 0;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-form button {
  padding: 12px 22px;
  background: var(--gold);
  color: var(--dark);
  font-weight: 700;
  font-size: 13.5px;
  white-space: nowrap;
  border-left: 1px solid rgba(201,168,76,0.4);
  transition: background 0.2s;
}
.newsletter-form button:hover { background: var(--gold-light); }

/* Footer Main */
.footer-main { padding: 60px 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-logo img { height: 50px; margin-bottom: 16px; }
.footer-logo-text {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--gold);
  letter-spacing: 2px;
  display: block;
  margin-bottom: 16px;
}
.footer-tagline { font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.7; margin-bottom: 20px; }
.footer-contact-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.footer-contact-item {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13.5px;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}
.footer-contact-item:hover { color: var(--gold); }
.footer-contact-item svg { flex-shrink: 0; color: var(--gold); margin-top: 2px; }
.footer-socials { display: flex; gap: 10px; }
.social-icon {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.2);
  color: rgba(255,255,255,0.6);
  transition: var(--trans);
}
.social-icon:hover { background: var(--gold); color: var(--dark); border-color: var(--gold); }
.footer-col-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links li a {
  font-size: 13.5px;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
  display: flex; align-items: center; gap: 6px;
}
.footer-links li a::before {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--gold-dark);
  flex-shrink: 0;
  opacity: 0;
  transition: opacity 0.2s;
}
.rtl .footer-links li a::before { margin-right: 0; }
.footer-links li a:hover { color: var(--gold); }
.footer-links li a:hover::before { opacity: 1; }

/* Footer Bottom */
.footer-bottom {
  background: rgba(0,0,0,0.3);
  padding: 18px 0;
  border-top: 1px solid var(--border);
}
.footer-bottom-inner {
  display: flex; align-items: center;
  justify-content: space-between; gap: 20px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.45); }
.payment-icons { display: flex; gap: 10px; align-items: center; }
.payment-icons img { height: 24px; width: auto; opacity: 0.6; }

/* ════════════════════════════════════════════════════════
   WHATSAPP FLOAT
════════════════════════════════════════════════════════ */
.whatsapp-float {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 58px; height: 58px;
  background: #25D366;
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  z-index: 900;
  box-shadow: 0 8px 24px rgba(37,211,102,0.4);
  transition: var(--trans);
  animation: float-pulse 2.5s ease-in-out infinite;
}
.rtl .whatsapp-float { right: auto; left: 28px; }
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 32px rgba(37,211,102,0.55);
}
@keyframes float-pulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 8px 24px rgba(37,211,102,0.7), 0 0 0 12px rgba(37,211,102,0.1); }
}
.whatsapp-tooltip {
  position: absolute;
  right: 68px;
  background: var(--dark);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.rtl .whatsapp-tooltip { right: auto; left: 68px; }
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; }

/* ════════════════════════════════════════════════════════
   INQUIRY MODAL
════════════════════════════════════════════════════════ */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 1200;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  backdrop-filter: blur(8px);
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal-container {
  background: var(--white);
  border-radius: var(--radius-lg);
  width: 100%; max-width: 600px;
  max-height: 100vh;
  overflow-y: auto;
  height :80%;
  padding: 36px;
  position: relative;
  box-shadow: 0 40px 80px rgba(0,0,0,0.3);
  transform: scale(0.95) translateY(20px);
  transition: transform 0.3s ease;
}
.modal-overlay.open .modal-container { transform: scale(1) translateY(0); }
.modal-close {
  position: absolute; top: 18px; right: 18px;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: var(--text-muted);
  transition: var(--trans);
}
.rtl .modal-close { right: auto; left: 18px; }
.modal-close:hover { background: var(--gray-100); color: var(--dark); }
.modal-header { margin-bottom: 28px; padding-right: 40px; }
.rtl .modal-header { padding-right: 0; padding-left: 40px; }
.modal-header h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 6px;
}
.modal-header p { font-size: 14px; color: var(--text-muted); }
.inquiry-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--dark); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 11px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--dark);
  background: var(--white);
  transition: border-color 0.2s;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); outline: none; }
.form-group textarea { resize: vertical; min-height: 80px; }
.phone-input-wrap { display: flex; border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm); overflow: hidden; transition: border-color 0.2s; }
.phone-input-wrap:focus-within { border-color: var(--gold); }
.phone-input-wrap .country-code-select {
  width: auto; min-width: 90px;
  border: none;
  border-right: 1.5px solid var(--gray-200);
  border-radius: 0;
  background: var(--gray-100);
  font-size: 13px;
  padding: 11px 8px;
}
.phone-input-wrap input {
  flex: 1; border: none; border-radius: 0;
  padding: 11px 14px;
}
.form-car-preview {
  padding: 14px;
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200);
}
.car-preview-inner { display: flex; align-items: center; gap: 14px; }
.car-preview-inner img { width: 80px; height: 56px; object-fit: cover; border-radius: 6px; }
.car-preview-inner strong { display: block; font-size: 15px; font-weight: 700; margin-bottom: 3px; }
.car-preview-inner span { font-size: 14px; color: var(--gold-dark); font-weight: 600; }
.btn-submit-inquiry {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--dark);
  font-weight: 700;
  font-size: 15px;
  border-radius: var(--radius-sm);
  transition: var(--trans);
  box-shadow: 0 4px 15px rgba(201,168,76,0.3);
  margin-top: 4px;
}
.btn-submit-inquiry:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(201,168,76,0.45);
}

/* ════════════════════════════════════════════════════════
   INNER PAGE HERO
════════════════════════════════════════════════════════ */
.page-hero {
  background: var(--dark-3);
  padding: 60px 0 50px;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(201,168,76,0.06) 0%, transparent 70%);
}
.page-hero-inner { position: relative; z-index: 1; }
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--gold-light); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: rgba(255,255,255,0.35); }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(30px, 5vw, 56px);
  color: var(--white);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 12px;
}
.page-hero p { color: rgba(255,255,255,0.7); font-size: 16px; max-width: 560px; }

/* ════════════════════════════════════════════════════════
   CARS LISTING PAGE
════════════════════════════════════════════════════════ */
.listing-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
}
.listing-sidebar {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0,0,0,0.07);
  overflow: hidden;
  position: sticky;
  top: calc(var(--nav-h) + 20px);
}
.sidebar-section {
  padding: 20px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.sidebar-section:last-child { border-bottom: none; }
.sidebar-section-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 14px;
}
.filter-group { display: flex; flex-direction: column; gap: 8px; }
.filter-checkbox {
  display: flex; align-items: center; gap: 10px;
  cursor: pointer;
  font-size: 14px;
  color: var(--dark);
  padding: 4px 0;
}
.filter-checkbox input[type="checkbox"] { accent-color: var(--gold); width: 16px; height: 16px; }
.filter-checkbox:hover { color: var(--gold-dark); }
.filter-count {
  margin-left: auto;
  font-size: 12px;
  color: var(--text-muted);
  background: var(--gray-100);
  padding: 2px 7px;
  border-radius: 10px;
}
.rtl .filter-count { margin-left: 0; margin-right: auto; }
.price-range-wrap { padding-top: 6px; }
.price-range-labels {
  display: flex; justify-content: space-between;
  font-size: 13px; color: var(--text-muted);
  margin-bottom: 10px;
}
input[type="range"] {
  width: 100%; accent-color: var(--gold);
}
.listing-main {}
.listing-toolbar {
  display: flex; align-items: center;
  justify-content: space-between; gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.listing-count { font-size: 14px; color: var(--text-muted); }
.listing-count strong { color: var(--dark); }
.listing-sort {
  display: flex; align-items: center; gap: 8px;
}
.listing-sort label { font-size: 13px; color: var(--text-muted); }
.listing-sort select {
  padding: 8px 12px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 13px;
  background: var(--white);
}
.listing-grid-toggle { display: flex; gap: 4px; }
.grid-toggle-btn {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  transition: var(--trans);
}
.grid-toggle-btn.active { background: var(--gold); border-color: var(--gold); color: var(--dark); }

/* Pagination */
.pagination {
  display: flex; align-items: center; justify-content: center;
  gap: 6px; margin-top: 48px;
}
.page-btn {
  min-width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600;
  color: var(--dark);
  transition: var(--trans);
  padding: 0 8px;
}
.page-btn:hover { border-color: var(--gold); color: var(--gold-dark); }
.page-btn.active { background: var(--gold); border-color: var(--gold); color: var(--dark); }
.page-btn:disabled { opacity: 0.4; pointer-events: none; }

/* ════════════════════════════════════════════════════════
   CAR DETAIL PAGE
════════════════════════════════════════════════════════ */
.car-detail-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: start;
}
.car-gallery-main { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16/9; background: var(--gray-100); }
.car-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.car-gallery-thumbs {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 8px; margin-top: 10px;
}
.gallery-thumb {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 16/10;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s;
}
.gallery-thumb.active { border-color: var(--gold); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.car-detail-specs {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 14px; margin: 24px 0;
}
.spec-card {
  padding: 14px 16px;
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0,0,0,0.06);
}
.spec-card .spec-label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.spec-card .spec-val { font-size: 15px; font-weight: 700; color: var(--dark); }
.car-features-list {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.feature-tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px;
  background: rgba(201,168,76,0.06);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 50px;
  font-size: 13px;
  color: var(--dark);
}
.feature-tag svg { color: var(--gold); }

/* Booking Sidebar */
.booking-sidebar {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: sticky;
  top: calc(var(--nav-h) + 20px);
  box-shadow: var(--shadow);
}
.booking-price { margin-bottom: 22px; padding-bottom: 22px; border-bottom: 1px solid var(--gray-200); }
.booking-price .price-from { font-size: 13px; color: var(--text-muted); }
.booking-price .price-main { font-size: 36px; font-weight: 800; color: var(--dark); line-height: 1; }
.booking-price .price-per { font-size: 14px; color: var(--text-muted); }
.booking-price .price-note { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.booking-tabs { display: flex; border-bottom: 1px solid var(--gray-200); margin-bottom: 18px; }
.booking-tab {
  flex: 1; padding: 10px; text-align: center;
  font-size: 13px; font-weight: 600; color: var(--text-muted);
  border-bottom: 2px solid transparent; transition: var(--trans);
}
.booking-tab.active { color: var(--gold-dark); border-bottom-color: var(--gold); }
.booking-form { display: flex; flex-direction: column; gap: 12px; }
.booking-form .form-group label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); }
.booking-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.btn-book-now {
  padding: 14px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--dark);
  font-weight: 700;
  font-size: 15px;
  border-radius: var(--radius-sm);
  text-align: center;
  transition: var(--trans);
  box-shadow: 0 4px 15px rgba(201,168,76,0.3);
}
.btn-book-now:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(201,168,76,0.45); }
.btn-whatsapp-car {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px;
  background: #25D366;
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  border-radius: var(--radius-sm);
  transition: var(--trans);
}
.btn-whatsapp-car:hover { background: #1EB05A; }
.btn-call-car {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px;
  border: 1.5px solid var(--gold);
  color: var(--gold-dark);
  font-weight: 600;
  font-size: 14px;
  border-radius: var(--radius-sm);
  transition: var(--trans);
}
.btn-call-car:hover { background: var(--gold); color: var(--dark); }

/* ════════════════════════════════════════════════════════
   CONTACT PAGE
════════════════════════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-info-card {
  padding: 32px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0,0,0,0.07);
}
.contact-item {
  display: flex; gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-200);
}
.contact-item:last-child { border-bottom: none; }
.contact-item-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(201,168,76,0.08);
  border-radius: var(--radius-sm);
  color: var(--gold);
}
.contact-item-text strong { display: block; font-size: 14px; font-weight: 700; margin-bottom: 3px; }
.contact-item-text span, .contact-item-text a {
  font-size: 14px; color: var(--text-muted);
  transition: color 0.2s;
}
.contact-item-text a:hover { color: var(--gold-dark); }
.contact-form-card {
  padding: 36px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0,0,0,0.07);
  box-shadow: var(--shadow-sm);
}
.contact-form-card h2 { font-size: 24px; font-weight: 800; margin-bottom: 6px; }
.contact-form-card > p { color: var(--text-muted); font-size: 14px; margin-bottom: 24px; }

/* ════════════════════════════════════════════════════════
   MISC UTILITIES
════════════════════════════════════════════════════════ */
.lazy { opacity: 0; transition: opacity 0.4s ease; }
.lazy.loaded { opacity: 1; }
.text-gold { color: var(--gold); }
.text-muted { color: var(--text-muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.overflow-hidden { overflow: hidden; }
.w-full { width: 100%; }

/* ════════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════ */
@media (max-width: 1200px) {
  .mega-panel { min-width: 480px; }
  .mega-brands-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-grid .footer-col:last-child { grid-column: 1 / -1; }
  .brands-grid-display { grid-template-columns: repeat(5, 1fr); }
}

@media (max-width: 1024px) {
  .nav-menu { display: none; }
  .nav-action-buttons { display: none; }
  .hamburger { display: flex; }
  .car-detail-layout { grid-template-columns: 1fr; }
  .booking-sidebar { position: static; }
  .listing-layout { grid-template-columns: 1fr; }
  .listing-sidebar { position: static; }
  .faq-inner { grid-template-columns: 1fr; gap: 32px; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-top: 1px solid var(--border); }
  .stat-item:nth-child(4) { border-top: 1px solid var(--border); }
}

@media (max-width: 768px) {
  :root { --nav-h: 62px; --topbar-h: 0px; }
  .header-topbar { display: none; }
  .hero { height: 75vh; min-height: 480px; }
  .hero-slide-content { left: 5%; right: 5%; bottom: 18%; }
  .rtl .hero-slide-content { right: 5%; left: 5%; }
  .hero-trust-bar { gap: 10px; font-size: 12px; }
  .trust-divider { display: none; }
  .section { padding: 54px 0; }
  .qs-fields { flex-direction: column; }
  .qs-field { min-width: unset; }
  .cars-grid { grid-template-columns: repeat(2, 1fr); }
  .offers-slider { grid-template-columns: repeat(2, 1fr); }
  .reviews-slider { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .brands-grid-display { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .newsletter-form { min-width: unset; width: 100%; }
  .newsletter-inner { flex-direction: column; align-items: stretch; }
  .cta-inner { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .cars-grid { grid-template-columns: 1fr; }
  .offers-slider { grid-template-columns: 1fr; }
  .categories-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .brands-grid-display { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .hero-actions { flex-direction: column; }
  .btn-hero-primary, .btn-hero-secondary { width: 100%; justify-content: center; }
  .modal-container { padding: 24px 18px; }
}

/* RTL Specific */
.rtl .ticker-brand-item { }
.rtl .brands-ticker { animation-direction: reverse; }
.rtl .logo-img.logo-dark { display: block; }
.rtl .logo-img.logo-light { display: none; }



/* Hero Section Video Background */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.hero-default {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-bg-video video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
}

/* Fallback for browsers that don't support object-fit */
@supports (object-fit: cover) {
    .hero-bg-video video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* Hero Overlay */
.hero-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45); /* Adjust opacity as needed */
    z-index: 1;
}

/* Hero Content */
.hero-slide-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
    padding: 0 1.5rem;
    color: white;
}

/* Fix for slider version if needed */
.hero-slider,
.hero-slide {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* Ensure slider images also cover properly */
.hero-slide {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero {
        height: 80vh;
        min-height: 500px;
    }
    
    .hero-slide-content {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 70vh;
        min-height: 450px;
    }
}

/* Performance optimization */
.hero-bg-video video {
    will-change: transform;
}

/* Optional: Add a subtle zoom effect on video */
@keyframes subtleZoom {
    0% {
        transform: translateX(-50%) translateY(-50%) scale(1);
    }
    100% {
        transform: translateX(-50%) translateY(-50%) scale(1.05);
    }
}

.hero-bg-video video {
    animation: subtleZoom 20s ease-in-out infinite alternate;
}


/* ═══════════════════════════════════════════════════════════
   CARS LISTING PAGE STYLES
   ═══════════════════════════════════════════════════════════ */

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, var(--dark-3), var(--dark-2));
    padding: 60px 0 50px;
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(201,168,76,0.06) 0%, transparent 70%);
}

.page-hero-in {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 48px);
    color: var(--white);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 12px;
}

.hero-desc {
    color: rgba(255,255,255,0.7);
    font-size: 16px;
    max-width: 560px;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--gold-light);
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: var(--gold);
}

/* Listing Layout */
.listing-wrap {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 32px;
    align-items: start;
}

/* Sidebar Filters */
.listing-sidebar {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0,0,0,0.08);
    overflow: hidden;
    position: sticky;
    top: calc(var(--nav-h) + 20px);
}

.sb-head {
    padding: 20px 20px 12px;
    border-bottom: 1px solid var(--gray-200);
}

.sb-head h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin: 0;
}

.sb-section {
    padding: 18px 20px;
    border-bottom: 1px solid var(--gray-100);
}

.sb-title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-bottom: 14px;
}

.sb-check-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sb-check {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text);
    padding: 4px 0;
    transition: color 0.2s;
}

.sb-check:hover {
    color: var(--gold-dark);
}

.sb-check input[type="checkbox"] {
    accent-color: var(--gold);
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.sb-check img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.sb-count {
    margin-left: auto;
    font-size: 12px;
    color: var(--text-muted);
    background: var(--gray-100);
    padding: 2px 8px;
    border-radius: 20px;
}

.sb-show-more {
    background: none;
    border: none;
    color: var(--gold-dark);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.sb-apply {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: var(--dark);
    font-weight: 700;
    font-size: 14px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
}

.sb-apply:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(201,168,76,0.3);
}

.sb-clear {
    display: block;
    text-align: center;
    padding: 10px;
    background: transparent;
    border: 1.5px solid var(--gray-200);
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all 0.2s;
}

.sb-clear:hover {
    border-color: var(--gold);
    color: var(--gold-dark);
}

/* Toolbar */
.list-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.list-count {
    font-size: 14px;
    color: var(--text-muted);
}

.list-count strong {
    color: var(--dark);
}

.list-sort {
    display: flex;
    align-items: center;
    gap: 8px;
}

.list-sort label {
    font-size: 13px;
    color: var(--text-muted);
}

.sort-select {
    padding: 8px 12px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 13px;
    background: var(--white);
    color: var(--dark);
    cursor: pointer;
}

.grid-btns {
    display: flex;
    gap: 6px;
}

.grid-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
}

.grid-btn.on {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--dark);
}

.grid-btn:hover:not(.on) {
    border-color: var(--gold);
    color: var(--gold);
}

/* Cars Grid */
.cars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.cars-grid-2 {
    grid-template-columns: repeat(2, 1fr) !important;
}

.cars-grid-1 {
    grid-template-columns: 1fr !important;
}

/* Car Card */
.car-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.car-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.car-thumb {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
    background: var(--gray-100);
}

.car-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.car-card:hover .car-thumb img {
    transform: scale(1.05);
}

/* Badges */
.card-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2;
}

.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.badge-featured {
    background: var(--gold);
    color: var(--dark);
}

.badge-avail {
    background: rgba(16, 185, 129, 0.15);
    color: #10B981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-unavail {
    background: rgba(239, 68, 68, 0.15);
    color: #EF4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Wishlist Button */
.card-wish-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.95);
    border-radius: 50%;
    border: none;
    cursor: pointer;
    color: var(--gray-400);
    transition: all 0.2s;
    z-index: 2;
}

.card-wish-btn:hover {
    transform: scale(1.05);
}

.card-wish-btn.saved {
    color: #EF4444;
}

.card-wish-btn.saved svg {
    fill: #EF4444;
}

/* Card Actions (Hover) */
.card-actions {
    position: absolute;
    /* bottom: -60px; */
    left: 0;
    right: 0;
    display: flex;
    transition: bottom 0.3s ease;
    z-index: 3;
}

.car-card:hover .card-actions {
    bottom: 0;
}

.card-book-btn {
    flex: 1;
    padding: 12px;
    background: var(--gold);
    color: var(--dark);
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.card-book-btn:hover {
    background: var(--gold-light);
}

.card-wa-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    background: #25D366;
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.card-wa-btn:hover {
    background: #1EB05A;
}

/* Car Body */
.car-body {
    padding: 18px;
}

.car-meta {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.tag-brand, .tag-type {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(201,168,76,0.08);
    color: var(--gold-dark);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.3px;
    border-radius: 4px;
    text-decoration: none;
    border: 1px solid rgba(201,168,76,0.2);
}

.tag-brand:hover, .tag-type:hover {
    background: rgba(201,168,76,0.15);
    color: var(--gold);
}

.car-name {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

.car-name a {
    color: var(--dark);
    text-decoration: none;
    transition: color 0.2s;
}

.car-name a:hover {
    color: var(--gold-dark);
}

/* Specs */
.car-specs {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--gray-200);
}

.spec {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

.spec svg {
    color: var(--gold);
}

/* Card Footer */
.car-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.car-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    flex-wrap: wrap;
}

.price-from {
    font-size: 11px;
    color: var(--text-muted);
}

.price-val {
    font-size: 22px;
    font-weight: 800;
    color: var(--dark);
}

.price-unit {
    font-size: 12px;
    color: var(--text-muted);
}

.card-view {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gold-dark);
    text-decoration: none;
    transition: gap 0.2s;
}

.card-view:hover {
    gap: 8px;
}

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
    flex-wrap: wrap;
}

.pg-btn {
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    text-decoration: none;
    background: var(--white);
    transition: all 0.2s;
    cursor: pointer;
}

.pg-btn:hover:not(.on):not([disabled]) {
    border-color: var(--gold);
    color: var(--gold-dark);
}

.pg-btn.on {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--dark);
}

.pg-btn[disabled] {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0,0,0,0.06);
}

.empty-state svg {
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.empty-state p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

/* Responsive */
@media (max-width: 1200px) {
    .cars-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .listing-wrap {
        grid-template-columns: 280px 1fr;
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .listing-wrap {
        grid-template-columns: 1fr;
    }
    .listing-sidebar {
        position: static;
        display: none;
    }
    .listing-sidebar.visible {
        display: block;
        margin-bottom: 24px;
    }
    .filter-toggle-btn {
        display: flex !important;
    }
    .cars-grid {
        grid-template-columns: 1fr;
    }
    .list-toolbar {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .page-hero {
        padding: 40px 0 30px;
    }
    .sb-section {
        padding: 14px 16px;
    }
    .car-body {
        padding: 14px;
    }
    .price-val {
        font-size: 18px;
    }
}

/* Card Inquiry Button */
.card-inquiry-btn {
    flex: 1;
    padding: 12px;
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.card-inquiry-btn:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* ============================================
   HERO HEADER - Transparent Navbar Inside Hero
   ============================================ */

/* Hero Header - position absolute over hero section */
.site-header.hero-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: all 0.3s ease;
}

/* When scrolled, add background */
.site-header.hero-header.scrolled {
    position: fixed;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Scrolled header topbar hide */
.site-header.hero-header.scrolled .header-topbar {
    height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0;
}

/* Main content padding adjustment when header is fixed */
body:not(.has-scrolled) #main-content {
    padding-top: 0;
}

body.has-scrolled #main-content {
    padding-top: calc(var(--nav-h) + var(--topbar-h));
}

/* Topbar transparent on hero */
.site-header.hero-header .header-topbar {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

/* Navbar transparent on hero */
.site-header.hero-header .main-nav {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

/* When scrolled, change navbar background */
.site-header.hero-header.scrolled .main-nav {
    background: rgba(10, 10, 10, 0.95);
    border-bottom-color: rgba(201, 168, 76, 0.15);
}

/* Nav links color for transparent header */
.site-header.hero-header .nav-link {
    color: rgba(255, 255, 255, 0.9);
}

.site-header.hero-header .nav-link:hover,
.site-header.hero-header .nav-link.active {
    color: var(--gold);
}

/* Topbar text color */
.site-header.hero-header .topbar-phone,
.site-header.hero-header .lang-item,
.site-header.hero-header .currency-toggle {
    color: rgba(255, 255, 255, 0.8);
}

.site-header.hero-header .topbar-phone:hover,
.site-header.hero-header .lang-item:hover,
.site-header.hero-header .currency-toggle:hover {
    color: var(--gold);
}

/* Logo for light background (on hero) */
.site-header.hero-header .logo-img.logo-light {
    display: block;
}
.site-header.hero-header .logo-img.logo-dark {
    display: none;
}

/* When scrolled, switch to dark logo if needed */
.site-header.hero-header.scrolled .logo-img.logo-light {
    display: none;
}
.site-header.hero-header.scrolled .logo-img.logo-dark {
    display: block;
}

/* Button styles on transparent header */
.site-header.hero-header .btn-nav-cta {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: var(--dark);
    box-shadow: 0 4px 15px rgba(201, 168, 76, 0.3);
}

.site-header.hero-header .btn-icon {
    color: rgba(255, 255, 255, 0.8);
}

.site-header.hero-header .btn-icon:hover {
    background: rgba(201, 168, 76, 0.15);
    color: var(--gold);
}

/* Hamburger color on transparent header */
.site-header.hero-header .hamburger span {
    background: rgba(255, 255, 255, 0.9);
}

/* Hero section padding - remove top padding since header is absolute */
.hero {
    margin-top: 0;
    padding-top: 0;
}

/* Ensure hero content is below header */
.hero .hero-slide-content {
    top: 50%;
    transform: translateY(-50%);
    bottom: auto;
}

/* Responsive */
@media (max-width: 1024px) {
    .site-header.hero-header .nav-menu {
        display: none;
    }
    
    .site-header.hero-header .nav-action-buttons {
        display: none;
    }
    
    .site-header.hero-header .hamburger {
        display: flex;
    }
}

@media (max-width: 768px) {
    .site-header.hero-header .header-topbar {
        display: none;
    }
    
    .hero .hero-slide-content {
        padding-top: 60px;
    }
}

/* ============================================
   HEADER / NAVBAR - Transparent only on home top
   ============================================ */

/* Default state for all pages - normal background */
.site-header .header-topbar {
    background: var(--dark);
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    height: var(--topbar-h);
    display: flex;
    align-items: center;
    /* border-bottom: 1px solid rgba(201,168,76,0.1); */
    transition: height 0.3s ease, opacity 0.3s ease;
}

.site-header .main-nav {
    background: rgba(10,10,10,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    /* border-bottom: 1px solid rgba(201,168,76,0.15); */
    height: var(--nav-h);
    transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

/* Home page specific - transparent only when at top */
body.home .site-header .header-topbar {
    background: transparent;
    /* border-bottom: 1px solid rgba(201,168,76,0.1); */
}

body.home .site-header .main-nav {
    background: transparent;
    backdrop-filter: none;
    /* border-bottom: 1px solid rgba(201,168,76,0.1); */
}

/* When scrolled on home page - revert to normal background */
body.home .site-header.scrolled .header-topbar {
    background: transparent;
}

body.home .site-header.scrolled .main-nav {
    background: rgba(10,10,10,0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201,168,76,0.15);
}

/* Topbar hide on scroll */
.site-header.scrolled .header-topbar {
    height: 0;
    overflow: hidden;
    opacity: 0;
    border-bottom: none;
}

/* ============================================
   PRELOADER - Professional Design
   ============================================ */

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark, #0A0A0A);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hide {
    opacity: 0;
    visibility: hidden;
}

.loading-container {
    position: relative;
    width: 80px;
    height: 80px;
}

/* الدائرة الدوارة */
.loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-top-color: var(--gold, #C9A84C);
    border-right-color: var(--gold, #C9A84C);
    border-radius: 50%;
    animation: rotate 1.5s linear infinite;
}

/* الدائرة الدوارة الثانية (طبقة خارجية) */
.loading::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid transparent;
    border-top-color: var(--gold-light, #E2C97E);
    border-left-color: var(--gold-light, #E2C97E);
    border-radius: 50%;
    animation: rotate-reverse 2s linear infinite;
}

/* الدائرة الدوارة الثالثة (طبقة داخلية) */
.loading::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 2px solid transparent;
    border-bottom-color: var(--gold-dark, #9B7A2A);
    border-right-color: var(--gold-dark, #9B7A2A);
    border-radius: 50%;
    animation: rotate 2.5s linear infinite;
}

/* الأيقونة المركزية */
#loading-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#loading-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
    animation: pulse 1.5s ease-in-out infinite;
}

/* أنيميشن الدوران */
@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes rotate-reverse {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(-360deg);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(0.9);
        opacity: 0.7;
    }
}

/* تحسين للموبايل */
@media (max-width: 768px) {
    .loading-container {
        width: 60px;
        height: 60px;
    }
    
    #loading-icon {
        width: 25px;
        height: 25px;
    }
}

@media (max-width: 768px) {
    .header-topbar {
        display: none !important;
    }
}