/*--------------------------------------------------------------
# Book Travel — Hero
# Full-bleed hero over the plane/cloud photograph: centered
# two-line heading, short explainer, single booking CTA.
--------------------------------------------------------------*/

/* ── Section wrapper ── */
.bt-hero {
	position: relative;
	min-height: 100dvh;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	text-align: center;
	/* Fallback if the photo fails — the copy is white either way. */
	background: var(--tpp-black);
}


/* ── Background ── */
.bt-hero__bg {
	position: absolute;
	inset: 0;
	pointer-events: none;
	/* Owen in two cabin windows either side of the sky (30 Nov 2026; it was
	   cloud&plane.webp, the same sky, cloud and plane without him). */
	background-image: url('../../images/plane-with-owen.webp');
	background-size: cover;
	background-position: bottom;
	background-repeat: no-repeat;
}

/* A soft navy glow behind the copy only. The heading's edges cross Owen's two
   cabin windows, whose bedding, wall and sweater are as light as the white
   text; the glow fades out before his faces, so the photo stays bright where
   it matters. Centred a touch low, where the copy sits. */
.bt-hero__overlay {
	position: absolute;
	inset: 0;
	background: radial-gradient(
		ellipse 38% 32% at 50% 52%,
		rgba(8, 32, 72, 0.55) 0%,
		rgba(8, 32, 72, 0.42) 55%,
		rgba(8, 32, 72, 0) 100%
	);
}

/* ── Container ── */
.bt-hero__container {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 780px;
	margin: 0 auto;
	padding: 140px var(--tpp-container-padding) 110px;

	/* Scroll-reveal */
	opacity: 0;
	transform: translateY(28px);
	transition:
		opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
		transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.bt-hero__container.is-visible {
	opacity: 1;
	transform: translateY(0);
}


/* ──────────────────────────────────────────────
   Heading
   ────────────────────────────────────────────── */

.bt-hero__heading {
	font-family: var(--tpp-font-heading);
	font-size: clamp(2.4rem, 5.5vw + 0.5rem, 4.25rem);
	font-weight: 700;
	line-height: 1.08;
	letter-spacing: -0.035em;
	color: var(--tpp-white);
	margin: 0 0 20px;
	text-wrap: balance;
	text-shadow: 0 1px 2px rgba(8, 32, 72, 0.35), 0 0 28px rgba(8, 32, 72, 0.45);
}

/* 75%, not 62%: still the quieter line, but it holds up where it crosses
   the light edges of the photo */
.bt-hero__heading-accent {
	color: rgba(255, 255, 255, 0.75);
}


/* ──────────────────────────────────────────────
   Subtitle
   ────────────────────────────────────────────── */

.bt-hero__subtitle {
	font-family: var(--tpp-font-body);
	font-size: clamp(0.9375rem, 1.1vw, 0.8625rem);
	font-weight: 400;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.85);
	margin: 0 auto 36px;
	max-width: 560px;
	text-shadow: 0 1px 2px rgba(8, 32, 72, 0.45), 0 0 18px rgba(8, 32, 72, 0.5);
}


/* ──────────────────────────────────────────────
   CTA
   ────────────────────────────────────────────── */

.bt-hero__actions {
	display: flex;
	align-items: center;
	justify-content: center;
}

/* A little bigger since 30 Nov 2026 (it was 15px text, 15px 34px padding),
   with the arrow chip on the right */
.bt-hero__cta {
	gap: 14px;
	padding: 8px 8px 8px 30px;
	font-size: 1.0625rem;
	border-radius: var(--tpp-radius-pill);
	background: var(--tpp-accent); /* orange key button, white until 29 Nov 2026 */
	border: 1.5px solid var(--tpp-accent);
}

.bt-hero__cta,
.bt-hero__cta:visited,
.bt-hero__cta:hover,
.bt-hero__cta:focus,
.bt-hero__cta:active {
	color: var(--tpp-black);
}

.bt-hero__cta:hover {
	background: var(--tpp-accent-dark);
	border-color: var(--tpp-accent-dark);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

/* The arrow chip: black with an orange arrow, like the site's other orange
   buttons that carry one (.ic-group__join, .ic-kit__join) */
.bt-hero__cta-icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--tpp-black);
	color: var(--tpp-accent);
	transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.bt-hero__cta-icon svg {
	width: 17px;
	height: 17px;
}

/* The form opens in a new tab, so the arrow tips up to ↗ on hover, as the
   service cards' arrows do */
.bt-hero__cta:hover .bt-hero__cta-icon,
.bt-hero__cta:focus-visible .bt-hero__cta-icon {
	transform: rotate(-45deg);
}

@media (prefers-reduced-motion: reduce) {
	.bt-hero__cta-icon {
		transition: none;
	}
}


/* ──────────────────────────────────────────────
   Responsive
   ────────────────────────────────────────────── */

/* Mobile (≤767px) */
@media screen and (max-width: 767px) {
	.bt-hero {
		min-height: 100vh;
		min-height: 100dvh;
	}

	.bt-hero__container {
		padding: 120px var(--tpp-container-padding) 88px;
	}

	.bt-hero__heading {
		font-size: clamp(2rem, 9vw, 2.75rem);
		margin-bottom: 16px;
	}

	.bt-hero__subtitle {
		margin-bottom: 28px;
	}

	.bt-hero__cta {
		width: 100%;
		justify-content: center;
	}
}

/* Small mobile (≤480px) */
@media screen and (max-width: 480px) {
	.bt-hero__container {
		padding: 104px var(--tpp-container-padding) 72px;
	}
}


/* ──────────────────────────────────────────────
   Reduced motion
   ────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
	.bt-hero__container {
		transition: none;
	}
}
