/* Header & navigation */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  background: rgba(25, 32, 53, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #ff6b6bc4;
}

[data-theme='light'] .site-header {
  background: rgba(250, 249, 252, 0.85);
}

.site-header-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
}

.logo {
  font-weight: bold;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--accent);
}

.nav {
  display: flex;
  gap: 24px;
  font-size: 0.9rem;
}

.nav a {
  padding: 6px 0;
  position: relative;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.2s ease;
}

.nav a:hover {
  color: var(--text);
}

.nav a:hover::after {
  width: 100%;
}

.theme-toggle {
  width: 40px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  background: var(--bg-alt-soft);
  position: relative;
  cursor: pointer;
  transition: background 0.2s ease;
}

.theme-toggle::before {
  content: '';
  position: absolute;
  top: 3px;
  left: 4px;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--accent);
  transition: transform 0.2s ease;
}

[data-theme='light'] .theme-toggle::before {
  transform: translateX(16px);
  background: var(--accent-alt);
}

/* fixes for now */
@media (max-width: 770px){
  .logo{
    display: none;
  }
}