/* ===========================
   Global Variables
   =========================== */
:root {
  --black: #0d0d0d;
  --dark-gray: #1a1a1a;
  --charcoal: #222;
  --divider: #333;
  --off-white: #f2f2f2;
  --muted-gray: #ccc;
  --soft-gray: #999;
}

/* ===========================
   Global Reset
   =========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===========================
   Body Styling
   =========================== */
body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--black);
  color: var(--off-white);
  line-height: 1.6;
}

/* ===========================
   Sticky Header
   =========================== */
.sticky-header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(26, 26, 26, 0.9);/* semi-transparent so hero shows behind */
  padding: 1rem;
  z-index: 1000;
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.sticky-header nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.sticky-header nav a {
  text-decoration: none;
  color: var(--off-white);
  font-weight: 500;
  transition: color 0.3s ease;
}

.sticky-header nav a:hover {
  color: var(--muted-gray);
}

/* ===========================
   Hero Section
   =========================== */
.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding-top: 0;   /* space for sticky header */
  padding-bottom: 0;
  margin-bottom: 0;
  background: var(--black);
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(13, 13, 13, 0.6),
    rgba(26, 26, 26, 0.4),
    rgba(51, 51, 51, 0.2)
  );
  pointer-events: none;
}

.hero-image {
  display: block;   /* removes inline gap */
  width: 100%;      /* scales to full width */
  height: auto;     /* keeps aspect ratio */
  object-fit: cover;/* immersive look on large screens */
}

/* ===========================
   Responsive Tweaks
   =========================== */
@media (max-width: 768px) {
  .hero {
    padding-top: 6rem;
  }
  .hero-image {
    object-fit: contain; /* show full logo/artwork */
    max-height: 70vh;    /* prevent it from overwhelming small screens */
    background-color: var(--black); /* fills gaps with brand color */
  }
}

@media (max-width: 480px) {
  .hero {
    padding-top: 7rem;
  }
  .hero-image {
    max-height: 60vh; /* tighter fit for very small screens */
  }
}

@media (max-width: 600px) {
  .sticky-header nav ul {
    flex-direction: column;
    gap: 1rem;
  }
}

/* ===========================
   Definition Section
   =========================== */
.definition {
  background: var(--dark-gray);
  color: var(--off-white);
  text-align: center;
  padding: 1.5rem 1rem; /* slightly reduced padding */
  margin-top: 0;        /* removed negative margin */
  position: relative;
}

.definition h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 2.5rem;
  color: var(--muted-gray);
  margin-bottom: 0.5rem;
}

.definition .pronunciation {
  font-style: italic;
  color: var(--soft-gray);
  margin-bottom: 0.5rem;
}

.definition .part-of-speech,
.definition .origin {
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.definition .meaning {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Divider accent */
.definition::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--divider);
  border-radius: 2px;
}

/* ===========================
   Hidden Sections
   =========================== */
#about, #music, #media, #follow {
  display: none;
}

/* ===========================
   Responsive Tweaks
   =========================== */
@media (max-width: 768px) {
  .hero {
    padding-top: 6rem;
  }
  .hero-image {
    object-fit: contain; /* prevents cropping if height is tight */
  }
}

@media (max-width: 480px) {
  .hero {
    padding-top: 7rem;
  }
  .hero-image {
    max-height: 60vh; /* keeps image from overwhelming small screens */
  }
}

@media (max-width: 600px) {
  .sticky-header nav ul {
    flex-direction: column;
    gap: 1rem;
  }
}


/* ===========================
   Band Name + Tagline
   =========================== */
.band-name {
  font-family: 'Oswald', sans-serif;
  font-size: 4rem;
  color: var(--off-white);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.tagline {
  font-size: 1.5rem;
  font-style: italic;
  margin-top: 1rem;
  color: var(--muted-gray);
}

/* ===========================
   Global Button Style
   =========================== */
.button {
  display: inline-block;
  margin: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--divider);
  color: var(--off-white);
  font-weight: bold;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.3s ease, color 0.3s ease;
}

.button:hover {
  background: var(--soft-gray);
  color: var(--black);
}

.button:focus {
  outline: 2px solid var(--soft-gray);
  outline-offset: 2px;
}

/* ===========================
   Section Styling
   =========================== */
section {
  padding: 4rem 2rem;
  max-width: 1000px;
  margin: auto;
  transition: background 0.6s ease;
}

section:hover {
  background: rgba(255, 255, 255, 0.03);
}

section h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--muted-gray);
}

/* ===========================
   Shows Section
   =========================== */
#shows {
  background: var(--dark-gray);
  color: var(--off-white);
  text-align: center;
  padding: 4rem 2rem;
}

#shows h2 { color: var(--muted-gray); }

.shows-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.show-box {
  background: var(--charcoal);
  border: 2px solid var(--divider);
  border-radius: 8px;
  padding: 1.5rem;
  text-decoration: none;
  color: var(--off-white);
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  min-height: 220px;
}

.show-box h3 {
  color: var(--muted-gray);
  margin-bottom: 0.5rem;
}

.show-box p {
  margin-bottom: auto;
}

.show-box .button {
  margin-top: 1rem;
  align-self: center;
}

.show-box .cta {
  background: var(--divider);
  color: var(--off-white);
}

.show-box:hover {
  transform: scale(1.05);
  background: #2a2a2a;
  border-color: var(--soft-gray);
}

.show-box:hover .cta {
  background: var(--soft-gray);
  color: var(--black);
}

/* ===========================
   Gallery
   =========================== */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.gallery img {
  width: 100%;
  border-radius: 6px;
  transition: transform 0.3s ease;
}

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

/* ===========================
   Footer
   =========================== */
footer {
  background: var(--dark-gray);
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  color: var(--soft-gray);
}

/* ===========================
   Hide nav links for hidden sections
   =========================== */
.sticky-header nav a[href="#about"],
.sticky-header nav a[href="#music"],
.sticky-header nav a[href="#media"],
.sticky-header nav a[href="#follow"],
.sticky-header nav a[href="#shows"],
.sticky-header nav a[href="#contact"]{
  display: none;
}
