.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  box-sizing: border-box;
  min-height: 108px;
  width: 100%;
  padding: 1.5rem 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10, 10, 10, 0.95);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  backdrop-filter: blur(10px);
  z-index: 1000;
}

.navbar .logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  line-height: 0;
}

.navbar .logo:hover,
.navbar .logo:focus-visible {
  opacity: 0.92;
}

.navbar .logo:focus-visible {
  outline: 2px solid rgba(212, 175, 55, 0.6);
  outline-offset: 4px;
  border-radius: 2px;
}

.navbar .logo img {
  display: block;
  height: clamp(44px, 6.5vw, 90px);
  width: auto;
  max-width: min(300px, 78vw);
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links li {
  margin: 0;
  color: inherit;
}

.nav-links a {
  color: #f5f5f5;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 300;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #d4af37;
  text-decoration: none;
}

.lang-switcher {
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid #d4af37;
  border-radius: 2px;
  color: #d4af37;
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-size: 0.85rem;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.lang-switcher:hover {
  background: #d4af37;
  color: #0a0a0a;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 2px;
  background: rgba(212, 175, 55, 0.08);
  color: #d4af37;
  cursor: pointer;
  transition:
    background 0.3s ease,
    border-color 0.3s ease;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  background: rgba(212, 175, 55, 0.16);
  border-color: #d4af37;
  outline: none;
}

.menu-toggle-box {
  position: relative;
  width: 22px;
  height: 16px;
}

.menu-toggle-line,
.menu-toggle-line::before,
.menu-toggle-line::after {
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: currentColor;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

.menu-toggle-line {
  top: 7px;
}

.menu-toggle-line::before,
.menu-toggle-line::after {
  content: '';
}

.menu-toggle-line::before {
  top: -7px;
}

.menu-toggle-line::after {
  top: 7px;
}

.menu-toggle[aria-expanded='true'] .menu-toggle-line {
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded='true'] .menu-toggle-line::before {
  opacity: 0;
}

.menu-toggle[aria-expanded='true'] .menu-toggle-line::after {
  transform: translateY(-7px) rotate(-90deg);
}

@media (max-width: 900px) {
  .navbar {
    padding: 1rem clamp(1.5rem, 6vw, 2.5rem);
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem clamp(1.5rem, 6vw, 2.5rem) 1.25rem;
    background: rgba(10, 10, 10, 0.98);
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links li {
    width: 100%;
    margin: 0;
  }

  .nav-links a,
  .nav-links .lang-switcher {
    display: block;
    width: 100%;
    padding: 0.95rem 0;
    text-align: left;
  }

  .nav-links a {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-links .lang-switcher {
    margin-top: 0.75rem;
    text-align: center;
  }
}
