/* ===== COMMON STYLES ===== */
body {
  background: url('../image/banner1.jpeg') no-repeat center center fixed;
  background-size: cover;
  color: #eee;
  font-family: monospace;
  text-align: center;
  padding: 30px;
}

h1 {
  font-size: 3em;
  color: #f00;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

h2 {
  color: #fff;
  font-size: 1.4em;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 20px 0 10px;
}

.container {
  background: rgba(0, 0, 0, 0.85);
  padding: 25px;
  border: 2px solid #f00;
  border-radius: 10px;
  box-shadow: 0 0 10px #f00;
  max-width: 700px;
  margin: auto;
}

/* ===== BUTTONS & LINKS ===== */
.buttons a {
  display: inline-block;
  margin: 10px 10px;
  padding: 10px 20px;
  background-color: #111;
  border: 2px solid #f00;
  color: #f00;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
  transition: all 0.3s;
}

.buttons a:hover {
  background-color: #f00;
  color: #000;
}

a.band-link {
  color: #0ff;
  text-decoration: none;
}

a.band-link:hover {
  text-decoration: underline;
}

.merch-link {
  display: inline-block;
  margin: 20px 0;
  padding: 12px 25px;
  background-color: #222;
  border: 2px solid #f00;
  color: #ff6a00;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  font-size: 1.4em;
  letter-spacing: 1px;
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
  transition: all 0.3s ease;
}

.merch-link:hover {
  background-color: #f00;
  color: #000;
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.7);
}

/* ===== LISTS ===== */
ul {
  text-align: left;
  margin: 20px auto;
  max-width: 500px;
}

ul li {
  margin: 5px 0;
}

/* ===== UTILITY CLASSES ===== */
.powered-by-minnit {
  font-size: 0.8em;
  color: #aaa;
}

.back-link a {
  display: inline-block;
  padding: 12px 25px;
  background-color: #222;
  border: 2px solid #f00;
  color: #ff6a00;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  font-size: 1.4em;
  letter-spacing: 1px;
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
  transition: all 0.3s ease;
}

.back-link a:hover {
  background-color: #f00;
  color: #000;
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.7);
}

/* ===== INDEX.HTML ONLY ===== */
.player iframe {
  margin-top: 20px;
  width: 100%;
  max-width: 600px;
  height: 200px;
  border: 2px solid #f00;
  border-radius: 5px;
}

.player-box {
  margin: 20px auto;
}

.player-box button {
  padding: 10px 20px;
  font-size: 1.2em;
  background-color: #111;
  border: 2px solid #f00;
  color: #f00;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

.player-box button:hover {
  background-color: #f00;
  color: #000;
}

ul.schedule {
  text-align: left;
  margin: 0 auto;
  max-width: 500px;
  list-style-type: disc;
  padding-left: 20px;
}

ul.contact {
  list-style: none;
  padding: 0;
}

/* ===== MERCH.HTML ONLY ===== */
body.merch-page {
  background: url('../image/banner.jpg') no-repeat center center fixed;
  background-size: cover;
}

.merch-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  margin-top: 30px;
}

.merch-item {
  background: #111;
  border: 2px solid #f00;
  border-radius: 10px;
  padding: 20px;
  width: 250px;
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.merch-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(255, 0, 0, 0.5);
}

.merch-item h3 {
  color: #ff6a00;
  margin-bottom: 15px;
  font-size: 1.4em;
}

.merch-img-container {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 15px;
  height: 200px;
  cursor: pointer;
  background: #000; /* Added black background for consistency */
}

/* FIX FOR SMALL IMAGE PREVIEW */
.merch-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block; /* CRITICAL FIX - prevents extra space below images */
}

.merch-img-container:hover img {
  transform: scale(1.05);
}

.merch-img-container::after {
  content: "Click to Enlarge";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 5px;
  font-size: 0.8em;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.merch-img-container:hover::after {
  opacity: 1;
}

.merch-details p {
  margin: 8px 0;
  line-height: 1.5;
}

.price {
  font-size: 1.3em;
  color: #ff6a00;
  font-weight: bold;
  margin-top: 10px;
}

.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 1000;
  text-align: center;
  padding: 20px;
}

.lightbox-content {
  max-width: 90%;
  max-height: 85vh;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 3px solid #f00;
  box-shadow: 0 0 30px rgba(255, 0, 0, 0.8);
  border-radius: 5px;
}

.lightbox-caption {
  color: #fff;
  margin-top: 15px;
  font-size: 1.2em;
  max-width: 80%;
  margin-left: auto;
  margin-right: auto;
}

.close-lightbox {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #f00;
  font-size: 50px; /* Larger close button */
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
  z-index: 1001;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
}

.close-lightbox:hover {
  color: #fff;
  background: rgba(255, 0, 0, 0.7);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 30px; /* More padding on sides */
  box-sizing: border-box;
}

.nav-btn {
  color: #f00;
  font-size: 60px; /* Larger arrow size */
  cursor: pointer;
  background: rgba(0, 0, 0, 0.5);
  width: 80px; /* Larger button */
  height: 80px; /* Larger button */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
  opacity: 0.8; /* Slightly transparent by default */
}

.nav-btn:hover {
  color: #fff;
  background: rgba(255, 0, 0, 0.7);
  opacity: 1; /* Fully opaque on hover */
  transform: scale(1.1); /* Slight grow effect */
}

.punk-decoration {
  position: absolute;
  opacity: 0.1;
  pointer-events: none;
}

.decoration-1 {
  top: 10%;
  left: 5%;
  font-size: 3em;
  transform: rotate(-15deg);
}

.decoration-2 {
  bottom: 10%;
  right: 5%;
  font-size: 3em;
  transform: rotate(15deg);
}