/* ============================================================
   BOUGOUTAIA.CARS — Main Stylesheet
   Aesthetic: Dark Luxury / Refined Gold
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garant:ital,wght@0,300;0,400;0,600;0,700;1,400&family=Outfit:wght@300;400;500;600;700&display=swap');

/* ── CSS Variables ──────────────────────────────────────────── */
:root {
  --gold:        #c9a84c;
  --gold-light:  #e8d5a3;
  --gold-dark:   #9a7a28;
  --bg:          #08080f;
  --bg2:         #0e0e1c;
  --bg3:         #13131f;
  --surface:     #16162a;
  --surface2:    #1e1e30;
  --border:      rgba(201,168,76,.15);
  --border2:     rgba(201,168,76,.3);
  --text:        #f0f0e8;
  --text-muted:  #8a8a9a;
  --white:       #ffffff;
  --radius:      12px;
  --radius-lg:   20px;
  --shadow:      0 8px 32px rgba(0,0,0,.5);
  --shadow-gold: 0 0 40px rgba(201,168,76,.15);
  --transition:  .3s cubic-bezier(.4,0,.2,1);
  --font-display:'Cormorant Garant', Georgia, serif;
  --font-body:   'Outfit', sans-serif;
  --primary-color: #c9a84c;
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; }
body.rtl { direction: rtl; text-align: right; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font-body); }

/* ── Scrollbar ────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 3px; }

/* ── Typography ───────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.1; }
.section-label {
  font-size: .75rem; font-weight: 600; letter-spacing: 4px; text-transform: uppercase;
  color: var(--gold); margin-bottom: .75rem;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem); color: var(--text); margin-bottom: 1rem;
}
.section-sub { color: var(--text-muted); font-size: 1.1rem; max-width: 560px; }

/* ── Layout ───────────────────────────────────────────────── */
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 6rem 0; }
.section-head { text-align: center; margin-bottom: 4rem; }
.section-head .section-sub { margin: 0 auto; }

/* ── Gold Divider ─────────────────────────────────────────── */
.gold-line {
  display: inline-block; width: 60px; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin: 1rem auto;
}

/* ═══════════════════════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════════════════════ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 1.25rem 0;
  transition: background var(--transition), padding var(--transition), backdrop-filter var(--transition);
}
.navbar.scrolled {
  background: rgba(8,8,15,.92);
  backdrop-filter: blur(20px);
  padding: .85rem 0;
  border-bottom: 1px solid var(--border);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.nav-logo {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 700;
  color: var(--gold); letter-spacing: 2px; white-space: nowrap;
}
.nav-logo span { color: var(--text); }
.nav-links { display: flex; align-items: center; gap: 2.5rem; }
.nav-links a {
  font-size: .875rem; font-weight: 500; letter-spacing: .5px; color: var(--text-muted);
  transition: color var(--transition); position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1px; background: var(--gold); transform: scaleX(0);
  transition: transform var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-right { display: flex; align-items: center; gap: 1rem; }

/* ── Language Switcher ──────────────────────────────────────── */
.lang-switcher { position: relative; }
.lang-btn {
  background: transparent; border: 1px solid var(--border2);
  color: var(--text-muted); padding: .45rem .9rem; border-radius: 8px;
  font-size: .8rem; font-weight: 500; transition: all var(--transition);
  letter-spacing: .5px;
}
.lang-btn:hover { border-color: var(--gold); color: var(--gold); }
.lang-menu {
  position: absolute; top: calc(100% + 8px); right: 0;
  background: var(--surface); border: 1px solid var(--border2);
  border-radius: var(--radius); min-width: 100px; overflow: hidden;
  opacity: 0; pointer-events: none; transform: translateY(-8px);
  transition: all var(--transition); box-shadow: var(--shadow);
}
.lang-switcher:hover .lang-menu, .lang-menu:hover {
  opacity: 1; pointer-events: all; transform: translateY(0);
}
.lang-menu li a {
  display: block; padding: .6rem 1rem; font-size: .85rem;
  color: var(--text-muted); transition: all var(--transition);
}
.lang-menu li a:hover, .lang-menu li.active a { background: var(--surface2); color: var(--gold); }

/* ── Hamburger ──────────────────────────────────────────────── */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: .5rem;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--text); border-radius: 2px; transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ═══════════════════════════════════════════════════════════
   HERO SECTION
═══════════════════════════════════════════════════════════ */
.hero {
  position: relative; height: 100vh; min-height: 700px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-video-wrap {
  position: absolute; inset: 0; z-index: 0;
}
.hero-video-wrap video {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-video-wrap::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(8,8,15,.8) 0%, rgba(8,8,15,.5) 60%, rgba(8,8,15,.75) 100%);
}
/* Fallback image if no video */
.hero-bg-fallback {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #08080f 0%, #0e0e2a 50%, #1a0a05 100%);
}
.hero-bg-fallback::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(201,168,76,.12) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 50%, rgba(201,168,76,.06) 0%, transparent 50%);
}
.hero-grid-overlay {
  position: absolute; inset: 0; z-index: 1;
  background-image: linear-gradient(var(--border) 1px, transparent 1px),
                    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,.3) 0%, transparent 70%);
}
.hero-content {
  position: relative; z-index: 2; text-align: center;
  padding: 0 1.5rem; max-width: 900px;
  animation: heroReveal .8s ease both;
}
@keyframes heroReveal {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  border: 1px solid var(--border2); background: rgba(201,168,76,.08);
  color: var(--gold-light); font-size: .75rem; letter-spacing: 3px; text-transform: uppercase;
  padding: .4rem 1.2rem; border-radius: 50px; margin-bottom: 1.5rem;
  animation: heroReveal .8s .1s ease both;
}
.hero-title {
  font-family: var(--font-display); font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 700; color: var(--white); line-height: 1.05;
  margin-bottom: 1.5rem;
  animation: heroReveal .8s .2s ease both;
}
.hero-title .gold { color: var(--gold); }
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem); color: rgba(240,240,232,.75);
  margin-bottom: 2.5rem; font-weight: 300;
  animation: heroReveal .8s .3s ease both;
}
.hero-actions {
  display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap;
  animation: heroReveal .8s .4s ease both;
}
.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: .5rem;
  color: var(--text-muted); font-size: .75rem; letter-spacing: 2px; text-transform: uppercase;
}
.hero-scroll-dot {
  width: 24px; height: 38px; border: 1px solid var(--border2); border-radius: 12px;
  display: flex; justify-content: center; padding-top: 6px;
}
.hero-scroll-dot::before {
  content: ''; width: 4px; height: 10px; background: var(--gold);
  border-radius: 2px; animation: scrollBounce 2s infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50%       { transform: translateY(10px); opacity: 0; }
}

/* ── Stats Bar ───────────────────────────────────────────────── */
.hero-stats {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
  background: rgba(14,14,28,.8); backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
}
.hero-stats .container {
  display: grid; grid-template-columns: repeat(4, 1fr);
  divide-x: 1px solid var(--border);
}
.stat-item {
  padding: 1.5rem 2rem; text-align: center; border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; color: var(--gold);
}
.stat-label { font-size: .75rem; color: var(--text-muted); letter-spacing: 1px; text-transform: uppercase; }

/* ═══════════════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-body); font-weight: 600; font-size: .875rem;
  letter-spacing: .5px; padding: .85rem 2rem; border-radius: 8px;
  border: none; transition: all var(--transition); white-space: nowrap;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--bg); box-shadow: 0 4px 24px rgba(201,168,76,.3);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(201,168,76,.45); }
.btn-outline {
  background: transparent; border: 1px solid var(--border2); color: var(--text);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); background: rgba(201,168,76,.06); }
.btn-ghost { background: transparent; color: var(--gold); padding: .85rem .5rem; }
.btn-ghost:hover { color: var(--gold-light); }
.btn-sm { padding: .55rem 1.25rem; font-size: .8rem; }
.btn-wa {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff; box-shadow: 0 4px 20px rgba(37,211,102,.3);
}
.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(37,211,102,.45); }

/* ═══════════════════════════════════════════════════════════
   CARS SECTION
═══════════════════════════════════════════════════════════ */
#cars { background: var(--bg2); }

/* ── Filters ──────────────────────────────────────────────── */
.filter-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: .75rem;
  margin-bottom: 3rem; justify-content: center;
}
.filter-btn {
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text-muted); padding: .55rem 1.4rem; border-radius: 50px;
  font-size: .85rem; font-weight: 500; transition: all var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--bg); border-color: transparent;
}
.filter-price { display: flex; align-items: center; gap: 1rem; }
.filter-price input[type="range"] {
  -webkit-appearance: none; width: 140px; height: 4px;
  background: var(--surface2); border-radius: 2px; outline: none;
}
.filter-price input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%;
  background: var(--gold); cursor: pointer;
}
.filter-price span { font-size: .85rem; color: var(--gold); white-space: nowrap; }

/* ── Cars Grid ────────────────────────────────────────────── */
.cars-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}
.car-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: all var(--transition); position: relative;
  opacity: 0; transform: translateY(20px);
  animation: fadeUp .5s ease forwards;
}
.car-card:hover {
  border-color: var(--border2); transform: translateY(-6px);
  box-shadow: var(--shadow-gold);
}
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
.car-card:nth-child(2) { animation-delay: .1s; }
.car-card:nth-child(3) { animation-delay: .2s; }
.car-card:nth-child(4) { animation-delay: .3s; }
.car-card:nth-child(5) { animation-delay: .4s; }
.car-card:nth-child(6) { animation-delay: .5s; }

.car-img-wrap {
  position: relative; height: 220px; overflow: hidden;
  background: var(--surface2);
}
.car-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.car-card:hover .car-img-wrap img { transform: scale(1.06); }
.car-badge {
  position: absolute; top: 1rem; left: 1rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--bg); font-size: .7rem; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; padding: .3rem .8rem; border-radius: 50px;
}
.car-featured-badge {
  position: absolute; top: 1rem; right: 1rem;
  background: rgba(201,168,76,.15); border: 1px solid var(--border2);
  color: var(--gold); font-size: .65rem; padding: .3rem .7rem; border-radius: 50px;
}
.car-body { padding: 1.5rem; }
.car-name {
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 700;
  color: var(--text); margin-bottom: .35rem;
}
.car-brand { font-size: .8rem; color: var(--gold); text-transform: uppercase; letter-spacing: 2px; margin-bottom: .75rem; }
.car-desc { font-size: .875rem; color: var(--text-muted); line-height: 1.5; margin-bottom: 1.25rem; }
.car-specs {
  display: flex; gap: 1.25rem; margin-bottom: 1.5rem; flex-wrap: wrap;
}
.car-spec {
  display: flex; align-items: center; gap: .4rem;
  font-size: .8rem; color: var(--text-muted);
}
.car-spec svg { color: var(--gold); flex-shrink: 0; }
.car-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 1.25rem; border-top: 1px solid var(--border);
}
.car-price { display: flex; align-items: baseline; gap: .25rem; }
.car-price-num {
  font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: var(--gold);
}
.car-price-unit { font-size: .8rem; color: var(--text-muted); }

/* ── Lazy loading skeleton ──────────────────────────────────── */
.car-card.skeleton .car-img-wrap { background: var(--surface2); }
.car-card.skeleton .car-name,
.car-card.skeleton .car-brand,
.car-card.skeleton .car-desc {
  background: var(--surface2); color: transparent; border-radius: 4px;
  animation: pulse 1.5s ease infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.5} }

/* ═══════════════════════════════════════════════════════════
   RESERVATION MODAL
═══════════════════════════════════════════════════════════ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(4,4,12,.85); backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: center; padding: 1.5rem;
  opacity: 0; pointer-events: none; transition: opacity var(--transition);
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--surface); border: 1px solid var(--border2);
  border-radius: var(--radius-lg); width: 100%; max-width: 560px;
  transform: scale(.95) translateY(20px);
  transition: transform var(--transition);
  max-height: 90vh; overflow-y: auto;
}
.modal-overlay.open .modal { transform: scale(1) translateY(0); }
.modal-header {
  padding: 1.75rem 2rem 1.25rem; display: flex; align-items: flex-start;
  justify-content: space-between; border-bottom: 1px solid var(--border);
}
.modal-car-info { display: flex; gap: 1rem; align-items: center; }
.modal-car-thumb {
  width: 70px; height: 52px; object-fit: cover; border-radius: 8px;
  border: 1px solid var(--border2);
}
.modal-car-name { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; }
.modal-car-brand { font-size: .8rem; color: var(--gold); text-transform: uppercase; letter-spacing: 2px; }
.modal-close {
  background: none; border: none; color: var(--text-muted); font-size: 1.5rem;
  line-height: 1; padding: .25rem; transition: color var(--transition);
}
.modal-close:hover { color: var(--text); }
.modal-body { padding: 1.75rem 2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .5rem; }
.form-group label { font-size: .8rem; font-weight: 600; color: var(--gold); letter-spacing: 1px; text-transform: uppercase; }
.form-group input[type="date"] {
  background: var(--bg); border: 1px solid var(--border2); color: var(--text);
  padding: .75rem 1rem; border-radius: 8px; font-size: .95rem; font-family: var(--font-body);
  transition: border-color var(--transition);
}
.form-group input[type="date"]:focus { outline: none; border-color: var(--gold); }
.form-group input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(70%) sepia(50%) saturate(500%) hue-rotate(5deg); }

.res-summary {
  background: var(--bg); border: 1px solid var(--border2); border-radius: var(--radius);
  padding: 1.25rem; margin: 1.5rem 0;
}
.res-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: .5rem 0; border-bottom: 1px solid var(--border);
}
.res-row:last-child { border-bottom: none; padding-bottom: 0; }
.res-row.total .res-val { font-family: var(--font-display); font-size: 1.4rem; color: var(--gold); font-weight: 700; }
.res-key { font-size: .85rem; color: var(--text-muted); }
.modal-footer { padding: 1.25rem 2rem 1.75rem; display: flex; flex-direction: column; gap: .75rem; }

/* ═══════════════════════════════════════════════════════════
   ABOUT SECTION
═══════════════════════════════════════════════════════════ */
#about {
  background: var(--bg);
  position: relative; overflow: hidden;
}
#about::before {
  content: ''; position: absolute; right: -200px; top: -200px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(201,168,76,.06) 0%, transparent 70%);
  pointer-events: none;
}
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-visual { position: relative; }
.about-img-main {
  width: 100%; border-radius: var(--radius-lg);
  border: 1px solid var(--border2); aspect-ratio: 4/3; object-fit: cover;
}
.about-img-secondary {
  position: absolute; bottom: -2rem; right: -2rem;
  width: 45%; border-radius: var(--radius);
  border: 3px solid var(--bg2); box-shadow: var(--shadow);
  aspect-ratio: 1; object-fit: cover;
}
.about-accent {
  position: absolute; top: -1rem; left: -1rem; width: 80px; height: 80px;
  border: 2px solid var(--gold-dark); border-radius: var(--radius);
  opacity: .4;
}
.about-text { }
.about-text .section-sub { max-width: 100%; color: var(--text-muted); margin-bottom: 2rem; }

/* ── Why Us ───────────────────────────────────────────────── */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 1.5rem; }
.why-item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.25rem;
  transition: border-color var(--transition);
}
.why-item:hover { border-color: var(--border2); }
.why-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(201,168,76,.1); display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 1.2rem; margin-bottom: .75rem;
}
.why-item h4 { font-size: 1rem; margin-bottom: .4rem; }
.why-item p { font-size: .83rem; color: var(--text-muted); }

/* ── Process Steps ────────────────────────────────────────── */
.process { background: var(--bg2); }
.process-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; counter-reset: step; }
.process-step { text-align: center; }
.step-num {
  font-family: var(--font-display); font-size: 3.5rem; font-weight: 700;
  color: var(--border2); line-height: 1; margin-bottom: 1.25rem;
}
.step-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(201,168,76,.15), rgba(201,168,76,.05));
  border: 1px solid var(--border2);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem; color: var(--gold); font-size: 1.6rem;
}
.process-step h3 { font-size: 1.15rem; margin-bottom: .6rem; }
.process-step p { font-size: .875rem; color: var(--text-muted); }

/* ═══════════════════════════════════════════════════════════
   CONTACT SECTION
═══════════════════════════════════════════════════════════ */
#contact { background: var(--bg3); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; }
.contact-info { }
.contact-items { margin-top: 2rem; }
.contact-item {
  display: flex; gap: 1.25rem; margin-bottom: 1.75rem; align-items: flex-start;
}
.contact-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(201,168,76,.1); border: 1px solid var(--border2);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 1.2rem; flex-shrink: 0;
}
.contact-item-text h4 { font-size: 1rem; margin-bottom: .35rem; }
.contact-item-text p, .contact-item-text a { font-size: .9rem; color: var(--text-muted); }
.contact-item-text a:hover { color: var(--gold); }
.map-embed {
  width: 100%; height: 300px; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border2); margin-top: 1.5rem;
}
.map-embed iframe { width: 100%; height: 100%; border: none; filter: invert(90%) hue-rotate(180deg); }

/* ═══════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════ */
.footer {
  background: #050509; border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand .nav-logo { font-size: 1.3rem; margin-bottom: 1rem; }
.footer-brand p { font-size: .875rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 1.5rem; }
.footer-social { display: flex; gap: .75rem; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 10px;
  border: 1px solid var(--border); display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 1rem; transition: all var(--transition);
}
.footer-social a:hover { border-color: var(--gold); color: var(--gold); background: rgba(201,168,76,.08); }
.footer-col h4 { font-size: .85rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 1.25rem; }
.footer-col ul li { margin-bottom: .75rem; }
.footer-col ul li a { font-size: .875rem; color: var(--text-muted); transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 1.75rem;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-size: .8rem; color: var(--text-muted); }

/* ═══════════════════════════════════════════════════════════
   FLOATING WHATSAPP
═══════════════════════════════════════════════════════════ */
.wa-float {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 999;
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, #25D366, #128C7E);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.6rem; box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: all var(--transition);
  animation: waPulse 3s ease infinite;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 8px 30px rgba(37,211,102,.6); }
@keyframes waPulse {
  0%,100% { box-shadow: 0 4px 20px rgba(37,211,102,.4); }
  50%      { box-shadow: 0 4px 40px rgba(37,211,102,.7), 0 0 0 8px rgba(37,211,102,.08); }
}
.wa-float-label {
  position: absolute; right: 70px; top: 50%; transform: translateY(-50%);
  background: var(--surface); border: 1px solid var(--border2);
  color: var(--text); font-size: .8rem; white-space: nowrap;
  padding: .4rem .9rem; border-radius: 8px;
  opacity: 0; pointer-events: none;
  transition: opacity var(--transition);
}
.wa-float:hover .wa-float-label { opacity: 1; }

/* ═══════════════════════════════════════════════════════════
   TOAST NOTIFICATION
═══════════════════════════════════════════════════════════ */
.toast {
  position: fixed; top: 1.5rem; right: 1.5rem; z-index: 9999;
  background: var(--surface); border: 1px solid var(--border2);
  border-left: 3px solid var(--gold); border-radius: var(--radius);
  padding: 1rem 1.5rem; font-size: .875rem;
  box-shadow: var(--shadow); max-width: 340px;
  transform: translateX(110%); transition: transform var(--transition);
}
.toast.show { transform: translateX(0); }
.toast.success { border-left-color: #00cc66; }
.toast.error   { border-left-color: #ff4444; }

/* ═══════════════════════════════════════════════════════════
   UTILITIES
═══════════════════════════════════════════════════════════ */
.text-gold  { color: var(--gold); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ── Intersect animation ────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(30px); transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid  { grid-template-columns: 1fr; }
  .about-img-secondary { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-links.mobile-open {
    display: flex; flex-direction: column; gap: 1.5rem;
    position: fixed; inset: 0; top: 70px; background: rgba(8,8,15,.97);
    backdrop-filter: blur(20px); padding: 2rem;
    z-index: 900; align-items: center; justify-content: center;
    animation: fadeIn .3s ease;
  }
  .nav-links.mobile-open a { font-size: 1.4rem; }
  @keyframes fadeIn { from{opacity:0} to{opacity:1} }
  .hero-stats .container { grid-template-columns: 1fr 1fr; }
  .stat-item:nth-child(2) { border-right: none; }
  .cars-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section { padding: 4rem 0; }
}
@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .hero-stats .container { grid-template-columns: 1fr 1fr; }
  .cars-grid { grid-template-columns: 1fr; }
}

/* ── RTL adjustments ─────────────────────────────────────── */
body.rtl .nav-logo { letter-spacing: 0; }
body.rtl .section-label { letter-spacing: 2px; }
body.rtl .car-badge { left: auto; right: 1rem; }
body.rtl .car-featured-badge { right: auto; left: 1rem; }
body.rtl .footer-bottom { flex-direction: row-reverse; }
body.rtl .wa-float { right: auto; left: 2rem; }
body.rtl .wa-float-label { right: auto; left: 70px; }
body.rtl .toast { right: auto; left: 1.5rem; transform: translateX(-110%); }
body.rtl .toast.show { transform: translateX(0); }

/* ── Preloader ───────────────────────────────────────────── */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg); display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 1.5rem; transition: opacity .5s ease, visibility .5s;
}
.preloader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-logo { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--gold); }
.preloader-bar { width: 200px; height: 2px; background: var(--surface2); border-radius: 1px; overflow: hidden; }
.preloader-bar::after {
  content: ''; display: block; height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  animation: preloaderAnim 1.2s ease;
}
@keyframes preloaderAnim { from{width:0%} to{width:100%} }

/* ── Car availability tag ──────────────────────────────────── */
.unavailable { opacity: .5; }
.car-unavail-tag {
  position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%);
  background: rgba(255,60,60,.85); color: #fff; font-size: .75rem;
  padding: .3rem 1rem; border-radius: 50px; white-space: nowrap;
}

/* ═══════════════════════════════════════════════════════════
   MULTI-PHOTO CAROUSEL (car cards)
═══════════════════════════════════════════════════════════ */
.car-carousel {
  position: relative; width: 100%; height: 100%; overflow: hidden;
}
.carousel-slide {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .45s ease;
  pointer-events: none;
}
.carousel-slide.active {
  opacity: 1; pointer-events: auto;
}
/* Nav arrows */
.car-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(8,8,15,.65); backdrop-filter: blur(4px);
  border: 1px solid rgba(201,168,76,.3); color: var(--gold);
  width: 32px; height: 32px; border-radius: 50%;
  font-size: 1.2rem; line-height: 1; z-index: 5;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .2s, transform .2s;
  cursor: pointer;
}
.car-img-wrap:hover .car-nav { opacity: 1; }
.car-prev { left: .5rem; }
.car-next { right: .5rem; }
.car-nav:hover { background: rgba(201,168,76,.25); transform: translateY(-50%) scale(1.1); }
/* Dots */
.car-dots {
  position: absolute; bottom: .55rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: .35rem; z-index: 5;
}
.car-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,.4); cursor: pointer;
  transition: all .2s;
}
.car-dot.active { background: var(--gold); width: 16px; border-radius: 3px; }
/* Photo count badge */
.car-photo-count {
  position: absolute; top: .6rem; right: .6rem; z-index: 5;
  background: rgba(8,8,15,.7); backdrop-filter: blur(4px);
  color: var(--gold-light); font-size: .7rem; font-weight: 600;
  padding: .2rem .55rem; border-radius: 50px;
  border: 1px solid rgba(201,168,76,.25);
  display: flex; align-items: center; gap: .3rem;
}

/* ── Modal gallery thumbnails ─────────────────────────────── */
#modal-gallery::-webkit-scrollbar { height: 4px; }
#modal-gallery::-webkit-scrollbar-track { background: var(--bg); }
#modal-gallery::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 2px; }
.modal-gallery-thumb {
  width: 72px; height: 50px; object-fit: cover;
  border-radius: 6px; cursor: pointer; flex-shrink: 0;
  border: 2px solid transparent; transition: border-color .2s, transform .2s;
}
.modal-gallery-thumb.active { border-color: var(--gold); }
.modal-gallery-thumb:hover  { transform: scale(1.05); border-color: var(--border2); }

/* ── Lightbox ─────────────────────────────────────────────── */
.lightbox {
  position: fixed; inset: 0; z-index: 5000;
  background: rgba(4,4,12,.96); backdrop-filter: blur(16px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox-img {
  max-width: 92vw; max-height: 88vh; object-fit: contain;
  border-radius: 8px; border: 1px solid var(--border2);
  box-shadow: 0 20px 80px rgba(0,0,0,.8);
  transition: opacity .3s;
}
.lightbox-close {
  position: absolute; top: 1.25rem; right: 1.5rem;
  background: none; border: none; color: var(--text-muted);
  font-size: 2rem; cursor: pointer; transition: color .2s; line-height: 1;
}
.lightbox-close:hover { color: var(--text); }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(14,14,28,.8); border: 1px solid var(--border2);
  color: var(--gold); width: 48px; height: 48px; border-radius: 50%;
  font-size: 1.4rem; display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all .2s;
}
.lightbox-nav:hover { background: rgba(201,168,76,.15); }
.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }
.lightbox-counter {
  position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
  color: var(--text-muted); font-size: .85rem; white-space: nowrap;
}

/* ── Admin gallery preview ─────────────────────────────────── */
.gallery-thumb-wrap img { transition: opacity .2s, filter .2s; }

/* ── About image placeholder ─────────────────────────────── */
.about-img-placeholder {
  width: 100%; aspect-ratio: 4/3; border-radius: var(--radius-lg);
  border: 2px dashed var(--border2);
  background: var(--surface);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1rem; color: var(--text-muted);
}
.about-img-placeholder i  { font-size: 3rem; color: var(--gold); opacity: .4; }
.about-img-placeholder p  { font-size: .875rem; text-align: center; max-width: 200px; line-height: 1.5; }
