

.hero {
  height: calc(100vh - 72px - 48px); /* header + footer heights */
  position: relative;
  overflow: hidden;
  background: url('../assets/background-low.jpg') center/cover no-repeat;
}

.hero video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  pointer-events: none;
}

.hero video.fadein {
  opacity: 1;
}

#autoplayOverlay {
  transition: opacity 0.4s ease-in-out;
}

#autoplayOverlay.removing {
  opacity: 0;
  pointer-events: none;
}

#audioToggle {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 9999;
}

#audioToggle button {
  cursor: pointer;
  font-size: 10px;
  padding: 1px 2px;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: 1px solid #666;
  border-radius: 6px;
}

#audioBtn img {
  width: 28px;
  height: 28px;
  filter: invert(1); /* makes black icons white */
  transition: filter 0.2s ease;
}

#audioBtn:hover img {
  filter: invert(1) brightness(1.3);
}

