/* 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 0px;
}

/* 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; /* adjust this value up or down until perfect */
}


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

/* 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: center;
}

/* === RELEASES === */
.releases {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding-top: 30px;
}

/* Each release block */
.releases .release {
  display: inline-block;
  width: 500px;
  height: 500px;
	border: 1pt solid #f2ba57;
  /*border-radius: 10px;*/
  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;
}

/* Default images */
.releases .release1 {
  background-image: url('images/release1.png');
}
.releases .release2 {
  background-image: url('images/release2.png');
}

/* Hover (swap image) */
.releases .release1:hover {
  background-image: url('images/release1-hover.png');
}
.releases .release2:hover {
  background-image: url('images/release2-hover.png');
}

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

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

.releases .release:hover::after {
  opacity: 1;
}

/* Mobile scaling */
@media (max-width: 600px) {
  .releases .release {
    width: 180px;
    height: 180px;
  }
}

/* Responsive design */
@media (max-width: 900px) {
  body {
    padding: 0 0px;
  }
}

@media (max-width: 600px) {
  body {
    padding: 0 0px;
  }

  header {
    flex-direction: column;
    align-items: flex-start;
  }

  .socials {
    gap: 20px;
    justify-content: flex-start;
  }

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

  .releases a img {
    width: 180px;
  }
}
/* === 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%;                 /* span entire viewport width */
  box-sizing: border-box;
}

/* === TABLET VIEW (up to 900px) === */
@media (max-width: 900px) {
  body {
    padding: 0 0px;
  }

  /* Center logo + icons */
  header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }

  .logo img {
    height: 60px;
  }

  .socials {
    justify-content: center;
    gap: 25px;
    padding-right: 0;
  }

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

  /* Slightly smaller releases but still side-by-side */
  .releases {
    gap: 30px;
  }

  .releases .release {
    width: 350px;
    height: 350px;
  }

}

/* === MOBILE VIEW (up to 600px) === */
@media (max-width: 600px) {
  body {
    padding: 0 0px;
    overflow-x: hidden;
  }

  /* Centered logo and stacked icons */
  header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top:20px;
    padding-left:0px;
    padding-right:0px;
    gap: 15px;
  }

  .logo img {
    height: 50px;
  }

  .socials {
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    padding-right: 0;
  }

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

  /* Releases stacked vertically, full width */
  .releases {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding-top: 40px;
  }

  .releases .release {
    width: 90vw;          /* use most of screen width */
    max-width: 340px;     /* prevent oversized scaling */
    height: auto;
    aspect-ratio: 1 / 1;  /* keeps square shape */
    border-width: 1.5px;
  }

  .releases .release::after {
    bottom: -22px;
    font-size: 11px;
  }

}
