/* --- Global Styles & Variables --- */
:root {
  --primary-color: #000000;
  --secondary-color: #000000;
  --font-family: "Cormorant", serif;
  --grunge-font: "Playfair Display", serif;
  --mono-font: "JetBrains Mono", monospace;
  --transition-speed: 500ms;

  /* Estimated heights for fixed header and footer */
  /* Desktop values */
  --header-height-desktop: 140px; /* Approx: 20px top offset + 60px logo + 1rem gap + 30-40px nav */
  --footer-height-desktop: 120px; /* Approx: 1.5rem padding + social links + gap + legal + 1.5rem padding */

  /* Mobile values (header can be taller due to stacking/full-width bg) */
  --header-height-mobile: 192px; /* Approx: 2.5rem top padding + logo + 1.5rem bottom padding for better spacing */
  --footer-height-mobile: 105px; /* Approx: 1rem padding + social links + gap + legal + 1rem padding */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* Removed explicit height and overflow from html to allow natural flow */
}

body {
  font-family: var(--font-family);
  font-weight: 500;
  font-style: italic;
  text-transform: lowercase;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  line-height: 1.7;
  overflow: hidden; /* Prevents body scrolling by default */
  background-image: radial-gradient(
      circle at 20% 80%,
      rgba(0, 0, 0, 0.02) 1px,
      transparent 1px
    ),
    radial-gradient(circle at 80% 20%, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
}

a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color var(--transition-speed) ease;
}

a:hover {
  opacity: 0.7;
}

ul {
  list-style: none;
}

h2 {
  font-family: var(--font-family);
  font-size: 2.8rem;
  font-weight: 500;
  font-style: italic;
  text-transform: lowercase;
  letter-spacing: -0.5px;
  margin-bottom: 1rem;
  text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.3),
    0 0 5px rgba(255, 255, 255, 0.2);
}

/* --- Main Content Area Wrapper --- */
main {
  position: relative; /* Establishes a stacking context if needed */
  width: 100%;
  /* Each active section inside main will define its own height (e.g., 100vh) */
}

/* --- Header & Navigation --- */
.main-header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 1000;
  background: transparent;
  max-width: 1200px; /* Limit header width on very wide screens for aesthetics */
}

.header-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 0 1rem;
}

/* Hide hamburger menu on desktop */
@media (min-width: 769px) {
  .hamburger-menu {
    display: none;
  }

  /* Enhanced desktop navbar visibility */
  .main-nav {
    position: static;
    transform: none;
    background: transparent;
    backdrop-filter: none;
    width: auto;
    height: auto;
    display: flex;
  }

  .main-nav ul {
    flex-direction: row;
    gap: 2rem;
    font-size: inherit;
  }

  .main-nav a {
    font-size: 1.4rem;
    padding: 0.5rem 1rem;
    letter-spacing: 1.5px;
  }

  .main-nav ul {
    flex-direction: row;
    gap: 1.5rem;
    font-size: inherit;
  }
}

.logo img {
  height: 60px;
  width: auto;
  display: block;
  transition: transform 0.4s ease;
}

/* Hamburger Menu Styles */
.hamburger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.hamburger-line {
  width: 100%;
  height: 2px;
  background-color: var(--secondary-color);
  transition: all 0.3s ease;
  transform-origin: center;
}

.hamburger-menu.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger-menu.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

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

.main-nav ul {
  display: flex;
  gap: 2rem;
}

.main-nav a {
  font-family: var(--font-family);
  font-size: 1.4rem;
  text-transform: lowercase;
  font-weight: 600;
  font-style: italic;
  letter-spacing: 2px;
  padding: 0.5rem 1rem;
  position: relative;
  transition: all 0.4s ease;
  color: #ffffff;
}

.main-nav a:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.main-nav a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 1px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: #ffffff;
  transition: width 0.4s ease-in-out;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.main-nav a.active {
  opacity: 1;
}

/* --- Hero Section --- */
.hero-section {
  min-height: 100vh; /* Use min-height to ensure it's at least viewport high */
  height: 100vh;
  box-sizing: border-box;
  display: none; /* Initially hidden like other sections */
  justify-content: center;
  align-items: center;
  background-size: 80%;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
  /* Padding to clear fixed header/footer if they were not accounted for by main element,
     but here, it's more for internal spacing as sections are full height. */
  padding-top: var(--header-height-desktop);
  padding-bottom: var(--footer-height-desktop);
  overflow: hidden;

  /* Smooth transition for tab switching */
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Active hero section animation */
.hero-section.active {
  opacity: 1;
  transform: translateY(0);
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: inherit;
  background-size: inherit;
  background-position: inherit;
  background-repeat: inherit;
  background-attachment: inherit;
  /* filter: grayscale(100%) brightness(0.6); */
  z-index: 1;
}

.hero-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.08);
  z-index: 2;
}

.hero-content {
  position: relative;
  text-align: center;
  z-index: 3;
  padding: 1rem; /* Add some padding to hero content itself */
}

/* --- Grunge Text Elements --- */
.grunge-text-overlay {
  margin-bottom: 2rem;
  text-align: center;
}

.typewriter-text {
  font-family: var(--font-family);
  font-size: 4.2rem;
  color: var(--secondary-color);
  text-shadow: 4px 4px 15px rgba(255, 255, 255, 0.95),
    0 0 30px rgba(255, 255, 255, 0.8), 2px 2px 8px rgba(0, 0, 0, 0.3);
  margin-bottom: 0.5rem;
  letter-spacing: -0.5px;
  font-weight: 500;
  font-style: italic;
  text-transform: lowercase;
}

.glitch-quote {
  font-family: var(--mono-font);
  font-size: 1.1rem;
  color: rgba(0, 0, 0, 0.8);
  font-style: italic;
  letter-spacing: 1px;
  position: relative;
  text-shadow: 3px 3px 10px rgba(255, 255, 255, 0.9),
    0 0 20px rgba(255, 255, 255, 0.7), 1px 1px 4px rgba(0, 0, 0, 0.2);
}

.grunge-header {
  margin-bottom: 1.5rem;
  text-align: center;
}

.ascii-art {
  font-family: var(--font-family);
  font-size: 1.3rem;
  font-weight: 500;
  font-style: italic;
  color: rgba(0, 0, 0, 0.75);
  margin-top: 0.5rem;
  letter-spacing: 0.5px;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.3);
}

.grunge-text {
  font-family: var(--font-family);
  font-size: 1.2rem;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.9);
  font-style: italic;
  letter-spacing: 0.5px;
  text-shadow: 1px 1px 4px rgba(255, 255, 255, 0.7);
}

.contact-quote {
  font-family: var(--mono-font);
  font-size: 0.9rem;
  color: rgba(0, 0, 0, 0.7);
  font-style: italic;
  margin-top: 1.5rem;
  letter-spacing: 1px;
}

/* --- CTA Button Redesign --- */
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(255, 255, 255, 0.22);
  border: none;
  border-radius: 2px;
  padding: 1.2rem 2rem;
  font-family: var(--font-family);
  font-size: 1.2rem;
  font-weight: 500;
  text-transform: lowercase;
  letter-spacing: 1px;
  font-style: italic;
  color: var(--secondary-color);
  transition: all 0.4s ease;
  position: relative;
  text-shadow: 3px 3px 12px rgba(255, 255, 255, 0.95),
    0 0 25px rgba(255, 255, 255, 0.8), 2px 2px 6px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15), 0 0 0 2px rgba(0, 0, 0, 0.35);
}

/* General CTA button styles for other sections */
.cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 3px solid rgba(0, 0, 0, 0.5);
  border-left: 6px solid rgba(0, 0, 0, 0.8);
  border-radius: 2px;
  transition: all 0.4s ease;
  z-index: -1;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.05)
  );
}

.cta-button::after {
  content: "▶";
  position: absolute;
  right: -30px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  opacity: 0;
  transition: all 0.4s ease;
  color: rgba(0, 0, 0, 0.7);
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
}

.cta-button:hover {
  color: var(--secondary-color);
  transform: translateX(10px) scale(1.02);
  text-shadow: 4px 4px 15px rgba(255, 255, 255, 0.98),
    0 0 30px rgba(255, 255, 255, 0.85), 2px 2px 8px rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15), 0 0 0 3px rgba(0, 0, 0, 0.4);
}

.cta-button:hover::before {
  border-color: rgba(0, 0, 0, 0.7);
  border-left-color: rgba(0, 0, 0, 1);
  border-left-width: 7px;
  transform: skewX(-3deg);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.2),
    rgba(255, 255, 255, 0.1)
  );
}

.cta-button:hover::after {
  opacity: 1;
  right: -35px;
  transform: translateY(-50%) scale(1.1);
}

.cta-button i {
  transition: all 0.4s ease;
  font-size: 1.1rem;
  filter: drop-shadow(1px 1px 2px rgba(255, 255, 255, 0.5));
}

.cta-button:hover i {
  transform: scale(1.15);
  filter: drop-shadow(2px 2px 4px rgba(255, 255, 255, 0.7));
}

/* --- Shop Link Styles --- */
.shop-link {
  display: block;
  background-color: transparent;
  color: #ffffff;
  font-family: var(--font-family);
  font-size: 1.2rem;
  font-weight: 600;
  font-style: italic;
  text-transform: lowercase;
  padding: 0.75rem 1.25rem;
  border: 2px solid #ffffff;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  margin: 0 auto;
  min-width: 120px;
  max-width: 180px;
  text-align: center;
}

.shop-link:hover {
  background-color: #ffffff;
  color: #000000;
  opacity: 1;
}

/* --- SHOP Section Specific Styles --- */
#shop .section-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding-top: 0;
  margin-top: 0;
  height: 100%;
  text-align: center;
}

/* --- General Content Section --- */
.content-section {
  padding-left: 3rem; /* Horizontal padding for content */
  padding-right: 3rem;
  /* Vertical padding to push content away from fixed header/footer */
  padding-top: var(--header-height-desktop);
  padding-bottom: var(--footer-height-desktop);

  text-align: center;
  position: relative;
  min-height: 100vh; /* Ensure section is at least full viewport height */
  height: 100vh; /* Strive for exactly viewport height */
  box-sizing: border-box; /* Padding included in height calculation */

  display: none; /* Initially hidden; JS sets to 'flex' for active panel */
  flex-direction: column;
  justify-content: center; /* Vertically center .section-content wrapper */
  align-items: center; /* Horizontally center .section-content wrapper */

  overflow-y: hidden; /* Default: no scroll for most sections */
  overflow-x: hidden; /* Prevent horizontal scroll within the section */

  /* Smooth transition for tab switching */
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Active section animation */
.content-section.active {
  opacity: 1;
  transform: translateY(0);
}

/* Preloader styles */
.page-preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary-color);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

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

.preloader-logo {
  height: 80px;
  width: auto;
  margin-bottom: 2rem;
  animation: pulse 2s ease-in-out infinite;
}

.preloader-text {
  font-family: var(--font-family);
  font-size: 1.3rem;
  color: #ffffff;
  letter-spacing: 0.5px;
  text-transform: lowercase;
  font-weight: 500;
  font-style: italic;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.7;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

/* --- TOUR Section Specific Styles --- */
#tour .section-content {
  /* Styles removed to make it uniform with other sections */
}

.tour-info {
  text-align: center;
  color: var(--secondary-color); /* Use main text color */
  font-family: var(--font-family); /* Use main font */
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  max-width: 600px;
  min-width: 300px;
}

.tour-date {
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 1px;
  margin-bottom: -1.5rem;
  line-height: 0.6;

  font-style: italic;
  color: #000000;
}

.tour-venue {
  font-family: var(--grunge-font);
  font-size: 2rem;
  font-weight: 700;
  text-transform: lowercase;
  letter-spacing: 1px;
  margin-top: -0.5rem;
  margin-bottom: 0.1rem;
  color: #000000;
  text-shadow: 2px 2px 8px rgba(255, 255, 255, 0.8),
    0 0 12px rgba(255, 255, 255, 0.5);
}

.tour-details {
  margin-bottom: 1.5rem;
  padding: 0;
  line-height: 1.1;
}

.tour-subtitle {
  font-size: 1.1rem;
  font-weight: 500;
  font-style: italic;
  color: #666666;
  margin-bottom: 0.05rem;
  text-align: center;
  letter-spacing: 0.5px;
}

.tour-location {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0;
  font-style: normal;
  text-align: center;
  color: #333333;
  letter-spacing: 0.3px;
}

.tickets-button {
  display: inline-block;
  background-color: transparent;
  color: var(--secondary-color);
  font-family: var(--font-family);
  font-size: 1.4rem;
  font-weight: 600;
  font-style: italic;
  text-transform: lowercase;
  padding: 0.5rem 1.5rem;
  border: 1px solid var(--secondary-color);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.tickets-button:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  opacity: 1;
}

/* Additional TOUR section layout fixes */
#tour {
  justify-content: center; /* Center content vertically */
  padding-top: var(--header-height-desktop);
  padding-bottom: var(--footer-height-desktop);
  height: 100vh; /* Full viewport height */
}

/* --- CONDENSED TOUR Section Styles --- */
.tour-info-condensed {
  text-align: center;
  color: #ffffff;
  font-family: var(--font-family);
  margin-bottom: 0;
  line-height: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.tour-date-condensed {
  font-size: 30px !important;
  font-weight: 600;
  letter-spacing: 1px;
  margin: 0;
  line-height: 0.9;
  color: #ffffff;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.tour-location-condensed {
  font-size: 1.1rem;
  font-weight: 500;
  color: #ffffff;
  margin: -0.2rem 0 0 0;
  line-height: 0.9;
  letter-spacing: 0.3px;
}

.tickets-button-condensed {
  display: block;
  background-color: transparent;
  color: #ffffff;
  font-family: var(--font-family);
  font-size: 1.2rem;
  font-weight: 600;
  font-style: italic;
  text-transform: lowercase;
  padding: 0.75rem 1.25rem;
  border: 2px solid #ffffff;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  margin: -0.1rem auto 0 auto;
  min-width: 120px;
  max-width: 180px;
  text-align: center;
}

.tickets-button-condensed:hover {
  background-color: #ffffff;
  color: #000000;
  opacity: 1;
}

.tour-flyer {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 0 0 auto;
}

.flyer-image {
  max-width: 200px;
  max-height: 250px;
  width: auto;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.flyer-image:hover {
  transform: scale(1.05);
}

#tour .section-content {
  margin: 0 auto;
  padding: 0.3rem;
  max-height: none;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
  gap: 2rem;
  max-width: 800px;
}

#tour:focus {
  outline: none; /* Remove focus outline since this is for functionality only */
}

/* Tour poster styles */
.tour-poster-left,
.tour-poster-right {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.poster-image {
  max-width: 200px;
  max-height: 300px;
  width: auto;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.poster-image:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Responsive adjustments for tour section */
@media (max-width: 768px) {
  #tour .section-content {
    flex-direction: column;
    gap: 3rem;
  }

  .tour-info-condensed {
    text-align: center;
    order: 1;
    gap: 0;
  }

  .tour-flyer {
    order: 2;
  }

  .flyer-image {
    max-width: 150px;
    max-height: 225px;
  }
}

.section-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: bottom;
  background-attachment: fixed;
  /* filter: grayscale(100%) brightness(0.3); */
  z-index: 1;
}

/* TOUR section specific background positioning */
#tour .section-background {
  background-position: center -50px;
}

/* SHOP section specific background positioning */
#shop .section-background {
  background-position: center;
  background-size: contain;
}

.section-background::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.25);
  z-index: 1;
}

/* Reduced black overlay for MUSIC and TOUR sections */
#music .section-background::after {
  background: rgba(0, 0, 0, 0.08);
}

#tour .section-background {
  background-image: none !important;
  background-color: #ffffff;
}

#tour .section-background::after {
  display: none;
}

.section-content {
  max-width: 900px;
  margin: 0 auto; /* Centering block content */
  position: relative;
  z-index: 2;
  width: 100%;
  /* Aesthetic internal padding for the content itself */
  padding-top: 1rem; /* Reduced from original 10rem, as fixed element clearance is handled by .content-section */
  padding-bottom: 1rem;
}

.section-content p {
  font-family: var(--font-family);
  font-size: 1.1rem;
  font-weight: 500;
  font-style: italic;
  margin-bottom: 2rem;
  line-height: 1.7;
}

/* --- MUSIC Section --- */
#music .section-content {
  display: flex;
  flex-direction: column;
  align-items: center;

  justify-content: center;
  gap: 0.5rem;
  padding-top: 0;
  margin-top: 0;
}

.music-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.music-link {
  font-family: var(--font-family);
  font-size: 1.5rem;
  font-weight: 600;
  font-style: italic;
  border-bottom: none;
  letter-spacing: 0.5px;
  padding-bottom: 2px;
  text-transform: lowercase;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.3);
  color: white;
}

.music-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.2),
    rgba(255, 255, 255, 0.8),
    rgba(255, 255, 255, 0.2)
  );
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 3px rgba(255, 255, 255, 0.3);
}

.music-link:hover::after {
  width: 100%;
}

.music-link:hover {
  opacity: 1;
  transform: translateY(-1px);
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.2),
    0 0 3px rgba(255, 255, 255, 0.1);
}

.music-link i {
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.music-link:hover i {
  transform: scale(1.1);
}

/* Removed old sectionFade animation - now using smooth CSS transitions */

/* --- TOUR Section --- */
.tour-event {
  width: 100%;
  max-width: 400px;
  margin: 0.5rem auto 1.5rem auto;
  background: transparent;
  border: none;
  padding: 1rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.tour-event:hover {
  transform: translateY(-1px);
}

.tour-date-large {
  font-family: var(--font-family);
  font-size: 2rem;
  font-weight: 600;
  font-style: italic;
  color: var(--secondary-color);
  text-transform: lowercase;
  letter-spacing: -0.5px;
  margin-bottom: 0.2rem;
  text-shadow: 1px 1px 4px rgba(255, 255, 255, 0.7);
}

.tour-description {
  font-family: var(--font-family);
  font-size: 1.1rem;
  font-weight: 500;
  font-style: italic;
  color: rgba(0, 0, 0, 0.85);
  letter-spacing: 0.3px;
  margin: 0;
  text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.6);
}

.tour-event-button {
  display: inline-block;
  background: rgba(255, 255, 255, 0.8);
  border: none;
  border-radius: 20px;
  padding: 0.6rem 1.5rem;
  font-family: var(--font-family);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: lowercase;
  letter-spacing: 0.5px;
  font-style: italic;
  color: var(--secondary-color);
  transition: all 0.3s ease;
  position: relative;
  text-shadow: none;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-decoration: none;
}

.tour-event-button:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  opacity: 1;
}

.tour-list {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  background: transparent;
  border: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tour-item {
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-left: 3px solid rgba(0, 0, 0, 0.4);
  padding: 1.5rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.tour-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.01));
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tour-item:hover {
  background: rgba(255, 255, 255, 0.6);
  border-left-color: rgba(0, 0, 0, 0.8);
  border-left-width: 4px;
  transform: translateX(8px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.tour-item:hover::before {
  opacity: 1;
}

.tour-item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.8rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tour-date {
  font-family: var(--font-family);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--secondary-color);
  text-transform: lowercase;
  letter-spacing: 0.5px;
  font-style: italic;
  text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.1);
}

.tour-location {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
}

.tour-city {
  font-family: var(--mono-font);
  font-size: 0.95rem;
  color: var(--secondary-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 400;
}

.tour-venue {
  font-family: var(--font-family);
  font-size: 2rem;
  font-weight: 500;
  color: #000000;
  font-style: italic;
  letter-spacing: 0.3px;
}

.tour-ticket-button {
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.3);
  border-radius: 0;
  padding: 0.6rem 1.2rem;
  font-family: var(--mono-font);
  font-size: 0.9rem;
  text-transform: lowercase;
  letter-spacing: 1px;
  color: var(--secondary-color);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  min-width: 80px;
  text-align: center;
}

.tour-ticket-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.05);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  z-index: -1;
}

.tour-ticket-button:hover {
  border-color: rgba(0, 0, 0, 0.6);
  color: var(--secondary-color);
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

.tour-ticket-button:hover::before {
  transform: scaleX(1);
}

.tour-ticket-button.sold-out {
  background: none;
  color: rgba(0, 0, 0, 0.4);
  border-color: rgba(0, 0, 0, 0.15);
  cursor: not-allowed;
  position: relative;
}

.tour-ticket-button.sold-out::after {
  content: "sold out";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.7rem;
  letter-spacing: 0.5px;
}

.tour-ticket-button.sold-out:hover {
  border-color: rgba(0, 0, 0, 0.15);
  color: rgba(0, 0, 0, 0.4);
  text-shadow: none;
}

.tour-ticket-button.sold-out:hover::before {
  transform: scaleX(0);
}

/* --- Contact Section --- */
#contact {
  overflow-y: hidden; /* Ensure CONTACT section is not scrollable */
}

#contact .section-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding-top: 0;
  margin-top: 0;
}

.email-link {
  font-family: var(--font-family);
  font-size: 1.3rem;
  font-weight: 500;
  font-style: italic;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  position: relative;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

.email-link::before {
  content: "✉";
  position: absolute;
  left: -25px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  opacity: 0;
  transition: all 0.3s ease;
  color: rgba(255, 255, 255, 0.6);
}

.email-link:hover {
  transform: translateX(5px);
  opacity: 1;
}

.email-link:hover::before {
  opacity: 1;
  left: -30px;
}

/* --- Footer --- */
.main-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.2rem 3rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  background-image: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.8),
    rgba(0, 0, 0, 0)
  );
  transition: background-color var(--transition-speed) ease;
}

.footer-social-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.footer-social-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.4rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-social-links a:hover {
  color: #ffffff;
  transform: translateY(-2px);
  opacity: 1;
}

.footer-legal {
  font-family: var(--font-family);
  font-size: 0.9rem;
  font-weight: 500;
  font-style: italic;
  text-transform: lowercase;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.5px;
  text-align: center;
}

.footer-legal p {
  margin: 0.1rem 0;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: #ffffff;
  opacity: 1;
}

.bcs-logo {
  height: 0.8rem;
  width: auto;
  vertical-align: middle;
  margin-left: 0.1rem;
  opacity: 0.7;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
  h2 {
    font-size: 1.8rem;
  }

  .typewriter-text {
    font-size: 2.8rem;
    letter-spacing: 1.5px;
  }

  .glitch-quote {
    font-size: 1rem;
  }

  .ascii-art {
    font-size: 1rem;
    letter-spacing: 2px;
  }

  .grunge-text {
    font-size: 1rem;
  }

  .contact-quote {
    font-size: 0.85rem;
  }

  .main-header {
    padding: 2.5rem 1rem 1.5rem 1rem; /* Increased top/bottom padding for better spacing */
    background: transparent;
    top: 0; /* Header flush with top of viewport */
    left: 0;
    transform: none; /* No more translateX(-50%) */
    width: 100%;
    flex-direction: row;
    gap: 0;
    max-width: none; /* Allow full width */
  }

  .header-container {
    width: 100%;
    padding: 0;
    justify-content: center;
    position: relative;
    display: flex;
    align-items: center;
  }

  .hamburger-menu {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
  }

  .logo {
    margin-bottom: 0; /* No extra margin if header is flex col */
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1001;
  }

  .hamburger-menu {
    display: flex;
  }

  .hamburger-line {
    background-color: #ffffff;
  }

  .main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1000;
  }

  .main-nav.active {
    transform: translateX(0);
  }

  .main-nav ul {
    flex-direction: column;
    gap: 3rem;
    font-size: 1.8rem;
    text-align: center;
  }

  .main-nav a {
    font-size: 1.8rem;
    padding: 2rem 3rem;
    letter-spacing: 2px;
    color: #ffffff;
  }

  .hero-section {
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    background-position: center center !important; /* Center background image for mobile */
  }

  .hero-content {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
  }

  .content-section {
    padding-top: var(
      --header-height-mobile
    ); /* Use mobile header height for top padding */
    padding-bottom: var(
      --footer-height-mobile
    ); /* Use mobile footer height for bottom padding */
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    /* height: 100vh, box-sizing, overflow-y: hidden still apply */
  }

  /* TOUR section mobile adjustments */
  #tour {
    padding-top: calc(
      var(--header-height-mobile) + 1.5rem
    ); /* Extra space from header on mobile */
    padding-bottom: calc(
      var(--footer-height-mobile) + 1.5rem
    ); /* Extra space from footer on mobile */
  }

  #tour .section-content {
    padding-top: 1.5rem; /* Adjust top padding for mobile */
    padding-bottom: calc(
      var(--footer-height-mobile) + 3rem
    ); /* Adjust bottom padding for mobile */
  }

  .section-content {
    /* Adjust internal aesthetic padding for mobile if needed */
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .main-footer {
    padding: 1rem 1.5rem; /* Footer's own internal padding */
    gap: 1rem;
  }

  .cta-button {
    padding: 1rem 1.8rem;
    font-size: 1.1rem;
    letter-spacing: 1.5px;
    gap: 0.7rem;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08),
      0 0 0 1px rgba(255, 255, 255, 0.15);
  }

  .cta-button:hover {
    transform: translateX(8px) scale(1.01);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12),
      0 0 0 2px rgba(255, 255, 255, 0.25);
  }

  .cta-button::after {
    right: -25px;
    font-size: 0.9rem;
  }

  .cta-button:hover::after {
    right: -30px;
  }

  .tour-item {
    padding: 1.2rem;
  }

  .tour-item-header {
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
  }

  .tour-date {
    font-size: 1rem;
    text-align: center;
  }

  .tour-location {
    align-items: center;
    text-align: center;
  }

  .tour-city {
    font-size: 0.9rem;
  }

  .tour-venue {
    font-size: 1.8rem;
  }

  .tour-ticket-button {
    width: 100%;
    max-width: 200px;
    font-size: 0.75rem;
    padding: 0.8rem 1rem;
  }

  /* Contact section mobile adjustments for better centering */
  #contact .section-content {
    margin-top: -2rem; /* Move content up slightly for better mobile centering */
    gap: 2rem;
  }

  .email-link {
    font-size: 1.1rem;
    padding: 0.9rem 1.4rem;
    letter-spacing: 0.3px;
    border-left-width: 2px;
  }

  .email-link::before {
    left: -22px;
    font-size: 0.9rem;
  }

  .email-link:hover {
    transform: translateX(3px);
    border-left-width: 3px;
  }

  .email-link:hover::before {
    left: -25px;
  }

  .music-link {
    font-size: 1.3rem;
    gap: 0.7rem;
  }

  /* Shop link mobile adjustments for better centering */
  .shop-link {
    font-size: 1.1rem;
    text-align: center;
    display: block;
    width: auto;
    max-width: 200px;
    margin: 0 auto;
  }

  #shop .section-content {
    text-align: center;
    justify-content: center;
    align-items: center;
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  #shop {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    height: 100vh !important;
  }

  #shop .section-content {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
}

@media (max-width: 480px) {
  .main-nav ul {
    gap: 2.5rem;
  }
  .main-nav a {
    padding: 1.5rem 2rem;
    font-size: 1.4rem;
    color: #ffffff;
  }

  .typewriter-text {
    font-size: 2rem;
  }

  .glitch-quote {
    font-size: 0.9rem;
  }

  .ascii-art {
    font-size: 0.9rem;
    letter-spacing: 1px;
  }

  .email-link {
    font-size: 1rem;
  }

  .music-link {
    font-size: 1.2rem;
    gap: 0.6rem;
  }

  /* Contact section mobile adjustments for better centering */
  #contact .section-content {
    margin-top: 0; /* Center content properly without ASCII art */
  }

  /* Header and Footer heights for very small screens might not change drastically
     from the 768px breakpoint unless font sizes scale down a lot.
     The CSS variables --*-height-mobile should still apply. */
  .hero-section,
  .content-section {
    padding-left: 1rem; /* Slightly less horizontal padding */
    padding-right: 1rem;
  }

  /* Shop link adjustments for very small screens */
  .shop-link {
    font-size: 1rem;
    padding: 0.7rem 1.1rem;
  }
}
