/* -------------------------------------------------------------------------- */
/* Destination pages — Avrupa (+ reusable for other regions)                  */
/* -------------------------------------------------------------------------- */

.dest-page {
	background: #05051e;
	color: #f9f9ff;
}

.dest-hero {
	position: relative;
	z-index: 2;
	padding: clamp(110px, 14vw, 160px) var(--ykg-gutter) clamp(64px, 8vw, 96px);
	background: #05051e;
	text-align: center;
	overflow: visible;
}

.dest-hero__inner {
	width: min(100%, 760px);
	margin: 0 auto;
}

.dest-hero__eyebrow {
	margin: 0 0 12px;
	font-family: var(--ykg-font);
	font-size: 0.95rem;
	font-weight: 500;
	color: rgba(249, 249, 255, 0.5);
}

.dest-hero__title {
	margin: 0 0 16px;
	font-family: var(--ykg-font);
	font-size: clamp(2.6rem, 5.5vw, 4.4rem);
	font-weight: 500;
	letter-spacing: -0.03em;
	line-height: 1.05;
	color: #fff;
}

.dest-hero__lead {
	margin: 0 auto 28px;
	max-width: 36rem;
	font-family: var(--ykg-font);
	font-size: clamp(1rem, 1.5vw, 1.15rem);
	line-height: 1.6;
	color: rgba(249, 249, 255, 0.58);
}

.dest-hero__actions,
.dest-highlights__cta {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
}

.dest-hero__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0.65rem 1.35rem;
	border-radius: 999px;
	font-family: var(--ykg-font);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.dest-hero__btn:hover,
.dest-hero__btn:focus-visible {
	transform: translateY(-1px);
}

.dest-hero__btn--primary {
	background: #2cac66;
	color: #fff;
}

.dest-hero__btn--primary:hover,
.dest-hero__btn--primary:focus-visible {
	background: #239454;
	color: #fff;
}

.dest-hero__btn--ghost {
	border: 1px solid rgba(255, 255, 255, 0.28);
	background: transparent;
	color: #f9f9ff;
}

.dest-hero__btn--ghost:hover,
.dest-hero__btn--ghost:focus-visible {
	border-color: rgba(255, 255, 255, 0.5);
	color: #fff;
}

.dest-hero__btn--dark {
	border: 1px solid rgba(5, 5, 30, 0.18);
	background: #05051e;
	color: #f9f9ff;
}

.dest-hero__btn--dark:hover,
.dest-hero__btn--dark:focus-visible {
	background: #070730;
	color: #fff;
}

/* Dark tongue from hero into light countries — no gap (same as contact) */
.dest-hero__bottom-join {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 5;
	display: flex;
	justify-content: center;
	align-items: flex-start;
	height: 29px;
	transform: translateY(calc(100% - 2px));
	color: #05051e;
	pointer-events: none;
	line-height: 0;
}

.dest-hero__bottom-join svg {
	display: block;
	width: min(527px, 92vw);
	height: auto;
	aspect-ratio: 527 / 29;
	transform: scaleY(-1);
}

/* -------------------------------------------------------------------------- */
/* Sticky scroll countries                                                    */
/* -------------------------------------------------------------------------- */

.dest-countries {
	--dest-country-count: 12;
	position: relative;
	z-index: 1;
	height: calc(100vh * (0.55 * var(--dest-country-count)));
	height: calc(100dvh * (0.55 * var(--dest-country-count)));
	min-height: 4200px;
	background: #f4f4f4;
	color: #05051e;
	overflow: visible;
}

.dest-countries__pin {
	position: sticky;
	top: 0;
	box-sizing: border-box;
	height: 100vh;
	height: 100dvh;
	padding: 78px var(--ykg-gutter) 20px;
	display: flex;
	flex-direction: column;
	gap: 18px;
	overflow: hidden;
}

.dest-countries__intro {
	text-align: center;
	max-width: 640px;
	margin: 0 auto;
	flex: 0 0 auto;
}

.dest-countries__title {
	margin: 0 0 10px;
	font-family: var(--ykg-font);
	font-size: clamp(1.7rem, 3vw, 2.6rem);
	font-weight: 500;
	letter-spacing: -0.025em;
	line-height: 1.15;
	color: #05051e;
}

.dest-countries__lead {
	margin: 0;
	font-family: var(--ykg-font);
	font-size: 1rem;
	line-height: 1.5;
	color: rgba(5, 5, 30, 0.55);
}

.dest-countries__frame {
	flex: 1 1 auto;
	min-height: 0;
	display: grid;
	grid-template-columns: minmax(200px, 280px) minmax(0, 1fr);
	gap: 16px;
	align-items: stretch;
}

.dest-countries__tabs {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-height: 0;
	overflow-y: auto;
	padding-right: 4px;
	scrollbar-width: thin;
}

.dest-countries__tab {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	min-height: 48px;
	padding: 8px 12px;
	border: 1px solid transparent;
	border-radius: 12px;
	background: transparent;
	font-family: var(--ykg-font);
	font-size: 0.98rem;
	font-weight: 500;
	color: rgba(5, 5, 30, 0.55);
	text-align: left;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.dest-countries__tab.is-active {
	background: #fff;
	border-color: #d9d9d9;
	color: #05051e;
	box-shadow: 0 8px 24px rgba(5, 5, 30, 0.06);
}

.dest-countries__tab:hover,
.dest-countries__tab:focus-visible {
	color: #05051e;
	background: rgba(255, 255, 255, 0.7);
}

.dest-countries__tab:focus-visible {
	outline: 2px solid #2cac66;
	outline-offset: 2px;
}

.dest-countries__flag {
	flex: 0 0 auto;
	display: grid;
	place-items: center;
	width: 40px;
	height: 30px;
	overflow: hidden;
	border-radius: 4px;
	background: #e8e8e8;
	box-shadow: 0 0 0 1px rgba(5, 5, 30, 0.08);
}

.dest-countries__flag img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.dest-countries__flag-emoji {
	font-size: 1.35rem;
	line-height: 1;
}

.dest-countries__tab-name {
	min-width: 0;
}

.dest-countries__stage {
	position: relative;
	display: grid;
	grid-template-rows: minmax(0, 1.15fr) minmax(0, 0.85fr);
	min-height: 0;
	border-radius: 20px;
	overflow: hidden;
	background: #05051e;
	border: 1px solid rgba(5, 5, 30, 0.08);
}

.dest-countries__media {
	position: relative;
	min-height: 180px;
	overflow: hidden;
	background: #12122a;
}

.dest-countries__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	transform: translate3d(0, 12px, 0);
	transition:
		opacity 0.4s ease,
		visibility 0.4s ease,
		transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.dest-countries__slide.is-active {
	opacity: 1;
	visibility: visible;
	transform: translate3d(0, 0, 0);
	z-index: 1;
}

.dest-countries__photo,
.dest-countries__slide-flag img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.dest-countries__slide-flag {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	background:
		radial-gradient(circle at 30% 20%, rgba(44, 172, 102, 0.28), transparent 55%),
		linear-gradient(160deg, #1a1a3a, #05051e 70%);
}

.dest-countries__slide-flag img {
	width: min(56%, 320px);
	height: auto;
	max-height: 55%;
	object-fit: contain;
	border-radius: 8px;
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

.dest-countries__slide-emoji {
	font-size: clamp(4rem, 12vw, 7rem);
	line-height: 1;
	filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.35));
}

.dest-countries__copy {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 10px;
	padding: clamp(20px, 3vw, 32px);
	background: #fff;
	color: #05051e;
}

.dest-countries__label {
	margin: 0;
	font-family: var(--ykg-font);
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #2cac66;
}

.dest-countries__heading {
	margin: 0;
	font-family: var(--ykg-font);
	font-size: clamp(1.25rem, 2.2vw, 1.85rem);
	font-weight: 500;
	letter-spacing: -0.02em;
	line-height: 1.2;
	color: #05051e;
}

.dest-countries__text {
	margin: 0;
	max-width: 42rem;
	font-family: var(--ykg-font);
	font-size: 0.98rem;
	line-height: 1.55;
	color: rgba(5, 5, 30, 0.62);
}

.dest-countries__cta {
	align-self: flex-start;
	margin-top: 6px;
	font-family: var(--ykg-font);
	font-size: 0.95rem;
	font-weight: 600;
	color: #2cac66;
	text-decoration: none;
}

.dest-countries__cta:hover,
.dest-countries__cta:focus-visible {
	color: #239454;
}

.dest-main {
	position: relative;
	padding: clamp(72px, 9vw, 120px) var(--ykg-gutter) clamp(72px, 9vw, 110px);
	background: #f4f4f4;
	color: #05051e;
	overflow: visible;
}

.dest-main--services {
	padding-top: clamp(48px, 6vw, 72px);
}

.dest-main__inner {
	width: min(100%, calc(var(--ykg-container-max) + 40px));
	margin: 0 auto;
}

.dest-main__header {
	text-align: center;
	margin: 0 auto clamp(36px, 4.5vw, 56px);
	max-width: 640px;
}

.dest-main__title {
	margin: 0 0 14px;
	font-family: var(--ykg-font);
	font-size: clamp(1.9rem, 3.4vw, 3rem);
	font-weight: 500;
	letter-spacing: -0.025em;
	line-height: 1.15;
	color: #05051e;
}

.dest-main__title--snake .solutions-section__snake-char {
	color: #05051e;
}

.dest-main__title--snake .solutions-section__snake-char.is-lit.is-lit--tip {
	color: #7dff9a;
}

.dest-main__title--snake .solutions-section__snake-char.is-lit.is-lit--green {
	color: color-mix(
		in srgb,
		#05051e calc((1 - var(--lit-level, 1)) * 100%),
		#28ee5f calc(var(--lit-level, 1) * 100%)
	);
}

.dest-main__title--snake .solutions-section__snake-char.is-lit.is-lit--navy {
	color: #05051e;
}

.dest-main__lead {
	margin: 0;
	font-family: var(--ykg-font);
	font-size: 1.05rem;
	line-height: 1.55;
	color: rgba(5, 5, 30, 0.55);
}

.dest-services {
	position: relative;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	border: 1px solid #d9d9d9;
	background: #f7f7f7;
	text-align: left;
}

.dest-services__card {
	display: flex;
	flex-direction: column;
	padding: clamp(28px, 3vw, 40px) clamp(22px, 3vw, 40px);
	border-right: 1px solid #d9d9d9;
}

.dest-services__card:last-child {
	border-right: 0;
}

.dest-services__card-title {
	margin: 0 0 14px;
	font-family: var(--ykg-font);
	font-size: clamp(1.25rem, 1.8vw, 1.75rem);
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: -0.02em;
	color: #05051e;
}

.dest-services__card-text {
	margin: 0 0 20px;
	flex: 1 1 auto;
	font-family: var(--ykg-font);
	font-size: 0.95rem;
	line-height: 1.55;
	color: #05051e;
	opacity: 0.58;
}

.dest-services__card-link {
	align-self: flex-start;
	font-family: var(--ykg-font);
	font-size: 0.95rem;
	font-weight: 600;
	color: #2cac66;
	text-decoration: none;
}

.dest-services__card-link:hover,
.dest-services__card-link:focus-visible {
	color: #239454;
}

.dest-services__plus {
	position: absolute;
	z-index: 2;
	font-family: var(--ykg-font);
	font-size: 14px;
	font-weight: 400;
	line-height: 1;
	color: #a2a2a2;
	pointer-events: none;
	transform: translate(-50%, -50%);
}

.dest-services__plus--tl { top: 0; left: 0; }
.dest-services__plus--tr { top: 0; left: 100%; }
.dest-services__plus--bl { top: 100%; left: 0; }
.dest-services__plus--br { top: 100%; left: 100%; }
.dest-services__plus--t1 { top: 0; left: 33.333%; }
.dest-services__plus--t2 { top: 0; left: 66.666%; }
.dest-services__plus--b1 { top: 100%; left: 33.333%; }
.dest-services__plus--b2 { top: 100%; left: 66.666%; }

.dest-highlights {
	padding: clamp(72px, 9vw, 120px) var(--ykg-gutter);
	background: #05051e;
	color: #f9f9ff;
}

.dest-highlights__inner {
	width: min(100%, calc(var(--ykg-container-max) + 40px));
	margin: 0 auto;
	text-align: center;
}

.dest-highlights__header {
	margin: 0 auto clamp(36px, 4.5vw, 56px);
	max-width: 560px;
}

.dest-highlights__title {
	margin: 0 0 12px;
	font-family: var(--ykg-font);
	font-size: clamp(1.85rem, 3.2vw, 2.8rem);
	font-weight: 500;
	letter-spacing: -0.025em;
	line-height: 1.15;
	color: #fff;
}

.dest-highlights__lead {
	margin: 0;
	font-family: var(--ykg-font);
	font-size: 1.05rem;
	line-height: 1.55;
	color: rgba(249, 249, 255, 0.55);
}

.dest-highlights__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(16px, 2.5vw, 28px);
	margin: 0 0 clamp(36px, 4.5vw, 52px);
	text-align: left;
}

.dest-highlights__card {
	padding: clamp(24px, 3vw, 32px);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.04);
}

.dest-highlights__card-title {
	margin: 0 0 10px;
	font-family: var(--ykg-font);
	font-size: 1.2rem;
	font-weight: 500;
	color: #fff;
}

.dest-highlights__card-text {
	margin: 0;
	font-family: var(--ykg-font);
	font-size: 0.95rem;
	line-height: 1.55;
	color: rgba(249, 249, 255, 0.55);
}

body.page-template-page-avrupa-php,
body.page-template-page-avrupa-php .site-footer,
body.page-template-page-orta-dogu-php,
body.page-template-page-orta-dogu-php .site-footer,
body.page-template-page-amerika-php,
body.page-template-page-amerika-php .site-footer,
body.page-template-page-asya-php,
body.page-template-page-asya-php .site-footer,
body.page-template-page-afrika-php,
body.page-template-page-afrika-php .site-footer {
	background: #05051e;
}

@media (max-width: 900px) {
	.dest-countries {
		/* Keep sticky scroll track on mobile (same idea as service offerings) */
		height: calc(100vh * (0.62 * var(--dest-country-count)));
		height: calc(100dvh * (0.62 * var(--dest-country-count)));
		min-height: 0;
	}

	.dest-countries__pin {
		position: sticky;
		top: 0;
		height: 100vh;
		height: 100dvh;
		padding: 64px var(--ykg-gutter) 16px;
		gap: 12px;
		overflow: hidden;
	}

	.dest-countries__intro {
		flex: 0 0 auto;
	}

	.dest-countries__title {
		font-size: clamp(1.45rem, 6vw, 1.9rem);
		margin-bottom: 6px;
	}

	.dest-countries__lead {
		font-size: 0.92rem;
		line-height: 1.4;
	}

	.dest-countries__frame {
		grid-template-columns: 1fr;
		grid-template-rows: auto minmax(0, 1fr);
		gap: 12px;
		min-height: 0;
	}

	.dest-countries__tabs {
		flex-direction: row;
		flex-wrap: nowrap;
		overflow-x: auto;
		overflow-y: hidden;
		gap: 8px;
		padding-bottom: 4px;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
		overscroll-behavior-x: contain;
	}

	.dest-countries__tabs::-webkit-scrollbar {
		display: none;
	}

	.dest-countries__tab {
		flex: 0 0 auto;
		min-width: max-content;
		min-height: 44px;
		padding: 8px 14px;
		border: 1px solid #d9d9d9;
		background: #fafafa;
	}

	.dest-countries__stage {
		grid-template-rows: minmax(140px, 32vh) minmax(0, 1fr);
		min-height: 0;
		max-height: 100%;
		overflow: hidden;
	}

	.dest-countries__media {
		min-height: 0;
	}

	.dest-countries__heading {
		font-size: clamp(1.15rem, 4.5vw, 1.45rem);
	}

	.dest-countries__text {
		font-size: 0.92rem;
		display: -webkit-box;
		-webkit-line-clamp: 5;
		-webkit-box-orient: vertical;
		overflow: hidden;
	}

	.dest-services {
		grid-template-columns: 1fr;
	}

	.dest-services__card {
		border-right: 0;
		border-bottom: 1px solid #d9d9d9;
	}

	.dest-services__card:last-child {
		border-bottom: 0;
	}

	.dest-services__plus--t1,
	.dest-services__plus--t2,
	.dest-services__plus--b1,
	.dest-services__plus--b2 {
		display: none;
	}

	.dest-highlights__grid {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.dest-hero__btn:hover,
	.dest-hero__btn:focus-visible {
		transform: none;
	}

	.dest-countries__slide {
		transition: none;
	}
}
