:root {
	--dest-charcoal: #171717;
	--dest-charcoal-soft: #242321;
	--dest-smoke: #f5f5f2;
	--dest-brown: #a85f28;
	--dest-orange: #d88732;
	--dest-ink-soft: #5d5952;
	--dest-line: rgba(23, 23, 23, 0.14);
	--dest-radius: 12px;
	--dest-shadow: 0 18px 45px rgba(23, 23, 23, 0.12);
	--dest-transition: 220ms ease;
}

.main-content {
	min-height: 55vh;
	background: var(--dest-smoke);
	color: var(--dest-charcoal);
	font-family: "Montserrat", sans-serif;
}

/* Hero Section */
.destinations-hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: min(68vh, 650px);
	padding: clamp(5rem, 12vw, 9rem) clamp(1.25rem, 8vw, 9rem) clamp(3.5rem, 7vw, 6rem);
	isolation: isolate;
	background:
		linear-gradient(90deg, rgba(23, 23, 23, 0.88), rgba(23, 23, 23, 0.32)),
		url("../images/safari_landscape2.webp") center / cover;
	color: var(--dest-smoke);
}

.destinations-hero::after {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 6px;
	content: "";
	background: linear-gradient(90deg, var(--dest-brown), var(--dest-orange), var(--dest-brown));
	z-index: -1;
}

.destinations-hero-content {
	width: min(100%, 800px);
	animation: dest-reveal 700ms ease both;
}

.destinations-hero h1 {
	max-width: 760px;
	margin: 0;
	font-size: clamp(2.3rem, 5vw, 5rem);
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.04;
}

.destinations-hero p:not(.eyebrow) {
	max-width: 690px;
	margin: 1.4rem 0 0;
	color: rgba(245, 245, 242, 0.84);
	font-size: clamp(0.98rem, 1.5vw, 1.2rem);
	line-height: 1.8;
}

.eyebrow {
	margin: 0 0 1rem;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.2em;
	line-height: 1.5;
	text-transform: uppercase;
}

.section-block {
	width: min(100% - 2rem, 1240px);
	margin: 0 auto;
	padding: clamp(4.5rem, 8vw, 8rem) 0;
}

.section-block > h2 {
	margin: 0 0 1.5rem;
	padding-bottom: 1rem;
	color: var(--dest-charcoal);
	border-bottom: 1px solid var(--dest-line);
	font-size: clamp(1.4rem, 2.5vw, 2rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.2;
}

/* Destination Grid Styles extracted to match home page pattern */
.destination-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.25rem;
}

.destination-grid > a {
	min-width: 0;
	text-decoration: none;
}

.destination-card {
	position: relative;
	min-height: 270px;
	background: var(--dest-charcoal);
	border-radius: var(--dest-radius);
	overflow: hidden;
	box-shadow: 0 8px 22px rgba(23, 23, 23, 0.06);
	transition: box-shadow var(--dest-transition), transform var(--dest-transition), border-color var(--dest-transition);
	border: 1px solid transparent;
}

.destination-card:hover {
	border-color: rgba(168, 95, 40, 0.5);
	box-shadow: var(--dest-shadow);
	transform: translateY(-6px);
}

.destination-card img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 270px;
	object-fit: cover;
	opacity: 0.82;
	transition: opacity var(--dest-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(--dest-smoke);
	font-size: 1.15rem;
	font-weight: 600;
	line-height: 1.4;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

@keyframes dest-reveal {
	from {
		opacity: 0;
		transform: translateY(18px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 900px) {
	.destination-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 620px) {
	.destinations-hero {
		min-height: 590px;
		padding: 5rem 1.25rem 3.5rem;
		background-position: 62% center;
	}

	.destinations-hero h1 {
		font-size: clamp(2.2rem, 11vw, 3.5rem);
	}

	.section-block {
		width: min(100% - 1.5rem, 1240px);
		padding: 4rem 0;
	}

	.destination-grid {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.main-content *,
	.main-content *::before,
	.main-content *::after {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
	}
}
