/* ================================= */
/* ========== VARIABELEN ========== */
/* ================================= */

:root {
  --bg: #8ebdf5;
  --text: #1b445f;
  --primary: #dd6d40;
  --accent: #78934d;
  --sidebar-bg: #ffffff;
}

/* ================================= */
/* ========== BASIS =============== */
/* ================================= */

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* ================================= */
/* ========== SIDEBAR ============= */
/* ================================= */

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 250px;
  height: 100vh;
  background-color: var(--sidebar-bg);
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.05);
  padding: 80px 0 20px 0;
  transition: transform 0.3s ease;
}

/* Sidebar verborgen */
.sidebar.hidden {
  transform: translateX(-100%);
}

/* Sidebar navigatie */
.sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar ul li a {
  display: block;
  text-decoration: none;
  color: var(--text);
  padding: 15px 25px;
  font-size: 16px;
  font-weight: 500;
  border-left: 4px solid transparent;
  transition: all 0.3s ease;
}

.sidebar ul li a:hover {
  background-color: rgba(142, 189, 245, 0.15);
  border-left: 4px solid var(--primary);
  padding-left: 30px;
}

.sidebar ul li a.active {
  background-color: rgba(142, 189, 245, 0.25);
  border-left: 4px solid var(--primary);
  font-weight: 600;
}

/* ================================= */
/* ========== CONTENT ============= */
/* ================================= */

.content {
  margin-left: 250px;
  padding: 80px 40px 80px 40px;
  transition: margin-left 0.3s ease;
}

.sidebar.hidden ~ .content {
  margin-left: 0;
}

.content-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.content-wrapper h1 {
  font-size: 36px;
  margin-bottom: 20px;
}

.content-wrapper p {
  font-size: 18px;
  margin-bottom: 16px;
  line-height: 1.7;
}

/* ================================= */
/* ========== TAAL SELECT ========== */
/* ================================= */

.language-switch {
  padding: 0 20px 20px 20px;
}

#language-select {
  width: 100%;
  padding: 6px 8px;
  font-size: 14px;
  border-radius: 4px;
  border: 1px solid #ccc;
}

/* ================================= */
/* ========== TOGGLE BUTTON ======== */
/* ================================= */

#toggleMenu {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1000;
  font-size: 20px;
  padding: 10px 15px;
  background-color: var(--primary);
  border: none;
  color: white;
  cursor: pointer;
}

/* ================================= */
/* ========== FOOTER ============== */
/* ================================= */

.site-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--text);
  color: white;
  overflow: hidden;
  height: 40px;
  display: flex;
  align-items: center;
}

.scroll-text {
  white-space: nowrap;
  position: absolute;
  animation: scroll-left 25s linear infinite;
}

@keyframes scroll-left {
  0% { transform: translateX(80vw); }
  100% { transform: translateX(-100%); }
}
/* ================================= */
/* ========== MOBIEL =============== */
/* ================================= */

@media (max-width: 768px) {

  /* Sidebar standaard verborgen */
  .sidebar {
    transform: translateX(-100%);
  }

  /* Sidebar zichtbaar als NIET hidden */
  .sidebar:not(.hidden) {
    transform: translateX(0);
  }

  /* Content altijd full width */
  .content {
    margin-left: 0;
    padding: 80px 20px 80px 20px;
  }

  /* Toggle knop iets prominenter */
  #toggleMenu {
    left: 15px;
    top: 15px;
  }

}