:root {
  --primary-color: #1a365d;
  --secondary-color: #1a365d;
  --accent-color: #1a365d;
  --text-color: #1f2937;
  --light-bg: #f9fafb;
}

body {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.content-wrapper {
  padding-top: 112px;
  transition: padding-top 0.3s ease;
}

/* Top Info Bar */
.top-info-bar {
  background-color: var(--secondary-color);
  color: white;
  padding: 8px 0;
  width: 100%;
  transition: all 0.3s ease;
}

.top-info-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

.top-info-item {
  display: flex;
  align-items: center;
  margin-right: 20px;
}

.top-info-item i {
  margin-right: 8px;
  color: white;
  font-size: 12px;
}

.top-info-item span {
  font-size: 12px;
}

.top-info-social a {
  color: white;
  margin-left: 12px;
  transition: color 0.3s ease;
  font-size: 12px;
}

.top-info-social a:hover {
  color: var(--accent-color);
}

/* Header */
.navbar {
  background: #ffffff;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  position: relative;
  z-index: 999;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  animation: slideDown 0.3s ease-out;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

.header-container.scrolled {
  height: 80px;
}

.header-container.scrolled .top-info-bar {
  display: none;
}

.nav-link {
  position: relative;
  color: var(--text-color);
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 6px;
  transition: all 0.3s ease;
  font-size: 14px;
}

.nav-link:hover {
  color: var(--primary-color);
  background: rgba(26, 86, 219, 0.1);
}

.nav-link.active {
  color: var(--primary-color);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 12px;
  width: calc(100% - 24px);
  height: 2px;
  background: var(--primary-color);
  border-radius: 2px;
}

/* Dropdown */
.dropdown-trigger {
  position: relative;
}

.dropdown {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(5px);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  pointer-events: none;
}

.dropdown-trigger.active .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown-content {
  background: white;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transform-origin: top center;
  transform: scale(0.95);
  transition: transform 0.2s ease;
}

.dropdown-trigger.active .dropdown .dropdown-content {
  transform: scale(1);
}

.dropdown-item {
  padding: 12px 16px;
  color: var(--text-color);
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
  display: flex;
  align-items: center;
}

.dropdown-item i {
  margin-right: 10px;
  width: 18px;
  text-align: center;
  color: var(--accent-color);
}

.dropdown-item:hover {
  background: rgba(26, 86, 219, 0.05);
  border-left-color: var(--primary-color);
  padding-left: 20px;
}

/* Language Selector */
.language-selector {
  position: relative;
  margin-left: 12px;
}

.language-button {
  display: flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 6px;
  background: var(--light-bg);
  transition: all 0.3s ease;
}

.language-button:hover {
  background: rgba(26, 86, 219, 0.1);
}

.language-flag {
  width: 20px;
  height: 14px;
  margin-right: 8px;
  border-radius: 2px;
  object-fit: cover;
}

/* Mobile Menu - Diubah untuk muncul dari bawah header */
#mobile-menu {
  position: fixed;
  top: 64px; /* Tinggi header */
  left: 0;
  right: 0;
  background: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  z-index: 1000;
  overflow-y: auto;
  max-height: 0;
  border-radius: 0 0 16px 16px;
}

#mobile-menu.open {
  max-height: calc(100vh - 64px);
  transition: max-height 0.3s ease;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  color: var(--text-color);
  font-weight: 500;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.menu-item:hover {
  background: rgba(26, 86, 219, 0.05);
  color: var(--primary-color);
}

.submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.submenu.open {
  max-height: 500px;
}

.submenu-item {
  display: block;
  padding: 12px 20px 12px 32px;
  color: var(--text-color);
  font-weight: 400;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.submenu-item:hover {
  background: rgba(26, 86, 219, 0.05);
  border-left-color: var(--primary-color);
  padding-left: 36px;
}

/* Language Selector */
.language-selector {
  position: relative;
  margin-left: 12px;
}

.language-button {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 6px;
  background: var(--light-bg);
  transition: all 0.3s ease;
}

.language-button:hover {
  background: rgba(26, 86, 219, 0.1);
}

.language-flag {
  width: 20px;
  height: 14px;
  margin-right: 8px;
  border-radius: 2px;
}

/* Hamburger Menu Icon */
#hamburger {
  position: relative;
  width: 32px;
  height: 32px;
}

#hamburger .hamburger-icon {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  transition: opacity 0.3s ease;
}

#hamburger .close-icon {
  position: absolute;
  top: 0;
  left: 0;
  display: none;
  transition: opacity 0.3s ease;
}

#hamburger.open .hamburger-icon {
  display: none;
}

#hamburger.open .close-icon {
  display: block;
}

/* Responsive Breakpoint */
@media (max-width: 992px) {
  .desktop-nav {
    display: none;
  }

  .mobile-nav-button {
    display: flex;
  }
}

@media (min-width: 993px) {
  .mobile-nav-button {
    display: none;
  }

  #mobile-menu {
    display: none;
  }
}
/* CSS untuk overlay dan search */
#search-overlay {
  z-index: 1000;
}
#header-container {
  z-index: 100;
  transition: all 0.3s ease;
}
#header-container.disabled {
  pointer-events: none;
}
#search-container {
  z-index: 1001;
}
