.navbar {
  user-select: none;
  position: fixed;
  justify-content: space-between;
  /* background: #000000; */
  background: transparent;
  color: #ffffff;
  width: 100%;
  height: 70px;
  /* padding: 0 20px; */
  transition: all ease-in-out .2s;
  z-index: 9998;
}

.navWrap {
  height: 100%;
}

.nav_space {
  width: 20px;
}

.nav_btn {
  position: relative;
  padding: 5px 10px;
  width: 50px;
  height: 50px;
  cursor: pointer;
  /* border: 1px red solid; */
}

.nav_logo img {
  width: auto;
  height: 30px;
  color-scheme: only light;
}




.navMenu_btn {
  position: relative;
  width: 25px;
  height: 16px;
  padding: 5px;
  transition: all ease-in-out .2s;
}

.rec {
  position: absolute;
  background-color: #ffffff !important;
  color-scheme: only light !important;
  height: 1px;
  transition: all ease-in-out .2s;
}

.rec_small {
  width: 50%;
}

.rec_top {
  top: 0;
  left: 0;
  transform-origin: top left;
}

.rec_middle {
  top: 50%;
  left: 0;
  width: 100%;
}

.rec_bottom {
  bottom: 0;
  right: 0;
  transform-origin: bottom right;
}


/*
  DESKTOP NAV LINKS
  */

.nav_links {
  display: flex;
  /* align-items: center; */
  gap: 4px;
  height: 100%;
  /* push links to center-ish area */
  /* flex: 1; */
  /* justify-content: center; */
}

.nav_link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  border-radius: 6px;
  transition: color 0.2s ease, background 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}

.nav_link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 14px;
  width: 0;
  height: 1px;
  background: var(--themec, #E67835);
  transition: width 0.25s ease;
}

.nav_link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.nav_link:hover::after {
  width: calc(100% - 28px);
}


/*
   DROPDOWN — LAYANAN
  */

.nav_dropdown_trigger {
  position: relative;
}

.nav_chevron {
  transition: transform 0.25s ease;
  flex-shrink: 0;
  opacity: 0.7;
}

.nav_dropdown_trigger.open .nav_chevron {
  transform: rotate(180deg);
  opacity: 1;
}

.nav_dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 200px;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 10000;
}

/* shown state — toggled via JS */
.nav_dropdown_trigger.open .nav_dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav_dropdown_inner {
  background: rgba(20, 20, 20, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 2px solid var(--themec, #E67835);
  border-radius: 8px;
  padding: 8px 0;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

/* Arrow pointer */
.nav_dropdown_inner::before {
  content: '';
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 7px solid var(--themec, #E67835);
}

.nav_dropdown_item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.18s ease, color 0.18s ease, padding-left 0.18s ease;
  border-left: 3px solid transparent;
}

.nav_dropdown_item svg {
  flex-shrink: 0;
  opacity: 0.5;
  transition: opacity 0.18s ease;
}

.nav_dropdown_item:hover {
  background: rgba(230, 120, 53, 0.1);
  color: #ffffff;
  padding-left: 22px;
  border-left-color: var(--themec, #E67835);
}

.nav_dropdown_item:hover svg {
  opacity: 1;
}


/*
   LOGIN BUTTON
  */


.navLogin_btn_con {
  padding: 0;
  width: auto;
}

.navLogin_btn {
  position: relative;
  padding: 5px 20px;
  /* width: 100px !important; */
  height: 30px;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 600;
  border: 1px solid #ffffff;
  cursor: pointer;
  overflow: hidden;
}

.navLogin_btn>span {
  z-index: 1;
}

.water {
  position: absolute;
  /* left: -10px; */
  background: var(--themec);
  width: 0px;
  height: 0px;
  border-radius: 50px;
  transition: all ease-in-out .2s;
}

.navLogin_btn:hover {
  border: 1px solid var(--themec);
}

.navLogin_btn:hover .water {
  width: 1px;
  height: 1px;
  transform: scale(100);
}


/* SIDEBAR    ============= */

.sideBar_mobile_con {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 100vh;

  background: #000000bf;
  backdrop-filter: blur(5px);

  display: flex;
  justify-content: flex-start;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition: opacity .45s ease, visibility .45s ease;
  z-index: 10000;
}

.sideBar_mobile_con.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.sideBar_mobile {
  background: #f1f1f1;
  width: 300px;
  height: 100vh;
  overflow-y: auto;
  padding: 70px 0;
  position: relative;
  border-right: 2px solid #E67835;
  transform: translateX(-100%);
  transition: transform .45s ease;
  display: inline-flex;
  align-items: flex-start;
  flex-direction: column;
}

.sideBar_mobile_con.active .sideBar_mobile {
  transform: translateX(0);
}

.sideBar_mobile_closeBtn {
  position: absolute;
  top: 0;
  right: 0;
  padding: 20px 30px;
  cursor: pointer;
  font-size: 30px;
  transition: all 0.3s ease;
}

.sideBar_mobile_closeBtn:hover {
  color: var(--orangetambang);
  transform: scale(1.1);
}


.sideBar_mobile_menu {
  text-decoration: none;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 10px 24px;
  width: 100%;
  text-align: left;
  transition: all 0.3s ease;
  border-left: 5px solid transparent;
  position: relative;
  overflow: hidden;

  color: #1A1A1A;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.sideBar_mobile_menu:hover {
  background: rgba(230, 120, 53, 0.05);
  color: var(--orangetambang);
  border-left: 8px solid var(--orangetambang);
  padding-left: 28px;
}

/* Dropdown trigger styling */
/* .sideBar_dropdown_trigger {
  font-weight: 600;
} */

.sidebar_chevron {
  flex-shrink: 0;
  opacity: 0.5;
  transition: transform 0.25s ease, opacity 0.25s ease;
  color: #1A1A1A;
}

.sideBar_dropdown_trigger.open .sidebar_chevron {
  transform: rotate(180deg);
  opacity: 1;
}

.sideBar_dropdown_trigger.open {
  color: var(--orangetambang);
  border-left: 8px solid var(--orangetambang);
  padding-left: 28px;
}

/* Submenu container */
.sideBar_submenu_con {
  width: 100%;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
}

.sideBar_submenu_con.open {
  max-height: 300px;
}

.sideBar_submenu_item {
  font-size: 12px;
  padding-left: 40px;
  background: rgba(0, 0, 0, 0.03);
  border-left: 5px solid rgba(230, 120, 53, 0.2);
  letter-spacing: 1.5px;
}

.sideBar_submenu_item:hover {
  padding-left: 48px;
  border-left: 8px solid var(--orangetambang);
}


/*
   RESPONSIVE — hide desktop nav on mobile
   */

@media (max-width: 768px) {
  .nav_links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--navbar-bg);
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: 0.4s;
  }

  .navMenu_btn_con {
    display: flex !important;
  }
}

/* jika ingin menghilangkan hamburger menu saat lebar */
/* @media (min-width: 769px) {
  .navMenu_btn_con {
    display: none !important;
  }
} */