/* ==========================================================================
   MITT Hijrah — "Under construction" landing page
   Tokens mirror wp-content/themes/mitthijrah/assets/scss/_variables.scss
   ========================================================================== */

:root {
	--purple-900: #250a3c;
	--purple-700: #310d4f;
	--purple-500: #3d1063;
	--purple-300: #8b6ca2;
	--gold-500: #f3c317;
	--gold-300: #f8db74;
	--ink: #1a1a2e;
	--ink-soft: #56526e;
	--subhead: #939598;
	--light: #f7f5fd;
	--line: #ece6f5;

	--radius: .75rem;
	--radius-lg: 1.75rem;
	--font: "Geologica", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	font-family: var(--font);
	font-weight: 300;
	font-size: 1rem;
	line-height: 1.6;
	color: var(--ink-soft);
	background: #fff;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--purple-500); }

h1, h2, h3, h4 {
	margin: 0;
	font-weight: 700;
	line-height: 1.15;
	color: var(--purple-500);
}

p { margin: 0; }

.container {
	width: 100%;
	max-width: 1200px;
	margin-inline: auto;
	padding-inline: 24px;
}

.icon {
	width: 1.25em;
	height: 1.25em;
	flex: none;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.visually-hidden {
	position: absolute !important;
	width: 1px; height: 1px;
	margin: -1px; padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

/* ---- Buttons --------------------------------------------------------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .6rem;
	padding: .75rem 1.75rem;
	border: 2px solid transparent;
	border-radius: 999px;
	font: inherit;
	font-size: .9375rem;
	font-weight: 600;
	letter-spacing: .02em;
	line-height: 1.3;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:focus-visible { outline: 3px solid var(--purple-500); outline-offset: 3px; }
.btn:hover { transform: translateY(-1px); }

.btn-gold { background: var(--gold-500); color: var(--purple-500); box-shadow: 0 8px 20px rgba(243, 195, 23, .28); }
.btn-gold:hover { background: var(--gold-300); }

.btn-outline { border-color: var(--purple-500); color: var(--purple-500); background: transparent; }
.btn-outline:hover { background: var(--purple-500); color: #fff; }

.btn-outline-light { border-color: rgba(255, 255, 255, .7); color: #fff; background: transparent; }
.btn-outline-light:hover { background: #fff; color: var(--purple-500); border-color: #fff; }

.on-dark:focus-visible, .mitt-cta .btn:focus-visible { outline-color: var(--gold-500); }

/* ---- Top bar + header ------------------------------------------------- */
.topbar {
	background: var(--purple-900);
	color: rgba(255, 255, 255, .8);
	font-size: .75rem;
	letter-spacing: .04em;
}
.topbar__inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	padding-block: .5rem;
}
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--gold-500); }
.topbar__msg { display: inline-flex; align-items: center; gap: .5rem; }
.topbar__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-500); }

.header {
	background: var(--purple-500);
	border-bottom: 3px solid var(--gold-500);
}
.header__inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1.5rem;
	padding-block: 1rem;
}
.header__logo img { height: 52px; width: auto; }
.header .btn { padding: .55rem 1.25rem; font-size: .8125rem; }

/* ---- Hero ---------------------------------------------------------------- */
.hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	display: flex;
	align-items: center;
	min-height: clamp(520px, 44vw, 700px);
	padding: clamp(56px, 6vw, 104px) 0 clamp(64px, 6vw, 96px);
	background-color: #fff;
}
/* Photo fades in from the left so text always sits on white. */
.hero::before,
.hero::after {
	content: "";
	position: absolute;
	z-index: -1;
	pointer-events: none;
}
.hero::before {
	inset: 0 0 0 auto;
	width: 62%;
	background: url("img/hero-travel.jpg") 60% center / cover no-repeat, linear-gradient(135deg, #f7f5fd, #e6dcf3);
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .55) 22%, #000 48%);
	mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .55) 22%, #000 48%);
}
.hero::after {
	inset: 0;
	background: linear-gradient(0deg, #fff 0%, rgba(255, 255, 255, 0) 28%);
}
.hero__content { max-width: 600px; width: 58%; }

.badge {
	display: inline-flex;
	align-items: center;
	gap: .6rem;
	margin-bottom: 1.5rem;
	padding: .4rem 1rem;
	border: 1px solid rgba(61, 16, 99, .18);
	border-radius: 999px;
	background: var(--light);
	color: var(--purple-500);
	font-size: .75rem;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
}
.badge__dot {
	width: 8px; height: 8px;
	border-radius: 50%;
	background: var(--gold-500);
	box-shadow: 0 0 0 0 rgba(243, 195, 23, .6);
	animation: pulse 2s infinite;
}
@keyframes pulse {
	70% { box-shadow: 0 0 0 9px rgba(243, 195, 23, 0); }
	100% { box-shadow: 0 0 0 0 rgba(243, 195, 23, 0); }
}

.hero h1 {
	font-size: clamp(2.5rem, 4.2vw, 4.25rem);
	letter-spacing: -.035em;
}
.hero h1::after {
	content: "";
	display: block;
	width: 132px;
	height: 3px;
	margin: 1.5rem 0 1.25rem;
	background: var(--gold-500);
}
.hero__lead { font-size: 1.125rem; max-width: 520px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero__hours { margin-top: 1.5rem; font-size: .875rem; color: var(--subhead); }
.hero__hours strong { color: var(--purple-500); font-weight: 600; }

/* ---- Packages --------------------------------------------------------------- */
.packages { padding: clamp(56px, 6vw, 96px) 0; background: #fff; }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.eyebrow {
	display: block;
	margin-bottom: .75rem;
	font-size: .75rem;
	font-weight: 500;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--purple-300);
}
.section-head h2 { font-size: clamp(1.875rem, 3vw, 2.75rem); letter-spacing: -.025em; }
.section-head h2::after {
	content: "";
	display: block;
	width: 96px;
	height: 3px;
	margin: 1.1rem auto 1rem;
	background: var(--gold-500);
}
.section-head p { color: var(--subhead); }

.cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	align-items: stretch;
}

.card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	box-shadow: 0 10px 30px rgba(37, 10, 60, .07);
}

.card__media {
	position: relative;
	height: 190px;
	background: linear-gradient(135deg, var(--purple-300), var(--purple-500));
}
.card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: var(--focus, center);
}
.card__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(37, 10, 60, .55) 0%, rgba(37, 10, 60, 0) 55%);
}

.card__head {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1.5rem 1.75rem;
	background: linear-gradient(135deg, var(--purple-500), var(--purple-700));
	border-bottom: 3px solid var(--gold-500);
}
.card__icon {
	display: grid;
	place-items: center;
	width: 56px; height: 56px;
	flex: none;
	border-radius: 50%;
	background: var(--gold-500);
	color: var(--purple-500);
}
.card__icon .icon { width: 28px; height: 28px; }
.card__head h3 { color: #fff; font-size: 1.5rem; letter-spacing: -.01em; }
.card__head p { color: rgba(255, 255, 255, .8); font-size: .875rem; margin-top: .15rem; }

.card__body { display: flex; flex-direction: column; gap: 1.5rem; padding: 1.75rem; }

.group__title {
	display: flex;
	align-items: center;
	gap: .75rem;
	margin-bottom: .75rem;
	font-size: .75rem;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--purple-300);
}
.group__title::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.links { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }

.pdf-link {
	display: flex;
	align-items: center;
	gap: .75rem;
	padding: .75rem 1rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
	color: var(--ink);
	font-weight: 400;
	line-height: 1.3;
	text-decoration: none;
	transition: border-color .2s, background-color .2s, transform .2s, box-shadow .2s;
}
.pdf-link .icon { color: var(--purple-500); }
.pdf-link__label { flex: 1; }
.pdf-link small { display: block; color: var(--subhead); font-size: .75rem; font-weight: 300; }
.pdf-link__tag {
	padding: .15rem .6rem;
	border-radius: 999px;
	background: rgba(243, 195, 23, .22);
	color: var(--purple-500);
	font-size: .6875rem;
	font-weight: 700;
	letter-spacing: .08em;
}
.pdf-link:hover {
	border-color: var(--gold-500);
	background: #fffbea;
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(37, 10, 60, .08);
}
.pdf-link:focus-visible { outline: 3px solid var(--purple-500); outline-offset: 2px; }

/* ---- CTA ----------------------------------------------------------------------- */
.mitt-cta {
	position: relative;
	padding: clamp(56px, 6vw, 88px) 0;
	text-align: center;
	color: rgba(255, 255, 255, .85);
	background:
		linear-gradient(180deg, rgba(37, 10, 60, .94), rgba(61, 16, 99, .9)),
		url("img/bg-makkah.jpg") center / cover no-repeat;
}
.mitt-cta h2 { color: var(--gold-500); font-size: clamp(1.75rem, 3vw, 2.5rem); letter-spacing: -.025em; }
.mitt-cta p { max-width: 560px; margin: 1rem auto 0; }
.mitt-cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 2rem; }

/* ---- Footer ------------------------------------------------------------------- */
.footer { background: var(--purple-900); color: rgba(255, 255, 255, .75); font-size: .875rem; }
.footer__inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 1.5rem;
	padding-block: 2rem 1.5rem;
}
.footer img { height: 44px; width: auto; }
.footer__info { text-align: right; }
.footer__info strong { color: #fff; font-weight: 500; }
.footer__bottom {
	padding-block: 1rem;
	border-top: 1px solid rgba(243, 195, 23, .55);
	font-size: .75rem;
	color: rgba(255, 255, 255, .6);
}

/* ---- Responsive --------------------------------------------------------------- */
@media (max-width: 1099.98px) {
	.cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 991.98px) {
	.hero { min-height: 0; }
	.hero::before {
		width: 100%;
		opacity: .22;
		-webkit-mask-image: none;
		mask-image: none;
	}
	.hero__content { width: 100%; max-width: 640px; }
}

@media (max-width: 767.98px) {
	.cards { grid-template-columns: minmax(0, 1fr); }
	.topbar__msg span:last-child { display: none; }
	.header__logo img { height: 44px; }
	.footer__inner { flex-direction: column; align-items: flex-start; }
	.footer__info { text-align: left; }
	.hero__actions .btn, .mitt-cta__actions .btn { width: 100%; }
}

@media (max-width: 479.98px) {
	.header .btn span { display: none; }
	.card__head, .card__body { padding-inline: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.badge__dot { animation: none; }
	.btn, .pdf-link { transition: none; }
	.btn:hover, .pdf-link:hover { transform: none; }
}
