html {
    scroll-behavior: smooth;
}

/* Dropdown animation */
.dropdown-transition {
    transform-origin: top;
    transform: scaleY(0);
    opacity: 0;
    filter: blur(3px);
    transition: all 0.35s ease;
}
.dropdown-show {
    transform: scaleY(1);
    opacity: 1;
    filter: blur(0);
}

/* Header shadow when scrolling */
.header-shadow {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Base scrollbar (Webkit-based browsers) */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
  }
  
  /* Track (jalur) */
  ::-webkit-scrollbar-track {
    background: transparent;
    margin: 4px;
  }
  
  /* Thumb (handle) */
  ::-webkit-scrollbar-thumb {
    background-color: rgba(120, 120, 120, 0.4);
    border-radius: 9999px;
    transition: background-color 0.3s ease, opacity 0.3s ease;
  }
  
  /* Hover effect */
  ::-webkit-scrollbar-thumb:hover {
    background-color: rgba(80, 80, 80, 0.7);
  }
  
  /* Sembunyikan scrollbar saat idle (opsional untuk efek macOS fade) */
  body::-webkit-scrollbar-thumb {
    opacity: 0;
  }
  body:hover::-webkit-scrollbar-thumb {
    opacity: 1;
  }

/* Transition & active styles */
.nav-link,
.mobile-link {
    transition: all 0.25s ease-in-out;
}
.menu-active {
    background-color: rgba(255, 255, 255, 0.15);
    font-weight: bold;
}
  