/* Smooth scroll */
body {
  scroll-behavior: smooth;
}

/* ===== HERO SECTION ===== */
.hero-section {
  position: relative;
  z-index: 1;
  /* langsung pakai gradient overlay di background */
  background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
    url("assets/img/hero.avif") center/cover no-repeat;
  color: #fff;
}

.hero-section h1 {
  font-size: 3.5rem;
  line-height: 1.2;
}

.hero-section p {
  font-size: 1.25rem;
  opacity: 0.9;
}

/* CTA button */
.hero-section #hero-cta {
  display: inline-block;
  padding: 0.75rem 2rem;
  font-weight: bold;
  transition: all 0.3s ease;
  will-change: transform;
}
.hero-section #hero-cta:hover {
  background-color: #e0a800;
  transform: translateY(-3px);
}

/* ===== CARD IMAGE ===== */
.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

/* ===== CAROUSEL CONTROLS ===== */
.custom-control {
  width: 50px;
  height: 50px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  will-change: transform, background;
  transition: background 0.3s ease;
}
.custom-control:hover {
  background: rgba(0, 0, 0, 0.8);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(1); /* bikin icon putih */
}
