:root {
	--home-charcoal: #171717;
	--home-charcoal-soft: #242321;
	--home-smoke: #f5f5f2;
	--home-smoke-deep: #e9e8e2;
	--home-brown: #a85f28;
	--home-brown-dark: #78411f;
	--home-orange: #d88732;
	--home-ink-soft: #5d5952;
	--home-line: rgba(23, 23, 23, 0.14);
	--home-radius: 12px;
	--home-shadow: 0 18px 45px rgba(23, 23, 23, 0.12);
	--home-transition: 220ms ease;
}

.app-layout {
	min-height: 100vh;
	background: var(--home-smoke);
}

.main-content {
	background: var(--home-smoke);
	color: var(--home-charcoal);
	font-family: "Montserrat", sans-serif;
}

.main-content a {
	color: inherit;
}

.hero-section {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: min(78vh, 760px);
	padding: clamp(6rem, 13vw, 10rem) clamp(1.25rem, 7vw, 8rem) clamp(4rem, 8vw, 7rem);
	isolation: isolate;
	background:
		linear-gradient(90deg, rgba(23, 23, 23, 0.88) 0%, rgba(23, 23, 23, 0.58) 48%, rgba(23, 23, 23, 0.16) 100%),
		url("../images/heroimage_result.webp") center / cover;
	color: var(--home-smoke);
}

.hero-section::after {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 7px;
	content: "";
	background: var(--home-orange);
	z-index: -1;
}

.hero-content {
	width: min(100%, 760px);
	animation: home-reveal 700ms ease both;
}

.eyebrow {
	margin: 0 0 1rem;
	color: var(--home-orange);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.2em;
	line-height: 1.5;
	text-transform: uppercase;
}

.hero-section h1 {
	max-width: 760px;
	margin: 0;
	font-size: clamp(2.25rem, 5vw, 5.2rem);
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.04;
}

.hero-copy {
	max-width: 660px;
	margin: 1.5rem 0 0;
	color: rgba(245, 245, 242, 0.86);
	font-size: clamp(0.96rem, 1.4vw, 1.15rem);
	line-height: 1.8;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
	margin-top: 2rem;
}

.primary-button,
.green-cta,
.section-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0.8rem 1.25rem;
	border-radius: var(--home-radius);
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-decoration: none;
	text-transform: uppercase;
	transition: background var(--home-transition), color var(--home-transition), border-color var(--home-transition), transform var(--home-transition), box-shadow var(--home-transition);
}

.primary-button,
.green-cta {
	color: #fff;
	background: var(--home-brown);
	border: 1px solid var(--home-brown);
}

.primary-button:hover,
.green-cta:hover,
.primary-button:focus-visible,
.green-cta:focus-visible {
	color: #fff;
	background: var(--home-orange);
	border-color: var(--home-orange);
	box-shadow: 0 10px 22px rgba(168, 95, 40, 0.24);
	transform: translateY(-2px);
}

.hero-actions .green-cta {
	color: var(--home-charcoal);
	background: var(--home-smoke);
	border-color: var(--home-smoke);
}

.hero-actions .green-cta:hover,
.hero-actions .green-cta:focus-visible {
	color: #fff;
	background: var(--home-orange);
	border-color: var(--home-orange);
}

.feature-band {
	width: min(100% - 2rem, 1240px);
	margin: 0 auto;
	padding: clamp(4.5rem, 8vw, 8rem) 0;
}

.feature-band + .feature-band {
	border-top: 1px solid var(--home-line);
}

.section-heading {
	max-width: 850px;
	margin: 0 auto 3rem;
	text-align: center;
}

.section-heading h2,
.story-copy h2 {
	margin: 0;
	color: var(--home-charcoal);
	font-size: clamp(1.8rem, 3.5vw, 3.2rem);
	font-weight: 700;
	letter-spacing: -0.025em;
	line-height: 1.12;
}

.section-heading p,
.story-copy > p:not(.eyebrow) {
	margin: 1.25rem auto 0;
	color: var(--home-ink-soft);
	font-size: 0.98rem;
	line-height: 1.85;
}

.trip-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.25rem;
}

.trip-list > a,
.destination-grid > a {
	min-width: 0;
	text-decoration: none;
}

.destination-card {
	height: 100%;
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--home-line);
	border-radius: var(--home-radius);
	box-shadow: 0 8px 22px rgba(23, 23, 23, 0.06);
	transition: box-shadow var(--home-transition), transform var(--home-transition), border-color var(--home-transition);
}

.destination-card:hover {
	border-color: rgba(168, 95, 40, 0.5);
	box-shadow: var(--home-shadow);
	transform: translateY(-6px);
}



.section-link {
	margin-top: 2rem;
	color: var(--home-brown-dark);
	background: transparent;
	border: 1px solid var(--home-brown);
}

.section-link:hover,
.section-link:focus-visible {
	color: #fff;
	background: var(--home-brown);
	transform: translateY(-2px);
}

.section-actions {
	display: flex;
	justify-content: flex-end;
}

.destination-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.25rem;
}

.destination-card {
	position: relative;
	min-height: 270px;
	background: var(--home-charcoal);
}

.destination-card img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 270px;
	object-fit: cover;
	opacity: 0.82;
	transition: opacity var(--home-transition), transform 500ms ease;
}

.destination-card:hover img {
	opacity: 0.62;
	transform: scale(1.05);
}

.destination-card-content {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	padding: 1.3rem;
	background: linear-gradient(transparent, rgba(23, 23, 23, 0.92));
}

.destination-card h3 {
	margin: 1.5rem 0 0;
	color: var(--home-smoke);
	font-size: 1rem;
	line-height: 1.4;
}

.split-section {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	max-width: 1440px;
	margin: 0 auto;
	background: var(--home-charcoal);
	color: var(--home-smoke);
}

.story-image {
	min-height: 620px;
	background: url("../images/safari_landscape2.webp") center / cover;
}

.story-copy {
	align-self: center;
	padding: clamp(3rem, 7vw, 7rem) clamp(1.5rem, 6vw, 6rem);
}

.story-copy h2 {
	color: var(--home-smoke);
}

.story-copy > p:not(.eyebrow) {
	color: rgba(245, 245, 242, 0.76);
}

.style-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.7rem;
	margin-top: 2rem;
}

.style-grid span {
	padding: 0.85rem 0;
	color: var(--home-smoke);
	border-bottom: 1px solid rgba(216, 135, 50, 0.45);
	font-size: 0.74rem;
	font-weight: 700;
	line-height: 1.45;
}

.main-content :focus-visible {
	outline: 2px solid var(--home-orange);
	outline-offset: 4px;
}

@keyframes home-reveal {
	from {
		opacity: 0;
		transform: translateY(18px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 900px) {
	.hero-section {
		min-height: 680px;
		background-position: 62% center;
	}

	.trip-list,
	.destination-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.split-section {
		grid-template-columns: 1fr;
	}

	.story-image {
		min-height: 420px;
	}
}

@media (max-width: 620px) {
	.hero-section {
		min-height: 640px;
		padding: 5rem 1.25rem 3.5rem;
		background-position: 68% center;
	}

	.hero-section h1 {
		font-size: clamp(2.1rem, 11vw, 3.5rem);
	}

	.feature-band {
		width: min(100% - 1.5rem, 1240px);
		padding: 4rem 0;
	}

	.trip-list,
	.destination-grid,
	.style-grid {
		grid-template-columns: 1fr;
	}

	.section-heading {
		margin-bottom: 2rem;
	}

	.story-image {
		min-height: 300px;
	}

	.story-copy {
		padding: 3.5rem 1.25rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.main-content *,
	.main-content *::before,
	.main-content *::after {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
	}
}
