/* ==========================================================
   SIDEBAR – Off-canvas op mobiel
   ========================================================== */

.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  width: var(--sidebar-width);
  height: 100vh;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px) saturate(140%);
  border-right: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 4px 0 16px rgba(0, 0, 0, 0.05);
  padding: 1.2rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 50;
  transition: transform var(--transition-medium);
}

.sidebar-top {
  padding-bottom: 1rem;
}

.sidebar-logo {
  width: 160px;
  margin-bottom: 0.8rem;
  display: block;
}

.sidebar-lang {
  display: flex;
  gap: 0.25rem;
}

.sidebar-lang img {
  width: 29px;
  height: 20px;
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.sidebar-lang img:hover {
  transform: scale(1.1);
}

.sidebar-bottom {
  margin-bottom: 7rem;
  flex-shrink: 0;
}

.sidebar-bottom a {
  color: var(--accent-color);
  text-decoration: none;
}

.sidebar-bottom a:hover {
  text-decoration: underline;
}

.sidebar-bottom button {
  width: 100%;
  margin-top: 0.7rem;
  padding: 0.7rem;
  border: none;
  border-radius: var(--radius);
  background: var(--accent-gradient);
  color: var(--button-text-color);
  font-weight: 600;
  cursor: pointer;
  min-height: 44px;
}

@media (max-width: 768px) {
  .sidebar-bottom button {
    font-size: 0.9rem;
    padding: 0.6rem;
  }
}

/* ========== Hamburger Toggle ========== */
.sidebar-toggle {
  display: none;
  position: fixed;
  top: 1rem;
  right: 1rem;
  left: auto;
  z-index: 60;
  background: var(--accent-color);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 0.5rem;
  cursor: pointer;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .sidebar-toggle {
    display: flex;
  }
  
  .sidebar {
    transform: translateX(-100%);
  }
  
  .sidebar.is-open {
    transform: translateX(0);
  }
}

/* ========== Screen Reader Only ========== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}