.nx-header-wrapper {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: var(--nx-header-height);
  background-color: var(--nx-header-bg);
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nx-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--nx-container-max, 1200px);
  margin-inline: auto;
  padding-inline: var(--nx-space-md, 1.5rem);
}

/* Brand / Logo (Desktop Default) */
.nx-header-brand {
  display: flex !important;
  align-items: center !important;
  height: 100% !important;
  flex-shrink: 0 !important;
  text-decoration: none !important;
}

.nx-header-logo {
  display: block !important;
  height: 48px !important;
  width: auto !important;
  max-width: 180px !important;
  object-fit: contain !important;
}

/* Desktop Navigation */
.nx-header-nav {
  display: flex;
  align-items: center;
  gap: var(--nx-space-xl, 2.5rem);
  height: 100%;
}

.nx-nav-link {
  color: var(--nx-header-text);
  text-decoration: none !important;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.115em;
  text-transform: uppercase;
  transition: color var(--nx-transition-fast, 0.2s ease);
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
}

.nx-nav-link:hover {
  color: var(--nx-header-accent);
}

/* Tombol Hamburger (Pure CSS) */
.nx-header-toggle {
  position: relative !important;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  padding: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  border-radius: 9999px !important;
  cursor: pointer !important;
  box-shadow: none !important;
  outline: none !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 6px !important;
  box-sizing: border-box !important;
  flex-shrink: 0 !important;
}

/* 2 Batang Garis Putih CSS */
.nx-header-toggle .nx-hamburger-bar {
  display: block !important;
  width: 20px !important;
  height: 2px !important;
  background-color: rgba(255, 255, 255, 0.8) !important;
  border-radius: 2px !important;
  transition: transform 0.2s ease, opacity 0.2s ease !important;
}

    

/* Mobile Off-canvas Drawer */
.nx-header-drawer {
  position: fixed;
  top: var(--nx-header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #0b0b0b;
  display: flex;
  flex-direction: column;
  padding: var(--nx-space-lg, 2rem) var(--nx-space-md, 1.5rem);
  gap: var(--nx-space-md, 1.5rem);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 999;
}

.nx-header-drawer.is-active {
  transform: translateX(0);
}

.nx-header-drawer .nx-nav-link {
  font-size: 1.125rem;
  padding-block: var(--nx-space-2xs, 0.5rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}


/* ==========================================================================
   RESPONSIVE BREAKPOINTS (MOBILE & TABLET ADJUSTMENTS)
   ========================================================================== */

@media (max-width: 991px) {
  /* Hilangkan nav desktop */
  .nx-header-nav {
    display: none !important;
  }

  /* Aktifkan hamburger */
  .nx-header-toggle {
    display: flex !important;
  }

  /* Penambahan padding atas-bawah header mobile */
  .nx-header-wrapper {
    height: auto !important;
    min-height: 88px !important;
  }

  .nx-header-inner {
    padding-top: 14px !important;
    padding-bottom: 14px !important;
    padding-inline: 1.25rem !important;
  }

  /* Logo dibuat lebih besar di mobile */
  .nx-header-logo {
    height: 64px !important;
    max-width: 210px !important;
  }

  /* Offset drawer mengikuti tinggi baru header mobile */
  .nx-header-drawer {
    top: 88px !important;
  }
}

@media (min-width: 992px) {
  .nx-header-toggle {
    display: none !important;
  }
}