/* Upewnia się, że wideo zawsze zakrywa cały obszar */
.object-fit-cover {
  object-fit: cover;
}

/* Kontener wideo */
.video-bg {
  width: 100%;
  height: 100%;
  overflow: hidden;
  max-height: 700px; /* Możesz zmienić */
  position: relative;
}

/* Przycisk ON/OFF */
.video-sound-btn {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 20;
  background: rgba(255,255,255,0.75);
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 22px;
  cursor: pointer;
  transition: 0.2s ease;
}

.video-sound-btn:hover {
  background: rgba(255,255,255,1);
  
}



.card.card-transparent {
  --bs-card-bg: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}


.object-fit-cover {
  object-fit: cover;
}


.video-bg {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ABSOLUTNIE WAŻNE */
.video-sound-btn {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 9999;          /* <<< */
  pointer-events: auto;  /* <<< */
  background: rgba(255,255,255,0.8);
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 22px;
  cursor: pointer;
}

