/* ═══════════════════════════════════════════════════════════════
   Radio Station Template — Demo 2
   Stack: Bootstrap 5 + Bebas Neue + Teko + Great Vibes
   Side-nav, fullscreen cover, footer player
   ═══════════════════════════════════════════════════════════════ */

/* ── FONTS ─────────────────────────────────────────────────────── */
@font-face {
  font-family: 'BebasNeue';
  src: url('../fonts/BebasNeue-webfont.woff') format('woff'),
       url('../fonts/BebasNeue-webfont.ttf')  format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ── BASE ───────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html, body { height: 100%; overflow: hidden; }

/* ── FULLSCREEN COVER ───────────────────────────────────────────── */
.cover {
  height: 100vh;
  background-image: url('../images/bridge.jpg');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

/* ── HAMBURGER KNOP ─────────────────────────────────────────────── */
.menu-toggle {
  position: fixed;
  top: 14px;
  right: 16px;
  z-index: 300;
  width: 44px;
  height: 44px;
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  transition: background 0.2s;
}

.menu-toggle:hover,
.menu-toggle:focus { background: rgba(0,0,0,0.75); outline: none; }

.menu-bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #1a75ff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.2s;
}

.menu-toggle.is-active .menu-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); background-color: #fff; }
.menu-toggle.is-active .menu-bar:nth-child(2) { opacity: 0; }
.menu-toggle.is-active .menu-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background-color: #fff; }

/* ── SIDE NAVIGATIE ─────────────────────────────────────────────── */
#sideNav {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 260px;
  background: rgba(28, 28, 28, 0.97);
  backdrop-filter: blur(12px);
  z-index: 200;
  padding: 70px 36px 60px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.77, 0.2, 0.15, 0.9);
}

#sideNav.is-open { transform: translateX(0); }

.nav-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}

.nav-list li { border-bottom: 1px solid rgba(255,255,255,0.08); }

.nav-list li a {
  display: block;
  padding: 0.85rem 0;
  color: rgba(255,255,255,0.85);
  font-family: 'BebasNeue', Georgia, serif;
  font-size: 1.15rem;
  letter-spacing: 3px;
  text-decoration: none;
  transition: color 0.2s, padding-left 0.2s;
}

.nav-list li a:hover,
.nav-list li a:focus { color: #b7ac7f; padding-left: 8px; }

.nav-social { display: flex; gap: 1rem; margin-top: 1.5rem; }

.nav-social a {
  color: rgba(255,255,255,0.5);
  font-size: 1.2rem;
  text-decoration: none;
  transition: color 0.25s, transform 0.2s;
}

.nav-social a:hover { color: #fff; transform: scale(1.15); }

/* ── NAV OVERLAY ────────────────────────────────────────────────── */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 150;
  background-color: #603e82;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.nav-overlay.is-visible { opacity: 0.75; visibility: visible; }

/* ── NOW PLAYING OVERLAY ────────────────────────────────────────── */
.nowplaying-overlay {
  position: absolute;
  bottom: 70px;
  left: 0;
  right: 0;
  padding: 0 2.5%;
  pointer-events: none;
}

.artist-info {
  font-family: 'Teko', sans-serif;
  font-size: clamp(1.6rem, 6.5vw, 5rem);
  font-weight: 700;
  letter-spacing: 3px;
  color: #1a75ff;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.9);
  text-transform: capitalize;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.artist-info:hover { overflow: visible; pointer-events: auto; }

.song-info {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(1.2rem, 5.5vw, 4rem);
  color: #eeeeee;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.9);
  text-transform: capitalize;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.song-info:hover { overflow: visible; pointer-events: auto; }

/* ── MODALS ─────────────────────────────────────────────────────── */
.modal-content {
  background-color: #1c1c1c;
  color: #e8e8e8;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 0.75rem;
}

.modal-header { border-bottom: 1px solid rgba(255,255,255,0.1); }

.modal-title {
  font-family: 'BebasNeue', Georgia, serif;
  font-size: 1.4rem;
  letter-spacing: 3px;
  color: #fff;
}

.modal-footer { border-top: 1px solid rgba(255,255,255,0.1); }

.modal-body p {
  font-family: 'BebasNeue', Georgia, serif;
  font-size: 0.95rem;
  line-height: 1.65;
  color: #d0d0d0;
  letter-spacing: 0.5px;
}

.about-tagline {
  font-family: 'BebasNeue', Georgia, serif;
  color: #1a75ff;
  font-size: 1.2rem;
  letter-spacing: 2px;
  margin: 0.75rem 0 0.4rem;
}

.schedule-block {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.schedule-block:last-child { border-bottom: none; }

.schedule-block h3 {
  font-family: 'BebasNeue', Georgia, serif;
  color: #1a75ff;
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 0.3rem;
}

.listen-icon { width: 44px; flex-shrink: 0; }

.stream-quality {
  font-family: 'BebasNeue', Georgia, serif;
  font-size: 1.05rem;
  letter-spacing: 2px;
  color: #aaa;
  margin-bottom: 0.6rem;
}

.player-icons { display: flex; gap: 0.6rem; flex-wrap: wrap; }

.player-icons img {
  height: 32px;
  width: auto;
  opacity: 0.8;
  transition: opacity 0.2s, transform 0.2s;
}

.player-icons img:hover { opacity: 1; transform: scale(1.1); }

.stream-links li {
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 0.9rem;
}

.stream-links li:last-child { border-bottom: none; }

.stream-links a {
  color: #6fa3d8;
  word-break: break-all;
  font-size: 0.84rem;
  display: block;
  text-decoration: none;
  transition: color 0.2s;
}

.stream-links a:hover { color: #ff8c2a; }

.lastplayed-info {
  font-family: 'BebasNeue', Georgia, serif;
  font-size: 0.95rem;
  letter-spacing: 1px;
  line-height: 1.85;
  color: #e0e0e0;
  white-space: pre-wrap;
  word-wrap: break-word;
}

/* ── FOOTER PLAYER ──────────────────────────────────────────────── */
.site-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 56px;
  background-color: rgba(0,0,0,0.92);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255,255,255,0.08);
  z-index: 100;
  display: flex;
  align-items: center;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 1rem;
  gap: 1rem;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  flex-shrink: 0;
}

.copyright, .powered-by {
  font-family: 'BebasNeue', Georgia, serif;
  font-size: 0.7rem;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.38);
}

.copyright a, .powered-by a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.2s;
}

.copyright a:hover, .powered-by a:hover { color: #fff; }

/* ── CUSTOM PLAYER ──────────────────────────────────────────────── */
.custom-player {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
  min-width: 0;
}

/* Play/Pause knop */
.play-btn {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.08);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  padding: 0;
}

.play-btn:hover,
.play-btn:focus {
  background: rgba(26,117,255,0.5);
  border-color: #1a75ff;
  outline: none;
  transform: scale(1.08);
}

.play-btn.is-playing {
  background: rgba(26,117,255,0.35);
  border-color: #1a75ff;
}

.play-btn svg {
  width: 16px;
  height: 16px;
  fill: #fff;
  stroke: none;
}

/* Now-playing info */
.player-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.live-badge {
  font-size: 0.6rem;
  letter-spacing: 2px;
  color: #1a75ff;
  font-family: 'BebasNeue', Georgia, serif;
  line-height: 1;
  margin-bottom: 2px;
}

.player-track {
  font-family: 'BebasNeue', Georgia, serif;
  font-size: 0.85rem;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.85);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Volume */
.player-vol {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

.vol-icon {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: rgba(255,255,255,0.45);
  stroke-width: 2;
  stroke-linecap: round;
  flex-shrink: 0;
}

.vol-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 80px;
  height: 3px;
  border-radius: 3px;
  background: rgba(255,255,255,0.2);
  outline: none;
  cursor: pointer;
  accent-color: #1a75ff;
}

.vol-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #1a75ff;
  cursor: pointer;
  border: 2px solid #fff;
  box-shadow: 0 0 4px rgba(0,0,0,0.4);
}

.vol-slider::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #1a75ff;
  cursor: pointer;
  border: 2px solid #fff;
}

/* ── RESPONSIVE ─────────────────────────────────────────────────── */
@media (max-width: 575px) {
  .footer-meta { display: none; }
  .vol-slider { width: 60px; }
  #sideNav { width: 80vw; }
}
