/* ============================================
   Kevin Hyde Music - Base Styles
   Minimal, clean, focused on the music
   ============================================ */

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  background-color: #fafafa;
  min-height: 100vh;
}

main {
  max-width: 640px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

/* Header */
.site-header {
  margin-bottom: 3rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e5e5e5;
}

.site-header h1 {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* Tracks Section */
.tracks {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

/* Individual Track */
.track {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.track-artwork {
  aspect-ratio: 1;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.track-artwork .artwork {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.track-info {
  padding: 1.25rem 1.5rem 1.5rem;
}

.track-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  letter-spacing: -0.01em;
}

.track-meta {
  font-size: 0.875rem;
  color: #666;
  margin-bottom: 1rem;
}

/* Audio Player */
.track-player {
  margin-bottom: 1rem;
}

.track-player audio {
  width: 100%;
  height: 40px;
}

/* Customize audio player where supported */
audio::-webkit-media-controls-panel {
  background: #f5f5f5;
}

/* Track Details (collapsible) */
.track-details {
  font-size: 0.9rem;
  border-top: 1px solid #eee;
  padding-top: 1rem;
  margin-top: 0.5rem;
}

.track-details summary {
  cursor: pointer;
  color: #555;
  font-size: 0.85rem;
  user-select: none;
}

.track-details summary:hover {
  color: #1a1a1a;
}

.track-details[open] summary {
  margin-bottom: 0.75rem;
}

.track-notes {
  margin-bottom: 1rem;
  color: #333;
}

.track-credits {
  font-size: 0.8rem;
  color: #888;
  line-height: 1.5;
}

/* Footer */
.site-footer {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e5e5;
  font-size: 0.8rem;
  color: #888;
}

.site-footer .copyright {
  margin-bottom: 0.5rem;
}

.site-footer a {
  color: #666;
  text-decoration: none;
}

.site-footer a:hover {
  color: #1a1a1a;
  text-decoration: underline;
}

/* ============================================
   Responsive Adjustments
   ============================================ */

@media (max-width: 480px) {
  main {
    padding: 1.5rem 1rem;
  }

  .track-info {
    padding: 1rem 1.25rem 1.25rem;
  }
}

/* ============================================
   Future Enhancement Hooks
   These classes exist for progressive enhancement
   ============================================ */

/* .track--with-download { } */
/* .track--featured { } */
/* .support-section { } */
/* .download-options { } */
