:root {
  --black: #0b0b0b;
  --red: #d60000;
  --white: #ffffff;
  --gray: #bfbfbf;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Montserrat', sans-serif; background: var(--black); color: var(--white); line-height: 1.6; }
a { text-decoration: none; color: inherit; }
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.8);
  padding: 15px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  flex-wrap: nowrap;
}
header .logo-wrap { flex-shrink: 0; }
header nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 12px;
  margin-left: 20px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
header nav a { font-weight: 500; white-space: nowrap; }
header nav a:hover { color: var(--red); }

.hero {
  height: 100vh;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)) center/cover no-repeat;
  display: flex;
  align-items: center;
  padding: 0 40px;
  transition: background-image 0.5s ease;
}
.hero-content { max-width: 650px; }
.hero h1 { font-family: 'Playfair Display', serif; font-size: 3rem; margin-bottom: 20px; }
.hero p { color: var(--gray); margin-bottom: 30px; }
.btn { display: inline-block; padding: 14px 30px; margin-right: 15px; border-radius: 4px; font-weight: 600; }
.btn-red { background: var(--red); }
.btn-dark { border: 1px solid var(--white); }

section { padding: 100px 40px; }
.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 { font-size: 2.2rem; }

/* Rentals & Sales cards */
.car-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.car-card { background: #111; border-radius: 8px; overflow: hidden; border: 1px solid #222; }
.car-card .car-gallery { position: relative; width: 100%; background: #0b0b0b; min-height: 180px; }
.car-card .car-gallery .carousel-inner { position: relative; width: 100%; height: 180px; overflow: hidden; }
.car-card .car-gallery .carousel-inner img { width: 100%; height: 180px; object-fit: cover; display: block; }
.car-card .car-gallery.multi .carousel-inner img { height: 160px; }
.car-card .car-gallery .carousel-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; background: rgba(0,0,0,0.6); color: #fff; border: 1px solid rgba(255,255,255,0.3); cursor: pointer; font-size: 18px; line-height: 1; display: flex; align-items: center; justify-content: center; z-index: 2; transition: background 0.2s; }
.car-card .car-gallery .carousel-arrow:hover { background: rgba(214,0,0,0.9); }
.car-card .car-gallery .carousel-arrow.prev { left: 8px; }
.car-card .car-gallery .carousel-arrow.next { right: 8px; }
.car-card .car-gallery .carousel-dots { position: absolute; bottom: 8px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; z-index: 2; }
.car-card .car-gallery .carousel-dots span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.5); cursor: pointer; transition: background 0.2s; }
.car-card .car-gallery .carousel-dots span.active { background: var(--red); }
.sales-card .car-gallery .carousel-inner { height: auto; min-height: 160px; }
.sales-card .car-gallery .carousel-inner img { height: auto; min-height: 160px; max-height: 220px; object-fit: contain; }
.car-card .car-info { padding: 20px; }
.car-card h4 { margin-bottom: 8px; font-size: 1.1rem; }
.car-card .car-meta { color: var(--gray); font-size: 0.9rem; margin-bottom: 8px; }
.car-card .car-price { color: var(--red); font-weight: 600; }


.filter-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 24px; }
.filter-bar label { color: var(--gray); font-size: 0.9rem; }
.filter-bar select { padding: 8px 12px; background: #111; border: 1px solid #333; border-radius: 4px; color: var(--white); font-family: inherit; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; }
.feature { background: #111; padding: 30px; border-radius: 8px; text-align: center; }
.feature h3 { margin-bottom: 10px; color: var(--red); }

.vehicles { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 30px; }
.vehicle { background: #111; border-radius: 8px; overflow: hidden; }
.vehicle img { width: 100%; height: auto; min-height: 120px; max-height: 220px; object-fit: contain; object-position: center; background: #0b0b0b; display: block; }
.vehicle div { padding: 20px; }
.vehicle h4 { margin-bottom: 8px; }

.pricing table { width: 100%; border-collapse: collapse; margin-top: 30px; }
.pricing th, .pricing td { border: 1px solid #222; padding: 15px; text-align: center; }
.pricing th { background: #111; }

footer { background: #000; padding: 40px; text-align: center; color: var(--gray); }
footer p { margin-bottom: 10px; }
footer .contact-details { margin-top: 16px; font-size: 0.95rem; }

.whatsapp { position: fixed; bottom: 20px; right: 20px; background: #25D366; color: #fff; padding: 15px 20px; border-radius: 50px; font-weight: 600; }

/* Featured / home promo */
.featured-section { padding: 60px 40px; }
.featured-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.featured-grid .car-card .car-gallery img { height: 160px; object-fit: cover; }

@media (max-width: 768px) {
  .hero h1 { font-size: 2.2rem; }
  header { padding: 12px 16px; }
  header nav { gap: 8px; margin-left: 12px; }
  header nav a { font-size: 0.9rem; }
  section { padding: 80px 20px; }
  .filter-bar { margin-bottom: 16px; }
}
