:root {
  --bg: #f8f9fa;
  --surface: #ffffff;
  --primary: #111111;
  --accent: #2563eb;
  --accent-dark: #1d4ed8;
  --text: #1f2937;
  --muted: #667085;
  --border: #e5e7eb;
  --shadow: 0 18px 50px rgba(17, 17, 17, 0.08);
  --shadow-soft: 0 10px 28px rgba(17, 17, 17, 0.06);
  --radius: 16px;
  --radius-lg: 28px;
  --container: 1180px;
  --header-height: 78px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: Inter, "Segoe UI", Tahoma, Arial, ui-sans-serif, system-ui, sans-serif;
  line-height: 1.6;
  min-width: 320px;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.35);
  outline-offset: 3px;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.section {
  padding: 96px 0;
}

.muted-section {
  background: #f1f3f6;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 42px;
}

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--primary);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

h1 {
  font-size: clamp(3rem, 7vw, 6.6rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  color: var(--muted);
}

.site-header {
  background: rgba(248, 249, 250, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.85);
  height: var(--header-height);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 30px rgba(17, 17, 17, 0.08);
}

.navbar {
  align-items: center;
  display: flex;
  height: 100%;
  justify-content: space-between;
  position: relative;
}

.logo {
  color: var(--primary);
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.logo span {
  color: var(--accent);
  font-weight: 800;
}

.nav-links {
  align-items: center;
  display: flex;
  gap: 10px;
  left: 50%;
  list-style: none;
  position: absolute;
  transform: translateX(-50%);
}

.nav-actions {
  align-items: center;
  display: flex;
  gap: 10px;
}

.nav-links a {
  border-radius: 999px;
  color: #394150;
  display: inline-flex;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 10px 16px;
  transition: background 0.25s ease, color 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--primary);
  color: #ffffff;
}

.nav-toggle {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: none;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.language-toggle {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 900;
  min-height: 44px;
  padding: 0 16px;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.language-toggle:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  transform: translateY(-1px);
}

.nav-toggle span {
  background: var(--primary);
  border-radius: 2px;
  display: block;
  height: 2px;
  position: absolute;
  transition: transform 0.25s ease, opacity 0.25s ease;
  width: 20px;
}

.nav-toggle span:nth-child(1) {
  transform: translateY(-7px);
}

.nav-toggle span:nth-child(3) {
  transform: translateY(7px);
}

.nav-toggle.is-open span:nth-child(1) {
  transform: rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: rotate(-45deg);
}

.hero {
  align-items: center;
  display: flex;
  height: 90vh;
  min-height: 680px;
  overflow: hidden;
  position: relative;
}

.hero-slide {
  background-position: center;
  background-size: cover;
  inset: 0;
  opacity: 0;
  position: absolute;
  transform: scale(1.02);
  transition: opacity 900ms ease, transform 5000ms ease;
}

.hero-slide-one {
  background-image:
    url("../images/hero-1.png"),
    linear-gradient(120deg, #0f172a 0%, #111111 42%, #273244 100%);
}

.hero-slide-two {
  background-image:
    url("../images/hero-2.png"),
    linear-gradient(120deg, #111111 0%, #253044 50%, #0b1120 100%);
}

.hero-slide-three {
  background-image:
    url("../images/hero-3.png"),
    linear-gradient(120deg, #1f2937 0%, #111111 48%, #172554 100%);
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0.2));
  inset: 0;
  position: absolute;
}

.hero-content {
  max-width: 820px;
  position: relative;
  z-index: 2;
}

.hero-content h1,
.hero-content p {
  color: #ffffff;
}

.hero-content > p:not(.eyebrow) {
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  margin-top: 22px;
  max-width: 680px;
  opacity: 0.88;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.carousel-control {
  align-items: center;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: #ffffff;
  display: flex;
  font-size: 2.2rem;
  height: 52px;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: background 0.25s ease, transform 0.25s ease;
  width: 52px;
  z-index: 3;
}

.carousel-control:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-50%) scale(1.04);
}

.carousel-control.prev {
  left: 28px;
}

.carousel-control.next {
  right: 28px;
}

.page-hero {
  align-items: end;
  background: linear-gradient(135deg, #111111 0%, #1f2937 54%, #2563eb 140%);
  display: flex;
  min-height: 430px;
  padding: 160px 0 82px;
}

.page-hero h1,
.page-hero p {
  color: #ffffff;
}

.page-hero .container {
  max-width: 920px;
}

.page-hero p:not(.eyebrow) {
  font-size: 1.15rem;
  margin-top: 18px;
  max-width: 730px;
  opacity: 0.86;
}

.inventory-hero {
  background:
    linear-gradient(135deg, rgba(17, 17, 17, 0.9), rgba(31, 41, 55, 0.82)),
    radial-gradient(circle at 78% 30%, rgba(37, 99, 235, 0.38), transparent 32%),
    #111111;
}

.about-hero {
  background:
    linear-gradient(135deg, rgba(17, 17, 17, 0.88), rgba(31, 41, 55, 0.8)),
    radial-gradient(circle at 78% 30%, rgba(37, 99, 235, 0.35), transparent 32%),
    #111111;
}

.contact-hero,
.details-hero {
  background:
    linear-gradient(135deg, rgba(17, 17, 17, 0.9), rgba(31, 41, 55, 0.78)),
    radial-gradient(circle at 78% 30%, rgba(37, 99, 235, 0.34), transparent 32%),
    #111111;
}

.btn {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.28);
}

.btn-primary:hover {
  background: var(--accent-dark);
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: #ffffff;
}

.btn-secondary:hover {
  background: #ffffff;
  color: var(--primary);
}

.btn-outline {
  background: #ffffff;
  border: 1px solid var(--border);
  color: var(--primary);
}

.btn-outline:hover {
  border-color: rgba(37, 99, 235, 0.35);
  color: var(--accent);
}

.btn-wide {
  width: 100%;
}

.link-button {
  align-items: center;
  background: #f3f6fb;
  border-radius: 999px;
  color: var(--accent);
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 800;
  padding: 10px 14px;
  transition: background 0.25s ease, color 0.25s ease;
}

.link-button:hover {
  background: var(--accent);
  color: #ffffff;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.site-footer {
  background: #111111;
  color: #ffffff;
  padding: 68px 0 26px;
}

.site-footer p,
.site-footer span,
.site-footer a {
  color: rgba(255, 255, 255, 0.68);
}

.site-footer a {
  display: block;
  margin-top: 10px;
  transition: color 0.25s ease;
}

.site-footer a:hover {
  color: #ffffff;
}

.footer-grid {
  display: grid;
  gap: 36px;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
}

.footer-grid h3 {
  color: #ffffff;
  font-size: 1rem;
  margin-bottom: 16px;
}

.footer-logo {
  color: #ffffff;
  display: inline-block;
  margin-bottom: 18px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.social-links a {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  margin-top: 0;
  padding: 8px 12px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 48px;
  padding-top: 24px;
}

[dir="rtl"] body {
  text-align: right;
}

[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3 {
  letter-spacing: -0.03em;
}

[dir="rtl"] .hero-overlay {
  background: linear-gradient(270deg, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0.2));
}

[dir="rtl"] .footer-grid,
[dir="rtl"] .vehicle-title,
[dir="rtl"] .inventory-title,
[dir="rtl"] .vehicle-footer,
[dir="rtl"] .inventory-footer {
  direction: rtl;
}
