:root {
  --brand-red: #d9001b;
}

/* === Hero Section === */
.hero {
  position: relative;
  height: 70vh;
  min-height: 420px;
  color: #fff;
  display: grid;
  align-items: center;
  background: #000;
}
.hero .slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.hero .slide.active {
  opacity: 1;
}
.hero-overlay {
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.6));
  padding: 2rem 0;
}

/* === Badge Brand === */
.badge-brand {
  background: var(--brand-red);
  color: #fff;
  border-radius: 999px;
  padding: .4rem .8rem;
  font-weight: 600;
}

/* === Card Produk === */
.card-product img {
  aspect-ratio: 16/9;
  object-fit: cover;
}
.card-img-top {
  height: 200px;
  object-fit: cover;
}

/* === Spec Pill === */
.spec-pill {
  display: inline-block;
  background: #f8f9fa;
  border-radius: 20px;
  padding: 6px 12px;
  font-size: 0.9rem;
  margin: 4px;
  border: 1px solid rgba(255,255,255,.25);
  color: #010101;
}

/* === Modal Gambar === */
.modal-body img {
  transition: transform .3s ease;
}
.modal-body img:hover {
  transform: scale(1.05);
}
#modelModal .modal-body img {
  max-width: 220px;
  max-height: 140px;
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform .3s ease;
}
#modelModal .modal-body img:hover {
  transform: scale(1.05);
}

/* === Carousel Banner === */
#promoCarousel .carousel-item img {
  height: 480px;
  width: 100%;
  object-fit: cover;
}

/* === Dealer Locator CTA === */
.bg-primary {
  background-color: var(--brand-red) !important;
}


/* === Carousel Caption di bawah === */
.carousel-caption {
  bottom: 2rem;        /* jarak dari bawah */
  top: auto;           /* hilangkan posisi tengah */
  transform: none;     /* reset transform */
  text-align: center;  /* tetap rata tengah */
  z-index: 2;
}

.carousel-caption h5 {
  font-size: 2rem;
  font-weight: 700;
  text-shadow: 0 3px 8px rgba(0,0,0,0.9);
}

.carousel-caption p {
  font-size: 1.1rem;
  font-weight: 500;
  color: #f8f9fa;
  text-shadow: 0 2px 6px rgba(0,0,0,0.8);
}

