/* Durrah Travel — main stylesheet. Organised by section. */

/* ============ Base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font-body);
	color: var(--ink);
	background: var(--cream);
	line-height: 1.6;
	font-size: 16px;
	-webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }

/* Visible keyboard focus (mouse users unaffected). */
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 2px; }

h1, h2, h3, h4 {
	font-family: var(--font-display);
	color: var(--green-900);
	line-height: 1.15;
	margin: 0 0 .5em;
	font-weight: 700;
}
p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; height: auto; display: block; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--space-5); }
.container-wide { max-width: var(--container-wide); margin-inline: auto; padding-inline: var(--space-5); }

.script { font-family: var(--font-script); color: var(--gold); font-weight: 700; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0;
	margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
	position: fixed; left: 1rem; top: 1rem; width: auto; height: auto; clip: auto;
	background: var(--gold); color: var(--green-900); padding: .6rem 1rem; border-radius: 6px; z-index: 2000;
}

.icon { width: 20px; height: 20px; display: inline-block; vertical-align: middle; flex: none; }

/* ============ Buttons ============ */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	font-family: var(--font-body); font-weight: 600; font-size: .95rem; line-height: 1;
	border-radius: var(--radius-pill); padding: .85em 1.6em; border: 1.5px solid transparent;
	cursor: pointer; text-decoration: none; white-space: nowrap;
	transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, filter .2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn .icon { width: 18px; height: 18px; }
.btn-gold { background: var(--gold-grad); color: var(--green-900); box-shadow: var(--shadow-sm); }
.btn-gold:hover { filter: brightness(1.05); box-shadow: var(--shadow); }
.btn-outline { background: transparent; border-color: var(--gold); color: var(--gold); }
.btn-outline:hover { background: var(--gold); color: var(--green-900); }
.btn-green { background: var(--green-900); color: var(--cream); }
.btn-green:hover { background: var(--green-800); }
.btn-wa { background: #fff; color: var(--green-900); box-shadow: var(--shadow-sm); }
.btn-wa .icon { color: #25D366; }
.btn-outline-green { background: transparent; border-color: var(--green-900); color: var(--green-900); }
.btn-outline-green:hover { background: var(--green-900); color: var(--cream); }

/* ============ Header / nav ============ */
.site-header {
	position: sticky; top: 0; z-index: 1000;
	background: var(--green-900);
	min-height: var(--header-h);
	display: flex; align-items: center;
	transition: box-shadow .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 6px 20px rgba(0, 0, 0, .25); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-5); width: 100%; }
.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 44px; width: auto; }

.primary-nav { display: flex; align-items: center; gap: var(--space-6); }
.nav-list { display: flex; align-items: center; gap: var(--space-5); list-style: none; margin: 0; padding: 0; }
.nav-item a {
	color: var(--cream); font-size: .95rem; font-weight: 500; letter-spacing: .2px;
	padding: .4rem 0; position: relative; transition: color .2s ease;
}
.nav-item a:hover { color: var(--gold-bright); text-decoration: none; }
.nav-item.is-active a { color: var(--gold-bright); }
.nav-item.is-active a::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--gold);
}
.nav-cta { padding: .6em 1.4em; }

.nav-toggle {
	display: none; background: transparent; border: 0; color: var(--cream);
	padding: .25rem; cursor: pointer; line-height: 0;
}
.nav-toggle .icon { width: 28px; height: 28px; }
.nav-toggle .icon-close { display: none; }
.site-header.nav-open .nav-toggle .icon-menu { display: none; }
.site-header.nav-open .nav-toggle .icon-close { display: inline-block; }

/* ============ Footer ============ */
.site-footer { background: var(--green-900); color: var(--cream); margin-top: auto; }
.footer-grid {
	display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: var(--space-7);
	padding-block: var(--space-8) var(--space-6); align-items: start;
}
.footer-logo { height: 52px; width: auto; }
.footer-title {
	font-family: var(--font-body); color: var(--gold-bright); font-size: .95rem; font-weight: 600;
	letter-spacing: 1.5px; margin-bottom: var(--space-4);
}
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.footer-list li { display: flex; align-items: flex-start; gap: .6rem; font-size: .95rem; color: var(--cream); }
.footer-list .icon { color: var(--gold-bright); margin-top: 2px; }
.footer-list a { color: var(--cream); }
.footer-list a:hover { color: var(--gold-bright); }

.social-row { display: flex; gap: .6rem; margin-bottom: var(--space-5); }
.social-link {
	width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid rgba(246, 241, 231, .5);
	display: inline-flex; align-items: center; justify-content: center; color: var(--cream); transition: .2s;
}
.social-link:hover { background: var(--gold); border-color: var(--gold); color: var(--green-900); }
.social-link .icon { width: 18px; height: 18px; }
.footer-wa { width: fit-content; }

.footer-bottom { border-top: 1px solid rgba(246, 241, 231, .15); }
.footer-bottom p { margin: 0; padding-block: var(--space-4); font-size: .85rem; color: rgba(246, 241, 231, .7); text-align: center; }

/* ============ Floating WhatsApp ============ */
.wa-float {
	position: fixed; right: 18px; bottom: 18px; z-index: 1100;
	width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff;
	display: inline-flex; align-items: center; justify-content: center;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .28); transition: transform .18s ease;
}
.wa-float:hover { transform: scale(1.08); text-decoration: none; }
.wa-float .icon { width: 32px; height: 32px; }

/* ============ Generic page body ============ */
.site-main { min-height: 40vh; }
.page-body { padding-block: var(--space-8); }
.page-title { font-size: clamp(2rem, 4vw, 3rem); }

/* ============ Responsive ============ */
@media (max-width: 900px) {
	.nav-toggle { display: inline-flex; }
	.primary-nav {
		position: fixed; left: 0; right: 0; top: var(--header-h);
		background: var(--green-900); flex-direction: column; align-items: stretch;
		gap: 0; padding: var(--space-4) var(--space-5) var(--space-6);
		max-height: calc(100vh - var(--header-h)); overflow-y: auto;
		transform: translateY(-120%); transition: transform .3s ease; box-shadow: 0 12px 24px rgba(0, 0, 0, .3);
	}
	.site-header.nav-open .primary-nav { transform: none; }
	.nav-list { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
	.nav-item a { display: block; padding: .9rem 0; border-bottom: 1px solid rgba(246, 241, 231, .12); }
	.nav-item.is-active a::after { display: none; }
	.nav-cta { margin-top: var(--space-4); align-self: flex-start; }
}

@media (max-width: 720px) {
	.footer-grid { grid-template-columns: 1fr; gap: var(--space-6); }
}
