body {

  padding: 20px;

}

select {
  padding: 8px;
  margin: 10px 0;
  font-size: 1rem;
}

.carousel-container {
  position: relative;
  width: 80%;
  margin: 30px auto;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-track a {
  min-width: 100%;
  text-align: center;
}

.carousel-track img {
  max-width: 100%;
  cursor: pointer;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
}

/* Limit size of carousel images */
.carousel-image {
  max-width: 600px;
  max-height: 600px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.carousel-btn {
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: white;
  font-size: 2rem;
  padding: 5px 10px;
  cursor: pointer;
}

.carousel-dots {
  text-align: center;
  margin-top: 10px;
}

.dot {
  height: 12px;
  width: 12px;
  margin: 0 4px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
}

.dot.active {
  background-color: #717171;
}

#lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.95);
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#lightbox.show {
  display: flex;
}

/* Main content (image + arrows) */
#lightbox-content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
  width: 100vw;
  height: 100vh;
  padding: 0;
  overflow: hidden;
}

/* This controls the actual image size */
#lightbox-img {
  max-width: 98vw;
  max-height: 98vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin: auto;
  border: none;
  outline: none;
  box-shadow: none !important;
  background: none;
}

.lightbox-arrow {
  position: fixed;
  /* 👈 this is the key change */
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  user-select: none;
  z-index: 1001;
}

#lightbox-prev {
  left: 20px;
}

#lightbox-next {
  right: 20px;
}

/* Close button */
#lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  z-index: 11;
}


#lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: white;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  z-index: 1001;
}





/* Container layout for both */
#season-buttons,
#concert-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 auto 20px auto;
  padding: 10px;
}

/* Concert buttons: full-width (~600px), 1 per row */


#season-buttons {
  display: flex;
  justify-content: center;
  max-width: 800px;
  margin: 0 auto 20px;
  flex-wrap: nowrap;
  /* ✅ prevents line wrapping */
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 10px;
  padding: 10px 0;
  max-width: 1000px;
  scrollbar-width: none;
  /* Firefox */
  scroll-snap-type: x mandatory;
  scroll-padding-left: 0;
  scroll-behavior: smooth;
  overflow-x: auto;
  overflow-y: hidden;
  flex-wrap: nowrap;
  justify-content: flex-start; /* ✅ Align to start, not center */
}


/* Shared style for season & concert buttons */
#season-buttons button,
#concert-buttons button {
  margin: 6px 0px;
  padding: 10px 15px;
  font-size: 1rem;
  font-family: inherit;
  border: none;
  background-color: black;
  color: white;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.2s;
  text-align: center;
}

#season-buttons button {
  width: 120px;
  /* or 150px, depending on your taste */
}

/* Hover effect */
#season-buttons button:hover,
#concert-buttons button:hover {
  background-color: #444;
}




#season-buttons::-webkit-scrollbar {
  display: none;
  /* Chrome/Safari */
}

#season-buttons button {
  flex: 0 0 auto;
  /* ✅ don’t grow or shrink */
  width: 120px;
  /* ✅ fixed size */
  text-align: center;
  font-size: 1rem;
  padding: 10px 15px;
  background-color: black;
  color: white;
  border: none;
  border-radius: 5px;
  font-family: inherit;
  cursor: pointer;
  transition: background-color 0.2s;
}

#season-buttons button:hover {
  background-color: #222;
}

/* Arrows */

#concert-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 0 auto 10px;
  max-width: 620px;
}

#concert-buttons button {
  width: 100%;
  /* ✅ All buttons take full width of parent */
  max-width: 600px;
  /* Optional: limit max width */
  box-sizing: border-box;
  /* Ensures padding doesn't affect width */
  padding: 12px 18px;
  font-size: 1rem;
}

.hidden {
  display: none !important;
}

/* Thumbnail strip container */
.carousel-thumbnails-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 90%;
  margin: 10px auto;
  overflow: hidden;
  position: relative;
}

/* Main carousel thumbnail arrows (dark) */
.carousel-thumbnails-wrapper .thumb-arrow {
  font-size: 1.5rem;
  color: #333;
  /* Dark grey for visibility */
  background: #f0f0f0;
  border: 1px solid #ccc;
  border-radius: 3px;
  cursor: pointer;
  user-select: none;
  padding: 5px 8px;
}

#lightbox-thumbnails-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  gap: 10px;
  max-width: 90vw;
  overflow: hidden;
}

.carousel-thumbnails {
  display: flex;
  gap: 5px;
  overflow-x: auto;
  scroll-behavior: smooth;
}

#lightbox-thumbnails {
  display: flex;
  overflow-x: auto;
  gap: 5px;
  scroll-behavior: smooth;
}

.carousel-thumbnails img {
  height: 40px;
  cursor: pointer;
  opacity: 0.6;
  border: 2px solid transparent;
  transition: all 0.2s ease;
}

#lightbox-thumbnails img {
  height: 40px;
  cursor: pointer;
  opacity: 0.6;
  border: 2px solid transparent;
  transition: all 0.2s ease;
}

.carousel-thumbnails img.active {
  opacity: 1;
  border-color: white;
}

#lightbox-thumbnails img.active {
  opacity: 1;
  border-color: transparent;
  /* ✅ Removes white glow */
  outline: none;
  box-shadow: none;
}


#lightbox-thumbnails-wrapper .thumb-arrow {
  font-size: 1.5rem;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 10;
  user-select: none;
}

/* Arrows for lightbox thumbnails */
#lightbox-thumbnails-wrapper .thumb-arrow {
  font-size: 1.5rem;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
  user-select: none;
}

.left-thumb {
  margin-right: 5px;
}

.right-thumb {
  margin-left: 5px;
}

/* Lightbox animation */
#lightbox {
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

#lightbox.show {
  opacity: 1;
  pointer-events: auto;
}

.photo-credit {
  position: absolute;
  bottom: 8px;
  right: 12px;
  color: white;
  background-color: rgba(0, 0, 0, 0.6);
  font-size: 0.8rem;
  padding: 2px 6px;
  border-radius: 3px;
  font-style: italic;
  pointer-events: none;
}

.image-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
  height: 100%;
  max-width: 600px;
  max-height: 600px;
}

.image-wrapper img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.photo-credit {
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 4px 10px;
  font-size: 0.9rem;
  border-radius: 4px;
  pointer-events: none;
  z-index: 5;
  white-space: nowrap;
  display: inline-block;
  max-width: fit-content;
  width: auto;
  box-sizing: content-box;
}