/* =============================================
   Johnny Law and the Disturbance — Band Website
   Style: Clean, bold, rock-and-roll
   Accent: Blue/Teal (#3a799b)
   Text: #000
   Fonts: Bebas Neue (headings), Inter (body)
   ============================================= */

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 64px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: #000;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

/* --- Navigation --- */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #e5e7eb;
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 1px;
  color: #3a799b;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #6b7280;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #3a799b;
}

/* --- Sections common --- */
section {
  padding: 96px 24px;
}

.section-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3rem;
  letter-spacing: 2px;
  text-align: center;
  margin-bottom: 8px;
  color: #000;
}

.section-sub {
  text-align: center;
  font-size: 1.05rem;
  color: #6b7280;
  margin-bottom: 48px;
}

/* --- Hero --- */
#hero {
  position: relative;
  padding: 224px 24px 96px;
  text-align: center;
  background-image: 
    linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 60%, rgba(0,0,0,0.3) 100%),
    url('/jl415/images/FB_cover_bw_cropped.jpg');
  background-position: center 64px;
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-origin: border-box;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
}

.hero-label {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #8fc5e0;
  margin-bottom: 16px;
}

.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 8vw, 6rem);
  letter-spacing: 3px;
  line-height: 1;
  color: #fff;
  margin-bottom: 8px;
}

.hero-sub {
  display: block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 5vw, 4rem);
  letter-spacing: 2px;
  color: #8fc5e0;
  margin-top: -4px;
}

.hero-tagline {
  font-size: 1.1rem;
  color: #d1d5db;
  margin: 20px 0 36px;
  font-weight: 300;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 36px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 6px;
  transition: all 0.25s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: #3a799b;
  color: #fff;
  border: 2px solid #3a799b;
}

.btn-primary:hover {
  background: #2D5F7A;
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.5);
}

.btn-outline:hover {
  border-color: #3a799b;
  color: #3a799b;
}

/* --- Gigs --- */
#gigs {
  background: #f9fafb;
}

.gigs-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gig-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.gig-card:hover {
  border-color: #3a799b;
  box-shadow: 0 2px 12px rgba(58, 121, 155, 0.08);
}

.gig-date {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  letter-spacing: 1px;
  color: #3a799b;
  min-width: 80px;
  text-align: center;
  line-height: 1.1;
}

.gig-date .gig-month {
  display: block;
  font-size: 0.8rem;
  color: #6b7280;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.gig-info {
  flex: 1;
}

.gig-info h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #000;
  margin-bottom: 2px;
}

.gig-info p {
  font-size: 0.9rem;
  color: #6b7280;
}

.gig-links {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.gig-link {
  font-size: 0.8rem;
  color: #3a799b;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.gig-link:hover {
  border-bottom-color: #3a799b;
}

.gig-address {
  margin: 4px 0 0;
  font-size: 0.85rem;
}

.gig-address a {
  color: #6b7280;
  text-decoration: none;
  border-bottom: 1px dotted #d1d5db;
  transition: all 0.2s;
}

.gig-address a:hover {
  color: #3a799b;
  border-bottom-color: #3a799b;
}

@media (max-width: 768px) {
  .gig-links {
    justify-content: center;
  }
  .gig-address {
    text-align: center;
  }
}

.gig-time {
  font-size: 0.875rem;
  font-weight: 500;
  color: #3a799b;
  white-space: nowrap;
  padding-left: 16px;
  border-left: 2px solid #e5e7eb;
}

/* Skeleton loading */
.skeleton {
  padding: 28px 24px;
}

.skeleton-line {
  background: linear-gradient(90deg, #e5e7eb 25%, #f3f4f6 50%, #e5e7eb 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 4px;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Empty / error state */
.gigs-empty {
  text-align: center;
  padding: 48px 24px;
  color: #9ca3af;
}

.gigs-empty p {
  font-size: 1.1rem;
}

/* --- Music --- */
#music {
  background: #fff;
}

.music-embed {
  max-width: 700px;
  margin: 0 auto 32px;
  aspect-ratio: 16 / 9;
  background: #111;
  border-radius: 10px;
  overflow: hidden;
}

.youtube-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  cursor: pointer;
  transition: background 0.3s;
}

.youtube-placeholder:hover {
  background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
}

.youtube-play-btn {
  width: 68px;
  height: 48px;
  background: #3a799b;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 12px;
  transition: background 0.2s;
}

.youtube-placeholder:hover .youtube-play-btn {
  background: #2D5F7A;
}

.youtube-placeholder p {
  font-size: 0.9rem;
  color: #9ca3af;
}

.social-links-row {
  text-align: center;
  margin-top: 24px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.9rem;
  color: #000;
  transition: all 0.2s;
}

.social-link:hover {
  border-color: #3a799b;
  color: #3a799b;
}

.social-icon {
  font-size: 0.8rem;
}



.nav-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 36px;
  width: auto;
  display: block;
}

.footer-logo {
  max-height: 150px;
  width: auto;
  display: block;
  margin: 0 auto 28px;
  opacity: 0.9;
}

/* --- Footer --- */
footer {
  background: #111;
  padding: 48px 24px;
  text-align: center;
}

.footer-inner {
  max-width: 600px;
  margin: 0 auto;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}

.footer-social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 600;
  color: #9ca3af;
  text-transform: uppercase;
  transition: all 0.2s;
}

.footer-social-link:hover {
  border-color: #3a799b;
  color: #3a799b;
}

.footer-contact {
  font-size: 0.9rem;
  color: #6b7280;
  margin-bottom: 8px;
}

.footer-contact a {
  color: #3a799b;
  font-weight: 500;
}

.footer-contact a:hover {
  color: #4A8FB5;
}

.footer-copy {
  font-size: 0.8rem;
  color: #4b5563;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  section {
    padding: 64px 16px;
  }

  .nav-links {
    gap: 16px;
  }

  .nav-links a {
    font-size: 0.75rem;
    letter-spacing: 1px;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .gig-card {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .gig-date {
    min-width: auto;
  }

  .gig-time {
    border-left: none;
    padding-left: 0;
  }



  #hero {
    padding: 160px 16px 64px;
    min-height: auto;
  }

  .hero-title {
    font-size: 2.8rem;
  }

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

@media (max-width: 480px) {
  .nav-links {
    gap: 12px;
  }

  .nav-links a {
    font-size: 0.65rem;
    letter-spacing: 0.5px;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.8rem;
  }
}
/* --- Setlist --- */
#setlist {
  background: #f9fafb;
}

.setlist-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.setlist-col {
  list-style: none;
  padding: 0;
}

.setlist-col li {
  font-size: 0.95rem;
  color: #374151;
  padding: 6px 0;
  border-bottom: 1px solid #e5e7eb;
  line-height: 1.5;
}

.setlist-col li:last-child {
  border-bottom: none;
}

@media (max-width: 768px) {
  .setlist-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Gallery --- */
#gallery {
  background: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  background: #f3f4f6;
}

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

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

/* --- Lightbox --- */
.lightbox-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  justify-content: center;
  align-items: center;
  padding: 48px;
}

.lightbox-overlay.active {
  display: flex;
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 2.5rem;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
  z-index: 210;
  line-height: 1;
}

.lightbox-close:hover {
  opacity: 1;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
}

/* --- Responsive gallery --- */
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .lightbox-overlay {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }
}

/* --- Past Shows (dimmed, always visible) --- */
.past-divider {
  border: none;
  border-top: 1px dashed #d1d5db;
  margin: 32px 0 16px;
}

.past-label {
  font-size: 0.8rem;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
  font-weight: 500;
}

.past-gig-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 6px 0;
  font-size: 0.85rem;
  color: #9ca3af;
  border-bottom: 1px solid #f3f4f6;
}

.past-gig-row:last-child {
  border-bottom: none;
}

.past-gig-date {
  color: #b0b0b0;
  min-width: 90px;
  font-size: 0.82rem;
}

.past-gig-link {
  color: #9ca3af;
  border-bottom: 1px solid transparent;
  transition: color 0.2s;
}

.past-gig-link:hover {
  color: #3a799b;
}
