/* Tailwind is included, this is custom CSS */

/* Body & base */
body {
  font-family: 'Work Sans', sans-serif;
  background-color: #1f1f1f;
  color: #e0e0e0;
  margin: 0;
}

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Container wrapper */
.container-wrapper {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

/* Section cards */
.section-card {
  background-color: rgba(40, 40, 40, 0.95);
  backdrop-filter: blur(2px);
  box-shadow: 0 0 8px rgba(0,0,0,0.6);
  border-radius: 7px;
  padding: 1.5rem 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.section-card:hover {
  transform: scale(1.02);
  box-shadow: 0 0 20px rgba(0,0,0,0.6);
}

/* Headings */
h2 { 
  color: #f5f5f5; 
  background: linear-gradient(90deg, #FFD54F, #FFC107, #FFB300);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 200%;
  animation: gradientShift 10s ease infinite;
}
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Links */
a { color: #ffffff; transition: color 0.3s ease; }
a:hover { color: #FFD54F; }

/* Buttons */
.button-glow {
  background-color: #ffb400;
  color: #1f1f1f;
  font-weight: 600;
  border-radius: 7px;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.3s ease;
}
.button-glow:hover {
  background-color: #ffc142;
  transform: scale(1.03);
  box-shadow: 0 0 15px rgba(0,0,0,0.5);
}
.button-glow:active {
  transform: scale(0.98);
}

/* Header photo */
header .container-wrapper {
  z-index: 10;
  flex: 1;
  display: flex;
  justify-content: center;
  padding-bottom: 1.25rem;
}
header img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 7px;
  box-shadow: 0 0 12px rgba(0,0,0,0.6);
}

/* About section */
.about-background {
  background-image: url('../images/band-small.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  overflow: hidden;
  box-shadow: 0 0 8px rgba(0,0,0,0.6);
  transition: transform 0.3s ease;
}
.about-background:hover {
  transform: scale(1.01);
}
.about-background .about-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 20, 0);
  transition: background-color 0.5s ease;
  border-radius: 7px;
  z-index: 0;
}
.about-background:hover .about-overlay {
  background: rgba(20, 20, 20, 0.6);
}
.about-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: #fff;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Sticky nav */
.sticky-nav {
  backdrop-filter: blur(6px);
  background-color: rgba(15, 15, 15, 0.7);
}

/* Loading spinner */
#loading-spinner {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: #1f1f1f;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.spinner {
  border: 5px solid rgba(255, 255, 255, 0.2);
  border-top-color: #fff;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Scroll-to-top button */
#scrollToTop {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 50;
  background-color: #FFD54F; color: white;
  border-radius: 9999px; padding: 0.75rem 1rem;
  font-weight: 700; font-size: 1.25rem; cursor: pointer;
  box-shadow: 0 4px 6px rgba(0,0,0,0.3);
  transition: background-color 0.3s ease, transform 0.3s ease;
  display: none;
}
#scrollToTop:hover { 
  background-color: #FFC107; 
  transform: scale(1.05);
}

/* Footer */
footer {
  background-color: rgba(40, 40, 40, 0.95);
  backdrop-filter: blur(2px);
  color: #c0c0c0;
  text-align: center;
  padding: 1.5rem 1rem;
  font-size: 0.9rem;
  border-radius: 7px;
  box-shadow: 0 0 8px rgba(0,0,0,0.6);
}

/* Video wrapper */
.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 2rem auto;
  border-radius: 7px;
  overflow: hidden;
  background-color: #2a2a2a;
  box-shadow: 0 0 8px rgba(0,0,0,0.6);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.video-wrapper:hover {
  transform: scale(1.02);
  box-shadow: 0 0 20px rgba(0,0,0,0.6);
}
.video-wrapper iframe {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 7px;
  display: block;
  transition: transform 0.3s ease;
}
.video-wrapper iframe:hover {
  transform: scale(1.01);
}

/* Bio Section: slide + fade */
#bio-more {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.5s ease, padding 0.5s ease;
}
#bio-more.show {
  max-height: 1000px; /* large enough for content */
  opacity: 1;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

/* Posters */
.poster-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}
.poster-grid img {
  width: 150px;
  height: 225px;
  object-fit: cover;
  cursor: pointer;
  border-radius: 7px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}
.poster-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 12px rgba(0,0,0,0.6);
  filter: brightness(1.1) saturate(1.1);
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .container-wrapper { padding-left: 1rem; padding-right: 1rem; }
  .poster-grid img { width: 120px; height: 180px; }
}

/* Lightbox captions */
.lb-data .lb-caption {
  font-family: 'Work Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: #e5e7eb;
  line-height: 1.4;
  text-align: center;
  margin-top: 8px;
}
.lb-data .lb-number { display: none; }

/* Header Effects */
.header-photo-wrapper {
  position: relative;
  border-radius: 7px;
  overflow: hidden;
  transform: translateZ(0);
}
.header-photo {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 7px;
  transform: scale(1.05);
  will-change: transform;
}
.header-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.7));
  opacity: 0;
  pointer-events: none;
  border-radius: 7px;
}
.header-photo-wrapper:hover {
  box-shadow: 0 12px 28px rgba(0,0,0,0.7);
  transform: translateY(-2px);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
#bio-more.show {
  display: block !important;
}
