/* RatgersWebCreations – donker thema (zijbalk + content), UTF-8 zonder BOM */

:root,
html[data-theme="light"],
html[data-theme="dark"] {
	--background: #1e2224;
	--foreground: rgba(255, 255, 255, 0.72);
	--foreground-strong: #ffffff;
	--card: #2a2f33;
	--border: rgba(255, 255, 255, 0.12);
	--muted: rgba(255, 255, 255, 0.5);
	--muted-bg: #252a2d;
	--section-two: #23282b;
	--section-three: #272c30;
	--section-four: #2b3135;
	--footer-bg: #1a1e20;
	--header-bg: #222629;
	--sidebar-divider: rgba(255, 255, 255, 0.12);
	--primary: #8ebebc;
	--primary-hover: #9ececc;
	--primary-active: #7eaeac;
	--primary-fg: #ffffff;
	--nav-muted: rgba(255, 255, 255, 0.5);
	--nav-icon: #41484c;
	--nav-active-icon: #77b3d8;
	--link-hover: #77b3d8;
}

/* Typografie: Source Sans Pro uit main.css */
body.theme-zinc {
	background: var(--background);
	color: var(--foreground);
}

body.theme-zinc #main {
	background: var(--background);
}

body.theme-zinc h1,
body.theme-zinc h2,
body.theme-zinc h3,
body.theme-zinc h4,
body.theme-zinc h5,
body.theme-zinc h6 {
	font-weight: 300;
	letter-spacing: inherit;
	color: rgba(255, 255, 255, 0.88);
}

body.theme-zinc h2 strong,
body.theme-zinc h3 strong {
	color: var(--foreground-strong);
}

body.theme-zinc #main p,
body.theme-zinc #main label,
body.theme-zinc #main li {
	color: var(--foreground);
}

body.theme-zinc #main strong {
	color: rgba(255, 255, 255, 0.85);
	font-weight: 300;
}

body.theme-zinc #main a {
	color: rgba(255, 255, 255, 0.78);
	border-bottom-color: rgba(255, 255, 255, 0.25);
}

body.theme-zinc #main a:hover {
	color: var(--link-hover);
	border-bottom-color: transparent;
}

/* Logo */
.logo-home-link {
	display: block;
	position: relative;
	min-height: 48px;
	text-decoration: none;
	color: inherit;
	cursor: pointer;
}

.logo-home-link:hover .site-brand-title .brand-line--accent {
	color: var(--link-hover);
}

.site-brand-studio {
	display: block;
	margin: 0.2em 0 0;
	font-size: 0.62em;
	font-weight: 500;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--nav-active-icon);
}

#logo.site-brand .site-brand-tagline {
	color: var(--muted);
}

#logo.site-brand .site-brand-title .brand-line {
	color: #fff;
}

#logo.site-brand .site-brand-title .brand-line--accent {
	color: #c5d0d6;
}

@media screen and (min-width: 961px) {
	#logo.site-brand .site-brand-tagline {
		color: rgba(255, 255, 255, 0.55);
	}

	#logo.site-brand .site-brand-studio {
		color: var(--nav-active-icon);
	}
}

/* Nav – contact CTA (zijmenu: onderaan met scheiding) */
#nav ul li.nav-cta-item {
	margin-left: 0;
	margin-top: 0.75em;
	padding-top: 0.5em;
	border-top: 1px solid var(--sidebar-divider);
}

#nav ul li a.nav-cta {
	background: var(--primary) !important;
	color: var(--primary-fg) !important;
	font-weight: 600;
	border: 1px solid var(--primary);
	box-shadow: none !important;
}

#nav ul li a.nav-cta span:before {
	color: var(--primary-fg) !important;
}

#nav ul li a.nav-cta:hover,
#nav ul li a.nav-cta.active {
	background: var(--primary-hover) !important;
	border-color: var(--primary-hover);
	color: var(--primary-fg) !important;
}

/* Header – mobiel (zelfde Prologue-zijbalk) */
@media screen and (max-width: 960px) {

	#nav ul li.nav-cta-item {
		margin-top: 0.75em;
		padding-top: 0.5em;
		border-top: 1px solid rgba(255, 255, 255, 0.12);
	}

	#nav ul li a.nav-cta {
		justify-content: center;
		width: 100%;
		padding: 0.65em 1em;
	}

	body.theme-zinc #header {
		background: var(--header-bg) url("images/overlay.png") !important;
		border-right: 0;
		box-shadow: inset -0.25em 0 0.25em 0 rgba(0, 0, 0, 0.1) !important;
		color: #ffffff;
	}

	body.theme-zinc #header .bottom {
		border-top: 0 !important;
		box-shadow: none !important;
	}

	body.theme-zinc #header .icons a {
		color: var(--nav-icon) !important;
	}

	body.theme-zinc #header .icons a:hover {
		color: #ffffff !important;
	}

	body.theme-zinc #nav ul li a {
		color: var(--nav-muted) !important;
		box-shadow: none !important;
	}

	body.theme-zinc #nav ul li a:hover,
	body.theme-zinc #nav ul li a.active {
		color: #ffffff !important;
		background: rgba(0, 0, 0, 0.15) !important;
	}

	body.theme-zinc #nav ul li a span:before {
		color: var(--nav-icon) !important;
	}

	body.theme-zinc #nav ul li a:hover span:before,
	body.theme-zinc #nav ul li a.active span:before {
		color: var(--nav-active-icon) !important;
	}

	#headerToggle .toggle:before {
		background: var(--header-bg) !important;
		color: #ffffff !important;
		border: 0;
		box-shadow: inset -0.25em 0 0.25em 0 rgba(0, 0, 0, 0.1) !important;
	}

	.mobile-brand-bar {
		background: var(--header-bg) !important;
		border-bottom: 0;
		box-shadow: inset 0 -0.15em 0.25em 0 rgba(0, 0, 0, 0.1) !important;
	}

	.mobile-brand-bar__title {
		color: #ffffff !important;
		font-weight: 600;
		letter-spacing: -0.02em;
	}

	.mobile-brand-bar__tagline {
		color: rgba(255, 255, 255, 0.55) !important;
	}

	.mobile-brand-bar__studio {
		display: block;
		margin-top: 0.08em;
		font-size: 0.65rem;
		font-weight: 500;
		letter-spacing: 0.06em;
		text-transform: uppercase;
		color: var(--nav-active-icon);
	}
}

/* Header – vast zijmenu links (desktop, HTML5 UP: tekst rechts, icoon links in link) */
@media screen and (min-width: 961px) {

	body.theme-zinc #header {
		background: var(--header-bg) url("images/overlay.png") !important;
		border-right: 0;
		box-shadow: inset -0.25em 0 0.25em 0 rgba(0, 0, 0, 0.1) !important;
		color: #ffffff;
		text-align: right !important;
	}

	body.theme-zinc #header .bottom {
		border-top: 0 !important;
		box-shadow: none !important;
	}

	body.theme-zinc #header .icons a {
		color: var(--nav-icon) !important;
	}

	body.theme-zinc #header .icons a:hover {
		color: #ffffff !important;
	}

	body.theme-zinc #nav ul li a {
		color: var(--nav-muted) !important;
		box-shadow: none !important;
		border-radius: 0;
	}

	body.theme-zinc #nav ul li a:hover,
	body.theme-zinc #nav ul li a.active {
		color: #ffffff !important;
		background: rgba(0, 0, 0, 0.15) !important;
		box-shadow: inset 0 0 0.25em 0 rgba(0, 0, 0, 0.125) !important;
	}

	body.theme-zinc #nav ul li a span:before {
		color: var(--nav-icon) !important;
	}

	body.theme-zinc #nav ul li a:hover span:before,
	body.theme-zinc #nav ul li a.active span:before {
		color: var(--nav-active-icon) !important;
	}

	body.theme-zinc #nav ul li a.nav-cta {
		margin: 0 1em;
		border-radius: 6px;
		text-align: center;
	}

	body.theme-zinc .mobile-brand-bar {
		display: none !important;
	}
}

/* Secties – donker, subtiel afwisselend */
body.theme-zinc #main > section {
	box-shadow: inset 0 1px 0 0 rgba(0, 0, 0, 0.35);
	background-image: none;
	color: var(--foreground);
}

body.theme-zinc #main > section.two {
	background-color: var(--section-two) !important;
}

body.theme-zinc #main > section.three {
	background-color: var(--section-three) !important;
}

body.theme-zinc #main > section.four {
	background-color: var(--section-four) !important;
}

body.theme-zinc #main > section header h2 {
	color: rgba(255, 255, 255, 0.92);
}

#main > section.dark.hero-cover,
#main > section.dark.hero-cover p,
#main > section.dark.hero-cover h2,
#main > section.dark.hero-cover h3,
#main > section.dark.hero-cover strong {
	color: rgba(255, 255, 255, 0.92) !important;
}

#main > section.dark.hero-cover h2 strong {
	color: #ffffff !important;
}

#main > section#top.hero-cover {
	background-color: #3d4a47 !important;
	background-image: linear-gradient(
		to bottom,
		rgba(30, 34, 36, 0.55) 0%,
		rgba(30, 34, 36, 0.72) 100%
	), url("../../images/banner.jpg") !important;
	background-size: cover !important;
	background-position: center 72% !important;
	background-repeat: no-repeat !important;
	min-height: 26em;
	padding-top: 5em !important;
	padding-bottom: 5em !important;
}

@media screen and (min-width: 961px) {

	#main > section#top.hero-cover {
		min-height: 58vh;
		background-position: center 78% !important;
		padding-top: 6em !important;
		padding-bottom: 6em !important;
	}
}

@media screen and (min-width: 1400px) and (min-height: 800px) {

	#main > section#top.hero-cover {
		min-height: calc(100vh - 1.5rem);
		max-height: 56rem;
		background-position: center 85% !important;
		padding-top: 7em !important;
		padding-bottom: 7em !important;
	}
}

/* Hero – Prologue (HTML5 UP): gecentreerd, luchtig */
#main > section#top.hero-cover .container header {
	text-align: center;
	text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
}

#main > section#top.hero-cover .container header h2.alt {
	margin: 0 auto 0.6em;
	max-width: 22em;
	font-size: clamp(1.75rem, 3.5vw, 2.25rem);
	font-weight: 300;
	line-height: 1.35;
	letter-spacing: -0.02em;
	text-wrap: balance;
}

#main > section#top.hero-cover .container header h2.alt strong {
	font-weight: 600;
}

#top .container header p.hero-intro {
	max-width: 34em;
	margin: 0 auto 1.1em;
	padding: 0 1em;
	font-size: 0.95em;
	font-weight: 300;
	line-height: 1.75;
	text-align: center;
	color: rgba(255, 255, 255, 0.88) !important;
}

#top .container header p.hero-intro:last-of-type {
	margin-bottom: 0;
}

#main > section#top.hero-cover .container footer {
	margin-top: 1.75em;
}

#main > section#top.hero-cover .button.scrolly {
	margin-top: 0;
	background-color: #8ebebc !important;
	border-color: #8ebebc !important;
	color: #fff !important;
	background-image: linear-gradient(to top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.15)) !important;
}

#main > section#top.hero-cover .button.scrolly:hover {
	background-color: #9ececc !important;
	border-color: #9ececc !important;
}

/* Hero */
#main > section#top.cover {
	padding: 6em 0 5em !important;
}

/* Knoppen */
input[type="button"],
input[type="submit"],
input[type="reset"],
button,
.button {
	background: var(--primary) !important;
	background-image: none !important;
	color: var(--primary-fg) !important;
	border: 1px solid var(--primary) !important;
	border-radius: 6px !important;
	box-shadow: none !important;
	font-weight: 500;
	font-family: inherit;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}

input[type="button"]:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
button:hover,
.button:hover {
	background: var(--primary-hover) !important;
	border-color: var(--primary-hover) !important;
}

/* Portfolio */
.portfolio-grid .item {
	box-shadow: none !important;
	border: 1px solid var(--border);
	border-radius: 8px;
	overflow: hidden;
	background: var(--card);
}

.portfolio-grid .item header {
	background: var(--card) !important;
	border-top: 1px solid var(--border);
}

.portfolio-grid .item header h3 a {
	color: var(--foreground) !important;
}

.portfolio-grid .item header h3 a:hover {
	color: var(--primary) !important;
}

.portfolio-grid .item .image img {
	background: var(--muted-bg) !important;
	border-bottom: 1px solid var(--border);
}

/* Over ons */
.over-ons__lead {
	max-width: 42em;
	margin: 0 auto 2em;
	font-size: 1.05em;
	line-height: 1.65;
	color: var(--foreground);
}

.over-ons__card {
	text-align: left;
	padding: 1.5em;
	border: 1px solid var(--border);
	border-radius: 8px;
	background: var(--card);
	height: 100%;
}

.over-ons__card h3 {
	color: rgba(255, 255, 255, 0.9) !important;
}

.over-ons__card p {
	color: var(--foreground) !important;
}

.over-ons__initial {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	margin-bottom: 0.75em;
	border-radius: 8px;
	background: var(--primary);
	color: var(--primary-fg);
	font-weight: 700;
	font-size: 1.1rem;
}

.over-ons__role {
	font-size: 0.85em;
	font-weight: 500;
	color: var(--primary);
	margin: 0 0 0.75em;
}

.over-ons__brothers {
	margin-bottom: 2em;
}

.over-ons__pillars {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1rem 2rem;
}

.over-ons__pillars li {
	font-size: 0.9em;
	font-weight: 500;
	color: var(--muted);
}

.over-ons__pillars .icon {
	margin-right: 0.35em;
	color: var(--primary);
}

@media screen and (max-width: 736px) {
	.over-ons__pillars {
		flex-direction: column;
		align-items: center;
	}
}

/* Diensten – kaarten */
#main > section#diensten.diensten {
	text-align: center;
}

#main > section#diensten .diensten__lead {
	max-width: 36em;
	margin: 0.5em auto 2.25em;
	font-size: 1.02em;
	line-height: 1.6;
	color: var(--muted) !important;
	text-align: center;
}

#main > section#diensten .diensten__grid {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.15rem;
	max-width: 52em;
	margin: 0 auto;
	padding: 0;
	text-align: left;
	list-style: none;
}

#main > section#diensten .diensten__card {
	display: flex !important;
	flex-direction: column;
	height: 100%;
	margin: 0;
	padding: 1.35em 1.4em 1.5em;
	border: 1px solid var(--border) !important;
	border-radius: 10px;
	background: var(--card) !important;
	box-shadow: 0 0.15em 0.5em rgba(0, 0, 0, 0.2);
	transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

#main > section#diensten .diensten__card:hover {
	border-color: var(--primary) !important;
	box-shadow: 0 8px 28px rgba(142, 190, 188, 0.35);
	transform: translateY(-2px);
}

#main > section#diensten .diensten__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.65rem;
	height: 2.65rem;
	margin-bottom: 0.9em;
	border-radius: 8px;
	background: rgba(0, 0, 0, 0.25);
	color: var(--primary);
	font-size: 1.1rem;
	line-height: 1;
}

#main > section#diensten .diensten__icon .icon:before {
	color: var(--primary) !important;
}

#main > section#diensten .diensten__card h3 {
	margin: 0 0 0.55em;
	font-size: 1.02em;
	font-weight: 600;
	color: var(--foreground) !important;
}

#main > section#diensten .diensten__card p {
	margin: 0;
	font-size: 0.9em;
	line-height: 1.55;
	color: var(--muted) !important;
}

@media screen and (max-width: 736px) {
	#main > section#diensten .diensten__grid {
		grid-template-columns: 1fr;
	}
}

/* Formulieren */
input[type="text"],
input[type="email"],
input[type="password"],
select,
textarea {
	background: rgba(0, 0, 0, 0.22) !important;
	color: rgba(255, 255, 255, 0.9) !important;
	border: 1px solid var(--border) !important;
	border-radius: 6px !important;
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2) !important;
}

body.theme-zinc #main input::placeholder,
body.theme-zinc #main textarea::placeholder {
	color: rgba(255, 255, 255, 0.38);
	opacity: 1;
}

body.theme-zinc #main label {
	color: rgba(255, 255, 255, 0.65);
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
	border-color: var(--primary) !important;
	outline: 2px solid transparent;
	box-shadow: 0 0 0 2px rgba(142, 190, 188, 0.45) !important;
}

label {
	font-weight: 500;
	font-size: 0.875rem;
}

.success-message,
.error-message {
	border-radius: 6px;
	padding: 0.75em 1em;
	background: var(--card);
	border: 1px solid var(--border);
	box-shadow: none;
}

.error-message {
	border-color: rgba(252, 165, 165, 0.45);
	color: #fecaca;
}

.error-message ul {
	color: inherit;
}

.success-message {
	border-color: rgba(134, 239, 172, 0.45);
	color: #bbf7d0;
}

/* Footer */
body.theme-zinc #footer {
	background: var(--footer-bg) !important;
	border-top: 1px solid var(--border);
	padding: 3em 0 4em !important;
	border-radius: 0 !important;
	box-shadow: inset 0 1px 0 0 rgba(0, 0, 0, 0.4) !important;
	color: var(--muted);
}

body.theme-zinc #footer .copyright,
body.theme-zinc #footer .copyright li,
body.theme-zinc #footer .copyright-text {
	color: var(--muted) !important;
}

body.theme-zinc #footer .copyright li {
	border-left-color: var(--border) !important;
}

body.theme-zinc #footer .glow-link {
	color: var(--link-hover) !important;
	text-decoration: none;
	text-shadow: none !important;
	font-weight: 300;
}

body.theme-zinc #footer .glow-link:hover {
	color: var(--primary-hover) !important;
}

body.theme-zinc #footer.animated-footer {
	animation: prologueFadeIn 1s ease-in;
}

#footer .footer-validate {
	margin: 1.25em 0 0;
	padding: 0;
	text-align: center;
}

#footer .footer-validate a {
	display: inline-block;
	line-height: 0;
	opacity: 0.92;
	transition: opacity 0.2s ease;
}

#footer .footer-validate a:hover {
	opacity: 1;
}

#footer .footer-validate__badge {
	border: 0;
	width: 88px;
	height: 31px;
}

@keyframes prologueFadeIn {
	from { opacity: 0; transform: translateY(12px); }
	to { opacity: 1; transform: translateY(0); }
}

/* main.css: lichte achtergronden overschrijven */
body.theme-zinc #main .item header {
	background: var(--card) !important;
	border-top: 1px solid var(--border) !important;
}

body.theme-zinc #main .item header h3,
body.theme-zinc #main .item header h3 a {
	color: rgba(255, 255, 255, 0.9) !important;
}

body.theme-zinc #main .item header h3 a:hover {
	color: var(--primary) !important;
}

body.theme-zinc #main > section#portfolio p {
	color: var(--foreground);
}
