/* Import HK Modular font (optional) */
@import url('https://fonts.googleapis.com/css2?family=HK+Modular:wght@400;700&display=swap');

/* HERO VIDEO CONTAINER */
.hero-video {
  position: relative;      /* for overlay positioning */
  width: 100%;             /* full width of parent */
  height: 90vh;            /* reduced height */
  overflow: hidden;
  background-color: #000;  /* fallback */
}

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

/* OVERLAY with sharp top gradient */
.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%, 
    rgba(0, 0, 0, 0.85) 5%, 
    rgba(0, 0, 0, 0.4) 18%, 
    rgba(0, 0, 0, 0) 28%, 
    rgba(0, 0, 0, 0) 100%
  );
  z-index: 2;
}

/* TEXT CONTAINER (top-right) */
.hero-text {
  text-align: right;
  padding-top: 15px;
  padding-right: 40px;
  color: #fff;
}

/* MAIN HEADING */
.hero-title {
  font-family: 'HK Modular', sans-serif;
  font-size: clamp(2rem, 3.5vw, 4rem);
  font-weight: 700;
  text-transform: uppercase;
  margin: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

/* SUBTITLE TEXT */
.hero-subtitle {
  font-family: 'HK Modular', sans-serif;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 400;
  line-height: 1.5;
  margin-top: 10px; /* spacing between title and subtitle */
  opacity: 0.9;
}

/* Ensure hero container pushes content below */
.hero-video + * {
  position: relative;
  z-index: 1;
}

/* HERO BUTTON (bottom-left overlay) */
.hero-button {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background-color: var(--contrast-2);
  color: #fff;
  padding: 12px 24px;
  border-radius: 20px;
  font-family: 'HK Modular', sans-serif;
  font-weight: 600;
  text-decoration: none;
  z-index: 3;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

/* Hover effect */
.hero-button:hover {
  background-color: rgba(255, 255, 255, 0.2); /* optional hover tone */
  transform: translateY(-2px);
}


