/* ==========================================================================
   Gujarati Samaj New Zealand — Home page only
   Shared components live in components.css; this file holds only the
   full-width hero banner, which is unique to the Home page.
   ========================================================================== */

.home-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(540px, 78vh, 760px);
  padding-block: var(--space-20);
  overflow: hidden;
  background-color: var(--color-accent);
  color: var(--color-white);
  isolation: isolate;
}

.home-hero__image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}

/* Readability overlay: charcoal from the logo, weighted to the text side */
.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(43, 43, 43, 0.86) 0%,
    rgba(43, 43, 43, 0.7) 42%,
    rgba(43, 43, 43, 0.2) 100%
  );
}

/* Brand strip along the bottom edge (orange | blue, as in the footer) */
.home-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary) 0 50%, var(--color-secondary) 50% 100%);
}

.home-hero__content {
  max-width: 640px;
}

.home-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: var(--weight-heading);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.home-hero__eyebrow::before {
  content: "";
  width: 32px;
  height: 2px;
  background-color: var(--color-primary);
}

.home-hero__title {
  margin-bottom: var(--space-5);
  font-size: clamp(2.375rem, 1.5rem + 3.4vw, 4rem);
  font-weight: var(--weight-heading);
  line-height: 1.08;
  color: var(--color-white);
}

.home-hero__title-accent {
  display: block;
  color: var(--color-primary);
}

.home-hero__text {
  max-width: 560px;
  margin-bottom: var(--space-8);
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
}

.home-hero :focus-visible {
  outline-color: var(--color-primary);
}
