/* Hero video container styles */
.hero-video-container {
  position: relative;
  width: 100%;
  height: 90vh;
  overflow: hidden;
  z-index: 1;
}

/* Video element styles for full responsive coverage */
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translateX(-50%) translateY(-50%);
  object-fit: cover;
  z-index: -1;
}

/* Fallback background for browsers that don't support video */
.video-fallback {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(image/victoria-inner-harbor.jpg);
  background-size: cover;
  background-position: center;
  z-index: -2;
}

/* Overlay to improve text readability on the video */
.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

/* Banner content positioning */
.banner-content {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-video-container {
    height: 80vh;
  }
  
  .banner-content h1 {
    font-size: 1.8rem;
  }
  
  .banner-content h5 {
    font-size: 1.2rem;
  }
}

@media (max-width: 320px) {
  .banner-content {
    padding: 10px;
  }
}