/* ===========================
   HEADER BASE
   =========================== */

.site-header {
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 999;
}

.header-container {
  max-width: 1200px;
  margin: auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ===========================
   LOGO
   =========================== */

.logo img {
  height: 44px;
}

/* ===========================
   NAVIGATION (DESKTOP)
   =========================== */

.nav-menu {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-menu a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 15px;
}

.nav-menu a:hover {
  color: #fd8422;
}

/* ===========================
   COMMON BUTTON BASE
   =========================== */

.login-btn,
.lang-toggle {
  height: 36px;
  min-width: 84px;
  padding: 0 16px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-size: 14px;
  font-weight: 600;
  line-height: 36px;

  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;

  font-family: system-ui, -apple-system, BlinkMacSystemFont,
               "Segoe UI", "Noto Sans Devanagari", sans-serif;

  box-sizing: border-box;
}

/* Login */
.login-btn {
  background: transparent;
  border: 1.5px solid #fd8422;
  color: #fd8422;
}

.login-btn:hover {
  background: #fd8422;
  color: #fff;
}

/* Language */
.lang-toggle {
  background: #fd8422;
  color: #fff;
  border: 1.5px solid #fd8422;
}

/* ===========================
   HAMBURGER BUTTON
   =========================== */

.menu-toggle {
  display: none;
  font-size: 26px;
  cursor: pointer;
  background: none;
  border: none;
  color: #fd8422;
  padding: 4px 8px;
}

.menu-toggle .icon-close {
  display: none;
}

.menu-toggle.active .icon-open {
  display: none;
}

.menu-toggle.active .icon-close {
  display: inline;
}

/* ===========================
   TABLET
   =========================== */

@media (max-width: 1024px) {
  .nav-menu {
    gap: 16px;
  }
}

/* ===========================
   MOBILE (Animated Menu)
   =========================== */

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    border-top: 1px solid #eee;

    flex-direction: column;
    align-items: center;
    gap: 16px;

    padding: 20px;

    /* Animation */
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;

    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .nav-menu.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .logo img {
    height: 38px;
  }
}
