* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Orbitron', sans-serif;
}

body {
  font-family: Arial, sans-serif;
  display: flex;
  min-height: 100vh;
  background: linear-gradient(to bottom, #0981fe, #f409c7);
  padding: 20px;
}


/* ─── SIDEBAR ─────────────────────────────────────────────── */

.sidebar {
  position: relative;
  width: 350px;
  background-color: #0b003c;
  color: white;
  padding: 20px;
  overflow: hidden;
  border-radius: 12px;
  margin: 10px;
  flex-shrink: 0;
}

/* Willekeurige sterren */
.sidebar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 2px;
  background: white;
  border-radius: 50%;
  opacity: 0.6;
  box-shadow:
    30px 40px white,
    70px 120px white,
    100px 80px white,
    50px 200px white,
    150px 60px white,
    220px 160px white,
    300px 30px white,
    310px 210px white,
    200px 300px white,
    120px 250px white;
  animation: twinkle 3s infinite ease-in-out alternate;
  z-index: 0;
  pointer-events: none;
}

@keyframes twinkle {
  0% { opacity: 0.2; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.3); }
  100% { opacity: 0.3; transform: scale(1); }
}

.sidebar > * {
  position: relative;
  z-index: 1;
}

.sidebar h2 {
  margin-bottom: 20px;
}

.sidebar ul {
  list-style: none;
  padding: 0;
}

.sidebar-logo {
  display: block;
  width: 100%;
  max-width: 260px;
  margin: 0 auto 20px auto;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.3));
}

/* Hamburger knop – alleen zichtbaar op mobiel */
.hamburger {
  display: none;
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 1100;
  background: #0b003c;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 10px;
  padding: 10px 14px;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 3px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ─── MENU BUTTONS ────────────────────────────────────────── */

.menu-button {
  display: block;
  padding: 12px 18px;
  margin-bottom: 10px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  text-decoration: none;
  font-size: 34px;
  font-weight: 800;
  text-align: center;
  position: relative;
  color: transparent;

  background-image: linear-gradient(45deg, #0981fe, #f409c7);
  background-clip: text;
  -webkit-background-clip: text;
  z-index: 1;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(255, 255, 255, 0.2);
}

.menu-button::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background-color: rgba(255, 255, 255, 0.2);
  z-index: -1;
}

.menu-button:hover {
  background-image: linear-gradient(-45deg, #0981fe, #f409c7);
}

.menu-button:hover::before {
  background-color: rgba(255, 255, 255, 0.4);
}

.menu-button:active {
  transform: translateY(4px);
  box-shadow: 0 2px 4px rgba(255, 255, 255, 0.4);
}


/* ─── CONTENT ─────────────────────────────────────────────── */

.content {
  flex: 1;
  background-image: url('afbeeldingen/FRVR80s_BG.png');
  background-size: cover;
  background-position: center;
  padding: 20px;
  color: #fff;
  border-radius: 12px;
  margin: 10px;
  min-width: 0; /* voorkomt overflow in flex */
}

.band-info {
  margin-top: 20px;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  backdrop-filter: blur(6px);
  color: white;
  transition: opacity 0.3s ease;
}

.band-info table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
}

.band-info td {
  padding: 20px;
  font-size: 18px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.hidden {
  display: none;
}

/* ─── BAND GRID ───────────────────────────────────────────── */

.band-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  padding-top: 20px;
}

.band-card {
  opacity: 0;
  transform: translateY(50px);
  animation: slideIn 0.8s ease-out forwards;
  position: relative;
  margin-bottom: 40px;
}

@keyframes slideIn {
  0%   { opacity: 0; transform: translateY(50px); }
  100% { opacity: 1; transform: translateY(0); }
}

.band-card:nth-child(1) { animation-delay: 0.2s; }
.band-card:nth-child(2) { animation-delay: 0.4s; }
.band-card:nth-child(3) { animation-delay: 0.6s; }
.band-card:nth-child(4) { animation-delay: 0.8s; }
.band-card:nth-child(5) { animation-delay: 1s; }
.band-card:nth-child(6) { animation-delay: 1s; }

.band-card:hover {
  transform: translateY(-5px);
}

.foto-wrapper {
  position: relative;
  overflow: hidden;
}

.foto-wrapper:hover h3 {
  transform: rotate(-6deg) scale(1.05);
  transition: transform 0.3s ease;
}

.band-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}

.band-overlay::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  z-index: -1;
}

.band-info-text {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 8px;
}

.instrument {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: clamp(14px, 1.4vw, 52px);
  margin: -0.8em auto 0 auto;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
  background-image: linear-gradient(45deg,#0981fe,#f409c7);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.band-info-text h3 {
  font-family: 'Allura', cursive;
  font-size: clamp(18px, 2vw, 64px);
  margin: 0;
  line-height: 1;
  color: #ffffff;
  transform: rotate(-6deg);
  text-shadow:
    0 0 3px #fff,
    0 0 5px #ff4df0,
    0 0 10px #ff4df0,
    0 0 15px #f409c7,
    0 0 20px #f409c7;
  position: relative;
  z-index: 200;
}

.band-foto {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 2 / 5;   /* slank portretformaat, past bij 7 smalle kolommen */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
  box-shadow: 0 0 10px rgba(255,255,255,0.3);
}

.band-section {
  margin-top: 40px;
  text-align: center;
  color: white;
}

.band-big-foto {
  width: 100%;
  max-width: 700px;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

/* ─── REPERTOIRE ──────────────────────────────────────────── */

.repertoire-wrapper {
  display: flex;
  gap: 20px;
  width: 100%;
  margin-top: 20px;
  flex-wrap: wrap;
}

.repertoire-table-container {
  flex: 1 1 50%;
  max-height: 500px;
  overflow-y: auto;
  padding: 16px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.repertoire-row {
  flex: 1 1 50%;
  max-height: 500px;
  overflow-y: auto;
  background-color: rgba(255, 255, 255, 0.85);
  padding: 16px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* ─── YOUTUBE PLAYER ──────────────────────────────────────── */

#youtube-player {
  position: fixed;
  top: 113px;
  right: 52px;
  max-width: 250px;
  max-height: 100px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

#youtube-player iframe {
  width: 100%;
  height: 315px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* ─── REPERTOIRE TABEL ────────────────────────────────────── */

.repertoire-table {
  width: 100%;
  border-collapse: collapse;
  color: black;
  font-size: 16px;
}

.repertoire-table th,
.repertoire-table td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid #ccc;
}

.repertoire-table th {
  background-color: #333;
  color: white;
}

.repertoire-table tr:hover {
  background-image: linear-gradient(45deg, #0981fe, #f409c7);
  color: #ffffff;
}

.repertoire-table button {
  background-color: #0981fe;
  color: white;
  border: none;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.repertoire-table button:hover {
  background-color: #056bd3;
}

/* ─── ANIMATIES ───────────────────────────────────────────── */

.animate-in {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
  transform: translateY(20px);
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── AGENDA ──────────────────────────────────────────────── */

#agenda {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 12px;
  backdrop-filter: blur(6px);
  color: white;
}

.agenda-maand {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.agenda-maand li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.agenda-container {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.agenda-lijst  { flex: 0 0 60%; }
.agenda-kalender { flex: 0 0 30%; }

.kalender-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 2rem;
}

.weekdag {
  font-weight: bold;
  text-align: center;
  padding: 5px;
  border: 1px solid #ddd;
  border-radius: 6px;
}

.dag {
  position: relative;
  text-align: right;
  padding: 6px 6px 6px 4px;
  border: 1px solid #eee;
  height: 40px;
  font-size: 0.85em;
  border-radius: 6px;
}

.dag.leeg {
  background-color: #f9f9f9;
  border: none;
}

.bolletje {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-left: 4px;
  vertical-align: middle;
}

.bol-roze  { background-color: pink; }
.bol-zwart { background-color: black; }

/* ─── BAND INFO DISPLAY (hover overlay) ──────────────────── */

.band-info-display {
  position: fixed;
  top: 140px;
  left: 50%;
  transform: translateX(-25%);
  width: 60%;
  max-width: 800px;
  padding: 25px 30px;
  border-radius: 15px;
  background: rgba(244, 9, 201, 0.616);
  border: 2px solid rgba(244, 9, 199, 0.4);
  color: white;
  font-size: 24px;
  line-height: 1.6;
  font-family: 'Orbitron', sans-serif;
  text-align: center;
  box-shadow:
    0 0 10px rgba(244, 9, 199, 0.3),
    0 0 25px rgba(244, 9, 199, 0.4);
  opacity: 0;
  transition: 0.3s ease;
  pointer-events: none;
  z-index: 999;
}

.band-omschrijving {
  display: block;
  margin: 40px auto;
  width: 70%;
  max-width: 800px;
  padding: 25px 30px;
  border-radius: 15px;
  background: rgba(244, 9, 199, 0.15);
  border: 2px solid rgba(244, 9, 199, 0.4);
  color: #fff;
  font-size: 24px;
  line-height: 1.6;
  font-family: 'Oswald', sans-serif;
  box-shadow:
    0 0 10px rgba(244, 9, 199, 0.3),
    0 0 20px rgba(244, 9, 199, 0.2);
  text-shadow:
    0 0 5px #f409c7,
    0 0 10px #f409c7,
    0 0 20px #f409c7;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.foto-wrapper:hover + .band-omschrijving {
  opacity: 1;
  transform: translateY(0);
}


/* ══════════════════════════════════════════════════════════
   RESPONSIVE — TABLET  (max 900px)
══════════════════════════════════════════════════════════ */

@media (max-width: 900px) {

  body {
    flex-direction: column;
    padding: 10px;
  }

  /* Sidebar wordt een collapsible overlay */
  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    max-height: 0;
    overflow: hidden;
    border-radius: 0 0 12px 12px;
    margin: 0;
    padding: 0 20px;
    z-index: 1000;
    transition: max-height 0.4s ease, padding 0.4s ease;
  }

  .sidebar.open {
    max-height: 100vh;
    padding: 70px 20px 20px;
    overflow-y: auto;
  }

  /* Hamburger zichtbaar */
  .hamburger {
    display: flex;
  }

  /* Content vult volledige breedte */
  .content {
    margin: 70px 0 0 0; /* ruimte voor hamburger */
    border-radius: 12px;
    padding: 15px;
    min-height: calc(100vh - 80px);
  }

  /* Menu knoppen iets kleiner */
  .menu-button {
    font-size: 26px;
    padding: 10px 14px;
  }

  /* Band grid: max 4 kolommen op tablet */
  .band-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .band-foto {
    aspect-ratio: 2 / 5;
    height: auto;
  }

  .instrument {
    font-size: 36px;
    margin-top: -28px;
    letter-spacing: 3px;
  }

  .band-info-text h3 {
    font-size: 46px;
  }

  /* Band omschrijving full width */
  .band-omschrijving {
    width: 90%;
    font-size: 18px;
  }

  /* Band info display box herpositioneren */
  .band-info-display {
    position: static;
    transform: none;
    width: 100%;
    max-width: 100%;
    font-size: 16px;
    margin-bottom: 16px;
  }

  /* YouTube player: niet meer fixed */
  #youtube-player {
    position: static;
    max-width: 100%;
    max-height: none;
    margin-top: 20px;
  }

  #youtube-player iframe {
    width: 100%;
    height: 220px;
  }

  /* Repertoire: stapel onder elkaar */
  .repertoire-wrapper {
    flex-direction: column;
  }

  .repertoire-table-container,
  .repertoire-row {
    flex: 1 1 100%;
    max-height: 400px;
  }

  /* Agenda */
  .agenda-container {
    flex-direction: column;
  }

  .agenda-lijst,
  .agenda-kalender {
    flex: 0 0 100%;
  }
}


/* ══════════════════════════════════════════════════════════
   RESPONSIVE — MOBIEL  (max 480px)
══════════════════════════════════════════════════════════ */

@media (max-width: 480px) {

  body {
    padding: 6px;
  }

  .content {
    margin-top: 65px;
    padding: 10px;
    border-radius: 8px;
  }

  .menu-button {
    font-size: 20px;
    padding: 8px 12px;
    margin-bottom: 8px;
  }

  /* Band grid: 2 kolommen op mobiel */
  .band-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .band-foto {
    aspect-ratio: 2 / 5;
    height: auto;
    max-width: 100%;
  }

  .instrument {
    font-size: 28px;
    margin-top: -22px;
    letter-spacing: 2px;
  }

  .band-info-text h3 {
    font-size: 38px;
  }

  .band-omschrijving {
    width: 95%;
    font-size: 15px;
    padding: 16px;
  }

  .band-info-display {
    font-size: 14px;
    padding: 14px;
  }

  /* Repertoire tabel: kleinere tekst */
  .repertoire-table {
    font-size: 13px;
  }

  .repertoire-table th,
  .repertoire-table td {
    padding: 7px 8px;
  }

  .repertoire-table-container,
  .repertoire-row {
    max-height: 320px;
    padding: 10px;
  }

  /* YouTube */
  #youtube-player iframe {
    height: 180px;
  }

  /* Kalender dagjes kleiner */
  .dag {
    height: 30px;
    font-size: 0.72em;
    padding: 4px 3px;
  }

  .weekdag {
    font-size: 0.7em;
    padding: 3px;
  }

  /* Band big foto */
  .band-big-foto {
    max-width: 100%;
    border-radius: 8px;
  }

  /* Sidebar logo kleiner */
  .sidebar-logo {
    max-width: 180px;
  }
}
