/* Updated Styles 2025 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Baskerville', 'Palatino', Georgia, serif;
  background-image: url(images/musictexture.jpg);
  background-repeat: repeat;
  background-attachment: fixed;
  color: #663333;
  line-height: 1.6;
}

/* Container */
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 7px;
}

/* Header */
.site-header {
  text-align: center;
  margin: 7px 0 7px 0;
  position: relative;
}

.site-header img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 4px;
}

/* Main Content */
.main-content {
  padding: 0;
}

/* Intro Section */
.intro {
  background-image: url(images/body_gold.jpg);
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  text-align: center;
  padding: 30px 7px;
  margin-bottom: 7px;
  position: relative;
  border-radius: 4px;
}

.intro h1 {
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 4px;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #663333;
}

.tagline {
  font-size: 18px;
  font-style: italic;
  margin: 15px 0;
  color: #663333;
  text-align: left;
  padding-left: 60px;
}

.contact {
  font-size: 16px;
  margin-top: 10px;
  color: #663333;
  text-align: left;
  padding-left: 90px;
}

.contact strong {
  font-weight: bold;
}

/* Audio Player */
.player-section {
  background: rgba(210, 180, 140, 0.4);
  backdrop-filter: blur(3px);
  border-radius: 4px;
  padding: 10px 10px;
  margin: 0 0 20px 0;
  border: 1px solid rgba(102, 51, 51, 0.2);
}

.audio-player {
  margin-bottom: 20px;
}

/* Player Controls */
.player-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  justify-content: center;
}

.player-controls button {
  background: rgba(102, 51, 51, 0.85);
  color: white;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.player-controls button:hover {
  background: rgba(102, 51, 51, 1);
  transform: scale(1.1);
}

.btn-play {
  width: 60px;
  height: 60px;
  font-size: 18px;
}

/* Audio Progress Bar */
.progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(102, 51, 51, 0.2);
  border-radius: 2px;
  cursor: pointer;
  overflow: hidden;
  margin-bottom: 7px;
}

.progress-fill {
  height: 100%;
  background: rgba(102, 51, 51, 0.8);
  width: 0%;
  transition: width 0.1s linear;
}

/* Now Playing */
.now-playing {
  text-align: center;
  padding: 2px 0;
}

.track-title {
  font-size: 16px;
  font-weight: bold;
  color: #663333;
  margin-bottom: 1px;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.track-artist {
  font-size: 14px;
  color: #663333;
  font-style: italic;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.track-link a {
  color: #663333;
  text-decoration: none;
}

.track-link a:hover {
  text-decoration: underline;
}

/* Playlist */
.playlist-tracks {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.track-item {
  display: flex;
  align-items: center;
  padding: 7px 14px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.track-item:hover {
  background: rgba(255, 255, 255, 0.75);
  transform: translateX(3px);
}

.track-item.active {
  background: rgba(210, 180, 140, 0.5);
  border-color: rgba(102, 51, 51, 0.3);
}

.track-number {
  font-size: 14px;
  font-weight: bold;
  color: #663333;
  min-width: 25px;
  text-align: center;
}

.track-details {
  flex: 1;
}

.track-name {
  font-weight: bold;
  color: #663333;
  font-size: 14px;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.7);
}

.track-subtitle {
  font-size: 12px;
  color: #663333;
  font-style: italic;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.7);
}

.track-subtitle a {
  color: #663333;
  text-decoration: none;
}

.track-subtitle a:hover {
  text-decoration: underline;
}

/* Samples Section */
.samples-section {
  background-image: url(images/body_gold.jpg);
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 24px 10px;
  border-radius: 4px;
  margin: 0 0 42px 0;
}

/* Arranging Samples */
.sheet-music-compact {
  display: flex;
  justify-content: space-around;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.sample-item {
  text-align: center;
  flex: 0 1 auto;
}

.sample-item img {
  display: block;
  margin: 0 auto 8px;
  border: 2px solid rgba(102, 51, 51, 0.5);
  border-radius: 2px;
  transition: transform 0.2s ease;
}

.sample-item img:hover {
  transform: scale(1.2);
}

.sample-info {
  font-size: 14px;
  line-height: 1.2;
  color: #663333;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.sample-info strong {
  display: block;
  margin-bottom: 3px;
  font-size: 14px;
}

.sample-info a {
  color: #663333;
  text-decoration: none;
}

.sample-info a:hover {
  text-decoration: underline;
}

.small-text {
  font-size: 12px;
}

/* Published Works */
.published-works-compact {
  text-align: left;
  padding-left: 10px;
}

.published-works-compact h3 {
  font-size: 18px;
  letter-spacing: 1.8px;
  margin-bottom: 14px;
  color: #663333;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
  font-weight: normal;
}

.books-gallery {
  display: flex;
  justify-content: flex-start;
  gap: 3px;
  flex-wrap: wrap;
  padding-left: 4px;
}

.books-gallery img {
  transition: transform 0.2s ease;
  border-radius: 2px;
  cursor: pointer;
}

.books-gallery img:hover {
  transform: scale(1.6);
  z-index: 10;
  position: relative;
}

/* Responsive Design */
@media (max-width: 768px) {
  
  .site-header {
    margin: 7px 0 3px 0;
  }
  
  .intro {
    padding: 24px 4px;
  }
  
  .intro h1 {
    font-size: 18px;
    letter-spacing: 3.6px;
  }
  
  .tagline {
    font-size: 16px;
    padding-left: 54px;
  }
  
  .contact {
    font-size: 14px;
    padding-left: 80px;
  }
  
  .player-section {
    padding: 8px 8px;
    margin-bottom: 15px;
  }
  
  .samples-section {
    padding: 20px 8px;
  }

  .sheet-music-compact {
    gap: 9px;
    margin-bottom: 28px;
  }
  
  .sample-item img {
    width: 65px;
    height: 87px;
  }
  
  .published-works-compact h3 {
    font-size: 17px;
    letter-spacing: 1.7px;
  }

  .sample-item img {
    width: 63px;
    height: 84px;
  }

  .books-gallery {
    gap: 2px;
  }
  
  .books-gallery img {
    width: 63px;
    height: 84px;
  }

  .books-gallery img:hover {
  transform: scale(1.7);
  }
}

@media (max-width: 687px) {

  .intro h1 {
    font-size: 16px;
    letter-spacing: 3.2px;
  }
  
  .published-works-compact h3 {
    font-size: 16px;
    letter-spacing: 1.6px;
  }

  .sample-item img {
    width: 60px;
    height: 80px;
  }

  .books-gallery {
    gap: 1px;
  }
  
  .books-gallery img {
    width: 60px;
    height: 80px;
  }

  .books-gallery img:hover {
  transform: scale(1.8);
  }
}

@media (max-width: 615px) {

  .intro {
    padding: 22px 4px;
  }
  
  .intro h1 {
    font-size: 15px;
    letter-spacing: 3px;
  }
  
  .tagline {
    font-size: 15px;
  }
  
  .contact {
    font-size: 14px;
  }

  .published-works-compact h3 {
    font-size: 15px;
    letter-spacing: 1.5px;
  }
 
  .sample-item img {
    width: 54px;
    height: 72px;
  }
 
  .books-gallery img {
    width: 54px;
    height: 72px;
  }

  .books-gallery img:hover {
  transform: scale(1.9);
  }
}

@media (max-width: 579px) {

  .intro {
  margin-bottom: 3px;
  }

  .intro h1 {
    font-size: 14px;
    letter-spacing: 2.8px;
  }
  
  .tagline {
    font-size: 14px;
    padding-left: 48px;
  }
  
  .contact {
    font-size: 14px;
    padding-left: 72px;
  }

  .published-works-compact h3 {
    font-size: 14px;
    letter-spacing: 1.4px;
  }
  
  .sample-item img {
    width: 48px;
    height: 64px;
  }

  .books-gallery img {
    width: 48px;
    height: 64px;
  }

  .books-gallery img:hover {
  transform: scale(2.0);
  }
}

@media (max-width: 543px) {

  .intro h1 {
    font-size: 13px;
    letter-spacing: 2.6px;
  }
}

@media (max-width: 507px) {

  .intro h1 {
    font-size: 12px;
    letter-spacing: 2.4px;
  }

  .tagline {
    font-size: 12px;
    padding-left: 44px;
  }
  
  .contact {
    font-size: 12px;
    padding-left: 66px;
  }

  .track-title {
  font-size: 14px;
  }

  .track-artist {
  font-size: 12px;
  }

  .track-name {
    font-size: 12px;
  }
  
  .track-subtitle {
    font-size: 11px;
  }

  .sample-info {
  font-size: 12px;
  }

  .sample-info strong {
  font-size: 12px;
  }

  .small-text {
  font-size: 11px;
  }
}

@media (max-width: 480px) {

  .intro {
    padding: 20px 3px;
  }
  
  .intro h1 {
    font-size: 11px;
    letter-spacing: 2.2px;
  }

  .player-controls button {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }
  
  .btn-play {
    width: 38px;
    height: 38px;
    font-size: 14px;
  }
  
  .track-item {
    padding: 6px 8px;
  }
  
  .samples-section {
    padding: 18px 2px;
  }
  
  .sample-item img {
    width: 45px;
    height: 60px;
  }
  
  .books-gallery img {
    width: 45px;
    height: 60px;
  }

  .books-gallery img:hover {
  transform: scale(2.2);
  }
}

@media (max-width: 440px) {
    .intro {
    padding: 16px 3px;
  }

  .intro h1 {
    font-size: 10px;
    letter-spacing: 2px;
  }

  .tagline {
    padding-left: 36px;
  }

  .contact {
    padding-left: 54px;
  }

  .published-works-compact h3 {
    font-size: 12px;
    letter-spacing: 1.4px;
  }
}

@media (max-width: 420px) {

      .intro {
    padding: 14px 3px;
  }

  .intro h1 {
    font-size: 9px;
    letter-spacing: 1.8px;
  }

  .tagline {
    padding-left: 32px;
  }

  .contact {
    padding-left: 48px;
  }
}

@media (max-width: 380px) {
  
  .intro h1 {
    font-size: 8px;
    letter-spacing: 1.6px;
  }
}