/* ============================
   DC48 Kenya – Home Hero
   ============================ */

:root {
  --nav-h: 96px;          /* updated by JS, used on inner pages */
  --ticker-h: 64px;       /* approximate height of the running band */
}

/* HOME HERO */
.hero-landing {
  position: relative;
  width: 100%;

  /* Hero + ticker = full viewport.
     Navbar overlays, so we DO NOT subtract --nav-h here. */
  min-height: calc(100vh - var(--ticker-h, 72px));
  min-height: calc(100dvh - var(--ticker-h, 72px));

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  color: #ffffff;
  background-color: #000; /* or your video/image background */
  overflow: hidden;
}


/* Video fills the entire hero area */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Dark overlay to make text readable */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.85));
  z-index: 1;
}

/* Text content */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 1.5rem 3rem;
}

/* Small top label */
.hero-kicker {
  font-size: 0.9rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Main headline */
.hero-title {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 1.1rem;
}

/* Subtext */
.hero-subtitle {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  max-width: 900px;
  margin: 0 auto 2rem;
  color: rgba(255, 255, 255, 0.8);
  font-family: 'Geneva', Tahoma, Verdana, sans-serif
}

/* Buttons row */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* Base button style */
.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.9rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

/* Primary CTA */
.hero-btn-primary {
  background: #087091;
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  font-family: 'Geneva', Tahoma, Verdana, sans-serif
}

.hero-btn-primary:hover,
.hero-btn-primary:focus-visible {
  background: #006f61;
  transform: translateY(-1px);
}

/* Ghost / outline CTA */
.hero-btn-ghost {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.7);
  font-family: 'Geneva', Tahoma, Verdana, sans-serif
}

.hero-btn-ghost:hover,
.hero-btn-ghost:focus-visible {
  /* background: rgba(255, 255, 255, 0.12); */
  background: #006f61;
}

/* ============================
   Responsive tweaks
   ============================ */

@media (max-width: 900px) {
  .hero-landing {
    min-height: calc(100vh - var(--nav-h, 80px));
  }

  .hero-content {
    padding: 1.5rem 1.25rem 3rem;
  }
}

@media (max-width: 600px) {
  .hero-landing {
    align-items: flex-end;          /* push content slightly down like Visit Nigeria */
  }

  .hero-content {
    padding-bottom: 4.5rem;
  }

  .hero-title {
    font-size: clamp(2rem, 7vw, 2.6rem);
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-btn {
    width: 100%;
    max-width: 320px;
  }
}
