/* NAVBAR */
.navbar {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);

  display: flex;
  gap: 4px;
  padding: 8px 10px;

  background: rgba(253, 248, 245, 0.45);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow:
    0 8px 32px rgba(111, 78, 55, 0.18),
    0 2px 8px rgba(111, 78, 55, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(111, 78, 55, 0.05);

  z-index: 999;
  transition: all 0.4s ease;
}

/* shimmer line atas */
.navbar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 18%;
  right: 18%;
  height: 1px;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 1) 40%,
      rgba(255, 255, 255, 1) 60%,
      transparent);
  border-radius: 50%;
}

/* gloss reflection (kulit kaca atas) */
.navbar::after {
  content: '';
  position: absolute;
  top: 1px;
  left: 6px;
  right: 6px;
  height: 40%;
  background: linear-gradient(180deg,
      rgba(255, 255, 255, 0.35) 0%,
      rgba(255, 255, 255, 0) 100%);
  border-radius: 26px 26px 50% 50%;
  pointer-events: none;
}

.navbar.hide {
  transform: translateX(-50%) translateY(100px);
  opacity: 0;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 11px;
  font-weight: 500;
  color: #C4A898;
  text-decoration: none;
  padding: 8px 20px 6px;
  border-radius: 22px;
  transition: all 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  -webkit-tap-highlight-color: transparent;
}

.nav-item i {
  font-size: 20px;
  transition: transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1),
    filter 0.32s ease;
}

.nav-item:hover {
  color: #9B7355;
}

.nav-item:hover i {
  transform: translateY(-2px) scale(1.08);
}

.nav-item.active {
  color: #5C3820;
  background: rgba(255, 255, 255, 0.72);
  box-shadow:
    0 2px 12px rgba(111, 78, 55, 0.14),
    0 1px 3px rgba(111, 78, 55, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.nav-item.active i {
  transform: translateY(-2px) scale(1.12);
  filter: drop-shadow(0 2px 5px rgba(111, 78, 55, 0.30));
}

/* notif dot merah (opsional) */
.nav-dot {
  position: absolute;
  top: 5px;
  right: 12px;
  width: 6px;
  height: 6px;
  background: #FF4C4C;
  border-radius: 50%;
  border: 1.5px solid rgba(253, 248, 245, 0.9);
  box-shadow: 0 0 4px rgba(255, 76, 76, 0.5);
}