/* SHAC Gallery - Paperbag Brown Theme */

.back-nav {
  padding: 20px;
  text-align: center;
  border-bottom: 1px solid var(--brown-light);
}

.back-link {
  color: var(--accent-primary);
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.back-link:hover {
  color: var(--gold);
}

.gallery-header {
  text-align: center;
  padding: 60px 0 40px;
  border-bottom: 1px solid var(--brown-light);
  margin-bottom: 40px;
}

.gallery-header h1 {
  font-size: clamp(3rem, 8vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 10px;
  color: var(--cream);
}

.gallery-header .tagline {
  font-size: 1.3em;
  color: var(--brown-lighter);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 300;
}

/* Intro Section */
.intro {
  text-align: center;
  margin-bottom: 60px;
  font-size: 1.1em;
  line-height: 1.8;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-secondary);
}

.intro p {
  margin-bottom: 1.2rem;
}

.intro a {
  color: var(--accent-primary);
  text-decoration: none;
  border-bottom: 1px dotted var(--accent-primary);
  transition: all 0.3s ease;
}

.intro a:hover {
  color: var(--gold);
  border-bottom-style: solid;
}

.note {
  margin-top: 20px;
  font-size: 0.95em;
  color: var(--text-muted);
  font-style: italic;
}

/* Songs Section */
.songs {
  margin-bottom: 80px;
}

.songs h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 600;
  margin-bottom: 30px;
  text-align: center;
  color: var(--cream);
  margin-top: 60px;
}

.songs h2:first-child {
  margin-top: 0;
}

/* Song Grid */
.song-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 25px;
  margin-bottom: 60px;
}

.song-card {
  background: var(--bg-medium);
  border: 1px solid var(--brown-light);
  border-radius: 12px;
  padding: 25px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.song-card:hover {
  border-color: var(--accent-primary);
  background: var(--bg-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.song-card h3 {
  font-size: 1.35em;
  margin-bottom: 8px;
  color: var(--cream);
  font-weight: 600;
}

.genre {
  font-size: 0.85em;
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  font-weight: 500;
}

.description {
  color: var(--text-secondary);
  font-size: 0.95em;
  line-height: 1.6;
  margin-bottom: 15px;
  flex-grow: 1;
}

.description em {
  color: var(--text-muted);
  font-size: 0.9em;
}

.file-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  padding: 10px 0;
  border-top: 1px solid var(--brown-light);
  font-size: 0.85em;
  color: var(--text-muted);
}

.size {
  font-weight: 500;
}

.duration {
  font-style: italic;
}

/* Download Button */
.download-btn {
  display: block;
  text-align: center;
  padding: 12px 20px;
  background: linear-gradient(135deg, var(--accent-secondary), var(--accent-primary));
  color: var(--warm-white);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9em;
  box-shadow: 0 4px 12px rgba(139, 90, 60, 0.2);
}

.download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(139, 90, 60, 0.3);
  background: linear-gradient(135deg, var(--accent-primary), var(--gold));
}

.download-btn:active {
  transform: translateY(0);
}

/* How To Section */
.how-to {
  padding: 80px 0;
  margin-bottom: 60px;
}

.how-to h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 600;
  margin-bottom: 3rem;
  color: var(--cream);
  text-align: center;
}

.how-to-flow {
  max-width: 900px;
  margin: 0 auto;
}

.how-to-details {
  margin-bottom: 3rem;
}

.detail-row {
  display: flex;
  flex-direction: column;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--brown-light);
  gap: 0.5rem;
}

.detail-row:first-child {
  border-top: 1px solid var(--brown-light);
}

.detail-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-primary);
  font-weight: 600;
}

.detail-value {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.detail-value a {
  color: var(--accent-primary);
  text-decoration: none;
  border-bottom: 1px dotted var(--accent-primary);
}

.detail-value a:hover {
  color: var(--gold);
  border-bottom-style: solid;
}

.tip {
  text-align: center;
  padding: 2rem;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto;
}

.tip strong {
  color: var(--accent-primary);
}

/* Responsive Design */
@media (max-width: 768px) {
  .song-grid {
    grid-template-columns: 1fr;
  }

  .how-to {
    padding: 60px 20px;
  }

  .gallery-header {
    padding: 40px 0 30px;
  }
}
