
.site-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 2rem;
    background-color: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid var(--bg-3);
    position: sticky;
    top: 0;
    z-index: 10;
}

.theme-dark .site-nav {
    background-color: rgba(12, 12, 12, 0.85);
}

.nav-logo {
    height: 40px;
    width: 40px;
}

.site-nav h1 {
    font-family: 'Futura', sans-serif; /* As requested */
    font-size: 1.5rem; /* Adjusted to fit */
    margin: 0;
    flex-grow: 1;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--text-primary);
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-icon {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.btn-icon img {
    width: 24px;
    height: 24px;
}

/* Theme switcher styles */
.theme-switcher .switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 28px;
}

.theme-switcher .switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.theme-switcher .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--bg-3);
  -webkit-transition: .4s;
  transition: .4s;
}

.theme-switcher .slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

.theme-switcher input:checked + .slider {
  background-color: var(--interactive);
}

.theme-switcher input:focus + .slider {
  box-shadow: 0 0 1px var(--interactive);
}

.theme-switcher input:checked + .slider:before {
  -webkit-transform: translateX(22px);
  -ms-transform: translateX(22px);
  transform: translateX(22px);
}

.theme-switcher .slider.round {
  border-radius: 34px;
}

.theme-switcher .slider.round:before {
  border-radius: 50%;
}

