/* ------------------------------------------------
   HERO VIDEO SECTION (BioJournal)
--------------------------------------------------*/

.hero-section {
  position: relative;
  width: 100%;
  height:100vh;
  overflow: hidden;
  z-index: 0;
}

/* Background video */
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: crisp-edges;
  image-rendering: high-quality;
  z-index: 1;
}

/* Dark gradient overlay for readability */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.3),
    rgba(0,0,0,0.6)
  );
  z-index: 2;
}

/* Center hero content */
.hero-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 100%;
  padding: 0 20px;
}

/* Hero text */
/* -------------------------------------------
   HERO TITLE (Minimal, Professional)
------------------------------------------- */
.hero-title {
  font-family: 'Fira Code', monospace;
  font-size: 56px;
  font-weight: 600;
  letter-spacing: -0.5px;

  color: #ffffff;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.55);

  margin: 0;
  padding: 0;
  line-height: 1.15;

  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 1.4s ease forwards;
}

/* Subtitle */
.hero-subtitle {
  margin-top: 18px;
  font-size: 20px;
  font-weight: 300;
  letter-spacing: 1px;

  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);

  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 1.6s ease forwards;
}

/* Fade-up animation */
@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 34px;
  }
  .hero-subtitle {
    font-size: 16px;
    letter-spacing: 0.5px;
  }
}


/* Mobile adjustments */
@media (max-width: 768px) {
  .hero-title {
    font-size: 40px;
  }
  .hero-subtitle {
    font-size: 16px;
  }
}
/* Fade-out at bottom of hero video */
.hero-fade-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30%; /* adjust fade height */
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 100%);
  z-index: 3;
  pointer-events: none; /* so it doesn't block clicks */
}
