/* === NAVBAR MOBILE KHUSUS === */

/* Tombol burger (sembunyikan di desktop) */
.navbar-toggle-custom {
  display: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  z-index: 999;
  position: relative;
}

/* Sembunyikan ikon close awalnya */
.navbar-toggle-custom .e-eicon-close {
  display: none;
}



/* Menu navigasi mobile */
.mobile-nav-custom {
  display: none;
  position: absolute;
  top: 60px;
  right: 10px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  width: 200px;
  transition: all 0.3s ease;
  text-align: right;
  z-index: 998;
}

/* Saat aktif tampil */
.mobile-nav-custom.active {
  display: block;
  animation: slideDown 0.3s ease forwards;
}

/* Isi menu */
.mobile-nav-custom ul {
  list-style: none;
  margin: 0;
  padding: 10px;
}

.mobile-nav-custom li {
  margin: 10px 0;
}

.mobile-nav-custom a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  display: block;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}

.mobile-nav-custom a:hover {
  background: #096B68;
  color: #fff;
}

/* === NAVBAR ACTIVE STATE === */

/* Gaya untuk link aktif (halaman yang sedang dibuka) */
.mobile-nav-custom a.active {
  background: #096B68;     /* warna utama */
  color: #ffffff;           /* teks putih */
  font-weight: 600;         /* sedikit lebih tebal */
  border-left: 4px solid #D4AF37; /* garis penanda di kiri */
  transition: all 0.3s ease;
}

/* Efek hover tetap konsisten meski sudah aktif */
.mobile-nav-custom a.active:hover {
  background: #096B68;
  color: #D4AF37;
}

/* Animasi muncul */
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Tampilkan hanya di mobile */
@media (max-width: 768px) {
  .navbar-toggle-custom {
    display: block;
  }
}
