/* --------------------------------------------------
   GLOBAL
-------------------------------------------------- */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f5f5f5;
  color: #111;
}

/* Desktop video size control */
.video-wrapper {
  max-width: 800px;   /* controls desktop size */
  margin: 0 auto;     /* centers it */
}

.video-credit {
  text-align: center;
  font-size: 14px;
  color: #666;
  margin-top: 8px;
}

/* Photos section on Media page */
.photo-grid {
  max-width: 900px;
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 15px;
  padding: 0 20px;
}

.photo-grid img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer; /* keeps lightbox behaviour */
}



/* --------------------------------------------------
   HEADER
-------------------------------------------------- */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background: #fff;
  border-bottom: 1px solid #ddd;
}

.logo {
  height: 60px;
}

nav a {
  margin-left: 25px;
  text-decoration: none;
  color: #111;
  font-weight: bold;
  transition: color 0.2s;
}

nav a:hover {
  color: #ff4f4f;
}

/* --------------------------------------------------
   HERO
-------------------------------------------------- */
.hero {
  text-align: center;
  padding: 120px 20px;
  background: #fff;
  border-bottom: 1px solid #ddd;
}

.hero h1 {
  font-size: 60px;
  margin-bottom: 10px;
}

.hero p {
  font-size: 20px;
  color: #555;
}

.hero-logo {
  width: 400px;
  height: auto;
  margin-bottom: 20px;
}

.tagline {
  font-size: 22px;
  color: #555;
  margin-top: 0;
}

/* --------------------------------------------------
   PAGE SECTIONS
-------------------------------------------------- */
.intro, .about, .gigs-list {
  max-width: 800px;
  margin: 60px auto;
  padding: 0 20px;
}

.page-header {
  text-align: center;
  padding: 80px 20px 20px;
}

.note {
  text-align: center;
  color: #777;
  margin-top: 40px;
}

/* --------------------------------------------------
   SUMMARY BOX
-------------------------------------------------- */
.summary-box {
  background: #fff;
  border-left: 4px solid #ff4f4f;
  padding: 20px;
  margin-bottom: 40px;
  border-radius: 6px;
}

.summary-box h2 {
  margin-top: 0;
}

.summary-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.summary-box li {
  padding: 6px 0;
  font-size: 16px;
}

/* --------------------------------------------------
   GIGS PAGE
-------------------------------------------------- */
.gig {
  background: #fff;
  padding: 20px;
  margin-bottom: 25px;
  border-left: 4px solid #ff4f4f;
  border-radius: 6px;
}

.gig h3 {
  margin-top: 0;
  font-size: 22px;
}

.gig a {
  color: #ff4f4f;
  font-weight: bold;
  text-decoration: none;
}

.gig a:hover {
  text-decoration: underline;
}

/* --------------------------------------------------
   CONTACT FORM
-------------------------------------------------- */
.contact-form {
  max-width: 500px;
  margin: 40px auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form label {
  font-weight: bold;
  color: #333;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
}

.contact-form button {
  padding: 12px;
  background: #ff4f4f;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 18px;
  transition: background 0.2s;
}

.contact-form button:hover {
  background: #e63e3e;
}

.back-link {
  display: inline-block;
  margin-top: 20px;
  font-weight: bold;
  color: #ff4f4f;
  text-decoration: none;
}

.back-link:hover {
  text-decoration: underline;
}

/* --------------------------------------------------
   SETLIST SEARCH
-------------------------------------------------- */
.setlist-search {
  width: 100%;
  max-width: 400px;
  padding: 12px 15px;
  margin: 20px 0;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
  display: block;
}

/* ABOUT PAGE */
.about-section {
  max-width: 1000px;
  margin: 60px auto;
  padding: 0 20px;
}

.about-wrapper {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.about-photo img {
  width: 100%;
  max-width: 350px;
  border-radius: 8px;
  object-fit: cover;
}

.about-text {
  flex: 1;
}

.about-text h2 {
  margin-top: 0;
  font-size: 28px;
}


/* --------------------------------------------------
   SETLIST TABLE
-------------------------------------------------- */
.setlist table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 60px;
}

.setlist th, .setlist td {
  padding: 12px 15px;
  border-bottom: 1px solid #ddd;
  text-align: left;
}

.setlist th {
  background: #f4f4f4;
  font-weight: bold;
}

.setlist tbody tr:nth-child(even) {
  background: #fafafa;
}

.setlist tbody tr:nth-child(odd) {
  background: #fff;
}

.setlist tbody tr:hover {
  background: #ffecec;
}

/* --------------------------------------------------
   VIDEO GRID
-------------------------------------------------- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.video-item iframe {
  width: 100%;
  height: 250px;
  border-radius: 6px;
}

.media-embed {
  margin: 20px 0;
}

/* --------------------------------------------------
   RESPONSIVE YOUTUBE EMBED (GLOBAL)
-------------------------------------------------- */
.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  margin: 20px 0;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* --------------------------------------------------
   GALLERY GRID
-------------------------------------------------- */
.gallery {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 15px;
}

.gallery img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.gallery img:hover {
  transform: scale(1.02);
}

/* --------------------------------------------------
   LIGHTBOX
-------------------------------------------------- */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.85);

  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  height: 100%;
  padding: 20px;
  box-sizing: border-box;
}

.lightbox-img {
  max-width: 90%;
  max-height: 80vh;
  border-radius: 4px;
}

.close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 35px;
  color: white;
  cursor: pointer;
}

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 45px;
  color: white;
  cursor: pointer;
  padding: 10px;
  user-select: none;
}

.prev { left: 20px; }
.next { right: 20px; }

.prev:hover, .next:hover, .close:hover {
  color: #ff4444;
}

/* --------------------------------------------------
   MOBILE
-------------------------------------------------- */
@media (max-width: 600px) {

  header {
    flex-direction: column;
    text-align: center;
  }

  nav a {
    margin: 10px;
    display: inline-block;
  }

  .hero {
    padding: 60px 20px;
  }

  .hero-logo {
    width: 150px;
  }

  .tagline {
    font-size: 18px;
  }

  .intro, .about, .gigs-list {
    margin: 40px auto;
  }

  .gallery img {
    height: 130px;
  }

  .prev, .next {
    font-size: 35px;
  }
}
