/* Reset + base layout */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


html, body {
  height: 100%;
  font-family: sans-serif;
  scroll-behavior: smooth;
  color: white;

}

/* Preloader styles */
#preloader {
  position: fixed;
  inset: 0;
  background-color: white;
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.preloader-content {
  text-align: center;
}

#preloader img {
  width: 50px;
  height: 50px;
}

.background-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1; /* ensures it's behind all other content */
  background-image: url('background.jpg'); /* update with your image filename */
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}


.loading-text {
  margin-top: 0.5em;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.8em;
  color: #333; /* charcoal */
  letter-spacing: 1px;
}

/* Dot animation */
.loading-text::after {
  content: '';
  display: inline-block;
  width: 1em;
  text-align: left;
  animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {
  0% { content: ''; }
  25% { content: '.'; }
  50% { content: '..'; }
  75% { content: '...'; }
  100% { content: ''; }
}


.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.logo-title {
  display: block;
  margin: 0 auto;
  width: 800px;
  max-width: 90%;
  padding-bottom: 1em;
}

/* Navigation */
nav {
  width: 810px;
  max-width: 90%;
  margin: 1em auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1em;
  text-align: center;
  position: relative;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 2em;
  cursor: pointer;
  position: absolute;
  right: 0;
  text-shadow: 0 0 2px white, 0 0 3px white;
}

.menu-toggle:hover {
  color: #cc5500;
  text-shadow: 0 0 5px #cc5500, 0 0 10px #cc5500;
}


.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5em;
}

nav a {
  font-size: 1.4em;
  color: white;
  text-decoration: none;
  transition: color 0.3s ease, text-shadow 0.3s ease;
  text-shadow: 0 0 3px white, 0 0 5px white;
}

.underline-ge {
  font-weight: normal;
  position: relative;
}

.underline-ge::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px; /* adjust spacing from text */
  width: 100%;
  height: 3px; /* thickness of underline */
  background-color: white;
  box-shadow: 0 0 3px white, 0 0 6px white;
}

nav a:hover {
  color: #cc5500;
  text-shadow: 0 0 5px #cc5500, 0 0 10px #cc5500;
  animation: flicker-orange 1.2s infinite;
}

}

/* Section layout */
main {
  flex: 1;
  padding: 2em;
  max-width: 1200px;
  margin: 1em auto;
}
main {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}


main section {
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 10px;
  padding: 2em;
  width: 810px;
  margin: 0 auto;
  text-align: center;
  animation: slideIn 0.6s ease forwards;
  height: auto;
  min-height: unset;
 box-sizing: border-box;
}

/* Tour list */
.tour-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1rem;
}

.show {
  border-bottom: 1px solid #ccc;
  padding-bottom: 1rem;
}

.date {
  font-weight: bold;
  font-size: 1.1rem;
}

.details {
  margin-top: 0.3rem;
  font-size: 1rem;
}

.ticket-link {
  display: inline-block;  /* change from default inline */
  margin-top: 0.5em;
  background: #222;
  color: white;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background-color 0.3s;
}


.ticket-link:hover {
  background-color: #cc5500;
}

/* Email */
.email-box {
  display: inline-block;
  padding: 0.4em 0.8em;
  border: 2px solid #cc5500;
  border-radius: 6px;
  color: #cc5500;
  text-decoration: none;
  transition: background-color 0.3s, color 0.3s;
}

.email-box:hover {
  background-color: #cc5500;
  color: white;
}

/* Footer */
footer {
  text-align: center;
  padding: 1em;
  margin-top: auto;
}

.socials {
  margin-top: 1em;
}

.socials a {
  color: white;
  margin: 0 0.25em;
  font-size: 1.2em;
  transition: color 0.3s ease;  
  text-decoration: none;
  display: inline-block;
}

.socials a img {
  height: 0.8em;
  transition: filter 0.3s ease, transform 0.3s ease;
  vertical-align: middle;
  filter: brightness(100%); /* make sure it’s visible on dark background */
}

.bandcamp-icon img {
  position: relative;
  top: -2px; 
}


.socials a:hover {
  color: #cc5500;
  transform: scale(1.1); 
}

.socials a:hover img {
  filter: invert(70%) sepia(100%) saturate(1000%) hue-rotate(2deg) brightness(0.95) contrast(1.2);
  transform: scale(1.1);
}


/* Animations */
@keyframes slideIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes neonFlicker {
  0%, 20%, 40%, 60%, 100% { opacity: 1; }
  10% { opacity: 0.3; }
  30% { opacity: 0.5; }
  50% { opacity: 0.2; }
}

.flicker {
  animation: neonFlicker 0.8s ease;
}

.floating-logo {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  z-index: 9999;
  pointer-events: none;
}

@keyframes flicker-orange {
  0%, 18%, 22%, 25%, 53%, 57%, 100% {
    color: #cc5500;
    text-shadow: 0 0 5px #cc5500, 0 0 10px #cc5500;
  }
  20%, 24%, 55% {
    color: white;
    text-shadow: 0 0 3px white, 0 0 5px white;
  }
}
.socials-top {
  justify-content: center;
  margin-bottom: 1em;
}

.promo-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1em;
  margin-bottom: 2em;
  flex-wrap: wrap;
  padding: 1em 0;
  border-top: 1px solid #cc5500;
  border-bottom: 1px solid #cc5500;
}


.album-cover-button {
  width: 120px;
  height: auto;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

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

.promo-text {
  font-size: 1.5em;
  font-weight: 700; 
  color: white;
  text-shadow: 0 0 3px black;
  text-decoration: none;
  color: white; /* Optional: ensures it stays white */
}

.promo-text:hover {
  color: #cc5500;
}
.shows-heading {
  text-align: center;
  font-size: 1.6em;
  color: white;
  margin-bottom: 1em;
  text-shadow: 0 0 3px black;
}



/* Responsive Video Embeds */
.video-container {
  width: 90%;
  max-width: 810px;
  margin: 2em auto;
  aspect-ratio: 16 / 9;
  background-color: #000;
}

.video-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Bio */
#bio {
  text-align: left;
}

.bio-blurb {
  margin-top: 2em;
}

.bio-blurb h3 {
  font-size: 1.5em;
  margin-bottom: 0.5em;
  color: #cc5500;
}

.bio-text {
  text-align: left;
}

/* Merch */
.merch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2em;
  justify-items: center;
  align-items: start;
  margin-top: 2em;
}
.merch-item {
  text-align: center;
  margin-top: 2em;
}

.merch-img {
  max-width: 200px;
  width: 100%;
  height: auto;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

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

.merch-caption {
  margin-top: 0.5em;
  font-size: 1.1em;
  color: white;
}

/* Band Members */
.band-members {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2em;
  margin: 2em auto;
  max-width: 810px;
}

.member {
  position: relative;
  width: 200px;
  height: 265px;
  border-radius: 8px;
  overflow: hidden;
}

.member-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 200px;
}
.member-caption {
  font-size: 0.8em;
  margin-top: 0.5em;
  text-align: center;
  color: white;
  line-height: 1.2;
}

.member-caption .name {
  display: block;
  font-weight: bold;
}

.member-caption .role {
  display: block;
  font-style: italic;
  font-weight: normal;
}




.member img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  transition: opacity 0.3s ease;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}

.member img.default {
  z-index: 1;
  opacity: 1;
}

.member img.hover {
  z-index: 2;
  opacity: 0;
}

.member:hover img.hover {
  opacity: 1;
}

.member:hover img.default {
  opacity: 0;
}



/* Mobile Styles */
@media (max-width: 850px) {
  main section {
    width: 95%;
    padding: 1em;
  }

  nav {
    width: 90%;
    flex-direction: column;
    align-items: flex-start;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    text-align: center;
    margin-top: 1em;
    gap: 0.2em;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links a {
    font-size: 1.1em;
    line-height: 1.2;
    padding: 0.2em 0;
  }

  .logo-title {
    width: 90%;
  }

  .floating-logo {
    display: none;
  }

  /* Updated layout for THE GE section on mobile */
.band-members {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5em;
  padding: 0;
  margin: 0 auto;
  width: 100%;
}

.member-wrapper {
  flex: 1 1 calc(33.333% - 1em); /* 3 in a row */
  max-width: calc(33.333% - 1em);
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1em;
}

.member {
  width: 100%;
  aspect-ratio: 200 / 265;
  position: relative;
  display: block;
  height: auto; /* Ensure it wraps its absolutely positioned children */
}

.member::after {
  content: "";
  display: block;
  padding-bottom: 132.5%; /* maintains 200/265 aspect ratio */
}


.member img {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.member img.default {
  z-index: 1;
  opacity: 1;
}

.member img.hover {
  z-index: 2;
  opacity: 0;
}

.member:hover img.hover {
  opacity: 1;
}

.member:hover img.default {
  opacity: 0;
}

.member-caption {
  font-size: 0.7em;
  margin-top: 0.4em;
  text-align: center;
  color: white;
  line-height: 1.2;
}

.member-caption .name {
  font-weight: bold;
  display: block;
}

.member-caption .role {
  font-style: italic;
  display: block;
}



  body.menu-open main,
  body.menu-open footer {
    display: none;
  }
}
