/* ============================================================
   Airmarine — Hero CSS
   ============================================================ */

.air-hero {
  position: relative;
  min-height: min(100vh, 700px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--air-navy-dark);
  padding-top: 68px; /* header height */
}

/* ─── Background Image / Overlay ──────────────────────────── */
.air-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.air-hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  opacity: 0.85;
}

/* Gradient overlay — stronger on left (content area), lighter on right (image area) */
.air-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(20, 35, 46, 0.92) 0%,
    rgba(20, 35, 46, 0.75) 45%,
    rgba(20, 35, 46, 0.20) 75%,
    rgba(20, 35, 46, 0.10) 100%
  );
}

/* CSS-only deep ocean background when no image */
.air-hero--no-image .air-hero__bg {
  background: 
    radial-gradient(ellipse at 70% 60%, rgba(26, 55, 80, 0.9) 0%, transparent 60%),
    radial-gradient(ellipse at 30% 40%, rgba(0, 60, 70, 0.6) 0%, transparent 50%),
    linear-gradient(160deg, #0d1f2d 0%, #1a3a4a 35%, #0f2535 70%, #091820 100%);
}

/* Offshore platform CSS art (when no real image) */
.air-hero__platform {
  position: absolute;
  right: 5%;
  bottom: 0;
  width: 52%;
  height: 90%;
  pointer-events: none;
  overflow: hidden;
}

/* Water reflection effect */
.air-hero__water {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 35%;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(0, 80, 100, 0.15) 40%,
    rgba(0, 60, 80, 0.25) 100%
  );
  overflow: hidden;
}

.air-hero__water::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    180deg,
    transparent 0px,
    transparent 6px,
    rgba(255,255,255,0.025) 6px,
    rgba(255,255,255,0.025) 7px
  );
  animation: waterRipple 8s ease-in-out infinite alternate;
}

@keyframes waterRipple {
  from { transform: translateY(0) scaleX(1); }
  to   { transform: translateY(3px) scaleX(1.02); }
}

/* Stars */
.air-hero__stars {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(1px 1px at 10% 15%, rgba(255,255,255,0.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 25% 8%, rgba(255,255,255,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 40% 20%, rgba(255,255,255,0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 55% 5%, rgba(255,255,255,0.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 70% 18%, rgba(255,255,255,0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 85% 10%, rgba(255,255,255,0.4) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 15% 35%, rgba(255,255,255,0.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 30% 28%, rgba(255,255,255,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 60% 25%, rgba(255,255,255,0.35) 0%, transparent 100%),
    radial-gradient(1px 1px at 78% 30%, rgba(255,255,255,0.3) 0%, transparent 100%);
  pointer-events: none;
}

/* ─── Content ────────────────────────────────────────────── */
.air-hero__inner {
  position: relative;
  z-index: 1;
  padding-block: clamp(80px, 10vh, 140px);
}

.air-hero__content {
  max-width: 560px;
}

.air-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--air-teal-light);
}

.air-hero__eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--air-teal);
}

.air-hero__title {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--air-white);
  text-transform: uppercase;
  margin-bottom: 24px;
  white-space: pre-line;
}

.air-hero__title .highlight {
  color: var(--air-teal-light);
}

.air-hero__subtitle {
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  font-weight: 400;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 40px;
  max-width: 440px;
}

.air-hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* ─── Scroll Indicator ───────────────────────────────────── */
.air-hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.35);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.air-hero__scroll-line {
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.35), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.35; transform: scaleY(1); }
  50% { opacity: 0.7; transform: scaleY(1.1); }
}

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 1023px) {
  .air-hero {
    min-height: auto;
    padding-top: 68px;
  }

  .air-hero__overlay {
    background: linear-gradient(
      180deg,
      rgba(20, 35, 46, 0.88) 0%,
      rgba(20, 35, 46, 0.70) 60%,
      rgba(20, 35, 46, 0.55) 100%
    );
  }

  .air-hero__bg-img {
    object-position: 65% center;
  }
}

@media (max-width: 767px) {
  .air-hero {
    align-items: flex-start;
  }

  .air-hero__inner {
    padding-block: 64px 80px;
  }

  .air-hero__content {
    max-width: 100%;
  }

  .air-hero__title {
    font-size: clamp(1.9rem, 8vw, 2.8rem);
    white-space: normal;
  }

  .air-hero__subtitle {
    max-width: 100%;
  }

  .air-hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .air-hero__scroll {
    display: none;
  }
}
