/* ============================================================
   NAVBAR — Public site
   ============================================================ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  padding: 0 20px;
  transition: background 0.3s, border-bottom 0.3s;
}

.navbar.scrolled {
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.navbar-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.navbar-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.navbar-logo .logo-main {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}
.navbar-logo .logo-main span { color: var(--gold); }
.navbar-logo .logo-sub {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-2);
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.navbar-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-2);
  transition: color 0.2s;
  position: relative;
}
.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.2s;
}
.navbar-links a:hover,
.navbar-links a.active { color: var(--text); }
.navbar-links a:hover::after,
.navbar-links a.active::after { transform: scaleX(1); }

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Hamburger mobile */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 68px; left: 0; right: 0;
  background: var(--dark);
  border-bottom: 1px solid var(--border);
  padding: 20px;
  z-index: 899;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 12px 16px;
  border-radius: var(--r-md);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-2);
  transition: all 0.15s;
}
.mobile-menu a:hover { background: var(--dark-3); color: var(--text); }

@media (max-width: 768px) {
  .navbar-links { display: none; }
  .hamburger    { display: flex; }
}
