.hero {
  position: relative;
  height: 500px;   /* tukar sini */
}

.hero-bg {
  height: 500px;   /* tukar sini */
  background-size: cover;
  background-position: center;
}

/* overlay gelap */
.hero::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 1;
}

/* text atas gambar */
.hero-content {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

/* smooth fade */
.carousel-fade .carousel-item {
  transition: opacity 1.5s ease-in-out;
}

.carousel-item {
  height: 500px;
}


/* navbar default (atas hero) */
.custom-navbar {
  background: transparent;
  transition: all 0.3s ease;
}

/* text putih */
.custom-navbar .nav-link {
  color: #fff;
  margin: 0 10px;
  font-weight: 500;
}

/* hover */
.custom-navbar .nav-link:hover {
  color: #f7941d;
}

/* bila scroll */
.custom-navbar.scrolled {
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(8px);
}

/* button */
.btn-warning {
  background: #f7941d;
  border: none;
  border-radius: 6px;
}

/* NAVBAR BARU */
/* ===== STRIPE MEGA MENU ===== */
/* .mega-wrapper {
  position: absolute;
  top: 100px;
  left: 50%;
  transform: translateX(-50%) scale(0.95);

  width: 900px;
  background: #fff;
  border-radius: 20px;

  opacity: 0;
  visibility: hidden;

  transition: all 0.3s ease;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  z-index: 999;
} */

.mega-wrapper {
  will-change: transform, left;
  backdrop-filter: blur(10px);
  position: fixed;   /* 🔥 ini kunci */
  top: 70px;         /* ikut tinggi navbar */
  left: 0;
  transform: scale(0.95);
  transform-origin: top center;

  width: auto;
  background: #fff;
  border-radius: 20px;
  min-width: 300px;         /* minimum supaya tak terlalu kecil */
  max-width: 90vw;

  opacity: 0;
  visibility: hidden;

  transition: 
  opacity 0.2s ease,
  transform 0.2s ease,
  left 0.25s ease; 
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  z-index: 9999;
  pointer-events: none;
}

.mega-wrapper.active {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.mega-item {
  display: none;
  padding: 30px;
}

.mega-item.active {
  display: block;
}

/* MENU STYLE */
.stripe-menu .nav-item {
  cursor: pointer;
  padding: 10px 15px;
  color: white;
}

.stripe-menu .nav-item:hover {
  color: #ffd700;
}

/* BUCU / BRIDGE AREA */
.mega-wrapper::before {
  content: "";
  position: absolute;
  top: -20px;
  left: 0;
  width: 100%;
  height: 20px;
}

/* BUCU SEGITIGA */
.mega-wrapper::after {
  content: "";
  position: absolute;
  top: -10px;

  left: var(--arrow-left, 50%);
  transform: translateX(-50%) rotate(45deg);

  width: 20px;
  height: 20px;
  background: white;

  box-shadow: -2px -2px 10px rgba(0,0,0,0.05);
  transition: left 0.25s ease;
}