/* ============================================
   lizzie is trying - Stylesheet
   Design: "The Night Before the Show"
   ============================================ */

/* ----- CSS Variables ----- */
:root {
  /* Backgrounds */
  --bg-dark: #0a0a0a;
  --bg-dark-alt: #111111;

  /* Text */
  --text-primary: #f5f5f5;
  --text-secondary: #a0a0a0;

  /* Accent */
  --accent-red: #C41E3A;
  --accent-red-hover: #8B0000;

  /* UI Elements */
  --paper-white: #f8f8f8;
  --wire-gray: #444444;

  /* Typography */
  --font-heading: 'Courier Prime', monospace;
  --font-body: 'Raleway', sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;

  /* Layout */
  --nav-height: 60px;
  --container-max: 1600px;
}

/* ----- CSS Reset ----- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input {
  font-family: inherit;
  border: none;
  outline: none;
}

/* ----- Utility Classes ----- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: var(--space-md);
  color: var(--accent-red);
}

/* ----- Navigation ----- */
.nav-tape {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background-color: white;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-md);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-symbol {
  height: 35px;
  width: auto;
}

.logo-text {
  height: 40px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: var(--space-md);
}

.nav-links a {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  color: #000;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--accent-red);
}

.nav-toggle {
  display: none;
}

/* ----- Hero Section ----- */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: var(--nav-height);
  left: 0;
  width: 100%;
  height: calc(100% - var(--nav-height));
  z-index: 0;
  overflow: hidden;
}

.hero-photo {
  width: 100%;
  height: 120%;
  object-fit: cover;
  object-position: center top;
  will-change: transform;
}

.hero-overlay {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: var(--space-md);
}

.hero-title-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  margin-bottom: var(--space-md);
  filter: drop-shadow(2px 2px 8px rgba(0,0,0,0.8));
}

.hero-symbol {
  width: 80px;
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(2px 2px 8px rgba(0,0,0,0.8));
}

/* ----- Music Section ----- */
.music {
  padding: var(--space-xl) var(--space-md);
  background-color: var(--bg-dark);
}

.music-card {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  background-color: var(--bg-dark-alt);
  padding: var(--space-lg);
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

.spotify-embeds {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin: var(--space-md) 0;
}

.spotify-embeds iframe {
  border-radius: 8px;
}

.streaming-links {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  margin-top: var(--space-md);
  flex-wrap: wrap;
}

.btn-streaming {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background-color: transparent;
  border: 2px solid var(--text-primary);
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 1rem;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.btn-streaming:hover {
  background-color: var(--accent-red);
  border-color: var(--accent-red);
  color: white;
}

/* ----- Shows Section ----- */
.shows {
  position: relative;
  padding: var(--space-xl) var(--space-md);
  background-image: url('../assets/photos/blue slide 2.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-color: var(--bg-dark);
}

.shows-setlist {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  background-color: rgba(248, 248, 248, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #000;
  padding: var(--space-lg);
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

.shows-setlist .section-title {
  color: #000;
  font-size: 2.5rem;
  margin-bottom: var(--space-sm);
  letter-spacing: 0.5px;
}

.show-item {
  padding: var(--space-md) 0;
  text-align: center;
}

.show-name {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  margin-bottom: var(--space-xs);
  letter-spacing: 0.5px;
}

.show-name a {
  color: var(--accent-red);
  text-decoration: underline;
  transition: color 0.2s ease;
}

.show-name a:hover {
  color: var(--accent-red-hover);
}

.show-date {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--accent-red);
  font-weight: 700;
  margin-bottom: var(--space-xs);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.show-venue {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: var(--space-xs);
  letter-spacing: 0.5px;
  font-weight: 400;
}

.show-location {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #555;
  margin-bottom: var(--space-sm);
}

.btn-show {
  display: inline-block;
  padding: 0.75rem 2rem;
  background-color: var(--accent-red);
  color: white;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  border-radius: 4px;
  transition: background-color 0.2s ease;
  text-transform: uppercase;
}

.btn-show:hover {
  background-color: var(--accent-red-hover);
}

/* ----- Merch Section ----- */
.merch {
  padding: var(--space-xl) var(--space-md);
  background: radial-gradient(ellipse at center, var(--accent-red) 0%, rgba(139, 0, 0, 0.8) 40%, #000000 100%);
  position: relative;
}

.merch .section-title {
  color: white;
}

.merch-name {
  color: white;
}

.merch-price {
  color: white;
}

.merch-message {
  max-width: 700px;
  margin: var(--space-xl) auto 0;
  text-align: center;
  color: white;
}

.merch-message p {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: var(--space-sm);
}

.merch-message a {
  color: white;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.merch-message a:hover {
  color: var(--text-secondary);
}

.merch-message strong {
  font-weight: bold;
  letter-spacing: 0.5px;
}

.merch-slider-container {
  position: relative;
  max-width: 1000px;
  margin: var(--space-lg) auto 0;
}

.merch-wire {
  display: none;
}

.merch-slider {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  align-items: flex-start;
  padding-top: 0;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.merch-slider::-webkit-scrollbar {
  display: none;
}

.merch-item {
  position: relative;
  flex-shrink: 0;
  width: 280px;
  text-align: center;
}

.merch-clip {
  display: none;
}

.merch-photo {
  background-color: var(--paper-white);
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
  transform: rotate(1deg);
}

.merch-photo img {
  width: 100%;
  height: auto;
}

.sticker-placeholder {
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #ddd;
  color: #666;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  padding: var(--space-md);
}

.sticker-placeholder .coming-soon {
  font-size: 0.875rem;
  font-family: var(--font-body);
  font-style: italic;
  margin-top: var(--space-xs);
  color: #999;
}

.merch-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-top: var(--space-sm);
}

.merch-price {
  font-family: var(--font-body);
  font-size: 1.125rem;
  color: white;
  font-weight: bold;
  margin-top: var(--space-xs);
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background-color: rgba(255,255,255,0.1);
  color: var(--text-primary);
  font-size: 2rem;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
  z-index: 10;
}

.slider-arrow:hover {
  background-color: rgba(255,255,255,0.2);
}

.slider-arrow-left {
  left: -60px;
}

.slider-arrow-right {
  right: -60px;
}

/* ----- Bio Section ----- */
.bio {
  padding: var(--space-xl) var(--space-md);
  background-color: var(--bg-dark);
}

.bio-content {
  display: grid;
  grid-template-columns: minmax(210px, 350px) 1fr;
  gap: var(--space-lg);
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

.bio-photo-wrapper {
  display: flex;
  justify-content: center;
}

.bio-photo-frame {
  position: relative;
  background-color: var(--paper-white);
  padding: 20px;
  border-radius: 12px;
  transform: rotate(-3deg);
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

.bio-photo {
  width: 100%;
  max-width: 350px;
  display: block;
  border-radius: 4px;
}

.bio-text .section-title {
  text-align: left;
  margin-bottom: var(--space-md);
}

.bio-text p {
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.8;
  margin-bottom: var(--space-sm);
}

/* ----- Footer ----- */
.footer {
  position: relative;
  padding: var(--space-xl) var(--space-md);
  background-color: var(--paper-white);
  color: #000;
  text-align: center;
}

.torn-paper-edge {
  position: absolute;
  top: -20px;
  left: 0;
  right: 0;
  height: 20px;
  background-color: var(--bg-dark);
  /* Will be replaced with torn paper image */
}

.footer .section-title {
  color: #000;
  margin-bottom: var(--space-sm);
}

.footer-subtitle {
  font-family: var(--font-body);
  font-size: 1.125rem;
  color: #555;
  margin-bottom: var(--space-md);
  font-style: italic;
}

.email-signup {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  align-items: stretch;
  max-width: 500px;
  margin: 0 auto var(--space-md);
}

.form-label {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: #666;
  text-align: center;
  margin-bottom: 0;
  font-style: italic;
}

.name-input {
  flex: 1;
  padding: 0.875rem 1rem;
  background-color: white;
  border: 2px solid #ccc;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: #000;
}

.email-input,
.name-input {
  flex: 1;
  padding: 0.875rem 1rem;
  background-color: white;
  border: 2px solid #ccc;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: #000;
}

.email-input:focus,
.name-input:focus {
  border-color: var(--accent-red);
  outline: none;
}

.btn-submit {
  padding: 0.875rem 2rem;
  background-color: #000;
  color: white;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  border-radius: 4px;
  transition: background-color 0.2s ease;
  text-transform: uppercase;
}

.btn-submit:hover {
  background-color: var(--accent-red);
}

.signup-success {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--accent-red);
  margin: var(--space-md) 0;
}

.social-links {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  margin: var(--space-lg) 0 var(--space-md);
  flex-wrap: wrap;
}

.social-links a {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  color: #000;
  transition: color 0.2s ease;
}

.social-links a:hover {
  color: var(--accent-red);
}

.copyright {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: #888;
  margin-top: var(--space-md);
}

/* ----- Tablet Responsive ----- */
@media (max-width: 992px) {
  /* Bio - reduce gap on narrower screens */
  .bio-content {
    gap: var(--space-md);
  }
}

/* ----- Mobile Responsive ----- */
@media (max-width: 768px) {
  /* Navigation */
  .logo-symbol {
    height: 28px;
  }

  .logo-text {
    height: 32px;
  }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
  }

  .nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #000;
    transition: all 0.3s ease;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background-color: white;
    flex-direction: column;
    padding: var(--space-sm);
    gap: var(--space-sm);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  }

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

  /* Hero */
  .hero {
    min-height: 100vh;
  }

  .hero-photo {
    object-position: center top;
  }

  .hero-title-image {
    max-width: 90%;
  }

  .hero-symbol {
    width: 60px;
  }

  /* Section titles */
  .section-title {
    font-size: 2rem;
  }

  /* Music */
  .music-card {
    padding: var(--space-md);
  }

  /* Shows */
  .shows {
    background-attachment: scroll;
  }

  .shows-setlist {
    padding: var(--space-md);
  }

  .shows-setlist .section-title {
    font-size: 2rem;
  }

  .show-name {
    font-size: 1.75rem;
  }

  .show-date {
    font-size: 1.5rem;
  }

  .show-venue {
    font-size: 1.25rem;
  }

  /* Merch - stack vertically on mobile */
  .merch-slider {
    flex-direction: column;
    align-items: center;
    overflow-x: visible;
  }

  .merch-item {
    width: 100%;
    max-width: 320px;
  }

  .slider-arrow {
    display: none;
  }

  /* Bio */
  .bio-content {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .bio-photo {
    max-width: 320px;
  }

  .bio-text .section-title {
    text-align: center;
  }

  /* Footer */
  .email-signup {
    width: 100%;
  }
}

@media (min-width: 1100px) {
  /* Show arrows on wider screens only (to prevent cutoff) */
  .slider-arrow {
    display: flex;
  }
}
