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

:root {
  --orange: #F7931D;
  --orange-dark: #e08415;
  --black: #000000;
  --dark: #111111;
  --darker: #0a0a0a;
  --gray: #1a1a1a;
  --gray-light: #2a2a2a;
  --text: #ffffff;
  --text-muted: #b5b5b5;
  --whatsapp: #25D366;
  --shadow-sm: 0 4px 12px rgba(0,0,0,0.15);
  --shadow-md: 0 10px 30px rgba(0,0,0,0.25);
  --shadow-lg: 0 20px 50px rgba(247,147,29,0.25);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --transition: all 0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  background: var(--black);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.accent { color: var(--orange); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--orange);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 12px;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--orange);
  color: var(--black);
  box-shadow: 0 6px 20px rgba(247,147,29,0.35);
}
.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(247,147,29,0.5);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 2px solid rgba(255,255,255,0.3);
}
.btn-outline:hover {
  background: var(--text);
  color: var(--black);
  border-color: var(--text);
}

.btn-sm { padding: 10px 20px; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* ============ LANGUAGE SWITCHER ============ */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
}
.lang-switch:hover {
  border-color: var(--orange);
  color: var(--orange);
}

/* ============ NAVBAR ============ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: var(--transition);
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.navbar.scrolled {
  background: rgba(0,0,0,0.95);
  padding: 12px 0;
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.2rem;
}
.logo-img {
  height: 44px;
  width: auto;
  display: block;
  transition: var(--transition);
}
.logo:hover .logo-img {
  transform: scale(1.05);
}
.navbar.scrolled .logo-img {
  height: 38px;
}
.footer .logo-img {
  height: 50px;
  margin-bottom: 4px;
}
.logo-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: var(--orange);
  color: var(--black);
  border-radius: 10px;
  font-weight: 800;
  font-size: 1.2rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a:not(.btn) {
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
}
.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: var(--transition);
}
.nav-links a:not(.btn):hover::after { width: 100%; }
.nav-links a:not(.btn):hover { color: var(--orange); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  width: 26px;
  height: 3px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.6) 100%),
    url('https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  padding: 120px 0 80px;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 50%, rgba(247,147,29,0.15) 0%, transparent 60%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 560px;
}
.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}
.hero-stats {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-stats div {
  display: flex;
  flex-direction: column;
}
.hero-stats strong {
  font-size: 2rem;
  font-weight: 800;
  color: var(--orange);
}
.hero-stats span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ============ SECTIONS ============ */
.section {
  padding: 100px 0;
  background: var(--black);
}
.section-dark {
  background: var(--darker);
  position: relative;
}
.section-dark::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
  opacity: 0.4;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}
.section-head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 14px;
}
.section-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ============ CARS GRID ============ */
.cars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.car-card {
  background: var(--gray);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.05);
}
.car-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(247,147,29,0.3);
}
.car-image {
  height: 230px;
  background-color: #1f1f1f;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  transition: transform 0.4s ease;
  overflow: hidden;
}
.car-card:hover .car-image {
  transform: scale(1.04);
}
.car-body {
  padding: 24px;
}
.car-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
  gap: 12px;
}
.car-top h3 {
  font-size: 1.35rem;
  font-weight: 700;
}
.price {
  color: var(--orange);
  font-weight: 800;
  font-size: 1.3rem;
  white-space: nowrap;
}
.price small {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
}
.car-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.car-specs li {
  background: var(--gray-light);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============ FEATURES (WHY US) ============ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}
.feature-card {
  background: var(--gray);
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.05);
  cursor: default;
}
.feature-card:hover {
  transform: translateY(-8px);
  background: var(--gray-light);
  border-color: var(--orange);
  box-shadow: var(--shadow-md);
}
.feature-icon {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  background: rgba(247,147,29,0.15);
  color: var(--orange);
  border-radius: 18px;
  transition: var(--transition);
}
.feature-icon svg {
  width: 32px;
  height: 32px;
}
.feature-card:hover .feature-icon {
  background: var(--orange);
  color: var(--black);
  transform: scale(1.05) rotate(-5deg);
}
.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ============ ABOUT ============ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-image {
  position: relative;
}
.about-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.about-image::before {
  content: '';
  position: absolute;
  inset: 20px -20px -20px 20px;
  border: 3px solid var(--orange);
  border-radius: var(--radius-lg);
  z-index: -1;
}
.about-content h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}
.about-content p {
  color: var(--text-muted);
  margin-bottom: 24px;
  font-size: 1rem;
}
.about-points {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.about-points div {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
}
.about-points strong {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  background: var(--orange);
  color: var(--black);
  border-radius: 50%;
  font-size: 0.85rem;
}

/* ============ CONTACT ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  align-items: stretch;
}
.contact-info {
  background: var(--gray);
  padding: 36px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 24px;
  border: 1px solid rgba(255,255,255,0.05);
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
}
.contact-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  background: rgba(247,147,29,0.15);
  color: var(--orange);
  border-radius: 12px;
  flex-shrink: 0;
}
.contact-icon svg { width: 22px; height: 22px; }
.contact-item h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 4px;
  font-weight: 600;
}
.contact-item a:hover { color: var(--orange); }

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 380px;
  background: var(--gray);
  border: 1px solid rgba(255,255,255,0.05);
}
.contact-map iframe { display: block; min-height: 380px; }

/* ============ FOOTER ============ */
.footer {
  background: var(--darker);
  padding-top: 70px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}
.footer-about {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 18px;
  max-width: 360px;
}
.footer h4 {
  margin-bottom: 18px;
  font-size: 1rem;
  font-weight: 700;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--text-muted); font-size: 0.95rem; }
.footer-links a:hover { color: var(--orange); }
.footer-links li { color: var(--text-muted); font-size: 0.95rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 22px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ============ FLOATING WHATSAPP ============ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  background: var(--whatsapp);
  color: white;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 25px rgba(37,211,102,0.45);
  z-index: 99;
  transition: var(--transition);
  animation: pulse 2.5s infinite;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 35px rgba(37,211,102,0.6);
}
.whatsapp-float svg { width: 32px; height: 32px; }

@keyframes pulse {
  0%, 100% { box-shadow: 0 8px 25px rgba(37,211,102,0.45), 0 0 0 0 rgba(37,211,102,0.6); }
  50% { box-shadow: 0 8px 25px rgba(37,211,102,0.45), 0 0 0 18px rgba(37,211,102,0); }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-image::before { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 30px 24px;
    gap: 22px;
    transform: translateY(-150%);
    transition: transform 0.4s ease;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }
  .nav-links.active { transform: translateY(0); }

  .section { padding: 70px 0; }
  .hero { padding: 100px 0 60px; min-height: auto; }
  .hero-stats { gap: 28px; padding-top: 30px; }
  .hero-stats strong { font-size: 1.5rem; }

  .footer-grid { grid-template-columns: 1fr; gap: 30px; text-align: left; }

  .whatsapp-float { width: 56px; height: 56px; bottom: 20px; right: 20px; }
  .whatsapp-float svg { width: 28px; height: 28px; }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }
  .container { padding: 0 18px; }
}

/* ============ RTL (ARABIC) ============ */
[dir="rtl"] body { font-family: 'Tajawal', 'Poppins', system-ui, sans-serif; }
[dir="rtl"] .eyebrow { letter-spacing: 1px; }
[dir="rtl"] .hero h1,
[dir="rtl"] .section-head h2,
[dir="rtl"] .about-content h2 { line-height: 1.3; }
[dir="rtl"] .nav-links a:not(.btn)::after { left: auto; right: 0; }
[dir="rtl"] .about-image::before { inset: 20px 20px -20px -20px; }
[dir="rtl"] .hero-stats strong,
[dir="rtl"] .price,
[dir="rtl"] .price small { font-family: 'Poppins', sans-serif; direction: ltr; }
[dir="rtl"] .whatsapp-float { right: auto; left: 28px; }
[dir="rtl"] .footer-links li,
[dir="rtl"] .footer-about,
[dir="rtl"] .footer-bottom p { text-align: right; }
[dir="rtl"] .about-points strong { font-family: 'Poppins', sans-serif; }

@media (max-width: 768px) {
  [dir="rtl"] .whatsapp-float { right: auto; left: 20px; }
}
