/*
Theme Name: JVH Allround
Theme URI: https://jvhallround.nl
Author: JVH Allround
Author URI: https://jvhallround.nl
Description: Minimalistisch one-page thema voor JVH Allround – vakkundig, betrouwbaar en allround inzetbaar voor elke klus.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jvh-allround
*/

/* ---------- Basis ---------- */
:root {
	--color-bg: #ffffff;
	--color-bg-alt: #f5f6f4;
	--color-text: #1d2521;
	--color-muted: #5b6660;
	--color-accent: #2f6b4f;
	--color-accent-dark: #24543e;
	--color-border: #e1e4e1;
	--color-success: #2f6b4f;
	--color-error: #b3261e;
	--radius: 8px;
	--max-width: 1080px;
	--font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--font);
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--color-text);
	background: var(--color-bg);
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	height: auto;
}

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

a:hover,
a:focus {
	text-decoration: underline;
}

h1,
h2,
h3 {
	line-height: 1.2;
	margin: 0 0 0.75rem;
	font-weight: 700;
	letter-spacing: -0.01em;
}

h2 {
	font-size: clamp(1.6rem, 3vw, 2.1rem);
}

p {
	margin: 0 0 1rem;
}

.container {
	width: 100%;
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 1.25rem;
}

.section {
	padding: 5rem 0;
}

.section--alt {
	background: var(--color-bg-alt);
}

.section__intro {
	color: var(--color-muted);
	max-width: 640px;
	margin-bottom: 2.5rem;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.skip-link:focus {
	position: fixed;
	top: 0.5rem;
	left: 0.5rem;
	z-index: 100;
	width: auto;
	height: auto;
	clip: auto;
	padding: 0.75rem 1rem;
	background: var(--color-text);
	color: #fff;
	border-radius: var(--radius);
}

/* ---------- Navigatie ---------- */
.site-nav {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(6px);
	border-bottom: 1px solid var(--color-border);
}

.admin-bar .site-nav {
	top: 32px;
}

.site-nav__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: 64px;
}

.site-nav__brand {
	font-weight: 800;
	font-size: 1.15rem;
	color: var(--color-text);
	letter-spacing: -0.01em;
}

.site-nav__brand span {
	color: var(--color-accent);
}

.site-nav__links {
	display: flex;
	gap: 1.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-nav__links a {
	color: var(--color-muted);
	font-size: 0.95rem;
	font-weight: 500;
}

.site-nav__links a:hover {
	color: var(--color-text);
	text-decoration: none;
}

/* ---------- Header / hero ---------- */
.hero {
	padding: 7rem 0 6rem;
	background: linear-gradient(180deg, var(--color-bg-alt) 0%, var(--color-bg) 100%);
}

.hero__title {
	font-size: clamp(2.4rem, 6vw, 4rem);
	font-weight: 800;
	margin-bottom: 1rem;
}

.hero__title span {
	color: var(--color-accent);
}

.hero__slogan {
	font-size: clamp(1.15rem, 2.2vw, 1.4rem);
	color: var(--color-muted);
	max-width: 620px;
	margin-bottom: 2rem;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

/* ---------- Knoppen ---------- */
.button {
	display: inline-block;
	padding: 0.85rem 1.5rem;
	border: 2px solid var(--color-accent);
	border-radius: var(--radius);
	background: var(--color-accent);
	color: #fff;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.button:hover,
.button:focus {
	background: var(--color-accent-dark);
	border-color: var(--color-accent-dark);
	color: #fff;
	text-decoration: none;
}

.button--outline {
	background: transparent;
	color: var(--color-accent);
}

.button--outline:hover,
.button--outline:focus {
	background: var(--color-accent);
	color: #fff;
}

/* ---------- Diensten ---------- */
.services {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem;
}

.service {
	padding: 1.75rem;
	background: var(--color-bg);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
}

.service h3 {
	font-size: 1.15rem;
}

.service p {
	color: var(--color-muted);
	margin: 0;
}

/* ---------- Contact ---------- */
.contact {
	display: grid;
	grid-template-columns: 1fr 1.3fr;
	gap: 3rem;
	align-items: start;
}

.contact-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.contact-list li {
	padding: 1rem 0;
	border-bottom: 1px solid var(--color-border);
}

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

.contact-list__label {
	display: block;
	font-size: 0.8rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--color-muted);
}

.contact-list__value {
	font-size: 1.1rem;
	font-weight: 500;
	color: var(--color-text);
	font-style: normal;
}

a.contact-list__value:hover {
	color: var(--color-accent);
}

/* ---------- Formulier ---------- */
.contact-form {
	padding: 2rem;
	background: var(--color-bg);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
}

.form-field {
	margin-bottom: 1.25rem;
}

.form-field label {
	display: block;
	font-weight: 600;
	font-size: 0.95rem;
	margin-bottom: 0.4rem;
}

.form-field input,
.form-field textarea {
	width: 100%;
	padding: 0.8rem 0.9rem;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	background: #fff;
	font: inherit;
	color: inherit;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-field input:focus,
.form-field textarea:focus {
	outline: none;
	border-color: var(--color-accent);
	box-shadow: 0 0 0 3px rgba(47, 107, 79, 0.18);
}

.form-field textarea {
	min-height: 150px;
	resize: vertical;
}

.form-field--check {
	display: flex;
	gap: 0.6rem;
	align-items: flex-start;
	font-size: 0.9rem;
	color: var(--color-muted);
}

.form-field--check input {
	width: auto;
	margin-top: 0.3rem;
}

.form-field--check label {
	font-weight: 400;
	margin: 0;
}

.form-hp {
	position: absolute;
	left: -9999px;
}

.notice {
	padding: 0.9rem 1rem;
	border-radius: var(--radius);
	margin-bottom: 1.25rem;
	font-weight: 500;
}

.notice--success {
	background: rgba(47, 107, 79, 0.1);
	color: var(--color-success);
}

.notice--error {
	background: rgba(179, 38, 30, 0.08);
	color: var(--color-error);
}

/* ---------- Privacy ---------- */
.privacy {
	max-width: 760px;
}

.privacy h3 {
	font-size: 1.05rem;
	margin-top: 1.5rem;
}

.privacy p {
	color: var(--color-muted);
}

/* ---------- Footer ---------- */
.site-footer {
	padding: 2rem 0;
	background: var(--color-text);
	color: rgba(255, 255, 255, 0.75);
	font-size: 0.9rem;
}

.site-footer__inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.75rem 1.5rem;
}

.site-footer a {
	color: #fff;
}

.site-footer p {
	margin: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
	.services {
		grid-template-columns: 1fr 1fr;
	}

	.contact {
		grid-template-columns: 1fr;
		gap: 2.5rem;
	}
}

@media (max-width: 782px) {
	.admin-bar .site-nav {
		top: 46px;
	}
}

@media (max-width: 600px) {
	.section {
		padding: 3.5rem 0;
	}

	.hero {
		padding: 4.5rem 0 4rem;
	}

	.site-nav__links {
		display: none;
	}

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

	.contact-form {
		padding: 1.25rem;
	}

	.hero__actions .button {
		flex: 1 1 100%;
		text-align: center;
	}
}
