/* Hero Video Section */
.hero-video-section {
  position: relative;
  width: 100%;
  height: 60vh; /* Adjust height as needed */
  min-height: 400px;
  max-height: 600px;
  overflow: hidden;
  background-color: var(--background-color);
}

.hero-video-container {
  position: relative;
  width: 100%;
  height: 100%;
}

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

.hero-video-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--text-color);
  color: var(--background-color);
  font-family: var(--font2);
  font-size: 18px;
}

.hero-video-fallback img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.1) 50%,
    rgba(0, 0, 0, 0.3) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-video-text {
  color: white;
  max-width: 800px;
  padding: 0 42px;
}

.hero-video-text h1 {
  font-family: var(--font2);
  font-size: 48px;
  line-height: 1.2;
  margin-bottom: 16px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-video-text p {
  font-family: var(--font1);
  font-size: 20px;
  line-height: 1.4;
  margin: 0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-video-section {
    height: 40vh;
    min-height: 300px;
  }

  .hero-video-text h1 {
    font-size: 32px;
  }

  .hero-video-text p {
    font-size: 16px;
  }

  .hero-video-text {
    padding: 0 20px;
  }
}

@media (max-width: 480px) {
  .hero-video-section {
    height: 35vh;
    min-height: 250px;
  }

  .hero-video-text h1 {
    font-size: 24px;
  }

  .hero-video-text p {
    font-size: 14px;
  }
}
