.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 1.5rem;
  background: var(--card-bg);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  height: auto;
  min-height: 100px;
  z-index: 1000;
}
.nav-left,
.nav-center,
.nav-right {
  flex: 1;
  display: flex;
  align-items: center;
}
.nav-center {
  justify-content: center;
}
.nav-right {
  justify-content: flex-end;
}
.navbar-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.navbar-logo-link:hover {
  opacity: 0.8;
}

.navbar-logo {
  height: 80px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
}
.nav-button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  border-radius: 12px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}
.nav-button:hover {
  background: var(--primary);
  color: white;
}
.theme-toggle-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: all 0.3s ease;
}
.theme-toggle-btn:hover {
  background: var(--primary);
  color: white;
}
@media (max-width: 768px) {
  .nav-button span {
    display: none;
  }
  .navbar-logo {
    height: 42px;
  }
}
