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

:root {
  --primary: #D4AF37;
  --primary-dark: #B8941F;
  --primary-rgb: 212, 175, 55;
  --black: #000;
  --white: #fff;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --green: #22c55e;
  --container: 1200px;
  --header-h: 80px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Tajawal', sans-serif;
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img, video { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  border-radius: 0.375rem;
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.2s, transform 0.2s;
}

.btn-primary {
  background: rgba(var(--primary-rgb), 0.25);
  color: var(--primary);
  border: 1px solid rgba(var(--primary-rgb), 0.5);
  backdrop-filter: blur(8px) saturate(150%);
  -webkit-backdrop-filter: blur(8px) saturate(150%);
  box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.15);
}

.btn-primary:hover {
  background: rgba(var(--primary-rgb), 0.4);
  border-color: var(--primary);
  box-shadow: 0 0 28px rgba(var(--primary-rgb), 0.3);
}

.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn-full { width: 100%; }

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  border-bottom: 1px solid rgba(var(--primary-rgb), 0.15);
  transition: background 0.3s, box-shadow 0.3s;
}

.header.scrolled {
  background: rgba(0, 0, 0, 0.15);
  border-bottom-color: rgba(var(--primary-rgb), 0.25);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-group img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.logo-text h1 {
  font-size: 1.25rem;
  font-weight: 700;
}

.logo-text p {
  font-size: 0.75rem;
  color: var(--primary);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-main-group {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav a {
  font-size: 0.875rem;
  color: var(--gray-300);
  transition: color 0.2s;
}

.nav a:hover { color: var(--primary); }

.nav-main-group {
  display: flex;
  align-items: center;
  gap: 0;
  transition: gap 0.4s ease;
}

.nav-main-group:has(.nav-extra.open) {
  gap: 1.5rem;
}

.nav-more-toggle {
  color: var(--gray-300);
  display: flex;
  align-items: center;
  padding: 0;
  transition: color 0.2s;
}

.nav-more-toggle:hover { color: var(--primary); }

.nav-arrow {
  transition: transform 0.4s ease;
}

.nav-more-toggle.expanded .nav-arrow {
  transform: rotate(180deg);
}

.nav-extra {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  overflow: hidden;
}

.nav-extra a {
  font-size: 0.875rem;
  color: var(--gray-300);
  white-space: nowrap;
  opacity: 0;
  max-width: 0;
  transform: translateX(20px);
  transition: max-width 0.4s ease, opacity 0.3s ease, transform 0.4s ease, color 0.2s;
}

.nav-extra.open a {
  opacity: 1;
  max-width: 120px;
  transform: translateX(0);
}

.nav-extra a:hover { color: var(--primary); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.menu-toggle {
  display: none;
  color: var(--white);
  padding: 0.5rem;
}

.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h);
  right: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.98);
  border-bottom: 1px solid rgba(var(--primary-rgb), 0.2);
  padding: 1.5rem;
  z-index: 99;
}

.mobile-nav.open { display: block; }

.mobile-nav a {
  display: block;
  padding: 0.75rem 0;
  color: var(--gray-300);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: color 0.2s;
}

.mobile-nav a:hover { color: var(--primary); }

.mobile-nav .btn { margin-top: 1rem; }

/* ===== Hero ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  padding-top: var(--header-h);
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slide.active { opacity: 1; }

.hero-slide img,
.hero-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.8));
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 1.5rem;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  max-width: 48rem;
}

.highlight { color: var(--primary); }

.hero-title .highlight { color: var(--primary); }

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--gray-300);
  margin-bottom: 2rem;
  max-width: 36rem;
}
.hero-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  color: var(--white);
  padding: 0.5rem;
  transition: color 0.2s, transform 0.2s;
}

.hero-nav-btn:hover { color: var(--primary); transform: translateY(-50%) scale(1.15); }
.hero-nav-btn .icon { width: 32px; height: 32px; }
.hero-nav-btn.prev { right: 1.5rem; }
.hero-nav-btn.next { left: 1.5rem; }

/* ===== Section Common ===== */
.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-header h2 .highlight { color: var(--primary); }

.section-divider {
  width: 5rem;
  height: 4px;
  background: var(--primary);
  margin: 0 auto 1.5rem;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--gray-400);
  max-width: 42rem;
  margin: 0 auto;
}

/* ===== About ===== */
.about-wrapper {
  display: flex;
  gap: 2rem;
  align-items: stretch;
  margin-bottom: 2rem;
}

.about-wrapper .features-grid {
  flex: 1;
  max-width: none;
  margin: 0;
}

.about-wrapper .video-showcase {
  flex: 1;
  max-width: none;
  margin: 0;
  display: flex;
}

.about-wrapper .video-showcase-player {
  width: 100%;
}

.features-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 28rem;
  margin: 0 auto 2rem;
}

.feature-card {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.08), transparent);
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  border-radius: 0.5rem;
  padding: 0.875rem 1rem;
  transition: border-color 0.3s;
}

.feature-card:hover { border-color: rgba(var(--primary-rgb), 0.4); }

.feature-icon {
  display: inline-flex;
  flex-shrink: 0;
  padding: 0.5rem;
  background: rgba(var(--primary-rgb), 0.15);
  border-radius: 0.375rem;
  color: var(--primary);
}

.feature-icon .icon { width: 20px; height: 20px; }

.feature-card h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.feature-card p {
  font-size: 0.8125rem;
  color: var(--gray-400);
  line-height: 1.6;
}

/* ===== Video Showcase ===== */
.video-showcase {
  max-width: 42rem;
  margin: 0 auto 3rem;
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.08), transparent);
  border: 1px solid rgba(var(--primary-rgb), 0.25);
  border-radius: 0.75rem;
  overflow: hidden;
  transition: border-color 0.3s;
}

.video-showcase:hover { border-color: rgba(var(--primary-rgb), 0.45); }

.video-showcase-header {
  padding: 1rem 1.25rem 0.75rem;
  text-align: center;
}

.video-showcase-header h3 {
  font-size: 1.125rem;
  font-weight: 700;
}

.video-showcase-header p {
  font-size: 0.875rem;
  color: var(--gray-400);
  margin-top: 0.25rem;
}

.video-showcase-player {
  position: relative;
  background: #0a0a0a;
  aspect-ratio: 16 / 9;
}

.video-showcase-player video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stats-box {
  background: linear-gradient(to left, rgba(var(--primary-rgb), 0.1), transparent);
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  border-radius: 0.5rem;
  padding: 0.875rem 1rem;
  margin-top: auto;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.stat-number {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.9375rem;
  color: var(--gray-300);
}

.stat-sub {
  font-size: 0.8125rem;
  color: var(--gray-500);
  margin-top: 0.5rem;
}

/* ===== Fleet ===== */
.route-select-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
}

.route-select {
  min-width: 16rem;
  padding: 0.625rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.9375rem;
  font-weight: 500;
  font-family: inherit;
  border: 1px solid rgba(var(--primary-rgb), 0.4);
  background: rgba(var(--primary-rgb), 0.1);
  color: var(--white);
  cursor: pointer;
  text-align: center;
  transition: border-color 0.2s;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23D4AF37' viewBox='0 0 24 24'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 1rem center;
}

.route-select:hover { border-color: var(--primary); }
.route-select:focus { outline: none; border-color: var(--primary); }

.route-select option {
  background: #0a0a0a;
  color: var(--white);
}

.fleet-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.car-card {
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.05), transparent);
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  border-radius: 0.5rem;
  overflow: hidden;
  transition: border-color 0.3s;
}

.car-card:hover { border-color: rgba(var(--primary-rgb), 0.4); }

.car-image {
  position: relative;
  height: 11rem;
  overflow: hidden;
  background: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem;
}

.car-image img,
.car-image video {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  transition: transform 0.35s ease;
}

.car-card:hover .car-image img,
.car-card:hover .car-image video { transform: scale(1.1); }

.car-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
}

.car-body { padding: 1rem; }

.car-type {
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 500;
}

.car-name {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0.25rem 0 0.75rem;
}

.car-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--gray-400);
  margin-bottom: 0.75rem;
}

.car-meta span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.car-meta svg { color: var(--primary); width: 16px; height: 16px; }

.car-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.car-tag {
  font-size: 0.75rem;
  background: rgba(var(--primary-rgb), 0.1);
  color: var(--primary);
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  border: 1px solid rgba(var(--primary-rgb), 0.2);
}

.car-rating {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 0.75rem;
}

.car-rating svg {
  width: 14px;
  height: 14px;
  fill: var(--primary);
}

.car-rating span {
  font-size: 0.75rem;
  color: var(--gray-400);
  margin-right: 0.25rem;
}

.car-footer {
  padding-top: 0.75rem;
  border-top: 1px solid rgba(var(--primary-rgb), 0.2);
}

.car-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.car-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.car-currency {
  font-size: 0.75rem;
  color: var(--gray-500);
}

/* ===== Contact ===== */
#contact {
  border-top: 1px solid rgba(var(--primary-rgb), 0.2);
}

.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 0.5rem;
  padding: 1rem 1.25rem;
  transition: border-color 0.3s;
  flex: 1;
}

.contact-card.phone,
.contact-card.email {
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1), transparent);
  border: 1px solid rgba(var(--primary-rgb), 0.2);
}

.contact-card.phone:hover,
.contact-card.email:hover { border-color: rgba(var(--primary-rgb), 0.4); }

.contact-card.whatsapp {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), transparent);
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.contact-card.whatsapp:hover { border-color: rgba(34, 197, 94, 0.4); }

.contact-icon {
  display: inline-flex;
  flex-shrink: 0;
  padding: 0.5rem;
  border-radius: 0.375rem;
}

.contact-icon .icon { width: 20px; height: 20px; }

.contact-card.phone .contact-icon,
.contact-card.email .contact-icon {
  background: rgba(var(--primary-rgb), 0.2);
  color: var(--primary);
}

.contact-card.whatsapp .contact-icon {
  background: rgba(34, 197, 94, 0.2);
  color: var(--green);
}

.contact-card-body { min-width: 0; }

.contact-card h3 {
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 0.125rem;
}

.contact-card.phone .contact-value,
.contact-card.email .contact-value { color: var(--primary); font-weight: 600; }

.contact-card.whatsapp .contact-value { color: var(--green); font-weight: 600; }

.contact-value { font-size: 0.8125rem; }

/* ===== Contact Bottom Layout ===== */
.contact-bottom {
  display: flex;
  gap: 1.5rem;
  align-items: stretch;
}

.contact-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-left .cta-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1), transparent);
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  border-radius: 0.5rem;
  padding: 1rem 1.25rem;
  margin: 0;
  flex: 1;
}

.contact-left .cta-box h3 {
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

/* ===== Location Card ===== */
.contact-bottom .location-card {
  flex: 2;
  max-width: none;
  margin: 0;
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.08), transparent);
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  border-radius: 0.5rem;
  padding: 1rem;
  text-align: center;
  transition: border-color 0.3s;
  display: flex;
  flex-direction: column;
}

.location-card:hover { border-color: rgba(var(--primary-rgb), 0.4); }

.location-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.location-header .contact-icon {
  background: rgba(var(--primary-rgb), 0.2);
  color: var(--primary);
}

.location-header h3 {
  font-size: 0.9375rem;
  font-weight: 700;
}

.location-map {
  border-radius: 0.5rem;
  overflow: hidden;
  margin-bottom: 0.75rem;
  border: 1px solid rgba(var(--primary-rgb), 0.15);
  flex: 1;
}

.location-map iframe {
  width: 100%;
  height: 100%;
  min-height: 250px;
  border: 0;
  display: block;
  filter: invert(0.9) hue-rotate(180deg);
}

/* ===== Footer ===== */
.footer {
  background: rgba(0, 0, 0, 0.8);
  border-top: 1px solid rgba(var(--primary-rgb), 0.2);
  padding: 3rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--gray-400);
  margin-top: 1rem;
}

.footer-col h4 {
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-col ul li { margin-bottom: 0.5rem; }

.footer-col ul a {
  font-size: 0.875rem;
  color: var(--gray-400);
  transition: color 0.2s;
}

.footer-col ul a:hover { color: var(--primary); }

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(var(--primary-rgb), 0.1);
  font-size: 0.875rem;
  color: var(--gray-500);
}

.footer-made {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: var(--gray-500);
}

.footer-made .heart {
  display: inline-block;
  animation: heartbeat 1.5s ease infinite;
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

/* ===== Privacy Modal ===== */
.privacy-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: none !important;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.privacy-overlay.open { display: flex !important; }

.privacy-modal {
  background: #0a0a0a;
  border: 1px solid rgba(var(--primary-rgb), 0.25);
  border-radius: 0.75rem;
  width: 100%;
  max-width: 42rem;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  animation: modalIn 0.3s ease;
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.privacy-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(var(--primary-rgb), 0.15);
}

.privacy-modal-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

.privacy-close {
  color: var(--gray-400);
  display: flex;
  align-items: center;
  transition: color 0.2s;
}

.privacy-close:hover { color: var(--primary); }

.privacy-modal-body {
  padding: 1.5rem;
  overflow-y: auto;
}

.policy-block { margin-bottom: 1.5rem; }
.policy-block:last-child { margin-bottom: 0; }

.policy-block h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.policy-block p {
  font-size: 0.8125rem;
  color: var(--gray-400);
  line-height: 1.8;
}

.policy-block ul { margin-top: 0.25rem; }

.policy-block ul li {
  position: relative;
  padding-right: 1.25rem;
  font-size: 0.8125rem;
  color: var(--gray-400);
  margin-bottom: 0.375rem;
  line-height: 1.7;
}

.policy-block ul li::before {
  content: '';
  position: absolute;
  right: 0;
  top: 0.5rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary);
}

.privacy-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.privacy-contact a {
  font-size: 0.8125rem;
  color: var(--primary);
  font-weight: 600;
  padding: 0.375rem 0.875rem;
  border-radius: 0.375rem;
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  background: rgba(var(--primary-rgb), 0.08);
  transition: all 0.2s;
}

.privacy-contact a:hover {
  background: rgba(var(--primary-rgb), 0.2);
  border-color: var(--primary);
}

/* ===== Icons (inline SVG sizing) ===== */
.icon { width: 24px; height: 24px; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .fleet-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav, .header-actions .btn { display: none; }
  .menu-toggle { display: block; }
  .logo-text { display: none; }
  .fleet-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .about-wrapper { flex-direction: column; }
  .contact-bottom { flex-direction: column; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
