/* ============================= */
/* HERO SECTION */
/* ============================= */
.music-hero-section {
  position: relative;
  background: url("../Images/vinyl_record.png") center / cover no-repeat;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1rem;

  border-top-style: solid;
  border-color: #162676;
}

.game-hero-section {
  position: relative;
  background: url("../Images/gaming_setup.png") center / cover no-repeat;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1rem;

  border-top-style: solid;
  border-color: #162676;
}

.book-hero-section {
  position: relative;
  background: url("../Images/book_setup.png") center / cover no-repeat;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1rem;

  border-top-style: solid;
  border-color: #162676;
}

/* Content container */
.hero-section .container {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

/* HERO HEADING */
.hero-heading {
  font-weight: 900;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 1.25rem;

  /* Responsive font sizing */
  font-size: clamp(2.8rem, 5.8vw, 8rem);
}

/* HERO TEXT */
.hero-text {

  font-weight: 600;
  color: #ffffff;
  line-height: 1.6;
  margin-bottom: 2rem;

  /* Responsive font sizing */
  font-size: clamp(1.5rem, 2.5vw, 1.25rem);
}


/* ============================= */
/* SMALL IPHONES */
/* ============================= */
@media (max-width: 375px) {
  .hero-section {
    min-height: 60vh;
    padding: 2.5rem 1rem;
  }
}




/* ============================= */
/* MUSIC SECTION */
/* ============================= */
.content {
  background-color: #000000fa;
  padding: 3rem 1.5rem;
  padding-bottom: 120px;   /* prevents player covering buttons */
}

/* ===== Mobile / Tablet Layout ===== */
.content-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  max-width: 1600px;
  margin: 0 auto;
  justify-items: center;
}

/* ===== Desktop Layout ===== */
@media (min-width: 768px) {
  .content-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;     /* centers incomplete last row */
    gap: 2.5rem;
    align-items: stretch;        /* equal height cards per row */
  }

  .contents {
    width: 260px;                /* fixed card width */
    display: flex;
    flex-direction: column;
    height: 100%;
  }
}

/* ===== Individual Card ===== */
.contents {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
}

/* ===== Cover Images ===== */
.photo img {
  width: 100%;
  max-width: 230px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  margin-bottom: 1rem;
  border-radius: 4px;
  border-color: #162676;
  border-style: solid;
  box-shadow: 0 2px 12px #162676;
}

/* ===== Title ===== */
.contents-headings {
  font-family: "Baskerville", serif;
  font-size: 1.4rem;
  font-weight: 500;
  color: #ffffff;
  line-height: 1.2;

  /* 🔑 Locks title row height for alignment */
  height: 2.0em;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  margin-bottom: 0.75rem;
}

/* ===== Text ===== */
.content-text {
  font-family: "Baskerville", serif;
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 0.5px;
  color: #ffffff;
  text-align: center;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* ===== Button Group ===== */
.buttons-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 100%;
  gap: 0.8rem;
  margin-top: auto;   /* pushes empty space below buttons */
}



/* ===== Buttons ===== */
.button {
  font-family: "Baskerville", serif;
  font-size: 1rem;
  color: #000;
  background-color: #ffffff;
  border-radius: 6px;
  border: none;
  padding: 0.65rem;
  width: 100%;
  max-width: 260px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.button:hover {
  background-color: #162676;
  transform: translateY(-2px);
  color: #ffffff;
  box-shadow: 0 4px 12px #162676;
}

/* ===== Expired Text ===== */
.expired-text {
  color: #ffffff;
}

/* ===== Force single column on small phones ===== */
@media (max-width: 768px) {
  .content {
    grid-template-columns: 1fr;
  }
}


/* HEADING */
.features-heading {
  display: flex;
  max-width: 1600px;
  margin: 0 auto;
  margin-bottom: 3rem;


}

.features-heading::before,
.features-heading::after {
  content: "";
  flex: 1;
  height: 1px;
}

.features-heading::before {
  background: linear-gradient(to right, transparent, #162676);
}

.features-heading::after {
  background: linear-gradient(to left, transparent, #162676);
}

.features-heading span {
  padding: 0px;
}