@import url('https://fonts.googleapis.com/css2?family=Lobster&family=Roboto:wght@400;500;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --red-primary: #8B1A1A;
  --red-bright: #C0392B;
  --charcoal: #2C2C2C;
  --rose-mid: #C47A7A;
  --rose-light: #E8C8C8;
  --white: #ffffff;
  --light-bg: #f5f5f5;
  --border: #ddd;
}

body {
  font-family: 'Roboto', sans-serif;
  background-color: var(--light-bg);
  color: var(--charcoal);
  font-size: 16px;
  line-height: 1.6;
}

/* ─── HEADER ─── */
header {
  background-color: var(--red-primary);
  padding: 16px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

header img.logo {
  height: 70px;
  width: auto;
}

header .logo-text {
  font-family: 'Lobster', cursive;
  color: var(--white);
  font-size: 2.2rem;
  letter-spacing: 1px;
}

header .logo-text span {
  display: block;
  font-size: 1rem;
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  color: var(--rose-light);
  letter-spacing: 2px;
}

/* ─── NAV ─── */
nav {
  background-color: var(--charcoal);
  position: relative;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 0;
}

nav ul li a {
  display: block;
  padding: 14px 28px;
  color: var(--white);
  text-decoration: none;
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: background-color 0.2s, color 0.2s;
}

nav ul li a:hover,
nav ul li a.active {
  background-color: var(--red-primary);
  color: var(--white);
}

/* Hamburger button - hidden on desktop */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 14px 20px;
  flex-direction: column;
  gap: 5px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ─── LAYOUT WRAPPER ─── */
.page-wrapper {
  display: grid;
  grid-template-columns: 80% 20%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px;
  gap: 24px;
}

/* ─── MAIN CONTENT ─── */
main {
  background-color: var(--white);
  border-radius: 6px;
  padding: 30px;
  min-height: 500px;
}

main h1 {
  font-family: 'Lobster', cursive;
  color: var(--red-primary);
  font-size: 2rem;
  margin-bottom: 16px;
}

main h2 {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  color: var(--charcoal);
  font-size: 1.2rem;
  margin-bottom: 10px;
  margin-top: 24px;
}

main p {
  margin-bottom: 14px;
  color: #444;
}

/* ─── SIDEBAR ─── */
aside {
  background-color: var(--white);
  border-radius: 6px;
  padding: 20px;
  align-self: start;
}

aside h3 {
  font-family: 'Lobster', cursive;
  color: var(--red-primary);
  font-size: 1.2rem;
  margin-bottom: 12px;
  border-bottom: 2px solid var(--rose-light);
  padding-bottom: 8px;
}

aside ul {
  list-style: none;
}

aside ul li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

aside ul li a {
  color: var(--charcoal);
  text-decoration: none;
  transition: color 0.2s;
}

aside ul li a:hover {
  color: var(--red-bright);
}

/* ─── FOOTER ─── */
footer {
  background-color: var(--charcoal);
  color: var(--rose-light);
  text-align: center;
  padding: 20px 40px;
  font-size: 0.85rem;
}

footer a {
  color: var(--rose-light);
  text-decoration: none;
  margin: 0 8px;
}

footer a:hover {
  color: var(--white);
}

/* ─── HERO BANNER ─── */
.hero {
  background: linear-gradient(135deg, var(--red-primary), var(--charcoal));
  color: var(--white);
  padding: 40px 30px;
  border-radius: 6px;
  margin-bottom: 30px;
  text-align: center;
}

.hero h1 {
  font-family: 'Lobster', cursive;
  font-size: 2.5rem;
  color: var(--white);
  margin-bottom: 10px;
}

.hero p {
  color: var(--rose-light);
  font-size: 1.1rem;
  margin-bottom: 0;
}

/* ─── NOW PLAYING BADGE ─── */
.now-playing-badge {
  background-color: var(--red-primary);
  color: var(--white);
  border-radius: 6px;
  padding: 16px 20px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.now-playing-badge .dot {
  width: 12px;
  height: 12px;
  background-color: #ff4444;
  border-radius: 50%;
  animation: pulse 1.2s infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.now-playing-badge .label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--rose-light);
}

.now-playing-badge .show-name {
  font-family: 'Lobster', cursive;
  font-size: 1.3rem;
}

/* ─── SCHEDULE TABLE ─── */
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}

.schedule-table th {
  background-color: var(--red-primary);
  color: var(--white);
  padding: 12px 16px;
  text-align: left;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.schedule-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.schedule-table tr:nth-child(even) {
  background-color: #fafafa;
}

.schedule-table tr.current-show {
  background-color: #fff0f0;
  font-weight: 700;
  color: var(--red-primary);
}

/* ─── AUDIO PLAYER ─── */
.audio-player-wrap {
  background-color: var(--charcoal);
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 24px;
  color: var(--white);
}

.audio-player-wrap h2 {
  color: var(--rose-light);
  font-family: 'Lobster', cursive;
  margin-bottom: 16px;
}

.track-info {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.track-info img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 4px;
  background-color: var(--rose-mid);
}

.track-info .track-meta .track-title {
  font-weight: 700;
  font-size: 1rem;
}

.track-info .track-meta .track-artist {
  color: var(--rose-light);
  font-size: 0.85rem;
}

audio {
  width: 100%;
  margin-bottom: 16px;
  accent-color: var(--red-bright);
}

.playlist {
  list-style: none;
  max-height: 240px;
  overflow-y: auto;
}

.playlist li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.playlist li:hover,
.playlist li.active {
  background-color: var(--red-primary);
}

.playlist li img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 3px;
  background-color: var(--rose-mid);
}

.playlist li .pl-title { font-weight: 500; }
.playlist li .pl-artist { color: var(--rose-light); font-size: 0.8rem; }
.playlist li .pl-duration { margin-left: auto; color: var(--rose-light); font-size: 0.8rem; }

/* ─── GALLERY GRID ─── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.gallery-grid .gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  cursor: pointer;
  aspect-ratio: 4/3;
  background-color: var(--rose-light);
}

.gallery-grid .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
  display: block;
}

.gallery-grid .gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-grid .gallery-item .overlay {
  position: absolute;
  inset: 0;
  background: rgba(139,26,26,0.55);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.8rem;
}

.gallery-grid .gallery-item:hover .overlay {
  opacity: 1;
}

/* ─── LIGHTBOX ─── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: 85vw;
  max-height: 80vh;
  border-radius: 4px;
  object-fit: contain;
}

.lightbox .lb-close {
  position: absolute;
  top: 20px;
  right: 28px;
  font-size: 2rem;
  color: var(--white);
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
}

.lightbox .lb-prev,
.lightbox .lb-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(139,26,26,0.7);
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  padding: 12px 16px;
  cursor: pointer;
  border-radius: 4px;
}

.lightbox .lb-prev { left: 20px; }
.lightbox .lb-next { right: 20px; }

/* ─── TABLET (481px–1024px) ─── */
@media (max-width: 1024px) {
  .page-wrapper {
    grid-template-columns: 1fr;
  }

  aside {
    order: 2;
  }

  main {
    order: 1;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ─── MOBILE (480px and below) ─── */
@media (max-width: 480px) {
  header {
    padding: 12px 16px;
    justify-content: space-between;
  }

  header .logo-text {
    font-size: 1.6rem;
  }

  .hamburger {
    display: flex;
  }

  nav ul {
    display: none;
    flex-direction: column;
    background-color: var(--charcoal);
  }

  nav ul.open {
    display: flex;
  }

  nav ul li a {
    padding: 12px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .page-wrapper {
    padding: 16px;
    gap: 16px;
  }

  main {
    padding: 20px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .schedule-table th,
  .schedule-table td {
    padding: 8px 10px;
    font-size: 0.82rem;
  }
}
