/* ============================================================
   NAVIGATION
   ============================================================ */

nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 64px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 32px;
  gap: 0;
  box-shadow: var(--shadow-sm);
}

/* ── Logo ── */
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  margin-right: 32px;
}

.nav-logo-img {
  height: 40px;
  width: auto;
  display: block;
}

/* ── Center links ── */
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: flex-end;
  margin-right: 8px;
}

.nav-links a {
  color: var(--text-3);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: var(--r-sm);
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--text); background: var(--bg); }

/* ── Right actions ── */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Divider */
.nav-divider {
  width: 1px;
  height: 20px;
  background: var(--border);
  margin: 0 4px;
}

/* Language toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2px;
}

.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  font-family: inherit;
  letter-spacing: 0.04em;
  color: var(--text-3);
  padding: 4px 9px;
  border-radius: 16px;
  transition: background 0.15s, color 0.15s;
  line-height: 1;
}
.lang-btn.active {
  background: var(--white);
  color: var(--text);
  box-shadow: 0 1px 3px rgba(0,0,0,0.12);
}
.lang-btn:hover:not(.active) { color: var(--text); }

/* Login link */
.nav-login {
  color: var(--text-2) !important;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  padding: 7px 14px;
  border-radius: var(--r-sm);
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}
.nav-login:hover { color: var(--text) !important; background: var(--bg); }

/* Register button — override .btn for nav */
.nav-actions .btn-green.btn-sm {
  font-size: 13px;
  padding: 8px 16px;
  gap: 6px;
  white-space: nowrap;
}
.nav-actions .btn-green.btn-sm .material-icons {
  font-size: 15px;
}

/* ── Mobile ── */
@media (max-width: 900px) {
  nav { padding: 0 20px; }
  .nav-logo { margin-right: 0; }
  .nav-links { display: none; }
  .nav-divider { display: none; }
  .nav-actions { gap: 6px; }
}

@media (max-width: 480px) {
  .nav-login { display: none; }
}
