/* Navigation-specific styles - requires styles.css for base variables */

.top-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--panel);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}

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

.nav-brand .nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  letter-spacing: 0.3px;
  color: var(--fg);
  text-decoration: none;
}

.nav-brand .nav-logo .dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent2);
}

.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav-link {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 6px;
  transition: all 0.2s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--fg);
  background: var(--panelSoft);
}

.nav-link.active {
  color: var(--fg);
  background: var(--panelSoft);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 3px;
  cursor: pointer;
  padding: 8px;
}

.nav-mobile-toggle span {
  width: 20px;
  height: 2px;
  background: var(--muted);
  border-radius: 1px;
  transition: all 0.2s ease;
}

.nav-mobile-toggle:hover span {
  background: var(--fg);
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--panel);
    border-top: 1px solid var(--border);
    flex-direction: column;
    padding: 16px;
    gap: 8px;
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .nav-mobile-toggle {
    display: flex;
  }
  
  .nav-container {
    padding: 12px 16px;
  }
}
