/* style.css */

/* FONTS */

@font-face {
  font-family: 'Space Mono';
  src: url('assets/fonts/space-mono-regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Space Mono';
  src: url('assets/fonts/space-mono-bold.woff2') format('woff2');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Permanent Marker';
  src: url('assets/fonts/permanent-marker-regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* RESET & BASICS */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scrollbar-gutter: stable;
}

body,
html {
  min-height: 100%;
  background-color: #000000;
  color: #ffffff;
  font-family: 'Space Mono', monospace;
  font-size: 14px;
  letter-spacing: -0.5px;
  overflow-x: hidden;
  overflow-y: auto;
  padding-top: 20px; 
}

/* MAIN LAYOUT WRAPPER */
.wrapper {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  min-height: 100vh;
  text-align: center;
  padding: 80px 20px 100px 20px;
  position: relative;
  z-index: 1;
  width: 100%;
}

/* MAIN CONTENT BLOCKS */
.logo-container,
.spotify-container,
.description-text {
  width: 100%;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* LOGO BLOCK */
.logo-container {
  margin-bottom: 2rem;
}

.logo-container img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.05));
}

/* TEXT TITLES */
h1 {
  font-size: 1.5rem;
  letter-spacing: 0.5rem;
  text-transform: uppercase;
  margin-bottom: 2rem;
  opacity: 0.9;
  font-weight: normal;
  line-height: 1.4;
  padding-left: 0.5rem;
}

.band-name {
  display: block;
  font-size: 3.5rem;
  margin-bottom: 0.6rem;
}

.location-sub {
  display: block;
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
}

.genre-sub {
  display: block;
  font-size: 1.5rem;
}

/* DESCRIPTION TEXT */
.description-text {
  margin-bottom: 2rem;
  font-size: 1rem;
  color: #aaa;
  line-height: 1.8;
}

/* SPOTIFY WRAPPER */
.spotify-container {
  margin-bottom: 2rem;
}

.spotify-container iframe {
  border-radius: 12px;
  border: none;
}

/* CONTACT BUTTON */
.contact-btn {
  display: inline-block;
  border: 1px solid #ffffff;
  color: #ffffff;
  text-decoration: none;
  padding: 15px 30px;
  text-transform: uppercase;
  letter-spacing: 0.2rem;
  font-size: 0.9rem;
  transition: all 0.4s ease;
  margin-top: 2rem;
}

.contact-btn:hover {
  background-color: #ffffff;
  color: #000000;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

/* NAVIGATION */

/*.nav-menu {
  margin-bottom: 2rem;
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}*/

.nav-menu {
  /* --- Layout (Your original settings) --- */
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;

  /* --- Sticky Positioning --- */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999; /* Matched to your socials z-index */
  
  /* --- The "Glass" Look (Matched to socials) --- */
  background-color: rgba(0, 0, 0, 0.7); /* 70% opacity black */
  backdrop-filter: blur(12px);         /* The blur effect */
  -webkit-backdrop-filter: blur(12px); /* Safari support */
  border-bottom: 1px solid #333;       /* Line at bottom instead of top */
  
  /* --- Spacing & Animation --- */
  padding: 15px 0;                        /* Matched to socials padding */
  transition: transform 0.4s ease-in-out; /* Slide animation */
}

/* The class JS adds to hide the menu */
.nav-hidden {
  transform: translateY(-100%);
}

.nav-link {
  color: #888;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.1rem;
  transition: all 0.4s ease;
  padding: 5px 10px;
  border-bottom: 2px solid transparent;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.nav-link.active {
  border-bottom: 2px solid #ffffff;
}

.nav-link:hover {
  transform: translateY(-5px);
}

/* STICKY SOCIAL FOOTER */
.socials {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(12px);
  border-top: 1px solid #333;
  padding: 15px 0;
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  z-index: 9999;
}

.social-icon {
    width: 1.5rem;
    height: 1.5rem;
    /* This filter makes a black icon look grey (#888) */
    filter: invert(60%); 
    transition: all 0.4s ease;
}

.socials a:hover .social-icon {
    /* This filter makes the icon pure white (#fff) and adds the glow */
    filter: invert(100%) drop-shadow(0 0 10px rgba(255, 255, 255, 0.8));
    transform: translateY(-5px);
}

/* GIG LIST - The main container */
.gig-list {
  width: 100%;
  max-width: 600px;
  margin: 2rem auto;
}

/* EVENT ITEM */
.gig-item {
  display: flex;
  justify-content: space-between;
  /* Pushes text to left, button to right */
  align-items: center;
  padding: 1.5rem 0;
  border-bottom: 1px solid #333;
  text-align: left;
  /* Aligns the text inside to the left */
}

/* EVENT INFO */
.gig-info {
  flex: 1;
}

.gig-date {
  display: block;
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: bold;
  letter-spacing: 1px;
}

.gig-venue {
  display: block;
  color: #888;
  font-size: 0.8rem;
  text-transform: uppercase;
  margin-top: 4px;
}

/* EVENT ACTION */
.gig-action {
  margin-left: 20px;
}

/* SETLIST PAGE */

/* The white paper container */
.paper-sheet {
  background-color: #ffffff;
  color: #1a1a1a;
  width: 100%;
  max-width: 600px;
  padding: 60px 60px;
  margin: 0 auto 3rem auto;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Handwritten font only applied to the list */
.handwritten-list {
  list-style: none;
  padding-left: 20px;
  margin: 0;
  font-family: 'Permanent Marker', cursive;
}

.handwritten-list li {
  font-size: 2.8rem;
  line-height: 1.2;
  margin-bottom: 8px;
  text-transform: uppercase;
  color: #222;
  letter-spacing: 1px;
  white-space: nowrap;
}

/* Keep site fonts for the rest of the page */
.paper-sheet+.contact-btn {
  font-family: 'Space Mono', monospace;
}

/* MEMBER LIST */
.simple-member-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 3rem;
  max-width: 400px;
}

.simple-member-list li {
  display: grid;
  grid-template-columns: 1fr auto 1fr; 
  gap: 1rem;
  margin-bottom: 0.2rem;
  letter-spacing: 0.5px;
  align-items: center;
}

.simple-member-list .name {
  color: #aaa;
  font-weight: bold;
  text-align: right;
}

.simple-member-list .divider {
  color: #444;
  font-weight: bold;
}

.simple-member-list .role {
  text-align: left;
}

.hr-divider {
  border: 0;
  border-top: 1px solid #333;
  margin: 2rem 0;
}

.email-link {
    color: #888;
    text-decoration: none;
    transition: all 0.4s ease;
}

.email-link:hover {
    color: #fff;
    text-decoration: underline;
}

/* GALLERY ITEMS */

/* Gallery Container */
.image-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 15px;
  margin-top: 30px;
  width: 100%;
  max-width: 1000px;
  /* Limits width on large monitors */
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
}

/* Individual Item Styling */
.gallery-item {
  aspect-ratio: 1 / 1;
  /* Keeps them square since your source is 2048x2048 */
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.4s ease;
}

.gallery-item:hover {
  transform: scale(1.02);
  /* Subtle zoom on hover for desktop */
}

/* Image behaviour */
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Ensures the image fills the square without stretching */
  display: block;
}

/* Mobile */
@media (max-width: 480px) {
  .handwritten-list li {
    font-size: 2.0rem;
  }

  .paper-sheet {
    padding: 20px 20px;
  }

  .nav-link {
    padding: 0px 0px;
    display: block;
  }

  .image-gallery {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 10px;
  }
}