/*
Theme Name: Werkhaven
Theme URI: https://werkhaven.org
Author: Werkhaven
Description: Verhuur van sloep, kotter en twaalfmeter vanaf Compagnieshaven in Enkhuizen.
Version: 1.1.7
Text Domain: werkhaven
*/

:root {
	--whv-fog: #d8dde2;
	--whv-teal: #0e3b42;
	--whv-paper: #f7f5f1;
	--whv-ink: #1a2e32;
	--whv-display: "Spectral", serif;
	--whv-text: "Work Sans", sans-serif;
}
* { box-sizing: border-box; }
body {
	margin: 0;
	font-family: var(--whv-text);
	color: var(--whv-ink);
	background: var(--whv-paper);
	line-height: 1.7;
}
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--whv-display); font-weight: 650; margin: 0 0 0.4em; line-height: 1.15; color: var(--whv-teal); }
h1 { font-size: clamp(2.05rem, 4.4vw, 3.35rem); }
h2 { font-size: clamp(1.3rem, 2.3vw, 1.95rem); }
a { color: var(--whv-teal); }
address { font-style: normal; }
.whv-btn, .whv-ghost {
	display: inline-block; padding: 11px 18px; text-decoration: none; font-weight: 700;
	font-family: var(--whv-text); border: 0; cursor: pointer; letter-spacing: 0.03em;
}
.whv-btn { background: var(--whv-teal); color: var(--whv-paper); }
.whv-btn:hover { background: #0a2c32; }
.whv-ghost { background: transparent; box-shadow: inset 0 0 0 1.5px var(--whv-teal); color: var(--whv-teal); }
.whv-ghost:hover { background: var(--whv-fog); }
.whv-sein {
	font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
	color: var(--whv-teal); font-weight: 700; margin: 0 0 0.6em;
}

/* Header: one full teal bar, nav left, wordmark right */
.whv-kaderail {
	display: flex;
	align-items: center;
	gap: 22px;
	padding: 0 6vw;
	background: var(--whv-teal);
	min-height: 64px;
	position: sticky;
	top: 0;
	z-index: 20;
}
.whv-kade { flex: 1; min-width: 0; }
.whv-kade ul { display: flex; flex-wrap: wrap; gap: 4px 20px; list-style: none; margin: 0; padding: 12px 0; }
.whv-kade a { color: var(--whv-fog); text-decoration: none; font-size: 0.86rem; font-weight: 600; }
.whv-kade .current-menu-item a { color: #fff; border-bottom: 1px solid var(--whv-fog); }
.whv-merk {
	flex-shrink: 0;
	margin-left: auto;
	color: var(--whv-paper);
	text-decoration: none;
	font-family: var(--whv-display);
	font-size: 1.45rem;
	font-weight: 650;
	letter-spacing: 0.02em;
	padding: 8px 0;
}
.whv-merk span { color: var(--whv-fog); font-weight: 500; }
.whv-open { display: none; background: var(--whv-paper); color: var(--whv-teal); border: 0; padding: 8px 12px; cursor: pointer; font-weight: 700; }
.whv-luik { display: none; background: var(--whv-teal); color: var(--whv-fog); padding: 20px 6vw 28px; }
.whv-luik a { color: #fff; }
.whv-luik button { background: var(--whv-paper); color: var(--whv-teal); border: 0; padding: 8px 12px; margin-bottom: 12px; cursor: pointer; }
.whv-luik.is-open, .whv-luik:not([hidden]) { display: block; }

/* Thin wave divider */
.whv-golf {
	height: 14px;
	margin: 0;
	background-color: var(--whv-paper);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 14' preserveAspectRatio='none'%3E%3Cpath d='M0 8 Q10 1 20 8 T40 8 T60 8 T80 8' fill='none' stroke='%230e3b42' stroke-width='1.15'/%3E%3C/svg%3E");
	background-repeat: repeat-x;
	background-size: 80px 14px;
}

.whv-wikkel { padding: 2.4rem 6vw 2.6rem; max-width: none; }
.whv-wikkel > p, .whv-wikkel > address { max-width: none; }

/* Home: vloot first */
.whv-vloot { background: var(--whv-paper); }
.whv-vloot .whv-wikkel:first-child { padding-bottom: 1.2rem; }
.whv-steigerbeeld {
	height: min(42vw, 380px);
	background: #8a939a url('images/steiger.jpg') center / cover no-repeat;
	margin: 0;
}
.whv-vloot-rij { display: grid; gap: 28px; margin: 1.2rem 0 1.6rem; }
.whv-vaartuig {
	background: var(--whv-fog);
	padding: 0;
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	align-items: stretch;
}
.whv-vaartuig figure { margin: 0; min-height: 240px; }
.whv-vaartuig div { padding: 1.3rem 1.4rem 1.5rem; }
.whv-vaartuig strong {
	display: inline-block;
	margin-top: 0.6rem;
	font-family: var(--whv-display);
	font-size: 1.15rem;
	color: var(--whv-teal);
}
.whv-vloot-twee { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.whv-vloot-twee .whv-vaartuig { grid-template-columns: 1fr; }
.whv-vloot-twee .whv-vaartuig figure { min-height: 200px; }
.whv-foto-sloep { background: #9aa3a8 url('images/sloep.jpg') center / cover no-repeat; }
.whv-foto-kotter { background: #8b9694 url('images/kotter.jpg') center / cover no-repeat; }
.whv-foto-lang { background: #7d8a8c url('images/lang.jpg') center / cover no-repeat; }

/* Charter chips + boat buttons, no sliders */
.whv-chartervak { background: var(--whv-fog); }
.whv-charter { margin: 1.2rem 0 1.4rem; max-width: none; }
.whv-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.whv-chip {
	border: 1.5px solid var(--whv-teal);
	background: var(--whv-paper);
	color: var(--whv-teal);
	border-radius: 999px;
	padding: 10px 18px;
	font-weight: 700;
	font-family: var(--whv-text);
	cursor: pointer;
}
.whv-chip.is-aan { background: var(--whv-teal); color: var(--whv-paper); }
.whv-boten { display: grid; gap: 8px; }
.whv-bootknop {
	width: 100%;
	text-align: left;
	background: var(--whv-paper);
	color: var(--whv-teal);
	border: 0;
	border-left: 5px solid var(--whv-teal);
	padding: 14px 16px;
	font-weight: 700;
	font-family: var(--whv-text);
	cursor: pointer;
}
.whv-bootknop.is-aan { background: var(--whv-teal); color: var(--whv-paper); }
.whv-raming {
	margin: 1rem 0 0;
	font-family: var(--whv-display);
	font-size: 1.25rem;
	color: var(--whv-teal);
}

/* Hours as tide table */
.whv-getij { background: var(--whv-paper); }
.whv-getij-rij {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1px;
	background: var(--whv-teal);
	margin: 1.2rem 0;
	max-width: none;
}
.whv-getij-rij article {
	background: var(--whv-fog);
	padding: 1rem 1.1rem;
	margin: 0;
}
.whv-getij-rij h3 { font-size: 1rem; margin: 0 0 0.2em; }
.whv-getij-rij p { margin: 0; font-variant-numeric: tabular-nums; }

.whv-fotoband,
.whv-fotostrook {
	position: relative;
	margin: 0;
	width: 100%;
	height: 0;
	overflow: hidden;
	background: #0a2c32;
}
.whv-fotoband { padding-bottom: 36%; }
.whv-fotostrook { padding-bottom: 28%; }
.whv-fotoband img,
.whv-fotostrook img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	display: block;
}

/* Harbor log */
.whv-loglijst article {
	display: grid;
	grid-template-columns: minmax(180px, 26vw) 5.2rem 1fr;
	gap: 0 1.4rem;
	align-items: start;
	border-top: 1px solid var(--whv-teal);
	padding: 1.15rem 0 1.25rem;
}
.whv-loglijst figure {
	position: relative;
	margin: 0;
	width: 100%;
	height: 0;
	padding-bottom: 68%;
	overflow: hidden;
	background: #0a2c32;
}
.whv-loglijst figure img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	display: block;
}
.whv-loguur {
	font-family: var(--whv-display);
	font-variant-numeric: tabular-nums;
	font-size: 1.15rem;
	color: var(--whv-teal);
	display: block;
}
.whv-loglijst h2, .whv-loglijst h3 { font-size: 1.25rem; }
.whv-logteaser {
	background: var(--whv-teal);
	color: var(--whv-fog);
}
.whv-logteaser h2 { color: var(--whv-paper); }
.whv-logteaser > .whv-sein { color: #9bb8bc; }
.whv-logteaser > p { margin: 0 0 1.1rem; }
.whv-logteaser > p a { color: var(--whv-paper); }
.whv-logteaser > p .whv-ghost {
	color: var(--whv-paper);
	box-shadow: inset 0 0 0 1.5px var(--whv-paper);
	margin-left: 0.4rem;
}
.whv-logteaser .whv-faq details {
	border-bottom-color: rgba(247, 245, 241, 0.22);
}
.whv-logteaser .whv-faq summary { color: var(--whv-paper); }
.whv-logbord {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
	align-items: stretch;
	margin: 1.8rem 0 2rem;
}
.whv-logkaart {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: var(--whv-paper);
	color: var(--whv-ink);
	margin: 0;
	min-width: 0;
	overflow: hidden;
}
.whv-logkaart figure {
	position: relative;
	margin: 0;
	width: 100%;
	height: 0;
	padding-bottom: 62.5%;
	overflow: hidden;
	background: #0a2c32;
	flex: 0 0 auto;
}
.whv-logkaart figure img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center;
	display: block;
}
.whv-logkaart .whv-loguur {
	position: absolute;
	left: 0;
	bottom: 0;
	margin: 0;
	padding: 8px 16px 10px;
	background: var(--whv-teal);
	color: var(--whv-paper);
	font-size: 1.85rem;
	line-height: 1;
}
.whv-logvel {
	padding: 1.15rem 1.35rem 1.45rem;
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
}
.whv-logvel .whv-sein { color: var(--whv-teal); }
.whv-logvel h3 {
	font-size: 1.28rem;
	min-height: 2.6em;
}
.whv-logvel h3 a { color: var(--whv-teal); text-decoration: none; }
.whv-logvel h3 a:hover { text-decoration: underline; }
.whv-logvel p { margin: 0 0 0.8rem; }
.whv-logvel .whv-ghost { margin-top: auto; align-self: flex-start; }

/* About / contact images — each file once */
.whv-bemanningbeeld {
	height: min(40vw, 340px);
	background: #8a9196 url('images/bemanning.jpg') center / cover no-repeat;
}
.whv-kaartbeeld {
	height: min(38vw, 320px);
	background: #7f8a8c url('images/kaart.jpg') center / cover no-repeat;
}
.whv-mistbeeld {
	height: min(36vw, 300px);
	background: #9aa3a8 url('images/mist.jpg') center / cover no-repeat;
}

/* Features: stacked type slabs */
.whv-inzet {
	display: grid;
	grid-template-columns: 1fr;
	gap: 18px;
	margin: 1.4rem 0;
	max-width: none;
}
.whv-inzet article {
	background: var(--whv-fog);
	padding: 0 0 1.3rem;
	border-top: 3px solid var(--whv-teal);
}
.whv-inzet figure { min-height: 200px; margin: 0 0 0.8rem; background-size: cover; background-position: center; }
.whv-inzet .whv-sein, .whv-inzet h3, .whv-inzet p, .whv-inzet strong { padding-left: 1.3rem; padding-right: 1.3rem; }
.whv-inzet .whv-sein { padding-top: 1.1rem; }
.whv-feat-sloep { background-image: url("images/feat-sloep.jpg"); }
.whv-feat-kotter { background-image: url("images/feat-kotter.jpg"); }
.whv-feat-lang { background-image: url("images/feat-lang.jpg"); }
.whv-inzet strong { font-family: var(--whv-display); color: var(--whv-teal); }

/* Steigerbriefjes — short dock slips, not journal cards */
.whv-briefjes {
	display: flex;
	flex-wrap: wrap;
	gap: 20px 18px;
	align-items: flex-start;
	margin: 1.4rem 0 1.8rem;
}
.whv-briefje {
	width: 210px;
	min-height: 168px;
	background: #fffdf8;
	box-shadow: 0 1px 0 #c8c3b8, 3px 4px 0 rgba(14, 59, 66, 0.07);
	padding: 32px 14px 14px;
	position: relative;
	transform: rotate(-1.6deg);
}
.whv-briefje:nth-child(even) { transform: rotate(1.3deg); background: #f3f0e8; }
.whv-briefje:nth-child(3n) { transform: rotate(-0.4deg); }
.whv-briefje-oog {
	position: absolute;
	top: 8px;
	left: 50%;
	width: 12px;
	height: 12px;
	margin-left: -6px;
	border-radius: 50%;
	background: var(--whv-fog);
	box-shadow: inset 0 0 0 2px var(--whv-teal);
}
.whv-briefje p { margin: 0 0 0.8em; font-size: 0.92rem; }
.whv-briefje cite {
	font-style: normal;
	font-size: 0.75rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--whv-teal);
	font-weight: 700;
}

.whv-logboek-rij {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 28px;
	align-items: start;
	margin-top: 1.2rem;
}
.whv-logboek-rij figure {
	position: relative;
	margin: 0;
	width: 100%;
	height: 0;
	padding-bottom: 72%;
	overflow: hidden;
	background: #0a2c32;
}
.whv-logboek-rij figure img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	display: block;
}
.whv-logboek-rij .whv-form { max-width: none; }
.whv-form { display: grid; gap: 12px; max-width: 28rem; }
.whv-form label { display: grid; gap: 4px; font-weight: 600; font-size: 0.9rem; }
.whv-form input[type="text"], .whv-form input[type="email"], .whv-form textarea {
	border: 1.5px solid var(--whv-teal);
	background: #fff;
	padding: 10px 12px;
	font: inherit;
}
.whv-form label:has(input[type="checkbox"]) { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; }
.whv-note { background: var(--whv-fog); padding: 12px 14px; margin: 0 0 1rem; }
.whv-note-slecht { box-shadow: inset 3px 0 0 var(--whv-teal); }

.whv-faq details { border-top: 1px solid var(--whv-teal); padding: 0.7rem 0; max-width: none; }
.whv-faq summary { cursor: pointer; font-weight: 700; color: var(--whv-teal); }
.whv-faq table { width: 100%; border-collapse: collapse; max-width: 40rem; }
.whv-faq th, .whv-faq td, .whv-wikkel table th, .whv-wikkel table td {
	border-bottom: 1px solid var(--whv-fog); text-align: left; padding: 8px 10px 8px 0;
}

/* Footer: haven notice board */
.whv-havenbord { background: var(--whv-teal); color: var(--whv-fog); }
.whv-bordlat {
	padding: 14px 6vw 10px;
	font-family: var(--whv-display);
	font-size: 1.05rem;
	letter-spacing: 0.04em;
	border-bottom: 1px solid rgba(215, 221, 226, 0.25);
}
.whv-palen {
	display: grid;
	grid-template-columns: 1.2fr 0.8fr 1fr;
	gap: 28px;
	padding: 1.6rem 6vw 1.4rem;
}
.whv-paalnr {
	display: block;
	font-family: var(--whv-display);
	font-size: 1.3rem;
	color: #fff;
	margin-bottom: 0.2em;
}
.whv-havenbord a { color: var(--whv-paper); }
.whv-havenbord strong { display: block; color: #fff; margin-bottom: 0.4em; }
.whv-kvkstrook {
	padding: 10px 6vw 16px;
	font-size: 0.78rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	border-top: 1px solid rgba(215, 221, 226, 0.2);
}
.whv-rechten {
	margin: 0;
	padding: 0 6vw 16px;
	font-size: 0.82rem;
}

/* Cookie bar: full width bottom */
.whv-koek {
	display: none;
	position: fixed;
	left: 0; right: 0; bottom: 0;
	background: var(--whv-teal);
	color: var(--whv-paper);
	padding: 14px 6vw;
	z-index: 40;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
}
.whv-koek.is-open { display: flex; }
.whv-koek a { color: var(--whv-fog); }
.whv-koek p { margin: 0; flex: 1; min-width: 16rem; }
.whv-koek .whv-ghost { color: var(--whv-paper); box-shadow: inset 0 0 0 1.5px var(--whv-paper); }

@media (max-width: 860px) {
	.whv-kade { display: none; }
	.whv-open { display: inline-block; }
	.whv-vaartuig { grid-template-columns: 1fr; }
	.whv-vloot-twee { grid-template-columns: 1fr; }
	.whv-getij-rij { grid-template-columns: 1fr; }
	.whv-palen { grid-template-columns: 1fr; }
	.whv-loglijst article { grid-template-columns: 1fr; }
	.whv-logbord { grid-template-columns: 1fr; }
	.whv-logvel h3 { min-height: 0; }
	.whv-logboek-rij { grid-template-columns: 1fr; }
	.whv-fotoband { padding-bottom: 48%; }
	.whv-fotostrook { padding-bottom: 40%; }
}
