/* ==========================================================================
   WoozyTravel – main stylesheet
   1. Tokens   2. Base & type   3. Layout   4. Components   5. Header   6. Footer
   7. Destination template
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
	/* Backgrounds & surfaces */
	--wt-bg-canvas: #f8fafc;
	--wt-bg-surface: #ffffff;
	--wt-bg-subtle: #f1f5f9;
	--wt-bg-dark: #0f172a;
	--wt-bg-dark-elevated: #1e293b;
	--wt-bg-footer: #090d16;

	/* Text */
	--wt-text-heading: #0f172a;
	--wt-text-body: #334155;
	--wt-text-muted: #64748b;
	--wt-text-inverse: #ffffff;

	/* Brand & semantic */
	--wt-accent: #ea580c;
	--wt-accent-hover: #c2410c;
	--wt-accent-light: #fb923c;
	--wt-accent-tint: #fff7ed;
	--wt-accent-border: #fdba74;
	--wt-ok: #16a34a;
	--wt-sea: #0284c7;

	/* Tone colours for image areas (fallback until photos are added) */
	--wt-tone-navy: #0f172a;
	--wt-tone-slate: #334155;
	--wt-tone-forest: #1c3a2a;
	--wt-tone-teal: #134e4a;
	--wt-tone-rust: #7c2d12;
	--wt-tone-ocean: #1e3a8a;
	--wt-tone-lagoon: #0369a1;

	/* Borders, radii, shadows */
	--wt-border: #e2e8f0;
	--wt-border-strong: #cbd5e1;
	--wt-radius-lg: 18px;
	--wt-radius-md: 14px;
	--wt-radius-sm: 8px;
	--wt-radius-pill: 9999px;
	--wt-shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.04);
	--wt-shadow-md: 0 8px 24px rgba(15, 23, 42, 0.07);

	/* Layout */
	--wt-container: 1152px;
	--wt-reading-width: 800px;
	--wt-gutter: clamp(16px, 4vw, 64px);

	/* Fonts (files in assets/fonts, @font-face in fonts.css) */
	--wt-font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	--wt-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* 2. Base & typography ------------------------------------------------------ */
[class*="wt-"], [class*="wt-"] *, [class*="wt-"]::before, [class*="wt-"]::after { box-sizing: border-box; }

body {
	background: var(--wt-bg-canvas);
	color: var(--wt-text-body);
	font-family: var(--wt-font-body);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.main-title {
	font-family: var(--wt-font-heading);
	color: var(--wt-text-heading);
	font-weight: 800;
}

h1 { font-size: clamp(2.25rem, 4.5vw, 3.25rem); line-height: 1.08; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); line-height: 1.25; letter-spacing: -0.01em; }
h3 { font-size: clamp(1.125rem, 1.6vw, 1.3rem); line-height: 1.3; }

.single-post .entry-title { font-size: clamp(2rem, 4vw, 2.75rem); line-height: 1.15; }
.entry-content h2 { font-size: 1.5rem; line-height: 1.3; }

a { color: var(--wt-accent); }
a:hover, a:focus { color: var(--wt-accent-hover); }

:focus-visible { outline: 2px solid var(--wt-accent); outline-offset: 2px; }

/* 3. Layout ----------------------------------------------------------------- */
.wt-container {
	width: 100%;
	max-width: calc(var(--wt-container) + 2 * var(--wt-gutter));
	margin-inline: auto;
	padding-inline: var(--wt-gutter);
}

.wt-reading { max-width: var(--wt-reading-width); }

.wt-section { padding-block: clamp(36px, 5vw, 56px) 0; }
.wt-section:last-child { padding-bottom: clamp(48px, 6vw, 72px); }

.wt-section__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 8px 24px;
	margin-bottom: 18px;
}
.wt-section__head h2 { margin: 4px 0 0; }
.wt-section__aside { color: var(--wt-text-muted); font-size: 0.875rem; margin: 0; }

.wt-grid { display: grid; gap: 20px; }
.wt-grid--2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); }
.wt-grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.wt-grid--4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }

/* GeneratePress containers on our full-width templates */
.wt-layout .site-content { display: block; padding: 0; }
.wt-layout .inside-article { padding: 0; background: transparent; }

/* 4. Components ------------------------------------------------------------- */
.wt-eyebrow {
	display: block;
	font-family: var(--wt-font-heading);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wt-accent);
}

.wt-badge {
	display: inline-block;
	padding: 5px 12px;
	border-radius: var(--wt-radius-pill);
	background: var(--wt-accent);
	color: #fff;
	font-family: var(--wt-font-heading);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	line-height: 1.3;
}
.wt-badge--dark { background: var(--wt-bg-dark); }
.wt-badge--soft { background: var(--wt-accent-tint); color: var(--wt-accent); }

.wt-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 16px;
	border: 1px solid var(--wt-border-strong);
	border-radius: var(--wt-radius-pill);
	background: var(--wt-bg-surface);
	color: var(--wt-text-heading);
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
}
.wt-pill:hover { border-color: var(--wt-text-heading); color: var(--wt-text-heading); }
.wt-pill--active, .wt-pill--accent { background: var(--wt-accent); border-color: var(--wt-accent); color: #fff; }
.wt-pill--active:hover, .wt-pill--accent:hover { background: var(--wt-accent-hover); color: #fff; }
.wt-pill--ghost { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.35); color: #fff; }
.wt-pill--ghost:hover { background: rgba(255,255,255,.16); color: #fff; border-color: #fff; }

.wt-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 12px 22px;
	border-radius: var(--wt-radius-sm);
	background: var(--wt-bg-dark);
	color: #fff;
	font-family: var(--wt-font-heading);
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	transition: background .15s ease;
}
.wt-btn:hover, .wt-btn:focus { background: var(--wt-bg-dark-elevated); color: #fff; }
.wt-btn--accent { background: var(--wt-accent); }
.wt-btn--accent:hover, .wt-btn--accent:focus { background: var(--wt-accent-hover); }
.wt-btn--block { display: flex; width: 100%; }

.wt-link-arrow {
	white-space: nowrap;
	font-family: var(--wt-font-heading);
	font-weight: 700;
	font-size: 0.875rem;
	text-decoration: none;
}
.wt-link-arrow::after { content: ' →'; }

.wt-card {
	display: flex;
	flex-direction: column;
	background: var(--wt-bg-surface);
	border: 1px solid var(--wt-border);
	border-radius: var(--wt-radius-md);
	box-shadow: var(--wt-shadow-sm);
	overflow: hidden;
}
.wt-card--highlight { border: 2px solid var(--wt-accent); }
.wt-card--tint { background: var(--wt-accent-tint); border-color: var(--wt-accent-border); }
.wt-card__body { display: flex; flex-direction: column; flex: 1; padding: 20px; }
.wt-card__title { font-size: 1.2rem; margin: 6px 0 6px; }
.wt-card__title a { color: inherit; text-decoration: none; }
.wt-card__title a:hover { color: var(--wt-accent); }
.wt-card__text { font-size: 0.875rem; line-height: 1.5; color: var(--wt-text-muted); margin: 0 0 12px; }
.wt-card__foot {
	margin-top: auto;
	padding-top: 12px;
	border-top: 1px solid var(--wt-border);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	font-size: 0.875rem;
}
.wt-card__media {
	position: relative;
	min-height: 96px;
	padding: 14px;
	background-size: cover;
	background-position: center;
}

.wt-ticks { list-style: none; margin: 0 0 14px; padding: 0; font-size: 0.8125rem; color: var(--wt-ok); font-weight: 500; }
.wt-ticks li::before { content: '✓ '; }

.wt-rating {
	display: inline-block;
	padding: 3px 8px;
	border-radius: 6px;
	background: var(--wt-accent-tint);
	border: 1px solid var(--wt-accent-border);
	color: var(--wt-accent);
	font-size: 0.75rem;
	font-weight: 700;
}

/* Tone backgrounds */
.wt-tone--navy   { background-color: var(--wt-tone-navy); }
.wt-tone--slate  { background-color: var(--wt-tone-slate); }
.wt-tone--forest { background-color: var(--wt-tone-forest); }
.wt-tone--teal   { background-color: var(--wt-tone-teal); }
.wt-tone--rust   { background-color: var(--wt-tone-rust); }
.wt-tone--ocean  { background-color: var(--wt-tone-ocean); }
.wt-tone--lagoon { background-color: var(--wt-tone-lagoon); }

/* Breadcrumbs */
.wt-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; margin: 0; padding: 0; font-size: 0.8125rem; }
.wt-breadcrumbs li + li::before { content: '›'; margin-right: 4px; opacity: .6; }
.wt-breadcrumbs a { color: inherit; text-decoration: none; }
.wt-breadcrumbs a:hover { color: var(--wt-accent-light); }
.wt-breadcrumbs [aria-current] { font-weight: 600; }

/* 5. Header ----------------------------------------------------------------- */
.site-header { background: var(--wt-bg-surface); border-bottom: 1px solid var(--wt-border); }

.wt-logo a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.wt-logo__icon {
	display: inline-grid;
	place-items: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--wt-accent);
}
.wt-logo__text {
	font-family: var(--wt-font-heading);
	font-size: 1.375rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--wt-text-heading);
}
.wt-logo__accent { color: var(--wt-accent); }

.main-navigation .main-nav ul li a {
	font-family: var(--wt-font-body);
	font-size: 0.9375rem;
	font-weight: 500;
	color: var(--wt-text-body);
}
.main-navigation .main-nav ul li[class*="current-menu-"] > a,
.main-navigation .main-nav ul li a:hover { color: var(--wt-accent); }
.main-navigation .main-nav ul li[class*="current-menu-"] > a { box-shadow: inset 0 -2px 0 var(--wt-accent); }

.wt-header-cta {
	display: inline-flex;
	align-items: center;
	margin-left: 12px;
	padding: 10px 18px;
	border-radius: var(--wt-radius-pill);
	background: var(--wt-bg-dark);
	color: #fff;
	font-family: var(--wt-font-heading);
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
	align-self: center;
}
.wt-header-cta:hover, .wt-header-cta:focus { background: var(--wt-accent); color: #fff; }

/* 6. Footer ----------------------------------------------------------------- */
.site-footer { background: var(--wt-bg-footer); }
.wt-footer { color: #94a3b8; padding: 56px 0 64px; font-size: 0.875rem; }
.wt-footer__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.wt-footer .wt-logo__text { color: #fff; }
.wt-footer .wt-logo__icon { display: none; }
.wt-footer__tagline { margin: 14px 0; max-width: 340px; line-height: 1.6; }
.wt-footer__copy { font-size: 0.8125rem; color: #475569; margin: 0; }
.wt-footer__heading {
	font-family: var(--wt-font-heading);
	font-size: 0.8125rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #fff;
	margin: 0 0 14px;
}
.wt-footer__menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.wt-footer__menu a { color: #94a3b8; text-decoration: none; }
.wt-footer__menu a:hover { color: #fff; }

@media (max-width: 900px) {
	.wt-footer__grid { grid-template-columns: 1fr 1fr; }
	.wt-footer__brand { grid-column: 1 / -1; }
}

/* 7. Destination template --------------------------------------------------- */
.wt-hero {
	position: relative;
	color: #fff;
	padding: 28px 0 96px;
	background-size: cover;
	background-position: center;
}
.wt-hero::after { /* keeps text readable on photos */
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(15,23,42,.55), rgba(15,23,42,.35));
	pointer-events: none;
}
.wt-hero:not([style*="background-image"])::after { display: none; }
.wt-hero > * { position: relative; z-index: 1; }
.wt-hero .wt-breadcrumbs { color: #e2e8f0; margin-bottom: 18px; }
.wt-hero .wt-breadcrumbs a { color: var(--wt-accent-light); }
.wt-hero h1 { color: #fff; margin: 12px 0 10px; }
.wt-hero__tagline { font-size: 1.0625rem; line-height: 1.55; color: #e2e8f0; max-width: 820px; margin: 0 0 22px; }
.wt-hero__nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
.wt-hero__nav > div { display: flex; flex-wrap: wrap; gap: 10px; }

.wt-facts { margin-top: -64px; position: relative; z-index: 2; }
.wt-fact {
	background: var(--wt-bg-surface);
	border: 1px solid var(--wt-border);
	border-radius: var(--wt-radius-md);
	box-shadow: var(--wt-shadow-md);
	padding: 16px 18px;
	text-decoration: none;
	display: block;
}
.wt-fact__label { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--wt-text-muted); }
.wt-fact__value { display: block; font-family: var(--wt-font-heading); font-weight: 800; font-size: 1.0625rem; color: var(--wt-text-heading); margin: 4px 0 2px; }
.wt-fact__note { font-size: 0.8125rem; color: var(--wt-text-muted); }
a.wt-fact { background: var(--wt-accent-tint); border-color: var(--wt-accent-border); }
a.wt-fact .wt-fact__label { color: var(--wt-accent); }

.wt-exp-col__head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 16px;
	border-radius: var(--wt-radius-sm);
	background: var(--wt-bg-dark);
	color: #fff;
	font-family: var(--wt-font-heading);
	font-weight: 800;
	font-size: 0.875rem;
	text-transform: uppercase;
	letter-spacing: .04em;
	margin-bottom: 12px;
}
.wt-exp-col:nth-child(2) .wt-exp-col__head { background: var(--wt-accent); }
.wt-exp-col:nth-child(3) .wt-exp-col__head { background: var(--wt-tone-forest); }
.wt-exp-col .wt-card + .wt-card { margin-top: 12px; }
.wt-meta { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--wt-text-muted); }

.wt-route { font-size: 0.8125rem; font-weight: 600; color: var(--wt-text-heading); margin: 0 0 8px; }
.wt-route mark { background: none; color: var(--wt-accent); }
.wt-itin-card { flex-direction: row; }
.wt-itin-card .wt-card__media { flex: 0 0 32%; min-height: 180px; }

.wt-editorial { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; }
.wt-editorial__main { background: var(--wt-bg-surface); border: 1px solid var(--wt-border); border-radius: var(--wt-radius-lg); padding: clamp(24px, 4vw, 40px); }
.wt-editorial__aside { position: sticky; top: 24px; display: grid; gap: 20px; }
.wt-ttd { border-top: 1px solid var(--wt-border); padding-top: 28px; margin-top: 28px; }
.wt-ttd h3 { margin: 0 0 4px; font-size: 1.3rem; }
.wt-ttd__meta { font-size: 0.8125rem; font-weight: 600; color: var(--wt-text-muted); margin: 0 0 12px; }
.wt-tip {
	margin-top: 16px;
	padding: 12px 16px;
	border: 1px solid var(--wt-border);
	border-radius: var(--wt-radius-sm);
	background: var(--wt-bg-canvas);
	font-size: 0.875rem;
}
.wt-tip--explore { background: var(--wt-accent-tint); border-color: var(--wt-accent-border); }
.wt-toc { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; font-size: 0.875rem; }
.wt-toc a { color: var(--wt-text-body); text-decoration: none; }
.wt-toc a:hover { color: var(--wt-accent); }

.wt-cta-dark { background: var(--wt-bg-dark); color: #cbd5e1; border-radius: var(--wt-radius-lg); padding: 24px; }
.wt-cta-dark h3 { color: #fff; }

@media (max-width: 900px) {
	.wt-editorial { grid-template-columns: 1fr; }
	.wt-editorial__aside { position: static; }
	.wt-itin-card { flex-direction: column; }
	.wt-itin-card .wt-card__media { min-height: 120px; }
}
