/* ═══════════════════════════════════════════════════════════════
   Radio Station Template — Demo 1
   Stack: Bootstrap 5 + Bebas Neue + Teko + Great Vibes
   ═══════════════════════════════════════════════════════════════ */

/* ── 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;
}

body {
  background-image: url('../images/studio.jpg');
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  background-color: #333;
}

@media (max-width: 767px) {
  body { background-image: url('../images/dj-spinning.jpeg'); }
}

/* ── NAVIGATIE ──────────────────────────────────────────────────── */
#mainNav {
  background-color: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(6px);
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
}

#mainNav .nav-link {
  font-family: 'BebasNeue', Georgia, serif;
  font-size: 1.05rem;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.2s;
}

#mainNav .nav-link:hover,
#mainNav .nav-link:focus { color: #b8c8e8; }

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

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

/* ── NOW PLAYING OVERLAY ────────────────────────────────────────── */
.nowplaying-overlay {
  position: fixed;
  bottom: 70px;
  left: 0;
  right: 0;
  padding: 0 2.5%;
  z-index: 10;
  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: #ff6319;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.85);
  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);
  font-weight: 400;
  color: #eeeeee;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.85);
  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: #ffffff;
}

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

.modal-body p,
.modal-body li {
  font-family: 'Khand', sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: #d0d0d0;
}

.modal-body h3 {
  font-family: 'BebasNeue', Georgia, serif;
  color: #6fa3d8;
  font-size: 1.15rem;
  letter-spacing: 2px;
  margin-bottom: 0.4rem;
}

/* Stream links */
.stream-links li {
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

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

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

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

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

/* Contact form */
.form-control {
  background-color: #2a2a2a;
  border-color: rgba(255,255,255,0.15);
  color: #e0e0e0;
  border-radius: 0.4rem;
}

.form-control:focus {
  background-color: #333;
  border-color: #6fa3d8;
  color: #fff;
  box-shadow: 0 0 0 0.2rem rgba(111,163,216,0.25);
}

.form-label {
  font-family: 'BebasNeue', Georgia, serif;
  letter-spacing: 1px;
  color: #aaa;
  font-size: 0.92rem;
}

/* ── 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-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(255,99,25,0.45);
  border-color: #ff6319;
  outline: none;
  transform: scale(1.08);
}

.play-btn.is-playing {
  background: rgba(255,99,25,0.3);
  border-color: #ff6319;
}

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

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

.live-badge {
  font-size: 0.6rem;
  letter-spacing: 2px;
  color: #ff6319;
  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;
}

.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: #ff6319;
}

.vol-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ff6319;
  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: #ff6319;
  cursor: pointer;
  border: 2px solid #fff;
}

/* ── RESPONSIVE ─────────────────────────────────────────────────── */
@media (max-width: 575px) {
  .footer-meta { display: none; }
  .vol-slider { width: 60px; }
  .nowplaying-overlay { bottom: 66px; }
}
