.carousel-item h2 {
  font-size: 2rem;
  text-shadow: 0 2px 6px rgba(0,0,0,0.7);
}
.carousel-item p {
  font-size: 1rem;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}

.btn-cat {
  transition: all 0.2s ease-in-out;
  border-radius: 20px;
}
.btn-cat:hover {
  background: #198754;
  color: #fff;
  transform: scale(1.05);
}
.btn-cat.active {
  background: #198754;
  color: #fff;
}

/* --- Banner --- */
#bannerCarousel .carousel-item {
  transition: transform 1s ease-in-out, opacity 0.8s ease-in-out;
}
#bannerCarousel h2 {
  font-size: 2rem;
  text-shadow: 0 3px 8px rgba(0,0,0,0.6);
}
#bannerCarousel p {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* --- Tombol Kategori --- */
.btn-cat {
  border-radius: 25px;
  font-weight: 500;
  border: 2px solid #198754;
  color: #198754;
  background: #fff;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.btn-cat:hover {
  background: linear-gradient(135deg, #198754, #28a745);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.btn-cat.active {
  background: #198754;
  color: #fff;
  box-shadow: 0 4px 10px rgba(25,135,84,0.5);
}

/* --- Produk Card --- */
.card {
  border: none;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}
.card img {
  border-bottom: 3px solid #198754;
}
.card-footer {
  background: #f9f9f9;
  border-top: none;
}
.card-footer .btn {
  border-radius: 20px;
}

/* Harga Produk */
.card-body p.fw-bold {
  font-size: 1.1rem;
  margin-bottom: 0;
}

/* --- FAQ --- */
.accordion-button {
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
}
.accordion-button:not(.collapsed) {
  background: #198754;
  color: #fff;
  box-shadow: 0 3px 6px rgba(0,0,0,0.2);
}
.accordion-button:focus {
  box-shadow: none;
}
.accordion-item {
  border: none;
  margin-bottom: 10px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

/* --- Responsif --- */
@media (max-width: 768px) {
  #bannerCarousel h2 { font-size: 1.5rem; }
  #bannerCarousel p { font-size: 0.95rem; }
  .btn-cat { font-size: 0.85rem; padding: 6px 14px; }
}

/* --- Dark Mode --- */
body.dark-mode {
  background-color: #121212;
  color: #e0e0e0;
}

/* Navbar Dark */
body.dark-mode .navbar {
  background-color: #1e1e1e !important;
}
body.dark-mode .navbar .navbar-brand,
body.dark-mode .navbar .nav-link,
body.dark-mode .navbar .btn {
  color: #e0e0e0 !important;
}

/* Banner Dark */
body.dark-mode #bannerCarousel .carousel-item .text-center {
  background-color: rgba(0,0,0,0.7);
}

/* Produk Card Dark */
body.dark-mode .card {
  background: #1e1e1e;
  color: #e0e0e0;
  border: 1px solid #333;
}
body.dark-mode .card-footer {
  background: #2a2a2a;
}

/* Kategori Tombol Dark */
body.dark-mode .btn-cat {
  background: #2a2a2a;
  color: #e0e0e0;
  border: 2px solid #4caf50;
}
body.dark-mode .btn-cat.active {
  background: #4caf50;
  color: #fff;
}

/* FAQ Dark */
body.dark-mode .accordion-item {
  background: #1e1e1e;
  color: #e0e0e0;
}
body.dark-mode .accordion-button {
  background: #2a2a2a;
  color: #e0e0e0;
}
body.dark-mode .accordion-button:not(.collapsed) {
  background: #4caf50;
  color: #fff;
}

/* Footer Dark */
body.dark-mode footer {
  background: #1e1e1e !important;
  color: #e0e0e0 !important;
}


/* Card Produk */
.card-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

/* Tombol di card footer */
.card-footer .btn {
  font-size: 0.8rem;
  padding: 5px 8px;
}

/* Mobile responsif */
@media (max-width: 576px) {
  .card-title {
    font-size: 0.85rem;
  }
  .card-footer .btn {
    font-size: 0.75rem;
    padding: 4px 6px;
  }
}

