/* ------------------------------------------
   Custom Font
------------------------------------------- */
@font-face {
  font-family: 'DeathBones';
  src: url('../fonts/Death_Bones.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* ------------------------------------------
   Body & Background
------------------------------------------- */
body {
  background: url("../images/background.jpg") no-repeat center center fixed;
  background-size: cover;
  color: #eee;
  font-family: 'Arial', sans-serif;
  text-align: center;
  padding: 40px;
  margin: 0;
  position: relative;
}

/* Dark overlay for readability */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.5);
  z-index: -1;
}

/* ------------------------------------------
   Headers
------------------------------------------- */
h1, h2, h3 {
  font-family: 'DeathBones', cursive;
  text-shadow: 2px 2px 4px #000;
  margin-bottom: 20px;
}

h1 { font-size: 4em; }
h2 { font-size: 2.2em; }
h3 { font-size: 1.5em; }

/* ------------------------------------------
   Paragraphs
------------------------------------------- */
p {
  font-size: 1.3em;
  line-height: 1.6em;
  margin-bottom: 20px;
  color: #eee;
}

/* ------------------------------------------
   Links
------------------------------------------- */
a {
  color: rgb(196, 152, 59);
  text-decoration: none;
  transition: 0.2s;
}

a:hover {
  text-decoration: underline;
  color: rgb(196, 152, 59);
}

/* ------------------------------------------
   Buttons
------------------------------------------- */
.button-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.button {
  background-color: rgba(30,30,30,0.7);
  color: #fff;
  padding: 20px 40px;
  text-decoration: none;
  font-size: 1.2em;
  border-radius: 12px;
  border: 2px solid #eee;
  transition: 0.3s;
}

.button:hover {
  background-color: rgba(50,50,50,0.9);
  transform: scale(1.05);
}

/* ------------------------------------------
   Images
------------------------------------------- */
img {
  max-width: 90%;
  height: auto;
  margin-bottom: 20px;
  border-radius: 6px;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

/* Band Member Images */
.band-members {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 40px 0;
  flex-wrap: wrap;
}

.band-members img {
  width: 150px;
  height: auto;
  border-radius: 8px;
  cursor: pointer;
  border: 3px solid rgba(255,255,255,0.2);
  transition: transform 0.3s, filter 0.3s, border-color 0.3s;
}

.band-members img:hover {
  transform: scale(1.05);
  border-color: rgb(196,152,59);
}

.band-members img.active {
  border-color: rgb(196,152,59);
  filter: brightness(1.1);
}

.band-members img.inactive {
  filter: brightness(0.5);
}

/* ------------------------------------------
   Homepage Sections
------------------------------------------- */
.welcome-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
}

/* ------------------------------------------
   Albums / Music Pages
------------------------------------------- */
.album-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin: 40px 0;
}

.album {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #eee;
  transition: transform 0.3s;
  max-width: 300px;
}

.album img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.7);
  margin-bottom: 10px;
  cursor: pointer;
}

.album:hover {
  transform: scale(1.05);
}

.album-cover {
  max-width: 250px;
  width: 60%;
  height: auto;
  margin: 20px 0;
  border-radius: 8px;
  box-shadow: 3px 3px 12px rgba(0,0,0,0.7);
}

/* ------------------------------------------
   Content Boxes (Sections, Track Content, Lyrics, Credits)
------------------------------------------- */
.section,
.text-section,
.track-content,
.credits {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  padding: 25px;
  background: rgba(255,255,255,0.2); /* white-transparent */
  border-radius: 10px;
  color: #eee;
  line-height: 1.6em;
  font-size: 1.2em;
  backdrop-filter: blur(4px);
}

/* Track content & audio */
.track-content {
  display: none;
  text-align: left;
}

.track-content audio,
.text-section audio {
  display: block;
  margin-bottom: 15px;
  width: 100%;
  accent-color: rgb(196, 152, 59);
}

/* Lyrics iframe */
.lyrics-frame {
  width: 100%;
  max-width: 900px;
  height: 360px;
  margin: 15px auto 0 auto;
  display: block;
  border: none;
  border-radius: 8px;
  background-color: rgba(255,255,255,0.2); /* white-transparent */
  box-shadow: inset 0 0 10px rgba(0,0,0,0.3);
  font-family: Arial, sans-serif;
  font-size: 1.1em;
  line-height: 1.7;
  color: #eee;
}

/* ------------------------------------------
   Track List
------------------------------------------- */
.track-list span {
  display: block;
  cursor: pointer;
  padding: 5px 0;
  transition: 0.2s;
}

.track-list span:hover {
  color: rgb(196, 152, 59);
  text-decoration: underline;
}

.track-list span.active {
  font-weight: bold;
  color: rgb(196, 152, 59);
}

/* ------------------------------------------
   Ticker (Behind the Music / Band)
------------------------------------------- */
.ticker,
.ticker-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 900px;
  margin: 10px auto 20px auto;
  padding: 8px 0;
  background-color: rgba(30,30,30,0.85);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: inset 0 0 10px rgba(0,0,0,0.6);
}

.ticker-track {
  display: inline-block;
  white-space: nowrap;
  padding-left: 100%;
  animation: ticker-scroll 35s linear infinite;
}

.ticker-track span {
  display: inline-block;
  padding-right: 100%;
  color: rgb(196, 152, 59);
  font-style: italic;
  font-size: 0.95rem;
}

.ticker-container:hover .ticker-track {
  animation-play-state: paused;
}

@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* ------------------------------------------
   Lyrics Text
------------------------------------------- */
.lyrics {
  color: rgb(196, 152, 59);
  font-size: 1.1em;
  line-height: 1.7;
  white-space: normal;
}

/* =========================
   PHOTOS / SLIDESHOW
   ========================= */

/* Intro text above collage */
.intro-text {
  text-align: center;
  font-size: 1.15em;
  line-height: 1.6em;
  max-width: 900px;
  margin: 0 auto 30px auto;
}

/* =========================
   PHOTO COLLAGE LAYOUT (Cleaned)
   ========================= */

.photo-collage {
  position: relative;
  max-width: 900px;
  height: 650px;
  margin: 40px auto;
  padding: 25px;                /* match .section padding */
  box-sizing: border-box;       /* include padding in width */
  border-radius: 14px;
  overflow: hidden;

  /* Unified white-transparent background slab */
  background: rgba(255,255,255,0.2);
  
}

/* Tiles */
.photo-tile {
  position: absolute;
  width: auto; 
  height: auto;
  overflow: hidden; 
  border-radius: 10px;
  background: transparent;   /* no background, prevents double layering */
  z-index: 1;
  
}

.photo-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.8s ease-in-out;
  opacity: 0;
}

.photo-tile img.active {
  opacity: 1;
}


/* =========================
   TILE PLACEMENT (PLAYFUL)
   ========================= */

.tile-1 { width: 320px; height: 320px; top: 30px; left: 90px; }
.tile-2 { width: 230px; height: 230px; top: 60px; right: 90px; }
.tile-4 { width: 240px; height: 240px; top: 230px; right: 200px; }
.tile-3 { width: 380px; height: 380px; bottom: 10px; left: 140px; }
.tile-5 { width: 240px; height: 240px; bottom: 60px; right: 110px; }

/* =========================
   MEDIA SECTION (Harmonized)
   ========================= */

.media-section {
  position: relative;
  max-width: 900px;
  margin: 40px auto;
  border-radius: 14px;
  overflow: hidden;
  text-align: center;
  background: rgba(255,255,255,0.2); /* slab */
  box-shadow: inset 0 0 30px rgba(0,0,0,0.6);
  padding: 25px;              /* match .section and collage */
  box-sizing: border-box;
}

.media-section video {
  width: 100%;
  display: block;
  border-radius: 10px;
  box-shadow: 3px 3px 14px rgba(0,0,0,0.7);
  margin: 0 auto;
}

/* =========================
   Merch Sections
   ========================= */
.merch-section {
  max-width: 900px;
  margin: 40px auto;
  padding: 25px;
  background: rgba(255,255,255,0.2); /* white-transparent slab */
  border-radius: 14px;
  box-shadow: inset 0 0 30px rgba(0,0,0,0.6);
  text-align: center;
}

/* Merch container: flex grid of items */
.merch-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 20px;
}

/* Individual merch items */
.merch-item {
  width: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(30,30,30,0.6); /* slightly darker for contrast */
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0,0,0,0.7);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: default;
}

.merch-item:hover {
  transform: scale(1.03);
  box-shadow: 0 0 20px rgba(0,0,0,0.9);
}

/* Merch images */
.merch-item img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 12px;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

/* Titles and descriptions */
.merch-item h3 {
  font-family: 'DeathBones', cursive;
  font-size: 1.2em;
  margin-bottom: 8px;
  color: rgb(196,152,59);
}

.merch-item p {
  font-size: 0.95em;
  line-height: 1.4em;
  margin-bottom: 12px;
  color: #eee;
  text-align: center;
}

/* Merch links */
.merch-link {
  display: inline-block;
  text-decoration: none;
  color: rgb(196,152,59);
  border: 2px solid rgb(196,152,59);
  border-radius: 8px;
  padding: 6px 12px;
  transition: 0.3s;
}

.merch-link:hover {
  background-color: rgba(196,152,59,0.2);
  transform: scale(1.05);
}

.obfuscated-email {
  color: rgb(196, 152, 59);
  font-weight: 500;
}
