/* =========================================================
   PAGE 3 — SONGS / GALLERY
   ========================================================= */

.songs-page {
  width: 100%;
  min-height: 70vh;
  padding:
    clamp(2.4rem, 5vw, 4.5rem)
    clamp(1rem, 5vw, 5rem);
}

.songs-gallery-section {
  width: min(92%, 76rem);
  margin-inline: auto;
}

.songs-heading {
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.songs-heading h1 {
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  font-weight: 500;
  color: #263b44;
}

.songs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:
    clamp(2rem, 4vw, 3.8rem)
    clamp(1.3rem, 3vw, 3rem);
}

.song-artwork {
  min-width: 0;
  text-align: center;
}

.song-cover-button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.song-cover-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #eee9df;
  box-shadow:
    0 .7rem 1.8rem rgba(31, 44, 50, .10);
  transition:
    transform .25s ease,
    box-shadow .25s ease;
}

.song-cover-button:hover .song-cover-frame {
  transform: translateY(-.28rem);
  box-shadow:
    0 1rem 2.3rem rgba(31, 44, 50, .16);
}

.song-cover-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.song-title {
  margin:
    clamp(.65rem, 1.3vw, .9rem)
    0 0;
  color: #263b44;
  font-size: clamp(.9rem, 1.3vw, 1.05rem);
  font-weight: 500;
  line-height: 1.5;
}

.songs-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(.8rem, 2vw, 1.5rem);
  margin-top: clamp(3rem, 6vw, 5rem);
}

.songs-pagination button {
  width: auto;
  min-width: 5.5rem;
  padding: .58rem 1rem;
  border: .06rem solid rgba(38, 59, 68, .28);
  border-radius: 2rem;
  background: transparent;
  color: #263b44;
  font: inherit;
  cursor: pointer;
}

.songs-pagination button:disabled {
  opacity: .3;
  cursor: default;
}

.songs-page-number {
  min-width: 4rem;
  text-align: center;
  color: rgba(38, 59, 68, .7);
}

/* Modal */

.songs-modal[hidden] {
  display: none;
}

.songs-modal {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: grid;
  place-items: center;
  padding: 1.2rem;
}

.songs-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(19, 29, 33, .66);
  backdrop-filter: blur(.25rem);
}

.songs-modal-card {
  position: relative;
  z-index: 1;
  width: min(92vw, 24rem);
  padding: clamp(1.2rem, 3vw, 1.7rem);
  border-radius: .9rem;
  background: #f8f3e9;
  text-align: center;
  box-shadow: 0 1.5rem 4rem rgba(0,0,0,.28);
}

.songs-modal-card img {
  display: block;
  width: min(100%, 17rem);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin-inline: auto;
}

.songs-modal-card h2 {
  margin: 1rem 0;
  color: #263b44;
  font-size: 1.2rem;
}

.songs-modal-close {
  position: absolute;
  top: .45rem;
  inset-inline-end: .55rem;
  width: 2rem;
  height: 2rem;
  border: 0;
  background: rgba(255,255,255,.85);
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.songs-services {
  display: flex;
  justify-content: center;
  gap: .7rem;
}

.songs-services a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 7.2rem;
  padding: .65rem .9rem;
  border: .06rem solid rgba(38,59,68,.25);
  border-radius: 2rem;
  color: #263b44;
  text-decoration: none;
}

.songs-services a.is-disabled {
  opacity: .3;
  pointer-events: none;
}

.songs-coming {
  margin: .9rem 0 0;
  color: rgba(38,59,68,.62);
  font-size: .82rem;
  line-height: 1.6;
}

@media (max-width: 700px) {
  .songs-page {
    padding-inline: clamp(.8rem, 4vw, 1.2rem);
  }

  .songs-gallery-section {
    width: 100%;
  }

  .songs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap:
      clamp(1.6rem, 6vw, 2.5rem)
      clamp(.8rem, 3vw, 1.2rem);
  }
}
