/*
	AZCN — Antwerps Zeilcentrum Noordkasteel
	2026 refresh
*/

:root {
	--navy-900: #0b2f66;
	--navy-800: #123a7c;
	--navy-700: #1a4f9e;
	--blue-500: #0868d9;
	--blue-400: #3b8ef0;
	--sand-400: #e2c088;
	--sand-500: #cda160;
	--ink: #17222c;
	--ink-soft: #4a5866;
	--mist: #eef6fe;
	--mist-200: #dcedfc;
	--white: #ffffff;
	--border: #d7e6f5;
	--shadow: 0 10px 30px -12px rgba(11, 47, 102, 0.28);
	--shadow-sm: 0 2px 10px rgba(11, 47, 102, 0.1);
	--radius: 14px;
	--radius-sm: 8px;
	--wrap: 1120px;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
	font-size: 16px;
	line-height: 1.7;
	color: var(--ink);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	display: block;
}

a {
	color: var(--blue-500);
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

h1, h2, h3, h4 {
	font-family: 'Manrope', 'Inter', system-ui, sans-serif;
	color: var(--navy-900);
	line-height: 1.25;
	margin: 0 0 0.5em;
}

h1 { font-weight: 800; }
h2 { font-weight: 800; font-size: 1.6em; }
h3 { font-weight: 700; font-size: 1.15em; }

p {
	margin: 0 0 1em;
}

ul {
	margin: 0 0 1em;
	padding-left: 1.2em;
}

strong, b {
	color: var(--navy-900);
	font-weight: 700;
}

.wrap {
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 0 24px;
}

/* -------------------------------------------------- */
/* Header                                              */
/* -------------------------------------------------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--navy-900);
	box-shadow: 0 16px 28px -18px rgba(0, 0, 0, 0.6);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 76px;
}

.brand {
	display: flex;
	align-items: center;
	gap: 12px;
	color: var(--white);
}

.brand:hover {
	text-decoration: none;
}

.brand-mark {
	width: 40px;
	height: 40px;
	flex-shrink: 0;
}

.brand-mark img {
	width: 100%;
	height: 100%;
	display: block;
}

.brand-text {
	display: flex;
	flex-direction: column;
	line-height: 1.2;
}

.brand-text strong {
	font-family: 'Manrope', sans-serif;
	font-size: 1.3em;
	letter-spacing: 0.04em;
	color: var(--white);
}

.brand-text small {
	font-size: 0.72em;
	color: rgba(255, 255, 255, 0.6);
	letter-spacing: 0.02em;
}

.site-nav ul {
	display: flex;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-nav a {
	display: inline-block;
	padding: 10px 16px;
	border-radius: 999px;
	color: rgba(255, 255, 255, 0.82);
	font-weight: 600;
	font-size: 0.95em;
}

.site-nav a:hover {
	background: rgba(255, 255, 255, 0.1);
	text-decoration: none;
}

.site-nav a.active {
	background: var(--sand-400);
	color: var(--navy-900);
}

.nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 42px;
	height: 42px;
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: var(--radius-sm);
	background: transparent;
	cursor: pointer;
	padding: 0;
}

.nav-toggle span {
	display: block;
	width: 18px;
	height: 2px;
	margin: 0 auto;
	background: var(--white);
	border-radius: 2px;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

/* -------------------------------------------------- */
/* Hero                                                */
/* -------------------------------------------------- */

.hero {
	position: relative;
	color: var(--white);
	background: linear-gradient(160deg, var(--navy-900), var(--navy-700) 60%, var(--blue-500));
	overflow: hidden;
}

.hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(120deg, rgba(8, 104, 217, 0.55), rgba(11, 47, 102, 0.85)),
		url('../images/banner.jpg');
	background-size: cover, cover;
	background-position: center, top center;
	background-blend-mode: color, normal;
	opacity: 0.85;
}

.hero::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(100deg, rgba(11, 47, 102, 0.62) 0%, rgba(11, 47, 102, 0.34) 45%, rgba(11, 47, 102, 0.1) 100%);
}

.hero-inner {
	position: relative;
	z-index: 1;
	padding: 88px 24px 76px;
	max-width: 760px;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	font-size: 0.78em;
	font-weight: 700;
	color: var(--sand-400);
	margin-bottom: 18px;
}

.hero h1 {
	color: var(--white);
	font-size: clamp(2rem, 4.5vw, 3.1rem);
	margin-bottom: 0.4em;
}

.hero .lead {
	font-size: 1.15em;
	color: rgba(255, 255, 255, 0.88);
	max-width: 60ch;
}

.hero-actions {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
	margin-top: 28px;
}

/* Slim header band for interior pages */
.page-header {
	position: relative;
	color: var(--white);
	background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
	overflow: hidden;
}

.page-header::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(120deg, rgba(8, 104, 217, 0.55), rgba(11, 47, 102, 0.85)),
		url('../images/banner.jpg');
	background-size: cover, cover;
	background-position: center, top center;
	background-blend-mode: color, normal;
	opacity: 0.85;
}

.page-header::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(100deg, rgba(11, 47, 102, 0.62) 0%, rgba(11, 47, 102, 0.34) 45%, rgba(11, 47, 102, 0.1) 100%);
}

.page-header-inner {
	position: relative;
	z-index: 1;
	padding: 56px 24px 52px;
}

.page-header .eyebrow {
	margin-bottom: 10px;
}

.page-header h1 {
	color: var(--white);
	font-size: clamp(1.7rem, 3.5vw, 2.4rem);
	margin-bottom: 0.3em;
}

.page-header p {
	color: rgba(255, 255, 255, 0.82);
	max-width: 60ch;
	margin: 0;
}

/* -------------------------------------------------- */
/* Buttons                                             */
/* -------------------------------------------------- */

.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 22px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 0.95em;
	border: 1px solid transparent;
	cursor: pointer;
}

.btn:hover {
	text-decoration: none;
}

.btn-primary {
	background: var(--sand-400);
	color: var(--navy-900);
}

.btn-primary:hover {
	background: var(--sand-500);
}

.btn-ghost {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.4);
	color: var(--white);
}

.btn-ghost:hover {
	background: rgba(255, 255, 255, 0.18);
}

.btn-secondary {
	background: var(--mist);
	border-color: var(--border);
	color: var(--navy-900);
}

.btn-secondary:hover {
	background: var(--mist-200);
}

.btn-sm {
	padding: 8px 16px;
	font-size: 0.85em;
}

.btn svg {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

/* -------------------------------------------------- */
/* Main layout                                         */
/* -------------------------------------------------- */

.main {
	padding: 64px 0 88px;
}

.layout {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 48px;
	align-items: start;
}

.layout > * {
	min-width: 0;
}

.layout.no-sidebar {
	grid-template-columns: 1fr;
	max-width: 820px;
}

.card {
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 28px 30px;
	box-shadow: var(--shadow-sm);
}

.card + .card {
	margin-top: 24px;
}

.section-head {
	margin-bottom: 20px;
}

.section-head .kicker {
	display: block;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-size: 0.75em;
	font-weight: 700;
	color: var(--blue-500);
	margin-bottom: 6px;
}

/* Feature grid ("Waarom bij AZCN") */
.feature-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 10px;
}

.feature-grid li {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 14px;
	background: var(--mist);
	border-radius: var(--radius-sm);
	font-weight: 600;
	font-size: 0.94em;
	color: var(--navy-800);
}

.feature-grid li::before {
	content: '';
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--blue-500);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 12px no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.badge-row {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-top: 22px;
	padding-top: 22px;
	border-top: 1px solid var(--border);
}

.badge-row img {
	max-height: 56px;
	width: auto;
}

/* Sidebar cards */
.sidebar-card {
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
}

.sidebar-card + .sidebar-card {
	margin-top: 24px;
}

.sidebar-card img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.sidebar-card-body {
	padding: 22px 24px;
}

.sidebar-card-body h3 {
	margin-bottom: 0.4em;
}

.sidebar-card-body p {
	color: var(--ink-soft);
	font-size: 0.95em;
}

.sidebar-card-body .btn {
	margin-top: 6px;
}

/* Kalender page */
.course-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.course-list > li {
	padding: 18px 0;
	border-bottom: 1px solid var(--border);
}

.course-list > li:first-child {
	padding-top: 0;
}

.course-list > li:last-child {
	border-bottom: none;
}

.course-list .posted {
	margin: 0 0 4px;
	font-family: 'Manrope', sans-serif;
	font-weight: 700;
	color: var(--navy-900);
	font-size: 1.05em;
}

.course-list .text {
	margin: 0 0 6px;
	color: var(--ink-soft);
	font-size: 0.95em;
}

.ics-export {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 18px 0 0;
}

.ics-export-top {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px 16px;
}

.ics-export-top .btn {
	flex-shrink: 0;
}

.ics-hint {
	flex: 1 1 220px;
	margin: 0;
	font-size: 0.85em;
	color: var(--ink-soft);
}

.ics-url-row {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.ics-url-row code {
	display: block;
	flex: 1 1 0%;
	min-width: 0;
	padding: 8px 12px;
	background: var(--mist);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
	font-size: 0.85em;
	color: var(--navy-800);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	user-select: all;
}

.ics-url-row .btn {
	flex-shrink: 0;
}

.next-event {
	display: flex;
	align-items: center;
	gap: 18px;
	margin: 20px 0 8px;
	padding: 22px 26px;
	background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
	border-radius: var(--radius);
	color: var(--white);
}

.next-event .badge {
	display: inline-block;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-size: 0.72em;
	font-weight: 700;
	color: var(--sand-400);
	margin-bottom: 6px;
}

.next-event .next-event-date {
	font-family: 'Manrope', sans-serif;
	font-weight: 800;
	font-size: 1.25em;
	color: var(--white);
}

.next-event .next-event-name {
	color: rgba(255, 255, 255, 0.85);
	font-weight: 500;
}

.empty-note {
	color: var(--ink-soft);
	font-size: 0.95em;
	margin: 20px 0 8px;
	padding: 16px 18px;
	background: var(--mist);
	border-radius: var(--radius-sm);
}

.section-sub {
	margin: 32px 0 6px;
	padding-top: 24px;
	border-top: 1px solid var(--border);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 0.8em;
	font-weight: 700;
	color: var(--ink-soft);
}

.section-sub:first-of-type {
	margin-top: 20px;
}

.section-sub.no-border {
	border-top: none;
	padding-top: 0;
}

.table-scroll {
	overflow-x: auto;
}

.event-table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 8px;
}

.event-table td {
	padding: 12px 10px;
	border-bottom: 1px solid var(--border);
	font-size: 0.96em;
}

.event-table td:first-child {
	white-space: nowrap;
	color: var(--navy-800);
	font-weight: 600;
	width: 42%;
}

.event-table--passed td {
	color: #9aa7b2;
}

.event-table--passed td:first-child {
	font-weight: 500;
	color: #9aa7b2;
}

.callout {
	background: var(--mist);
	border-left: 4px solid var(--sand-500);
	border-radius: var(--radius-sm);
	padding: 16px 18px;
	margin: 0 0 1.2em;
	font-size: 0.95em;
	color: var(--navy-800);
}

.price-list {
	list-style: none;
	margin: 0 0 1.5em;
	padding: 0;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
}

.price-list li {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 14px 20px;
	border-bottom: 1px solid var(--border);
}

.price-list li:last-child {
	border-bottom: none;
}

.price-list li:nth-child(odd) {
	background: var(--mist);
}

.price-list .amount {
	font-weight: 700;
	color: var(--navy-900);
	font-family: 'Manrope', sans-serif;
}

/* Contact page */
.contact-details {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
	margin: 24px 0;
}

.contact-tile {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 16px 18px;
	background: var(--mist);
	border-radius: var(--radius-sm);
}

.contact-tile svg {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	color: var(--blue-500);
	margin-top: 2px;
}

.contact-tile strong {
	display: block;
	font-size: 0.78em;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--ink-soft);
	margin-bottom: 2px;
}

.contact-tile a, .contact-tile span {
	color: var(--navy-900);
	font-weight: 600;
}

.map-responsive {
	position: relative;
	overflow: hidden;
	padding-top: 56%;
	border-radius: var(--radius);
	border: 1px solid var(--border);
	margin-top: 24px;
}

.map-responsive iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* -------------------------------------------------- */
/* Footer                                              */
/* -------------------------------------------------- */

.site-footer {
	background: var(--navy-900);
	color: rgba(255, 255, 255, 0.7);
	padding: 48px 0 28px;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: 32px;
	padding-bottom: 32px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--white);
	font-family: 'Manrope', sans-serif;
	font-weight: 800;
	font-size: 1.15em;
	letter-spacing: 0.04em;
	margin-bottom: 10px;
}

.footer-brand img {
	width: 26px;
	height: 26px;
}

.footer-col h4 {
	color: var(--white);
	font-size: 0.82em;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	margin-bottom: 12px;
}

.footer-col ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-col li {
	margin-bottom: 8px;
}

.footer-col a {
	color: rgba(255, 255, 255, 0.72);
}

.footer-col a:hover {
	color: var(--white);
}

.copyright {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	padding-top: 22px;
	font-size: 0.85em;
}

.netconsults-credit {
	display: inline-flex;
	align-items: center;
	background: var(--white);
	padding: 9px 16px;
	border-radius: 999px;
	box-shadow: var(--shadow-sm);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.netconsults-credit img {
	height: 35px;
	width: auto;
}

.netconsults-credit:hover {
	transform: translateY(-1px);
	box-shadow: var(--shadow);
}

/* -------------------------------------------------- */
/* Responsive                                          */
/* -------------------------------------------------- */

@media (max-width: 860px) {
	.layout {
		grid-template-columns: 1fr;
	}

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

@media (max-width: 720px) {
	.nav-toggle {
		display: flex;
	}

	.site-nav {
		position: fixed;
		inset: 76px 0 0 0;
		background: var(--navy-900);
		transform: translateY(-8px);
		opacity: 0;
		pointer-events: none;
		transition: opacity 0.18s ease, transform 0.18s ease;
		padding: 18px 24px;
		border-top: 1px solid rgba(255, 255, 255, 0.1);
	}

	.site-nav.is-open {
		opacity: 1;
		pointer-events: auto;
		transform: translateY(0);
	}

	.site-nav ul {
		flex-direction: column;
		gap: 4px;
	}

	.site-nav a {
		display: block;
		padding: 14px 16px;
		border-radius: var(--radius-sm);
	}

	.contact-details,
	.feature-grid {
		grid-template-columns: 1fr;
	}

	.footer-grid {
		grid-template-columns: 1fr;
		text-align: left;
	}

	.hero-inner {
		padding: 56px 20px 48px;
	}

	.main {
		padding: 40px 0 56px;
	}

	.card {
		padding: 22px 20px;
	}

	.event-table td:first-child {
		white-space: normal;
		width: 38%;
	}

	.event-table td {
		padding: 10px 6px;
		font-size: 0.88em;
	}

	.next-event {
		flex-direction: column;
		align-items: flex-start;
		gap: 4px;
	}
}

@media (max-width: 480px) {
	.hero-actions {
		flex-direction: column;
		align-items: stretch;
	}

	.hero-actions .btn {
		justify-content: center;
	}

	.ics-url-row {
		flex-direction: column;
		align-items: stretch;
	}

	.ics-url-row code {
		white-space: normal;
		word-break: break-all;
	}
}
