.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;

  /* keep your centering */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  background-color: black;
}
/* Allow overflow during animation so the logo can scale/translate outside of .hero */
.hero.animating { overflow: visible; }

/* BACKGROUND VIDEO */
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;   /* crop video */
  z-index: 0;          /* base layer */
  transition: opacity 600ms ease;
}

/* GRADIENT OVERLAY ABOVE VIDEO */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    rgba(0, 0, 0, 0.7),
    rgba(0, 0, 0, 0.4)
  );
  z-index: 1;
  transition: opacity 600ms ease;
}

/* CONTENT ABOVE OVERLAY */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  will-change: opacity, transform;
}

.hero-logo {
  width: 200px;
  max-width: 80%;
  margin: 0 auto 1rem auto;
  display: block;
  position: relative;
  z-index: 3;
  transform-origin: center center; 
  will-change: transform;
  transform: translate3d(0,0,0) scale(1);
  backface-visibility: hidden;
}

.hero-logo-fade-in {
  opacity: 0;
  animation: heroLogoFadeIn 1s forwards;
}

@keyframes heroLogoFadeIn {
  to {
    opacity: 1;
  }
}


.hero-subtitle {
  color: #ffffff;
  font-size: 1.5rem;
  margin-top: 1rem;
  font-weight: bold;
}

/* BUTTONS */
.hero-buttons {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Primary Button */
.btn-listen {
  padding: 1rem 2rem;
  background: linear-gradient(to right, #7c3aed, #ec4899);
  color: white;
  font-weight: bold;
  font-size: 1rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 15px rgba(124, 58, 237, 0.4);
  transition: all 0.3s ease;
}

.btn-listen:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 20px rgba(124, 58, 237, 0.6);
}

/* Secondary Button */
.btn-tour {
  padding: 1rem 2rem;
  border: 2px solid white;
  color: white;
  font-weight: bold;
  font-size: 1rem;
  border-radius: 9999px;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-tour:hover {
  background: white;
  color: black;
  transform: scale(1.05);
}

/* Fade-in Animation */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  cursor: pointer;
  z-index: 2;
}

/* Bottom fade overlay on hero */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 10rem;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, #0c0c0c 100%);
  z-index: 1;
  pointer-events: none;
}

#hero {
  min-height: 100vh;
}
