/* ==========================================================================
   Axiora Global – Tourism Services Page
   Hero replicates the "Travel Agency" reference: globe artwork, centred
   two-tone headline, dark tab pill and white booking bar
   Content sourced from Axiora Corporate Business Profile (Tourism Service)
   ========================================================================== */

.tourism-page {
	--tr-font: "Outfit", "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--tr-teal: #1b7f78;
	--tr-teal-dark: #0e3d3b;
	--tr-red: #d42a32;
	--tr-red-dark: #b81f27;
	--tr-ink: #13302f;
	--tr-text: #55605f;
	--tr-border: #e3e8e8;
	--tr-soft: #f3f7f7;

	font-family: var(--tr-font);
	color: var(--tr-text);
	background: #ffffff;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}

.tourism-page * {
	box-sizing: border-box;
}

/* One typeface across the page: override the theme's global heading font
   and make form controls inherit instead of using browser defaults */
.tourism-page h1,
.tourism-page h2,
.tourism-page h3,
.tourism-page h4,
.tourism-page button,
.tourism-page input,
.tourism-page select {
	font-family: var(--tr-font);
}

.tr-container {
	width: 100%;
	max-width: 1320px;
	margin: 0 auto;
	padding: 0 24px;
}

/* ==========================================================================
   1. HERO
   ========================================================================== */
.tr-hero {
	position: relative;
	min-height: max(760px, calc(100vh - 56px));
	min-height: max(760px, calc(100svh - 56px));
	display: flex;
	background-color: #8cc2e6;
	background-image: var(--tr-hero-bg);
	background-size: cover;
	background-position: center top;
}

.tr-hero-inner {
	width: 100%;
	max-width: 1420px;
	margin: 0 auto;
	padding: 56px 24px 70px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.tr-hero-tag {
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--tr-teal-dark);
	margin-bottom: 14px;
}

.tr-hero-title {
	margin: 0;
	font-family: var(--tr-font);
	font-size: clamp(2.4rem, 4.1vw, 4.75rem);
	font-weight: 700;
	line-height: 1.08;
	letter-spacing: -0.035em;
	color: var(--tr-teal-dark);
}

.tr-hero-title span {
	color: var(--tr-teal);
}

/* Search form sits at the bottom of the hero */
.tr-search {
	width: 100%;
	margin-top: auto;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.tr-tabs {
	display: inline-flex;
	gap: 4px;
	padding: 6px;
	border-radius: 999px;
	background: rgba(14, 50, 52, 0.82);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	margin-bottom: 16px;
}

.tr-tab {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 22px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: #ffffff;
	font-family: var(--tr-font);
	font-size: 1.1rem;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.tr-tab:hover {
	background: rgba(255, 255, 255, 0.12);
}

.tr-tab.is-active {
	background: #ffffff;
	color: var(--tr-teal-dark);
}

/* White booking bar */
/* Fixed columns so switching tabs never shifts the date, travelers or
   Search columns: from | swap | to | date | travelers | search */
.tr-bar {
	width: 100%;
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) 54px minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 0.85fr) auto;
	align-items: center;
	padding: 10px 10px 10px 18px;
	border-radius: 999px;
	background: #ffffff;
	box-shadow: 0 18px 40px rgba(10, 40, 50, 0.18);
	text-align: left;
}

.tr-field {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 0 22px;
	min-width: 0;
	color: var(--tr-ink);
	cursor: text;
}

.tr-field + .tr-field::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	height: 34px;
	border-left: 1px solid var(--tr-border);
	transform: translateY(-50%);
}

.tr-field > svg {
	flex-shrink: 0;
}

.tr-field input,
.tr-field select {
	width: 100%;
	min-width: 0;
	height: 52px;
	border: 0;
	background: transparent;
	font-family: var(--tr-font);
	font-size: 1.2rem;
	font-weight: 500;
	color: var(--tr-ink);
	outline: none;
}

.tr-field select {
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
}

.tr-field input::placeholder {
	color: #8a9595;
}

/* Hotels / Tours: one destination field takes over from + swap + to */
.tr-search.is-single .tr-field--to {
	grid-column: 1 / span 3;
}

.tr-field--from[hidden] {
	display: none;
}

.tr-swap {
	flex-shrink: 0;
	width: 54px;
	height: 54px;
	border-radius: 50%;
	border: 1px solid var(--tr-border);
	background: #ffffff;
	color: var(--tr-teal);
	display: grid;
	place-items: center;
	cursor: pointer;
	transition: transform 0.3s ease;
}

.tr-swap:hover {
	transform: rotate(180deg);
}

.tr-swap[hidden] {
	display: none;
}

.tr-submit {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	gap: 12px;
	height: 70px;
	padding: 0 38px;
	border: 0;
	border-radius: 999px;
	background: var(--tr-red);
	color: #ffffff;
	font-family: var(--tr-font);
	font-size: 1.25rem;
	font-weight: 700;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.tr-submit:hover,
.tr-submit:focus-visible {
	background: var(--tr-red-dark);
}

/* Option pills under the bar */
.tr-options {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 18px;
	margin-top: 14px;
	text-align: left;
}

/* Keep the row height when hidden so the bar does not jump */
.tr-options.is-hidden {
	visibility: hidden;
}

.tr-pill {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 0 16px 0 18px;
	height: 44px;
	border-radius: 999px;
	background: rgba(14, 50, 52, 0.78);
	color: #ffffff;
	cursor: pointer;
}

.tr-pill select {
	appearance: none;
	-webkit-appearance: none;
	border: 0;
	background: transparent;
	color: #ffffff;
	font-family: var(--tr-font);
	font-size: 1.1rem;
	font-weight: 600;
	padding-right: 4px;
	cursor: pointer;
	outline: none;
}

.tr-pill select option {
	color: var(--tr-ink);
}

.tr-check {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: #ffffff;
	font-size: 1.1rem;
	font-weight: 600;
	text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
	cursor: pointer;
}

.tr-check input {
	width: 24px;
	height: 24px;
	margin: 0;
	accent-color: var(--tr-teal);
	cursor: pointer;
}

/* ==========================================================================
   2. ABOUT
   ========================================================================== */
.tr-text {
	margin: 0 0 18px;
	font-size: 1.05rem;
	line-height: 1.8;
}

.tr-about {
	padding: 100px 0 60px;
}

/* Left: heading over a large photo. Right: photo pair, text, button, stats */
.tr-about-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 40px;
	align-items: start;
}

.tr-about-title {
	margin: 0 0 36px;
	font-size: clamp(1.9rem, 2.9vw, 2.75rem);
	font-weight: 500;
	line-height: 1.22;
	letter-spacing: -0.01em;
	color: var(--tr-ink);
	max-width: 560px;
}

.tr-about-title em {
	font-style: normal;
	font-weight: 600;
	color: var(--tr-teal);
}

.tr-about-img {
	display: block;
	width: 100%;
	object-fit: cover;
	border-radius: 14px;
}

.tr-about-img--main {
	aspect-ratio: 376 / 306;
}

.tr-about-pair {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	margin-bottom: 40px;
}

.tr-about-pair .tr-about-img {
	aspect-ratio: 182 / 153;
}

.tr-about-side .tr-text {
	margin-bottom: 30px;
	font-size: 1rem;
	line-height: 1.85;
}

.tr-dark-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 28px;
	border-radius: 999px;
	background: var(--tr-ink);
	color: #ffffff;
	font-size: 0.95rem;
	font-weight: 600;
	text-decoration: none;
	transition: background-color 0.2s ease;
}

.tr-dark-btn:hover,
.tr-dark-btn:focus-visible {
	background: var(--tr-teal);
	color: #ffffff;
}

/* Perk row under the button: round white icon + two-line label */
.tr-perks {
	list-style: none;
	margin: 46px 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 24px 44px;
}

.tr-perk {
	display: flex;
	align-items: center;
	gap: 14px;
}

.tr-perk-icon {
	flex-shrink: 0;
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: #ffffff;
	color: var(--tr-teal-dark);
	display: grid;
	place-items: center;
	box-shadow: 0 10px 26px rgba(10, 40, 50, 0.1);
}

.tr-perk-label {
	font-size: 1.05rem;
	line-height: 1.45;
	color: var(--tr-text);
}

/* ==========================================================================
   3. SERVICES
   ========================================================================== */
.tr-services {
	padding: 64px 0 80px;
	border-top: 1px solid var(--tr-border);
	border-bottom: 1px solid var(--tr-border);
}

/* Centred subtitle + title, small tag badge pinned to the right */
.tr-services-head {
	position: relative;
	text-align: center;
	margin-bottom: 48px;
}

.tr-services-sub {
	display: block;
	margin-bottom: 10px;
	font-size: 1.05rem;
	font-weight: 500;
	color: var(--tr-text);
}

.tr-services-title {
	margin: 0;
	font-size: clamp(1.9rem, 3.2vw, 2.9rem);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.025em;
	color: var(--tr-ink);
}

/* Slider: 3 columns visible, divided by thin vertical rules */
.tr-slider {
	overflow: hidden;
}

.tr-slider-track {
	--tr-per-view: 3;
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	/* Hides the leftmost divider behind the .tr-slider clip */
	margin-left: -1px;
}

.tr-slider-track::-webkit-scrollbar {
	display: none;
}

.tr-slide {
	position: relative;
	flex: 0 0 calc(100% / var(--tr-per-view));
	padding: 0 44px;
	scroll-snap-align: start;
}

.tr-slide::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	border-left: 1px solid #c9d1d1;
}

.tr-slide h3 {
	margin: 0 0 20px;
	font-size: 1.45rem;
	font-weight: 600;
	color: var(--tr-ink);
}

.tr-slide-media {
	display: block;
	width: 100%;
	aspect-ratio: 195 / 127;
	object-fit: cover;
	border-radius: 8px;
	box-shadow: 0 8px 20px rgba(10, 40, 50, 0.12);
}

.tr-slide-media--icon {
	display: grid;
	place-items: center;
	color: #ffffff;
	background:
		radial-gradient(ellipse 70% 80% at 85% 0%, rgba(126, 216, 207, 0.35) 0%, transparent 70%),
		linear-gradient(150deg, var(--tr-teal) 0%, var(--tr-teal-dark) 100%);
}

.tr-slide p {
	margin: 30px 0 0;
	font-size: 1.1rem;
	line-height: 1.6;
	color: var(--tr-text);
}

.tr-slider-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-top: 56px;
	padding: 0 44px;
}

.tr-see-more {
	padding: 4px 0;
	border-top: 1px solid var(--tr-border);
	border-bottom: 1px solid var(--tr-border);
	font-size: 1.1rem;
	font-weight: 600;
	text-transform: uppercase;
	color: var(--tr-ink);
	text-decoration: none;
	transition: color 0.2s ease, border-color 0.2s ease;
}

.tr-see-more:hover,
.tr-see-more:focus-visible {
	color: var(--tr-teal);
	border-color: var(--tr-teal);
}

.tr-slider-nav {
	display: flex;
	gap: 14px;
}

.tr-slider-btn {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 1px solid var(--tr-teal);
	background: var(--tr-teal);
	color: #ffffff;
	display: grid;
	place-items: center;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.tr-slider-btn:hover:not(:disabled) {
	background: var(--tr-teal-dark);
	border-color: var(--tr-teal-dark);
}

/* At either end the button turns into an empty outlined circle */
.tr-slider-btn:disabled {
	border-color: #b9c3c3;
	background: #ffffff;
	color: transparent;
	cursor: default;
}

/* ==========================================================================
   4. WHY CHOOSE US
   ========================================================================== */
.tr-why {
	padding: 80px 0 0;
}

/* Left: heading + 2x2 reasons on white. Right: photo card with CTA */
.tr-why-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 48px;
	align-items: center;
}

.tr-why-title {
	position: relative;
	margin: 0 0 44px;
	padding-bottom: 16px;
	font-size: clamp(1.7rem, 2.4vw, 2.2rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--tr-teal-dark);
}

.tr-why-title span {
	color: var(--tr-teal);
}

.tr-why-title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 36px;
	height: 3px;
	border-radius: 3px;
	background: var(--tr-teal);
	opacity: 0.35;
}

.tr-why-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 40px 32px;
}

.tr-why-item {
	display: flex;
	align-items: flex-start;
	gap: 18px;
	min-width: 0;
}

.tr-why-icon {
	flex-shrink: 0;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: #e6f2f1;
	color: var(--tr-teal);
	display: grid;
	place-items: center;
}

.tr-why-item h3 {
	margin: 2px 0 8px;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.3;
	color: var(--tr-ink);
}

.tr-why-item p {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.6;
	color: var(--tr-text);
}

.tr-offer {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	min-height: 360px;
	padding: 40px 36px;
	border-radius: 16px;
	overflow: hidden;
	color: #ffffff;
	background:
		linear-gradient(90deg, rgba(8, 48, 52, 0.88) 0%, rgba(8, 48, 52, 0.6) 45%, rgba(8, 48, 52, 0) 85%),
		var(--tr-offer-bg) center / cover no-repeat;
	box-shadow: 0 18px 40px rgba(10, 40, 50, 0.16);
}

.tr-offer-tag {
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.9);
	margin-bottom: 14px;
}

.tr-offer-title {
	margin: 0 0 18px;
	max-width: 320px;
	font-size: clamp(1.7rem, 2.4vw, 2.2rem);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.02em;
	color: #ffffff;
}

.tr-offer-text {
	margin: 0 0 28px;
	max-width: 260px;
	font-size: 1rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.88);
}

.tr-offer-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 24px;
	border-radius: 8px;
	background: #ffffff;
	color: var(--tr-teal-dark);
	font-size: 0.95rem;
	font-weight: 700;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.tr-offer-btn:hover,
.tr-offer-btn:focus-visible {
	background: var(--tr-red);
	color: #ffffff;
}

/* ==========================================================================
   5. CTA
   ========================================================================== */
.tr-cta-section {
	padding: 90px 0;
}

.tr-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
	padding: 50px 56px;
	border-radius: 24px;
	background: var(--tr-soft);
	border: 1px solid var(--tr-border);
}

.tr-cta h2 {
	margin: 0 0 8px;
	font-size: clamp(1.6rem, 2.6vw, 2.2rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--tr-teal-dark);
}

.tr-cta p {
	margin: 0;
	font-size: 1.05rem;
	line-height: 1.7;
}

.tr-cta-btn {
	flex-shrink: 0;
	padding: 18px 36px;
	border-radius: 999px;
	background: var(--tr-red);
	color: #ffffff;
	font-size: 1.1rem;
	font-weight: 700;
	text-decoration: none;
	transition: background-color 0.2s ease;
}

.tr-cta-btn:hover,
.tr-cta-btn:focus-visible {
	background: var(--tr-red-dark);
	color: #ffffff;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1199px) {
	.tr-bar {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
		border-radius: 28px;
		padding: 14px;
	}

	.tr-search.is-single .tr-field--to {
		grid-column: 1 / -1;
	}

	.tr-field + .tr-field::before {
		display: none;
	}

	.tr-field {
		border: 1px solid var(--tr-border);
		border-radius: 999px;
	}

	.tr-swap {
		display: none;
	}

	.tr-submit {
		grid-column: 1 / -1;
		justify-content: center;
		height: 60px;
	}

	.tr-slider-track {
		--tr-per-view: 2;
	}
}

@media (max-width: 991px) {
	.tr-about-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 50px;
	}

	.tr-why-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.tr-cta {
		flex-direction: column;
		align-items: flex-start;
		padding: 40px 32px;
	}
}

@media (max-width: 575px) {
	.tr-container {
		padding: 0 16px;
	}

	.tr-hero {
		background-position: 52% top;
	}

	.tr-hero-inner {
		padding: 40px 16px 40px;
	}

	.tr-hero-tag {
		font-size: 0.78rem;
		letter-spacing: 0.16em;
	}

	.tr-tabs {
		width: 100%;
		border-radius: 22px;
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tr-tab {
		justify-content: center;
		font-size: 1rem;
		padding: 10px 12px;
	}

	.tr-bar {
		grid-template-columns: minmax(0, 1fr);
	}

	.tr-field input,
	.tr-field select {
		font-size: 1.05rem;
		height: 48px;
	}

	.tr-about {
		padding: 60px 0 40px;
	}

	.tr-services {
		padding: 50px 0 60px;
	}

	.tr-services-head {
		margin-bottom: 36px;
	}

	.tr-slider-track {
		--tr-per-view: 1;
	}

	.tr-slide {
		padding: 0 4px;
	}

	.tr-slider-foot {
		margin-top: 40px;
		padding: 0 4px;
	}

	.tr-why {
		padding-top: 70px;
	}

	.tr-offer {
		padding: 36px 24px;
	}

	.tr-why-list {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}
}
