/* ==== FULLY RESPONSIVE BACKGROUND ==== */
html, body {
  height: 100%;
  margin: 0;
  font-family: 'Helvetica Neue', sans-serif;
  overflow: hidden;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,.6);
  gap: 1rem;                     /* space between elements */
}

.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('/images/header-background.jpg') center center / contain no-repeat;
  background-attachment: fixed;
  z-index: -1;
}

/* ==== TEXT & ICONS ==== */
h1 { font-size: 4rem; margin: 0; }
.slogan { font-size: 1.4rem; margin: .5rem 0 1.5rem; }

.social { 
  display: flex; 
  gap: 1.5rem; 
  margin: 1.5rem 0; 
}
.social a { 
  display: inline-block; 
  transition: transform .2s, filter .2s; 
}
.social a:hover { 
  transform: scale(1.15); 
  filter: brightness(1.3); 
}
.icon { 
  width: 48px; 
  height: 48px; 
  filter: drop-shadow(0 1px 3px rgba(0,0,0,.6)); 
}

#quote {
font-size: 1.6rem;
  line-height: 1.5;
  font-style: italic;
  text-align: center;
  max-width: 90vw;
  margin: 1.5rem auto;
  padding: 0 1rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  opacity: 1;
  transition: opacity 0.6s ease;   /* smooth fade */
  min-height: 3em;                /* prevent layout jump */
  display: flex;
  align-items: center;
  justify-content: center;

  @media (min-width: 768px) {
     #quote {
       font-size: 1.8rem;
       max-width: 85vw;
     }
  }

  @media (min-width: 1200px) {
     #quote {
       font-size: 2rem;
       max-width: 80vw;
     }
  }
}

#musicToggle {
  background: rgba(0, 0, 0, 0.75);
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
  padding: 0.9rem 2rem;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  z-index: 10;
  min-width: 140px;
  text-align: center;
}

#musicToggle:hover {
  background: rgba(0, 0, 0, 0.75);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

#musicToggle.playing {
  background: rgba(0, 0, 0, 0.75);   /* Crimson red when playing */
  border: 2px solid #FFFFFF;
}

#musicToggle.playing:hover {
  background: rgba(0, 0, 0, 0.75);
}
