/* Global reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body & layout */
body {
  font-family: Arial, sans-serif;
  background-image: url('images/background.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 0;
}

/* Header layout */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 80px;
}

.logo img {
  display: block;
  height: 60px;
  width: auto;
  vertical-align: middle;
  position: relative;
  top: 6px;
}

/* Social icons container */
.socials {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 35px;
  flex-wrap: nowrap;
  padding-right: 0;
}

/* Each icon block */
.socials a {
  display: inline-block;
  width: 40px;
  height: 40px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.3s ease;
  position: relative;
}

footer {
  margin-top: 20px;
}

/* Default icons */
.socials a.record { background-image: url('images/record-icon.png'); }
.socials a.bandcamp { background-image: url('images/bandcamp-icon.png'); }
.socials a.spotify { background-image: url('images/spotify-icon.png'); }
.socials a.applemusic { background-image: url('images/applemusic-icon.png'); }
.socials a.instagram { background-image: url('images/instagram-icon.png'); }
.socials a.facebook { background-image: url('images/facebook-icon.png'); }

/* Hover icons */
.socials a.record:hover { background-image: url('images/record-icon-hover.png'); }
.socials a.bandcamp:hover { background-image: url('images/bandcamp-icon-hover.png'); }
.socials a.spotify:hover { background-image: url('images/spotify-icon-hover.png'); }
.socials a.applemusic:hover { background-image: url('images/applemusic-icon-hover.png'); }
.socials a.instagram:hover { background-image: url('images/instagram-icon-hover.png'); }
.socials a.facebook:hover { background-image: url('images/facebook-icon-hover.png'); }

/* Hover animation */
.socials a:hover {
  transform: scale(1.15);
}

/* Tooltip (appears on hover without layout shift) */
.socials a::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0);
  color: #fff;
  font-family: 'Libre Baskerville', serif;
  font-size: 12px;
  padding: 3px 6px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.socials a:hover::after {
  opacity: 1;
}

/* Main section */
main {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: stretch;
  padding: 30px 0 0;
}

/* Releases layout */
.releases {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 52px;
  width: 100%;
  flex: 1;
}

.featured-release {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.release-copy,
.archive-title {
  color: #f2ba57;
  font-family: Arial, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.55);
}

.release-copy {
  font-size: 1.1rem;
}

.archive-title {
  font-size: 0.9rem;
}

.release-archive {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  gap: 22px;
  padding: 34px 28px 38px;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.72) 0%, rgba(0, 0, 0, 0.88) 100%);
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.release-archive > * {
  width: min(900px, 100%);
}

.release-grid {
  width: min(900px, 100%);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 250px));
  justify-content: center;
  gap: 24px;
}

.release-card {
  display: flex;
  justify-content: center;
}

/* Each release block */
.release {
  display: inline-block;
  border: 1pt solid #f2ba57;
  background-size: cover;
  background-position: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.release-featured {
  width: 500px;
  height: 500px;
}

.release-small {
  width: 250px;
  height: 250px;
}

/* Default images */
.nowhere-to-go {
  background-image: url('images/release1.png?v=20260423');
}

.turn-of-the-tide {
  background-image: url('images/release2.png?v=20260423');
}

.the-boy-who-cried-wolf {
  background-image: url('images/release3.png?v=20260423');
}

/* Hover effect */
.release:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.6);
}

/* Responsive design */
@media (max-width: 900px) {
  header {
    padding: 20px 30px;
  }

  .release-featured {
    width: min(500px, 78vw);
    height: min(500px, 78vw);
  }

  .release-archive > *,
  .release-grid {
    width: min(700px, 100%);
  }
}

@media (max-width: 600px) {
  header {
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }

  .socials {
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
  }

  .socials a {
    width: 35px;
    height: 35px;
  }

  .releases {
    gap: 40px;
  }

  .release-archive {
    padding: 26px 18px 30px;
    gap: 18px;
  }

  .release-archive > *,
  .release-grid {
    width: 100%;
  }

  .release-copy {
    font-size: 0.85rem;
    padding: 0 20px;
  }

  .release-featured {
    width: min(320px, 82vw);
    height: min(320px, 82vw);
  }

  .release-grid {
    grid-template-columns: 1fr;
  }

  .release-small {
    width: min(220px, 72vw);
    height: min(220px, 72vw);
  }
}

/* === FOOTER === */
footer {
  background-color: #000;
  color: #fff;
  text-align: center;
  padding: 20px 0;
  font-family: 'Libre Baskerville', serif;
  font-size: 14px;
  letter-spacing: 0.5px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  width: 100%;
  box-sizing: border-box;
}
