body {
    font-family: Arial, sans-serif;
    margin: 2em;
    background-color: #f0f8ff;
    color: #333;
}
h1, h2 { color: #0c2f4f }

small { color: grey; }

/* ============
   SOFT BACKGROUND
   ============= */

body {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0; /* base stacking context */
}

body::before {
  content: "";
  position: fixed;        /* covers viewport */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.8); /* white overlay */
  pointer-events: none;   /* clicks pass through */
  z-index: -1;            /* behind everything else */
}

/* ============
   AGENDA LIST
   ============= */
.agenda {
    list-style: none;
    padding: 0;
    margin: 1em 0;
}
.agenda li {
    display: flex;
    align-items: flex-start;
    gap: 0.5em;
    padding: 0.6em 0.8em;
    margin: 0.5em;
    background: rgba(200,200,200,0.4);
    border-radius: 8px;
    transition: background 0.3s;
}
.agenda li .time {
    flex: 0 0 4em;
    font-family: "Segoe UI Mono", "Roboto Mono", "Courier New", monospace;
    font-weight: 900;
    font-size: clamp(6px, 2.2vw, 12px);
    letter-spacing: 0.02em;
    background: rgba(0,0,0,0.6);
    color: #e6f7ff;
    padding: 6px 10px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.06);
    line-height: 1;
    text-align: right;
}
.agenda li > span.time + * {
    flex: 1;
}
.agenda li a {
    display: block;
    width: 100%;
    color: inherit;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s, color 0.3s;
}
.agenda li a:hover {
    background: #0f2e48;
    color: #fff;
    cursor: pointer;
}
.agenda li.future {
    background: rgba(200,200,200,0.2);
    color: #666;
    opacity: 0.6;
}

/* —============================
   OTHER BLOCKS
   ============================== */
.thuisblijvers {
    margin-top: 2em;
    padding: 1em;
    background: #f2e6d9;
    border-radius: 8px;
}
.thuisblijvers li {
    margin: 0.3em 0;
}
.future { opacity: 0.9; }
.RaagiWeg { background: #fca000; }

.top-buttons-container {
    display: flex;
    gap: 8px;
    margin-bottom: 1em;
}
.top-button {
    flex: 1;
    text-align: center;
    padding: 0.5em 0;
    background: #2a4d69;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background 0.3s;
}
.top-button:hover {
    background: #1b3a57;
}

.icoon { margin-right: 0.5em; }

/* ----------------------------
   GALLERY AND PLAYER
   ---------------------------- */

     :root { --overlay-pad: 0.05; }
  body { margin:0; font-family:Arial,Helvetica,sans-serif; background:#f0f8ff; }
  h1 { text-align:center; margin:18px 0; }
  #gallery { display:flex; gap:12px; padding:16px; overflow-x:auto; box-shadow: inset 0 4px 10px rgba(0,0,0,.15); }
  .thumb { flex:0 0 150px; height:150px; border-radius:8px; overflow:hidden; box-shadow:0 4px 10px rgba(0,0,0,.15); cursor:pointer; position:relative; }
  .thumb img { width:100%; height:100%; object-fit:cover; display:block; }
  .thumb.video .play-btn { position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); width:40px; height:40px; border-radius:50%; background:rgba(0,0,0,.65); color:#fff; display:flex; align-items:center; justify-content:center; pointer-events:none; }
  .modal { position:fixed; inset:0; display:none; background:rgba(0,0,0,.85); justify-content:center; align-items:center; z-index:9999; }
  .modal-content {
    position:relative;
    background:#fff;
    border-radius:12px;
    overflow:visible;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:8px;
    box-sizing:border-box;
    border:2px solid rgba(255,255,255,0.85);
    transition:all 0.18s ease;
    will-change:width,height;
  }
  #modal-media { display:block; transform-origin:center center; }
  .close-btn { position:absolute; right:10px; top:10px; background:#fff; border-radius:50%; width:34px; height:34px; text-align:center; line-height:34px; font-size:20px; cursor:pointer; z-index:20; }
  .controls { position:absolute; top:10px; left:50%; transform:translateX(-50%); display:flex; gap:8px; z-index:20; }
  .control-btn { width:40px; height:40px; border-radius:50%; background:rgba(0,0,0,.6); color:#fff; border:none; cursor:pointer; display:inline-flex; align-items:center; justify-content:center; }
