/* =====================================
   SIDEBAR STRUCTUUR (Gelijk aan filter)
===================================== */

.sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 33%;
  background-color: var(--white-color, #fff);
  z-index: 9999;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.15);
  padding: 0;
  background-repeat: no-repeat;
  background-position: bottom right;
  background-size: cover;
}

.sidebar.left {
  left: 0;
  right: auto;
}

.sidebar.active.left {
  transform: translateX(0);
}

/* =====================================
   OVERLAY
===================================== */
#sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9998;
}

#sidebar-overlay.active {
  display: block;
}

/* =====================================
   SIDEBAR HEADER
===================================== */
.sidebar-header {
  padding: 1rem 1.5rem;
  background-color: transparent;
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.close-menu {
  position: absolute;
  top: 20px;
  right: 20px;

  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  padding: 0;
  cursor: pointer;
  color: var(--text-color);
  z-index: 10001;
}

/* =====================================
   SIDEBAR CONTENT
===================================== */
.sidebar-content {
  padding: 2rem 1.5rem;
}

/* Mobiele menu (zonder titel) */
.sidebar-content .mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-content .mobile-menu ul li {
  margin-bottom: 1.25rem;
}

.sidebar-content .mobile-menu ul li a {
  font-family: 'Lora', serif;
  font-weight: 500;
  font-size: 20px;
  text-decoration: none;
  color: var(--secondary-color);
}

.sidebar-content .mobile-menu ul li a:hover {
  text-decoration: underline;
}

/* Informatief menu */
.sidebar-content .informatie-menu {
  margin-top: 2rem;
}

.sidebar-content .informatie-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-content .informatie-menu ul li {
  margin-bottom: 1rem;
}

.sidebar-content .informatie-menu ul li a {
  font-family: 'Lora', serif;
  font-weight: 400;
  font-size: 14px;
  text-decoration: none;
  color: var(--secondary-color);
}

.sidebar-content .informatie-menu ul li a:hover {
  text-decoration: underline;
}

/* Informatietitel (mag getoond worden) */
h3.menu-heading {
  font-family: var(--h3-font-family);
  font-weight: var(--h3-font-weight);
  font-size: var(--h3-font-size);
  color: var(--secondary-color);
  margin: 0 0 1em 0;
}

/* =====================================
   HAMBURGER MENU
===================================== */
#menu-toggle {
  display: flex;
  align-items: center;
  cursor: pointer;
  z-index: 10001;
}

.menu-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* =====================================
   RESPONSIVE
===================================== */
@media (max-width: 768px) {
  .sidebar {
    width: 100%;
  }
}
