/* Destination page stylesheet - self-contained and fully responsive */

:root {
	--accent: #0b74de;
	--accent-2: #4cc9f0;
	--bg: #f6fbff;
	--card: #ffffff;
	--muted: #6b7280;
	--radius: 12px;
	--shadow: 0 10px 30px rgba(11, 116, 222, 0.12);
	--max-width: 1200px;
	--header-height: 72px;
	font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
}

* {
	box-sizing: border-box
}

html,
body {
	height: 100%;
	margin: 0;
	background: linear-gradient(180deg, var(--bg), #eef8ff);
	color: #0f1724;
	-webkit-font-smoothing: antialiased;
	transition: none !important;
}

/* container */
.container {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 20px;
}

/* Header */
/* Header (site header used across pages) */
.site-header {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
	backdrop-filter: blur(4px);
	/* keep header visible at top when scrolling */
	position: sticky;
	top: 0;
	z-index: 9999;
	/* ensure it sits above other components */
	box-shadow: 0 6px 18px rgba(6, 30, 61, 0.06);
}

.site-header .nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Make the brand text clickable while preserving layout */
.brand-link {
    text-decoration: none;
    color: inherit;
    display: inline-flex;
    align-items: center;
	gap: 12px;
}

.brand-link:focus {
    outline: 3px solid rgba(11,116,222,0.12);
    border-radius: 8px;
}

.logo {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(0,108,228,0.95), rgba(0,60,128,0.95));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.05rem;
    box-shadow: 0 6px 18px rgba(6,55,135,0.12);
}

.brand-text .brand-title {
    font-weight: 700;
    color: #0b2546;
    font-size: 1rem;
}

.brand-text .brand-tagline {
    font-size: 0.78rem;
    color: #6b7280;
    margin-top: 2px;
}

nav {
	position: relative;
}

.nav-links {
	display: flex;
	align-items: center;
	gap: 18px;
}

.nav-links a {
	color: #0b2546;
	text-decoration: none;
	padding: 8px 10px;
	border-radius: 8px;
	font-weight: 600;
}

.nav-links a.active {
	background: rgba(0, 108, 228, 0.10);
	color: rgba(0, 60, 128, 1);
}

.nav-cta {
	background: rgba(0, 108, 228, 0.95);
	color: #fff !important;
	padding: 8px 12px;
	border-radius: 8px;
}

/* Book now CTA — more prominent, gradient primary button */


.translator {
	display: inline-block;
	position: relative;
	margin-left: 12px;
}

.translator button {
	background: #fff;
	border: 1px solid rgba(11, 116, 222, 0.06);
	padding: 6px 10px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	font-weight: 700;
	border-radius: 10px;
	box-shadow: 0 6px 20px rgba(11, 116, 222, 0.06);
	transition: box-shadow .15s ease, transform .12s ease;
}

.translator button:hover {
	box-shadow: 0 10px 30px rgba(11, 116, 222, 0.08);
	transform: translateY(-1px);
}

.translator button:focus {
	outline: 3px solid rgba(11, 116, 222, 0.12);
	outline-offset: 2px;
}

.translator #translatorLabel {
	font-weight: 800;
	color: #07203a;
}

.translator .caret {
	color: rgba(7, 32, 58, 0.6);
	transition: transform .15s ease;
}

.translator.open .caret {
	transform: rotate(180deg);
}

.translator.open ul {
	display: block !important;
}

.translator ul {
	display: none;
	position: absolute;
	right: 0;
	top: calc(100% + 8px);
	list-style: none;
	margin: 0;
	padding: 8px 6px;
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 18px 50px rgba(11, 116, 222, 0.12);
	min-width: 160px;
	z-index: 40;
	border: 1px solid rgba(11, 116, 222, 0.06);
}

.translator ul li {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 12px;
	cursor: pointer;
	border-radius: 8px;
	font-weight: 600;
}

.translator ul li:hover {
	background: rgba(11, 116, 222, 0.04);
}

.translator ul li::before {
	content: attr(data-lang);
	text-transform: uppercase;
	font-weight: 800;
	font-size: 0.75rem;
	background: #eef8ff;
	color: var(--primary);
	padding: 4px 6px;
	border-radius: 6px;
	margin-right: 6px;
}

.hamburger {
	display: none;
	background: transparent;
	border: none;
	font-size: 1.1rem;
	color: rgba(11, 37, 70, 0.9);
}

/* Mobile menu states and overlay */
.nav-links.mobile-open {
	display: flex !important;
	position: absolute;
	top: 64px;
	/* below header */
	right: 16px;
	flex-direction: column;
	gap: 8px;
	background: white;
	padding: 12px;
	border-radius: 10px;
	box-shadow: 0 20px 50px rgba(2, 10, 30, 0.12);
	min-width: 200px;
	z-index: 80;
	border: 1px solid rgba(11, 116, 222, 0.06);
}

.nav-links.mobile-open a {
	padding: 12px 14px;
	display: block;
}

.nav-links.mobile-open .translator {
	margin-left: 0;
}

.nav-overlay {
	display: none;
}

.nav-overlay.active {
	display: block;
	position: fixed;
	inset: 0;
	background: rgba(2, 10, 30, 0.35);
	z-index: 70;
}

/* HERO / Page container */
.page-main.container {
	padding: 28px 16px 60px;
	max-width: var(--max-width)
}

.page-intro {
	margin-bottom: 18px
}

.page-title {
	margin: 0 0 8px;
	font-size: clamp(1.4rem, 3.6vw, 2rem)
}

.muted {
	color: var(--muted)
}

/* Search */
.destination-search {
	margin: 18px 0
}

.search-form {
	display: grid;
	grid-template-columns: 1fr 220px 140px;
	gap: 10px;
	align-items: center;
	max-width: 1100px;
}

.search-input {
	padding: 14px 16px;
	border-radius: 12px;
	border: 1px solid rgba(11, 116, 222, 0.06);
	background: #fff;
	box-shadow: 0 6px 20px rgba(11, 116, 222, 0.04);
	transition: box-shadow .15s ease, transform .08s ease, border-color .12s ease;
	font-size: 0.98rem;
}

.search-input::placeholder {
	color: #9aa6b2;
}

.search-input:focus {
	outline: none;
	border-color: var(--accent);
	box-shadow: 0 10px 30px rgba(11, 116, 222, 0.08);
	transform: translateY(-1px);
}

.search-select,
.search-form select {
	padding: 12px 14px;
	border-radius: 12px;
	border: 1px solid rgba(11, 116, 222, 0.06);
	background: #fff;
	box-shadow: 0 6px 20px rgba(11, 116, 222, 0.03);
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
}

.search-select:focus,
.search-form select:focus {
	outline: none;
	border-color: var(--accent);
	box-shadow: 0 10px 30px rgba(11, 116, 222, 0.06);
}

.btn.btn-search {
	padding: 12px 18px;
	border-radius: 12px;
	background: linear-gradient(90deg, var(--accent), var(--accent-2));
	color: white;
	border: none;
	font-weight: 700;
	box-shadow: 0 12px 30px rgba(11, 116, 222, 0.12);
	cursor: pointer;
	transition: transform .12s ease, box-shadow .12s ease, opacity .12s ease;
}

.btn.btn-search i {
	margin-right: 8px
}

.btn.btn-search:hover {
	transform: translateY(-3px);
	box-shadow: 0 18px 40px rgba(11, 116, 222, 0.16);
}

/* small-screen adjustments */
@media (max-width:980px) {
	.search-form {
		grid-template-columns: 1fr 140px 120px
	}
}

@media (max-width:640px) {
	.search-form {
		grid-template-columns: 1fr;
		gap: 8px
	}

	.search-select,
	.search-form select {
		width: 100%
	}

	.btn.btn-search {
		width: 100%;
		display: inline-flex;
		justify-content: center
	}
}

/* Destinations grid */
.destinations-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 24px;
	margin-top: 24px
}

.destination-card {
	background: linear-gradient(180deg, #fff, #f8feff);
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 12px 30px rgba(11, 116, 222, 0.08);
	border: 1px solid rgba(11, 116, 222, 0.08);
	display: flex;
	flex-direction: column;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.destination-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 20px 40px rgba(11, 116, 222, 0.15);
}

.destination-image {
	/* prefer CSS aspect-ratio for a clean square; include padding-top fallback for older browsers */
	aspect-ratio: 4/3;
	width: 100%;
	/* fallback: keep an intrinsic square using padding-top if aspect-ratio unsupported */
	position: relative;
	overflow: hidden;
	background-size: cover;
	background-position: center;
}

.destination-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.destination-info {
	padding: 18px 18px 20px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	flex: 1 1 auto
}

.city-title {
	margin: 0;
	font-size: 1.25rem;
	font-weight: 700;
	color: #1a1f71
}

.summary {
	margin: 0;
	color: var(--muted);
	font-size: 0.95rem;
	line-height: 1.5
}

.pricing-row {
	margin-top: auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px
}

.starting-price {
	font-weight: 700;
	color: var(--accent);
	font-size: 0.95rem
}

.btn.btn-small {
	padding: 10px 16px;
	font-size: .95rem;
	border-radius: 8px;
	background: linear-gradient(90deg, var(--accent), var(--accent-2));
	color: #fff;
	text-decoration: none;
	border: none;
	cursor: pointer;
	font-weight: 600;
	transition: all 0.3s ease
}

.btn.btn-small:hover {
	transform: scale(1.05);
	box-shadow: 0 6px 16px rgba(11, 116, 222, 0.3)
}

.destination-promo {
	margin-top: 28px;
	padding: 20px;
	border-radius: 12px;
	background: linear-gradient(180deg, #f8feff, #fff);
	border: 1px solid rgba(11, 116, 222, 0.03);
	box-shadow: 0 8px 20px rgba(11, 116, 222, 0.04);
}

.destination-promo h2 {
	margin: 0 0 8px;
	color: var(--dark);
	font-size: 1.15rem;
	letter-spacing: 0.2px;
}

.promo-list {
	margin: 8px 0 0;
	color: var(--muted);
	display: grid;
	gap: 10px;
	grid-template-columns: 1fr;
	list-style: none;
	padding: 0;
}

.promo-list li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 6px 4px;
	background: transparent;
	border-radius: 8px;
}

.promo-list li i {
	min-width: 36px;
	height: 36px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	background: linear-gradient(180deg, rgba(11, 116, 222, 0.08), rgba(58, 160, 255, 0.06));
	color: var(--accent);
	font-size: 16px;
}

.promo-list li strong {
	font-weight: 700;
	color: var(--dark);
	margin-right: 6px
}

@media(min-width:900px) {
	.promo-list {
		grid-template-columns: repeat(2, 1fr)
	}
}

@media(max-width:520px) {
	.destination-promo {
		padding: 14px
	}

	.promo-list li {
		gap: 10px
	}

	.promo-list li i {
		min-width: 34px;
		height: 34px
	}
}

/* Footer tweaks */
footer {
	background: #0b1720;
	color: #cfeafc;
	padding: 48px 0;
	margin-top: 36px
}

.footer-grid {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 250px;
	gap: 20px;
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 16px
}

.footer-grid h4 {
	margin: 0 0 12px
}

.socials a {
	color: inherit;
	margin-right: 10px
}

.newsletter input {
	padding: 10px;
	border-radius: 8px;
	border: 0;
	margin-right: 8px
}

/* replacements for inline styles */
.section-title {
	margin-top: 0
}

.gap-2-flex {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 6px
}

.popular-title {
	font-size: 0.85rem
}

.popular-chips {
	display: flex;
	gap: 8px;
	margin-top: 6px;
	flex-wrap: wrap
}

.chip {
	padding: 8px 10px;
	border-radius: 999px;
	border: 1px solid #eef7fb;
	background: #fff;
	cursor: pointer
}

.footer-desc {
	color: rgba(207, 234, 252, 0.9);
	max-width: 36ch
}

.footer-list {
	list-style: none;
	padding: 0;
	margin: 0;
	color: rgba(207, 234, 252, 0.95)
}

.footer-link {
	color: inherit;
	text-decoration: none
}

.newsletter-row {
	display: flex;
	margin-top: 8px
}

.newsletter-input {
	flex: 1;
	border-radius: 8px;
	padding: 10px;
	border: 0
}

.subscribe-btn {
	margin-left: 8px
}

.socials-top {
	margin-top: 14px
}

.site-credits {
	text-align: center;
	color: rgba(207, 234, 252, 0.8);
	margin-top: 24px;
	font-size: 13px
}

/* Responsive rules */
@media (max-width:1200px) {
	.page-main.container {
		padding: 24px
	}

	.search-form {
		grid-template-columns: 1fr 180px 110px
	}
}

@media (max-width:980px) {
	.page-main.container {
		padding: 20px
	}

	.search-form {
		grid-template-columns: 1fr 140px
	}

	.footer-grid {
		grid-template-columns: 1fr 1fr
	}

	.nav-links {
		display: none !important
	}

	.hamburger {
		display: inline-flex !important
	}
}

@media (max-width:640px) {
	.page-main.container {
		padding: 18px 12px 40px
	}

	.search-form {
		grid-template-columns: 1fr
	}

	.btn.btn-search {
		width: 100%
	}

	.destinations-grid {
		grid-template-columns: 1fr
	}

	.brand-text {
		display: none
	}

	.nav-links {
		display: none
	}

	.hamburger {
		display: inline-flex
	}

	/* Mobile menu panel */
	.nav-links.mobile-open {
		display: flex !important;
		position: absolute;
		top: var(--header-height);
		right: 12px;
		flex-direction: column;
		gap: 8px;
		background: #fff;
		padding: 12px;
		border-radius: 10px;
		box-shadow: 0 20px 50px rgba(2, 10, 30, 0.12);
		min-width: 200px;
		z-index: 100;
		border: 1px solid rgba(11, 116, 222, 0.06)
	}

	.nav-links.mobile-open a {
		padding: 12px 14px;
		display: block
	}

	.nav-overlay {
		display: none
	}
}

/* focus states */
button,
a,
input,
select {
	touch-action: manipulation
}

/* Mobile nav overlay and polished mobile behavior */
.nav-overlay {
	display: none
}

.nav-overlay.active {
	display: block;
	position: fixed;
	inset: 0;
	background: rgba(2, 10, 30, 0.4);
	z-index: 95
}

/* Smooth open animation for mobile panel */
.nav-links.mobile-open {
	animation: navOpen .18s ease both
}

@keyframes navOpen {
	from {
		transform: translateY(-6px);
		opacity: 0
	}

	to {
		transform: none;
		opacity: 1
	}
}

/* Make header compact on very small devices */
@media(max-width:420px) {
	.site-header .nav {
		padding: 10px 0
	}

	.logo {
		width: 40px;
		height: 40px
	}

	.brand-text .brand-title {
		font-size: 0.95rem
	}
}

/* Ensure destination-image remains square on narrow browsers without aspect-ratio support */
@supports not (aspect-ratio: 1/1) {
	.destination-image {
		padding-top: 100%;
	}
}

/* Tighten spacing on very small viewports */
@media(max-width:360px) {
	.page-main.container {
		padding-left: 12px;
		padding-right: 12px
	}

	.promo-list li {
		gap: 8px
	}

	.promo-list li i {
		min-width: 30px;
		height: 30px
	}
}

a:focus,
button:focus,
input:focus,
select:focus {
	outline: 3px solid rgba(11, 116, 222, 0.18);
	outline-offset: 3px
}

/* Helper to force translator when JS toggles class */
.translator.open ul {
	display: block !important
}

/* Generic button used across the page (subscribe, small CTAs, etc.) */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 14px;
	border-radius: 10px;
	border: none;
	background: var(--accent);
	color: white;
	font-weight: 600;
	cursor: pointer;
	text-decoration: none;
}

/* Subscribe button in the footer should be slightly smaller and fit the footer color scheme */
.subscribe-btn {
	padding: 8px 12px;
	border-radius: 8px;
	background-color: #0b74de;
	color: #fff;
	border: none;
}