:root {
  --navbar-bg: linear-gradient(90deg, rgba(44,47,60,0.92) 0%, rgba(31,34,43,0.93) 100%);
  --navbar-border: #222630;
  --navbar-radius: 18px;
  --accent-btn: #d7f47c;
  --accent-btn-hover: #e9ffb7;
  --drawer-bg: #111320;
  --drawer-width: 260px;
  --drawer-z: 99999;
}


/* ==== NAVBAR ==== */
.main-navbar {
  position: relative;
  width: 100vw;
  background: transparent;
  padding: 46px 0 0 0;
  text-align: center;
  z-index: 10000;
}
a {
  text-decoration: none;
}
.navbar-content {
  display: flex;
  right: 10px;
  margin-left: auto; 
  margin-right: auto; 
  max-width: 1340px;
  background: linear-gradient(90deg, rgba(44,47,60,0.92) 0%, rgba(31,34,43,0.93) 100%);
  border-radius: 18px;
  box-shadow: 0 1.5px 0 0 #222630;
  align-items: center;
  height: 82px;
  position: relative;
  z-index: 10001;
}

.logo {
  font-size: 1.75rem;
  font-weight: bold;
  color: #fff;
  margin-left: 28px;
  letter-spacing: 0.6px;
  z-index: 2;
}

.nav-menu {
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
  height: 100%;
  z-index: 1;
}

.nav-menu li a {
  color: #ececec;
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 500;
  opacity: 0.90;
  transition: color 0.16s, font-weight 0.16s;
  padding: 6px 0;
  border-radius: 10px;
  display: inline-block;
}

.nav-menu li a.active,
.nav-menu li a:hover {
  color: #d7f47c;
  font-weight: 700;
  opacity: 1;
  background: transparent;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
  margin-right: 20px;
  z-index: 2;
}

.nav-lang {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.15rem;
  padding: 8px 13px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.14s;
  display: flex;
  align-items: center;
  gap: 5px;
}
.nav-lang:hover {
  background: rgba(255,255,255,0.06);
}

.contact-btn {
  background: #d7f47c;
  color: #212600;
  border: none;
  padding: 0 32px;
  font-size: 1.1rem;
  font-family: 'Poppins', sans-serif;
  border-radius: 14px;
  font-weight: 500;
  cursor: pointer;
  height: 44px;
  min-width: 124px;
  transition: background 0.15s;
  box-shadow: 0 1.5px 8px 0 rgba(210,255,100,.07);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-btn:hover {
  background: #e9ffb7;
}

/* ==== HAMBURGER ==== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: none;
  border: none;
  cursor: pointer;
  align-items: center;
  border-radius: 10px;
  margin-right: 6px;
  transition: background 0.18s;
  z-index: var(--drawer-z);
}
.hamburger:focus,
.hamburger:hover {
  background: rgba(255,255,255,0.09);
}
.hamburger span {
  display: block;
  width: 22px;
  height: 3.2px;
  background: #d7f47c;
  margin: 3px 0;
  border-radius: 2.5px;
  transition: 0.18s;
}

/* ==== DRAWER ==== */
.side-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--drawer-width);
  height: 100vh;
  background: var(--drawer-bg);
  box-shadow: 2px 0 24px rgba(20,24,50,0.12);
  z-index: var(--drawer-z);
  transform: translateX(-100%);
  transition: transform 0.23s cubic-bezier(.55,.08,.27,.99);
  display: flex;
  flex-direction: column;
  padding: 0;
  z-index: 99999 !important;
}
.side-drawer.open {
  transform: translateX(0);
}
.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 14px 10px 14px;
}
.drawer-logo {
  font-size: 1.18rem;
  font-weight: bold;
  color: #fff;
  letter-spacing: 0.4px;
}
.drawer-close {
  background: none;
  border: 1.2px solid #333643;
  border-radius: 50%;
  color: #fff;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.18rem;
  cursor: pointer;
  transition: background 0.15s;
}
.drawer-close:hover {
  background: #191b26;
}
.drawer-menu {
  list-style: none;
  padding: 14px 0 0 0;
  margin: 0 0 0 0;
  width: 100%;
}
.drawer-menu li a {
  display: block;
  color: #fff;
  text-decoration: none;
  font-size: 1.03rem;
  font-weight: 400;
  padding: 13px 18px 11px 18px;
  border-bottom: 1.2px solid #232535;
  transition: background 0.13s, color 0.14s;
}
.drawer-menu li a.active,
.drawer-menu li a:hover {
  font-weight: 600;
  color: #d7f47c;
  background: rgba(255,255,255,0.03);
}

/* Backdrop */
.drawer-backdrop {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(20,22,34,0.4);
  z-index: 99998 !important;
}
.drawer-backdrop.show {
  display: block;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .navbar-content {
    max-width: 99vw;
    height: 52px;
    border-radius: 13px;
    padding: 0 8px;
    margin: 0 10px;;
    gap: 10px;
    right: 0px;
  }
  .logo { margin-left: 10px; font-size: 1rem; }
  .contact-btn { font-size: 0.97rem; padding: 0 16px; border-radius: 12px; height: 36px; min-width: 80px;}
  .nav-menu { gap: 10px; }
  
}

/* Mobile: Drawer & hamburger, hide menu utama */
@media (max-width: 800px) {
  .nav-menu { display: none; }
  .hamburger { display: flex; }
  .navbar-content { gap: 6px; }
  .nav-right{
    margin-right: 0px;
  }
  .drawer-menu,
  .drawer-menu li a {
    text-align: left !important;
    padding-left: 22px !important;
    padding-right: 0 !important;
  }
}

/* Dekstop: Hide drawer, hamburger. Show menu utama */
@media (min-width: 651px) {
  .side-drawer, .drawer-backdrop, .hamburger {
    display: none !important;
  }
  .nav-menu { display: flex !important; }
}
