/* ===== Hero Section Video ===== */
.video-hero {
  position: relative;
  width: 100%;
  height: 80vh; /* Adjust to your desired height */
  overflow: hidden;
}


.video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000;
  z-index: -1;
}

.hero-video-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; 
  filter: blur(3.5px) brightness(0.8); transform: scale(1.1); } /* Main high-quality layer (pure aspect ratio) */


 .hero-video { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(1.08);
   /* mild zoom, keeps quality */ width: auto; height: auto; max-width: none; max-height: none; object-fit: contain; 
   transition: transform 0.6s ease, filter 0.4s ease; filter: brightness(1); /* keep brightness natural */ z-index: -1; } 
   /* Slightly more zoom on very wide screens for balanced fill */
    @media (min-aspect-ratio: 21/9) { .hero-video { transform: translate(-50%, -50%) scale(1.12); } } 
    /* Normal size on mobile/tall screens */ @media (max-width: 768px) { .hero-video { transform: translate(-50%, -50%) scale(1); } }


/* ===== Overlay (content area over video) ===== */
.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: #fff;
  text-align: center;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.2); /* slight overlay tint */
}

/* ===== Navbar inside the overlay ===== */
.navbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 5;
  box-sizing: border-box;
}

.navbar .brand img {
  height: 45px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #fff;
  cursor: pointer;
}

/* ===== Nav links ===== */
.nav-links {
  list-style: none;
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.nav-links li a:hover {
  opacity: 0.8;
}

.close-menu {
  display: none;
  background: none;
  border: none;
  font-size: 1.2rem;
  color: white;
  cursor: pointer;
}

/* ===== Headings inside overlay ===== */
.video-overlay h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 80px 0 10px; /* top margin pushes below navbar */
  font-family: 'Times New Roman', Times, serif;
}

.video-overlay p {
  font-size: 1.2rem;
  font-weight: 400;
  font-family: 'Poppins', Helvetica, Arial, sans-serif;
}

/* ===== Responsive adjustments ===== */
@media (max-width: 768px) {
  .video-overlay h1 {
    font-size: 1.8rem;
  }

  .video-overlay p {
    font-size: 1rem;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.3s ease;
  }

  .nav-links.show {
    right: 0;
  }

  .nav-toggle {
    display: block;
  }

  .close-menu {
    display: block;
    position: absolute;
    top: 20px;
    right: 25px;
  }

  .navbar .brand img {
    height: 35px;
  }
}

/* ===== Optional Snow Placeholder ===== */
.snow {
  position: absolute;
  pointer-events: none;
}
