/* Hulzinga Watersport – aanvullende stijlen bovenop theme.json */

html { scroll-behavior: smooth; }
:where(#diensten, #over-ons, #team, #contact) { scroll-margin-top: 24px; }
.wp-site-blocks > * { margin-block-start: 0; }
.wp-site-blocks > .wp-block-template-part + main,
main.hz-main { margin-block-start: 0; }

/* ---------- Kleine bouwstenen ---------- */
.hz-kicker {
	margin: 0;
	font-family: var(--wp--preset--font-family--archivo);
	font-weight: 700;
	font-size: 0.875rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}
.hz-icon--pin::before {
	content: "";
	display: inline-block;
	width: 16px; height: 16px;
	margin-right: 8px;
	vertical-align: -3px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11.5A7 7 0 0 1 19 9.5C19 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E") center / contain no-repeat;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11.5A7 7 0 0 1 19 9.5C19 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.hz-topbar p { margin: 0; }
.hz-topbar a { text-decoration: none; }
.hz-topbar a:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.hz-logo { margin: 0; }
.hz-logo img { display: block; }
.hz-header .wp-block-navigation a { color: var(--wp--preset--color--ink); text-decoration: none; padding: 10px 0; }
.hz-header .wp-block-navigation a:hover { color: var(--wp--preset--color--blue); }
.hz-btn--phone .wp-block-button__link { display: inline-flex; gap: 10px; align-items: center; padding: 12px 20px; }
.hz-btn--phone .wp-block-button__link::before {
	content: "";
	width: 18px; height: 18px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h4l2 5-2.5 1.5a11 11 0 0 0 5 5L15 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2'/%3E%3C/svg%3E") center / contain no-repeat;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h4l2 5-2.5 1.5a11 11 0 0 0 5 5L15 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- Knoppen ---------- */
.wp-element-button,
.wp-block-button__link {
	transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.wp-element-button:hover,
.wp-block-button__link:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(14, 39, 66, .25);
	filter: brightness(1.04);
}
.hz-hero .is-style-outline .wp-block-button__link {
	color: #fff;
	background: transparent;
	border: 1px solid rgba(255, 255, 255, .55);
	padding: calc(.875rem - 1px) calc(1.5rem - 1px);
}

/* ---------- Hero ---------- */
.hz-hero { overflow: hidden; }
.wp-block-cover.hz-hero.has-custom-content-position .wp-block-cover__inner-container { width: 100% !important; max-width: 1200px; margin-inline: auto !important; }
.hz-hero .wp-block-cover__inner-container > .hz-hero-card { margin-left: 0 !important; margin-right: auto !important; }
.hz-hero .wp-block-cover__image-background { animation: hz-zoom 14s cubic-bezier(.2, .6, .2, 1) both; }
.hz-hero-card { max-width: 600px; box-sizing: border-box; animation: hz-rise .9s cubic-bezier(.2, .7, .2, 1) .15s both; }
.hz-hero-card > * { margin: 0; animation: hz-rise .8s cubic-bezier(.2, .7, .2, 1) both; }
.hz-hero-card > :nth-child(1) { animation-delay: .30s; }
.hz-hero-card > :nth-child(2) { animation-delay: .40s; }
.hz-hero-card > :nth-child(3) { animation-delay: .50s; }
.hz-hero-card > :nth-child(4) { animation-delay: .60s; }

/* Koppen met vaste maten zoals in het ontwerp (desktop) */
@media (min-width: 782px) {
	.hz-hero-card h1 { font-size: 52px; line-height: 1.08; }
	.hz-hero-card .has-large-font-size { font-size: 18px !important; }
	.hz-main h2.wp-block-heading { font-size: 40px; line-height: 1.15; }
	.hz-card__body h3 { font-size: 22px; }
}
.hz-hero-status { display: none; }

/* ---------- Kerncijfers ---------- */
.hz-fact p { margin: 0; }
.hz-fact__value {
	font-family: var(--wp--preset--font-family--archivo);
	font-weight: 800;
	font-size: 1.875rem;
	line-height: 1.2;
	color: var(--wp--preset--color--navy);
}

/* ---------- Dienstkaarten ---------- */
#team .is-layout-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important; }
.hz-facts .is-layout-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important; }
.wp-block-group.hz-card {
	align-items: stretch !important;
	padding: 0;
	overflow: hidden;
	height: 100%;
	transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s ease;
}
.hz-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(14, 39, 66, .14); }
.hz-card .wp-block-image.hz-media { display: block; width: 100%; overflow: hidden; margin: 0; }
.hz-card .hz-media img {
	display: block;
	width: 100% !important;
	height: 200px;
	object-fit: cover;
	transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}
.hz-card:hover .hz-media img { transform: scale(1.06); }
.wp-block-group.hz-card__body { flex-grow: 1; width: 100%; box-sizing: border-box; align-items: stretch; }
.hz-card__body > * { margin: 0; }
.hz-card__body h3 { color: var(--wp--preset--color--navy); }
.hz-more { margin-top: auto !important; }
.hz-more a { font-weight: 600; text-decoration: none; display: inline-block; padding: 8px 0; }
.hz-more a::after { content: " →"; display: inline-block; transition: transform .2s ease; }
.hz-more a:hover::after { transform: translateX(4px); }

/* ---------- Over ons ---------- */
.hz-checklist {
	list-style: none;
	padding: 0;
	margin: 8px 0 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 12px 24px;
	font-weight: 500;
}
.hz-checklist li { display: flex; gap: 10px; align-items: center; }
.hz-checklist li::before {
	content: "";
	flex: 0 0 20px;
	height: 20px;
	background: var(--wp--preset--color--yellow);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.hz-rounded img { width: 100%; object-fit: cover; border-radius: 14px; }
.hz-rounded figcaption { text-align: left; color: #A9BBD3; font-size: .875rem; margin-top: 12px; }

/* ---------- Team ---------- */
.wp-block-group.hz-person { flex-wrap: nowrap; }
.hz-person p { margin: 0; }
.hz-person figure { margin: 0; flex: 0 0 auto; }
.hz-person__name {
	font-family: var(--wp--preset--font-family--archivo);
	font-weight: 700;
	font-size: 1.5rem;
	color: var(--wp--preset--color--navy);
}

/* ---------- Contact ---------- */
.hz-contact-card {
	background: #fff;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 12px;
	padding: 20px;
}
.hz-contact-card p { margin: 0; }
.hz-contact-card__label { font-size: .875rem; color: var(--wp--preset--color--slate); }
.hz-contact-card__value {
	font-family: var(--wp--preset--font-family--archivo);
	font-weight: 700;
	font-size: 1.25rem;
	line-height: 1.3;
	color: var(--wp--preset--color--navy);
	overflow-wrap: anywhere;
}
.hz-contact-card__value a { color: inherit; text-decoration: none; }
.hz-contact-card__value a:hover { color: var(--wp--preset--color--blue); }

/* Openingstijden */
.hz-hours {
	background: #fff;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 12px;
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.hz-hours__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; }
.hz-hours__title { margin: 0; font-size: 1.25rem; }
.hz-hours__table { display: flex; flex-direction: column; }
.hz-hours__row {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 16px;
	padding: 12px;
	border-radius: 8px;
	border-bottom: 1px solid #EEF2F6;
}
.hz-hours__row:last-child { border-bottom-color: transparent; }
.hz-hours__day { font-weight: 500; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.hz-hours__today {
	display: none;
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--wp--preset--color--blue);
}
.hz-hours__times { white-space: nowrap; display: flex; flex-direction: column; align-items: flex-end; text-align: right; font-weight: 500; font-variant-numeric: tabular-nums; }
.hz-hours__closed { color: var(--wp--preset--color--slate); }
.hz-hours__row.is-today { background: #EEF3FB; border-bottom-color: transparent; }
.hz-hours__row.is-today .hz-hours__day { font-weight: 700; }
.hz-hours__row.is-today .hz-hours__today { display: inline; }
.hz-hours__note { margin: 0; font-size: .875rem; color: var(--wp--preset--color--slate); }

/* Live status */
.hz-status { display: inline-flex; gap: 8px; align-items: center; text-decoration: none; }
.hz-status__dot { width: 9px; height: 9px; border-radius: 50%; background: #A9BBD3; flex: 0 0 auto; }
.hz-status.is-open .hz-status__dot { background: #3DDC84; animation: hz-pulse 2s infinite; }
.hz-status.is-closed .hz-status__dot { background: #F4A259; }
.hz-status--bar { color: #fff !important; font-weight: 500; }
.hz-status--pill {
	font-size: .875rem;
	font-weight: 600;
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--wp--preset--color--mist);
	color: var(--wp--preset--color--slate);
}
.hz-status--pill.is-open { background: #E3F7EC; color: #146C3A; }
.hz-status--pill.is-closed { background: #FDF0E4; color: #8A4B10; }
.hz-status--light { color: #fff !important; font-size: .9375rem; font-weight: 500; }

/* Kaart */
.hz-map {
	position: relative;
	min-height: 520px;
	height: 100%;
	overflow: hidden;
	border-radius: 14px;
	background: #E6EDF4;
	border: 1px solid var(--wp--preset--color--line);
}
.hz-map__art span { position: absolute; display: block; }
.hz-map__water { left: -10%; top: 58%; width: 130%; height: 46px; background: #A9C8E8; transform: rotate(-14deg); }
.hz-map__road { background: #fff; }
.hz-map__road--1 { left: 0; top: 30%; width: 100%; height: 14px; transform: rotate(6deg); }
.hz-map__road--2 { left: 38%; top: -10%; width: 12px; height: 130%; transform: rotate(18deg); }
.hz-map__road--3 { left: 70%; top: -10%; width: 9px; height: 130%; transform: rotate(-8deg); }
.hz-map__label { left: 12%; top: 66%; font-size: 13px; font-style: italic; color: var(--wp--preset--color--blue); transform: rotate(-14deg); }
.hz-map__pin { position: absolute; left: 52%; top: 44%; transform: translate(-50%, -100%); animation: hz-drop .8s cubic-bezier(.2, .7, .2, 1) .3s both; }
.hz-map__card {
	position: absolute;
	left: 20px; right: 20px; bottom: 20px;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 12px 32px rgba(14, 39, 66, .16);
	padding: 20px;
	display: flex;
	flex-wrap: wrap;
	gap: 12px 16px;
	justify-content: space-between;
	align-items: center;
	z-index: 2;
}
.hz-map__address { display: flex; flex-direction: column; gap: 2px; }
.hz-map__address strong { font-family: var(--wp--preset--font-family--archivo); font-size: 1.125rem; color: var(--wp--preset--color--navy); }
.hz-map__address span { color: var(--wp--preset--color--slate); font-size: .9375rem; }
.hz-map__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hz-map__load,
.hz-map__route {
	font: 600 .9375rem/1.2 var(--wp--preset--font-family--inter);
	padding: 12px 16px;
	border-radius: 8px;
	cursor: pointer;
	text-decoration: none;
	transition: transform .2s ease, box-shadow .2s ease;
}
.hz-map__load { color: var(--wp--preset--color--navy); background: #fff; border: 1px solid #C3CFDD; }
.hz-map__route { color: #fff !important; background: var(--wp--preset--color--navy); border: 1px solid var(--wp--preset--color--navy); }
.hz-map__load:hover, .hz-map__route:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(14, 39, 66, .2); }
.hz-map__privacy { flex-basis: 100%; margin: 0; font-size: .8125rem; color: var(--wp--preset--color--slate); }
.hz-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 1; }
.hz-map.is-loaded .hz-map__card { left: 16px; right: auto; bottom: 16px; max-width: calc(100% - 32px); padding: 14px 16px; }

/* ---------- Footer & mobiele actiebalk ---------- */
.hz-footer p { margin: 0; }
.wp-block-group.hz-actionbar { display: none; }

@media (max-width: 781px) {
	/* Header en topbalk zoals mobiel ontwerp */
	.hz-topbar { display: none; }
	.hz-logo img { height: 38px !important; }
	.wp-block-buttons.hz-header__call { display: none; }
	.hz-header .wp-block-navigation__responsive-container-open {
		width: 44px; height: 44px;
		display: flex; align-items: center; justify-content: center;
		border: 1px solid var(--wp--preset--color--line);
		border-radius: 8px;
		color: var(--wp--preset--color--navy);
	}

	/* Hero: foto bovenaan, blauw paneel eronder met afgeronde bovenhoeken */
	.wp-block-cover.hz-hero {
		display: block;
		min-height: 0 !important;
		padding: 0 !important;
		background: var(--wp--preset--color--navy);
	}
	.wp-block-cover.hz-hero .wp-block-cover__image-background {
		position: relative;
		display: block;
		width: 100%;
		height: 260px;
		object-position: 55% 35% !important;
	}
	.wp-block-cover.hz-hero .wp-block-cover__background { display: none; }
	.wp-block-cover.hz-hero.has-custom-content-position .wp-block-cover__inner-container {
		position: relative;
		z-index: 2;
		width: 100% !important;
		max-width: none;
		margin: -40px 0 0 !important;
		padding: 0 !important;
	}
	.hz-hero-card {
		max-width: none;
		width: 100%;
		align-items: stretch !important;
		gap: 16px !important;
		background: var(--wp--preset--color--navy) !important;
		border-radius: 20px 20px 0 0 !important;
		padding: 28px 20px 32px !important;
	}
	.hz-hero-card h1 { font-size: 32px; line-height: 1.1; }
	.hz-hero-card .has-large-font-size { font-size: 16px !important; }
	.hz-hero-card .hz-kicker { font-size: 13px; }
	.hz-hero-card .wp-block-buttons { flex-direction: column; align-items: stretch; gap: 12px; }
	.hz-hero-card .wp-block-button { width: 100%; }
	.hz-hero-card .wp-block-button__link { width: 100%; text-align: center; box-sizing: border-box; }
	.hz-hero-card .is-style-outline { display: none; }
	.hz-hero-status { display: flex; justify-content: center; margin-top: -4px !important; }

	/* Kerncijfers: twee kolommen */
	.hz-facts { padding-top: 24px !important; padding-bottom: 24px !important; }
	.hz-facts .is-layout-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 20px 16px !important; }
	.hz-fact__value { font-size: 22px; }

	/* Koppen */
	.hz-main h2.wp-block-heading { font-size: 28px; }
	#diensten, #over-ons, #team, #contact { padding-top: 48px !important; padding-bottom: 48px !important; }

	/* Diensten: lijst met kleine foto */
	#diensten > .is-layout-grid,
	#diensten .wp-block-group.is-layout-grid { display: flex !important; flex-direction: column; gap: 20px !important; }
	.wp-block-group.hz-card {
		flex-direction: row !important;
		align-items: flex-start !important;
		gap: 14px !important;
		border: 0 !important;
		border-bottom: 1px solid var(--wp--preset--color--line) !important;
		border-radius: 0 !important;
		padding-bottom: 20px;
		background: transparent !important;
		overflow: visible;
	}
	.hz-card:last-child { border-bottom: 0 !important; padding-bottom: 0; }
	.hz-card:hover { transform: none; box-shadow: none; }
	.hz-card .wp-block-image.hz-media { width: 96px !important; height: 96px; flex: 0 0 96px; border-radius: 10px; }
	.hz-card .hz-media img { height: 96px !important; }
	.wp-block-group.hz-card__body { padding: 0 !important; gap: 4px !important; }
	.hz-card__body h3 { font-size: 19px; }
	.hz-card__body p { font-size: 15px; }
	.hz-more { display: none; }

	/* Over ons */
	.hz-rounded img { height: 220px !important; border-radius: 12px; }

	/* Team: twee kolommen, foto boven naam */
	#team .is-layout-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px !important; }
	.wp-block-group.hz-person {
		flex-direction: column !important;
		align-items: stretch !important;
		gap: 8px !important;
		padding: 0 !important;
		background: transparent !important;
	}
	.hz-person figure img { width: 100% !important; height: 165px !important; }
	.hz-person__name { font-size: 17px; }
	.hz-person p { font-size: 14px; }

	/* Contact: regels met label links en waarde rechts */
	.hz-contact-grid { grid-template-columns: 1fr !important; gap: 12px !important; }
	.wp-block-group.hz-contact-card {
		flex-direction: row !important;
		justify-content: space-between !important;
		align-items: center !important;
		padding: 16px;
	}
	.wp-block-group.hz-contact-card:nth-child(4) { flex-direction: column !important; align-items: flex-start !important; }
	.hz-contact-card__value { font-size: 18px; text-align: right; }
	.hz-contact-card:nth-child(4) .hz-contact-card__value { text-align: left; font-size: 17px; }
	.hz-hours { padding: 16px; }
	.hz-hours__row { padding: 10px 8px; }
	.hz-map { min-height: 260px; }
	.hz-map__card { display: none; }

	/* Vaste actiebalk onderaan */
	body { padding-bottom: 76px; }
	.wp-block-group.hz-actionbar {
		display: grid;
		position: fixed;
		left: 0; right: 0; bottom: 0;
		z-index: 90;
		background: #fff;
		border-top: 1px solid var(--wp--preset--color--line);
		padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
		margin: 0 !important;
		box-shadow: 0 -6px 20px rgba(14, 39, 66, .08);
	}
	.hz-actionbar .wp-block-button__link { padding: 13px 10px; }
}

/* ---------- Beweging ---------- */
@keyframes hz-rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes hz-zoom { from { transform: scale(1.1); } to { transform: scale(1); } }
@keyframes hz-drop { from { opacity: 0; transform: translate(-50%, -160%); } to { opacity: 1; transform: translate(-50%, -100%); } }
@keyframes hz-pulse {
	0% { box-shadow: 0 0 0 0 rgba(61, 220, 132, .6); }
	70% { box-shadow: 0 0 0 8px rgba(61, 220, 132, 0); }
	100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); }
}

/* Blokken verschijnen bij scrollen: met CSS waar de browser het kan… */
@supports (animation-timeline: view()) {
	.hz-reveal {
		animation: hz-rise linear both;
		animation-timeline: view();
		animation-range: entry 5% entry 45%;
	}
}
/* …en anders met JavaScript (zie theme.js). Zonder JavaScript blijft alles gewoon zichtbaar. */
.hz-js-reveal .hz-reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
.hz-js-reveal .hz-reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.hz-js-reveal .hz-reveal { opacity: 1; transform: none; }
}

/* In de editor geen animaties die inhoud verbergen */
.editor-styles-wrapper .hz-reveal,
.editor-styles-wrapper .hz-hero-card,
.editor-styles-wrapper .hz-hero-card > *,
.editor-styles-wrapper .wp-block-cover__image-background { animation: none !important; opacity: 1 !important; transform: none !important; }
