@import url('https://fonts.googleapis.com/css2?family=Libertinus+Serif+Display&family=Zeyada&display=swap');

/* Reset */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow-x: hidden;
}

/* Make sure the main page content takes full height */
body > main {
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

/* Remove any bottom margins/padding */
.quarto-container {
  margin: 0 !important;
  padding: 0 !important;
}

/* Gradient overlay for fade effect */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.3) 0%,
    rgba(0,0,0,0) 20%,
    rgba(0,0,0,0) 80%,
    rgba(0,0,0,0.3) 100%
  );
  pointer-events: none;
  z-index: 1;
}

/* Homepage title centered */
.name-title {
  font-family: 'Zeyada', cursive;
  font-size: 6em;
  color: white;
  text-align: center;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-shadow: 
    2px 2px 4px rgba(0,0,0,0.8),
    0 0 10px rgba(0,0,0,0.7),
    0 0 20px rgba(0,0,0,0.6);
  z-index: 2;
}

/* Navbar base styling */
.navbar {
  background: transparent !important;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 10;
  box-shadow: none;
}

/* Hide top-left brand/logo */
.navbar-brand {
  display: none !important;
}

/* Center navbar links on desktop */
@media screen and (min-width: 769px) {
  .navbar-collapse {
    display: flex !important;
    justify-content: center !important;
    width: 100%;
  }

  .navbar-nav {
    margin-left: 0 !important;
    margin-right: 0 !important;
    display: flex;
    justify-content: center;
    width: auto;
  }
}

/* Navbar link style (applies to all screen sizes) */
.navbar-nav .nav-link {
  font-family: 'Libertinus Serif Display', serif;
  font-size: 1.2em;
  font-weight: 400;
  color: white !important;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
  margin: 0 15px;
  transition: color 0.3s;
}

.navbar-nav .nav-link:hover {
  color: #f0c8ff !important; /* soft pastel highlight */
}


/* Footer styling */
.nav-footer,
.nav-footer p,
.nav-footer .nav-footer-center {
  color: white !important;
  background: transparent !important;
  font-family: 'Libertinus Serif Display', serif;
  font-size: 1em;
  font-weight: 300;
  text-shadow: 
    2px 2px 4px rgba(0,0,0,0.8),
    0 0 10px rgba(0,0,0,0.7),
    0 0 20px rgba(0,0,0,0.6);
}

.sign-up {
  font-family: 'Libertinus Serif Display', serif; /* or Libertinus if imported */
  color: #4E3524;
  text-align: center;
  font-size: 2.5em;
  margin-bottom: 10px;
}


.shows-title {
  font-family: 'Libertinus Serif Display', serif; /* or Libertinus if imported */
  color: white;
  text-align: center;
  font-size: 2.5em;
  margin-bottom: 10px;
}

.shows-text {
  font-family: 'Libertinus Serif Display', serif; /* or Libertinus if imported */
  color: white;
  text-align: center;
  font-size: 1.5em;
  margin-bottom: 10px;
}

.music-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  padding: 40px;
  text-align: center;
}

/* Each song card */
.song-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Cover image */
.song-cover {
  width: 100%;
  max-width: 250px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

.song-cover:hover {
  transform: scale(1.05);
}

/* Song title */
.song-title {
  margin-top: 6px;
  font-family: 'Libertinus Serif Display', serif;
  font-size: 1.2em;
  color: white;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}

/* Streaming link */
.stream-link {
  margin-top: 3px;
  font-family: 'Libertinus Serif Display', serif;
  font-size: 1em;
  color: black;
  text-decoration: none;
  transition: color 0.2s ease;
}

.stream-link:hover {
  color: black;
  text-decoration: underline;
}

.release-date {
  margin-top: 3px;
  font-family: 'Libertinus Serif Display', serif;
  font-size: 1em;
  color: black;
  text-decoration: none;
}

@media screen and (max-width: 768px) {

  /* Animate the mobile menu when it opens */
  .navbar-collapse {
    transition: max-height 0.3s ease, opacity 0.3s ease;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
  }

  .navbar-collapse.show {
    max-height: 500px; /* adjust if menu has more links */
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.75); /* slightly less opaque */
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 999;
    display: block !important;
  }

  .navbar-collapse.show .navbar-nav {
    flex-direction: column;
    align-items: center;
  }

  .navbar-collapse.show .nav-link {
    font-size: 1.4em; /* slightly larger for mobile */
    margin: 10px 0;
  }
}