.product-1 {
  height: calc(var(--vh) * 100);
  position: relative;
  background: rgba(0, 0, 0, 0.527);
  color: white;
  width: 100vw !important;
}

.product-2 {
  height: calc(var(--vh) * 100);
  background: rgba(20, 20, 20, 0.75);
  position: relative;
  color: white;
  width: 100vw !important;
}

.product-custom {
  height: calc(var(--vh) * 100);
  position: relative;
  background: #0a0a0af1;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  color: white;
  width: 100vw !important;
}

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

#bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

/* Gradient overlays */
.video-section::before,
.video-section::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 15%; /* adjust height for stronger effect */
  pointer-events: none; /* so it doesn’t block clicks */
  z-index: 1;
}

.video-section::before {
  top: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), transparent);
}

.video-section::after {
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
}

.video-overlay {
  position: absolute;
  top: 50%;
  left: 5%;
  transform: translateY(-50%);
  color: white;
  z-index: 2; /* above gradients */
}

.video-overlay h1,
.video-overlay p {
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
}

.video-overlay h1 {
  font-size: clamp(1.8rem, 2vw + 2rem, 3.5rem);
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.video-overlay p {
  font-size: clamp(1rem, 1.2vw + 0.5rem, 1.5rem);
  font-weight: 400;
  margin: 0;
}
