/**
 * Travel Tours — premium homepage
 */

:root {
	--tt-header-offset: 116px;
}

.site-main--home {
	padding: 0;
}

.tt-home--premium {
	overflow-x: hidden;
}

/* ── Hero slider ───────────────────────────────────────────── */
.tt-premium-hero {
	position: relative;
	height: 100vh;
	height: 100dvh;
	margin-top: 0;
	color: #fff;
	isolation: isolate;
}

.tt-premium-hero__swiper,
.tt-premium-hero__swiper .swiper-wrapper,
.tt-premium-hero__swiper .swiper-slide {
	height: 100%;
}

.tt-premium-hero__media {
	position: absolute;
	inset: 0;
	overflow: hidden;
}

.tt-premium-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1);
}

.tt-premium-hero__overlay {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(115deg, rgba(0, 0, 0, 0.52) 0%, rgba(0, 0, 0, 0.14) 40%, transparent 72%),
		linear-gradient(180deg, transparent 0%, transparent 18%, rgba(0, 0, 0, 0.42) 100%);
}

.is-slide-animating .tt-premium-hero__media img {
	animation: ttPremiumHeroKenBurns 9s ease-out forwards;
}

@keyframes ttPremiumHeroKenBurns {
	from {
		transform: scale(1);
	}
	to {
		transform: scale(1.12);
	}
}

.tt-premium-hero__layout {
	position: relative;
	z-index: 2;
	height: 100%;
	display: flex;
	align-items: center;
	padding:
		calc(var(--tt-header-height, var(--tt-header-offset)) + clamp(2rem, 5vw, 4rem))
		clamp(1.25rem, 4vw, 4rem)
		clamp(5rem, 10vw, 7rem);
}

.tt-premium-hero__copy {
	max-width: min(760px, 100%);
	margin-left: clamp(0px, 12vw, 180px);
}

.tt-premium-hero__title {
	margin: 0 0 1.25rem;
	font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
	font-weight: 300;
	line-height: 1.02;
	letter-spacing: -0.03em;
}

.tt-premium-hero__line {
	display: block;
	overflow: hidden;
}

.tt-premium-hero__word {
	display: inline-block;
	margin-right: 0.22em;
	font-size: clamp(2.4rem, 6.5vw, 5.5rem);
	opacity: 0;
	transform: translateY(110%);
}

.tt-premium-hero__word--strong {
	font-family: "Playfair Display", Georgia, serif;
	font-weight: 700;
	font-style: italic;
}

.is-slide-animating .tt-premium-hero__word {
	animation: ttPremiumHeroWordIn 0.95s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.is-slide-animating .tt-premium-hero__line:nth-child(1) .tt-premium-hero__word:nth-child(1) { animation-delay: 0.12s; }
.is-slide-animating .tt-premium-hero__line:nth-child(1) .tt-premium-hero__word:nth-child(2) { animation-delay: 0.22s; }
.is-slide-animating .tt-premium-hero__line:nth-child(2) .tt-premium-hero__word:nth-child(1) { animation-delay: 0.32s; }
.is-slide-animating .tt-premium-hero__line:nth-child(2) .tt-premium-hero__word:nth-child(2) { animation-delay: 0.42s; }

@keyframes ttPremiumHeroWordIn {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.tt-premium-hero__subtitle {
	max-width: 34rem;
	margin: 0 0 1.75rem;
	font-size: clamp(0.88rem, 1.5vw, 1.05rem);
	line-height: 1.7;
	opacity: 0;
	transform: translateY(24px);
}

.is-slide-animating .tt-premium-hero__subtitle {
	animation: ttPremiumHeroFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.55s forwards;
}

.tt-premium-hero__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.8rem 1.75rem;
	border: 1.5px solid rgba(255, 255, 255, 0.72);
	border-radius: 999px;
	color: #fff;
	text-decoration: none;
	font-size: 0.82rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	opacity: 0;
	transform: translateY(24px);
	transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.is-slide-animating .tt-premium-hero__cta {
	animation: ttPremiumHeroFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.68s forwards;
}

.tt-premium-hero__cta:hover {
	background: #fff;
	border-color: #fff;
	color: var(--tt-primary-dark);
}

@keyframes ttPremiumHeroFadeUp {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.tt-premium-hero__progress-track {
	position: absolute;
	left: clamp(1.25rem, 4vw, 4rem);
	right: clamp(1.25rem, 4vw, 4rem);
	bottom: clamp(3.25rem, 5vw, 4rem);
	height: 2px;
	background: rgba(255, 255, 255, 0.22);
	z-index: 5;
	overflow: hidden;
}

.tt-premium-hero__progress-fill {
	height: 100%;
	width: 100%;
	background: #fff;
	transform: scaleX(0);
	transform-origin: left center;
}

.tt-premium-hero__social {
	position: absolute;
	right: clamp(1.25rem, 3vw, 2.5rem);
	top: 50%;
	transform: translateY(-50%);
	z-index: 5;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.tt-premium-hero__social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	color: #fff;
	opacity: 0.82;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.tt-premium-hero__social a:hover {
	opacity: 1;
	transform: translateY(-2px);
	color: #fff;
}

.tt-premium-hero__scroll {
	position: absolute;
	right: clamp(1.25rem, 3vw, 2.5rem);
	bottom: clamp(1.5rem, 3vw, 2.5rem);
	z-index: 5;
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
	color: #fff;
	text-decoration: none;
	writing-mode: vertical-rl;
	text-orientation: mixed;
	font-size: 0.68rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	opacity: 0.82;
}

.tt-premium-hero__scroll:hover {
	opacity: 1;
	color: #fff;
}

.tt-premium-hero__scroll i {
	writing-mode: horizontal-tb;
	animation: ttPremiumHeroScrollPulse 2s ease-in-out infinite;
}

@keyframes ttPremiumHeroScrollPulse {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(5px); }
}

/* ── Right-side flight route (journey / recommend style) ──────── */
.tt-premium-hero__route-wrap {
	position: absolute;
	top: 50%;
	right: clamp(3rem, 14vw, 10rem);
	width: clamp(260px, 38vw, 480px);
	height: clamp(300px, 62vh, 600px);
	transform: translate(-6%, -50%);
	pointer-events: none;
	z-index: 1;
}

.tt-premium-hero__route {
	display: block;
	width: 100%;
	height: 100%;
	overflow: visible;
}

.tt-premium-hero__route-line {
	stroke: rgba(251, 191, 36, 0.42);
	stroke-width: 1.5;
	stroke-dasharray: 6 8;
	vector-effect: non-scaling-stroke;
}

.tt-premium-hero__route-line--soft {
	stroke: rgba(251, 191, 36, 0.24);
	stroke-width: 1.15;
}

.tt-premium-hero__plane {
	color: #fbbf24;
	filter: drop-shadow(0 0 16px rgba(251, 191, 36, 0.75)) drop-shadow(0 6px 14px rgba(0, 0, 0, 0.5));
}

.tt-premium-hero__plane-ring {
	fill: rgba(8, 18, 18, 0.92);
	stroke: rgba(212, 175, 55, 0.62);
	stroke-width: 2;
}

.tt-premium-hero__plane--md .tt-premium-hero__plane-ring {
	stroke-width: 1.6;
}

.tt-premium-hero__plane--sm .tt-premium-hero__plane-ring {
	stroke-width: 1.3;
}

.tt-premium-hero__plane--lg .tt-premium-hero__plane-icon div {
	width: 44px;
	height: 44px;
	font-size: 1.28rem;
}

.tt-premium-hero__plane--md .tt-premium-hero__plane-icon div {
	width: 36px;
	height: 36px;
	font-size: 1.05rem;
}

.tt-premium-hero__plane--sm .tt-premium-hero__plane-icon div {
	width: 28px;
	height: 28px;
	font-size: 0.88rem;
}

.tt-premium-hero__plane-icon div {
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fbbf24;
	filter: drop-shadow(0 0 14px rgba(251, 191, 36, 0.95));
}

@media (max-width: 991.98px) {
	.tt-premium-hero__route-wrap {
		display: none;
	}

	.tt-premium-hero__layout {
		flex-direction: column;
		justify-content: center;
		align-items: flex-start;
		padding-bottom: clamp(6rem, 14vw, 8rem);
	}

	.tt-premium-hero__copy {
		margin-left: 0;
		text-align: center;
		align-self: center;
	}

	.tt-premium-hero__social {
		top: auto;
		bottom: clamp(5rem, 12vw, 6.5rem);
		transform: none;
		flex-direction: row;
		right: auto;
		left: clamp(1.25rem, 4vw, 4rem);
	}

	.tt-premium-hero__scroll {
		bottom: clamp(5rem, 12vw, 6.5rem);
	}
}

@media (max-width: 767.98px) {
	.tt-premium-hero__word {
		font-size: clamp(2rem, 11vw, 3rem);
	}

	.tt-premium-hero__copy {
		text-align: center;
	}

	.tt-premium-hero__subtitle {
		margin-left: auto;
		margin-right: auto;
	}
}

@media (prefers-reduced-motion: reduce) {
	.is-slide-animating .tt-premium-hero__media img,
	.is-slide-animating .tt-premium-hero__word,
	.is-slide-animating .tt-premium-hero__subtitle,
	.is-slide-animating .tt-premium-hero__cta,
	.tt-premium-hero__scroll i {
		animation: none !important;
	}

	.tt-premium-hero__plane {
		opacity: 0.72 !important;
	}

	.tt-premium-hero__plane animateMotion,
	.tt-premium-hero__plane animate {
		display: none;
	}

	.tt-premium-hero__word,
	.tt-premium-hero__subtitle,
	.tt-premium-hero__cta {
		opacity: 1;
		transform: none;
	}
}
