/* Base styles */
body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  background-color: #dfeefc;
  font-family: sans-serif;
}

/* Container for background and gallery */
.hero-container {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Background logo — inner pages (no animation, always visible) */
.background-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.08;
  max-width: 80%;
  height: auto;
  z-index: 0;
  pointer-events: none;
  animation: none;
}

/* ─── Video gallery ─── */
.video-gallery {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 24px;
  padding: 20px;
  max-width: 900px;
}

.video-thumb img {
  width: 320px;
  height: auto;
  border-radius: 6px;
  display: block;
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0;
  animation: fadeIn 1.5s ease-in-out forwards;
}

.video-thumb img:hover {
  transform: scale(1.04);
  opacity: 1 !important;
}

/* ─── Photo gallery ─── */
.photo-gallery {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 20px;
  max-width: 960px;
}

.photo-thumb img {
  width: 280px;
  height: auto;
  border-radius: 4px;
  display: block;
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0;
  animation: fadeIn 1.5s ease-in-out forwards;
}

.photo-thumb img:hover {
  transform: scale(1.04);
  opacity: 1 !important;
}

.gallery-placeholder {
  font-family: 'Smooch Sans', sans-serif;
  color: #888;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  opacity: 0;
  animation: fadeIn 2s ease-in-out forwards;
}

/* ─── Bio ─── */
.bio-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 540px;
  padding: 40px 32px;
  text-align: center;
}

.bio-text p {
  font-family: 'Smooch Sans', sans-serif;
  font-size: 1.25rem;
  line-height: 1.75;
  color: #333;
  margin: 0 0 1.2em;
  opacity: 0;
  animation: fadeIn 2s ease-in-out forwards;
}

.bio-text p:nth-child(2) {
  animation-delay: 0.4s;
}

.bio-contact a {
  font-family: 'Smooch Sans', sans-serif;
  color: #555;
  text-decoration: none;
  border-bottom: 1px solid #aaa;
  transition: color 0.2s ease;
}

.bio-contact a:hover {
  color: #111;
}

/* ─── Bottom navigation ─── */
.bottom-nav {
  position: fixed;
  bottom: 20px;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 2;
}

.bottom-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 40px;
}

.bottom-nav a {
  font-family: 'Smooch Sans', sans-serif;
  text-decoration: none;
  color: #333;
  font-size: 1.2rem;
  opacity: 0;
  animation: fadeIn 2s ease-in-out forwards;
  transition: opacity 0.2s ease;
}

.bottom-nav a:hover {
  opacity: 0.5 !important;
}

.bottom-nav a.active {
  opacity: 0.9 !important;
  border-bottom: 1px solid #333;
}

/* ─── Fade-in animation ─── */
@keyframes fadeIn {
  to {
    opacity: 0.8;
  }
}

/* ─── Logo (home page) ─── */
.logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 411px;
  height: 411px;
  opacity: 0;
  animation: fadeIn 2s ease-in-out forwards;
  z-index: 1;
}

/* ─── Music toggle ─── */
.music-toggle {
  position: absolute;
  bottom: 60px;
  left: 30px;
  z-index: 3;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.music-toggle img {
  width: 28px;
  height: 28px;
  opacity: 0;
  animation: fadeIn 2s ease-in-out forwards;
}

.music-toggle:hover img {
  opacity: 0.5 !important;
}
