/* --- Page Header --- */
.page-header {
  background:
    linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("/assets/images/hero_wing.jpg");
  background-size: cover;
  background-position: center;
  padding: 80px 0;
  color: white;
  text-align: center;
  margin-bottom: 3rem;
}

.page-title {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* --- Filter Button Styles --- */
.filter-btn {
  border: 1px solid #ddd;
  background: white;
  color: #555;
  padding: 10px 25px;
  border-radius: 50px;
  margin: 0 5px 10px;
  font-weight: 600;
  transition: 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--honda-red);
  color: white;
  border-color: var(--honda-red);
  box-shadow: 0 4px 10px rgba(237, 28, 36, 0.3);
}

/* --- Product Card Styles --- */
.product-card {
  border: none;
  border-radius: 12px;
  overflow: hidden;
  background: white;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.badge-category {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(237, 28, 36, 0.9);
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
}

.card-img-wrapper {
  background-color: #f4f4f4;
  padding: 2rem;
  text-align: center;
}

.card-img-top {
  width: 100%;
  height: 180px;
  object-fit: contain;
  transition: transform 0.3s;
}

.product-card:hover .card-img-top {
  transform: scale(1.05);
}

.product-name {
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 5px;
  color: #222;
}

.product-cc {
  font-size: 0.85rem;
  color: #888;
  font-weight: 600;
  margin-bottom: 1rem;
  display: block;
}

.product-price {
  color: var(--honda-red);
  font-weight: 700;
  font-size: 1.1rem;
}

.btn-detail {
  background-color: #222;
  color: white;
  border-radius: 8px;
  width: 100%;
  padding: 10px;
}

.btn-detail:hover {
  background-color: var(--honda-red);
  color: white;
}

/* Style Modal Motor */
.modal-content {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

/* Styling Carousel Control agar terlihat di background terang */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.3); /* Lingkaran hitam transparan */
  border-radius: 50%;
  background-size: 50%;
}

.carousel-indicators [data-bs-target] {
  background-color: #ed1c24; /* Indikator merah */
  height: 4px;
}

.color-img {
  object-fit: contain;
  width: 100%;
}

.btn-pricelist {
  background-color: var(--honda-red);
  border: 1px solid var(--honda-red);
  color: white;
  transition: all 0.3s ease;
  padding: 0.5rem 2rem;
}

.btn-pricelist:hover {
  background-color: #de2025;
  transform: translateY(-2px); /* Efek naik sedikit */
  box-shadow: 0 4px 8px rgba(237, 28, 36, 0.3);
}

.btn-honda {
  background-color: var(--honda-red);
  border: 1px solid var(--honda-red);
  color: white;
  width: 100%;
  transition: all 0.3s ease;
}

.btn-honda:hover {
  background-color: white; /* Saat hover jadi putih */
  color: var(--honda-red); /* Teks jadi merah */
  border-color: var(--honda-red);
  transform: translateY(-2px); /* Efek naik sedikit */
  box-shadow: 0 4px 8px rgba(237, 28, 36, 0.3);
}

.motor-carousel-img {
  height: 300px; /* Tinggi standar di HP */
  object-fit: contain; /* Agar gambar tidak terpotong (gepeng) */
  object-position: center; /* Posisi gambar di tengah */
}

@media (min-width: 992px) {
  .motor-carousel-img {
    height: 500px; /* PERBESAR DI SINI (Misal ganti jadi 600px) */
  }
}
