/*
Theme Name: Bureau Wij Doen Het
Theme URI: https://wijdoenhet.nl
Author: Bureau Wij Doen Het
Description: Eigen thema voor Bureau Wij Doen Het, gebouwd op de huisstijl (Manrope + Inter, blauw #378ADD) met Elementor voor de pagina-inhoud.
Version: 1.0.0
Requires PHP: 7.4
Text Domain: bureau-wij-doen-het
*/

/* ==========================================================================
   1. Variabelen (huisstijl)
   ========================================================================== */
:root {
	--color-blauw: #378add;
	--color-blauw-donker: #2b6fb3;
	--color-wit: #ffffff;
	--color-grijs: #6b7280;
	--color-grijs-licht: #f3f4f6;
	--color-grijs-lijn: #e2e4e8;
	--color-zwart: #1e1e1e;

	--color-amber: #ef9f27;
	--color-koraal: #d85a30;
	--color-groen: #639922;
	--color-paars: #7f77dd;
	--color-teal: #1d9e75;

	--font-heading: "Manrope", "Segoe UI", Arial, sans-serif;
	--font-body: "Inter", "Segoe UI", Arial, sans-serif;

	--container-width: 1180px;
	--radius: 10px;
}

/* ==========================================================================
   2. Reset & basis
   ========================================================================== */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--font-body);
	font-weight: 400;
	color: var(--color-zwart);
	background: var(--color-wit);
	line-height: 1.6;
	overflow-x: hidden;
}

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

a {
	color: inherit;
	text-decoration: none;
}

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

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-heading);
	font-weight: 700;
	line-height: 1.25;
	margin: 0 0 0.6em;
	color: var(--color-zwart);
}

h3, h4 {
	font-weight: 600;
}

p {
	margin: 0 0 1em;
}

em, i {
	font-style: italic;
}

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

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* Hover-effect op de echte Elementor-knoppen (widget "button"). */
.elementor-button {
	transition: opacity 0.15s ease !important;
}

.elementor-button:hover {
	opacity: 0.88;
}

/* ==========================================================================
   3. Knoppen
   ========================================================================== */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-family: var(--font-body);
	font-weight: 500;
	font-size: 0.95rem;
	padding: 13px 28px;
	border-radius: var(--radius);
	border: 2px solid var(--color-blauw);
	background: transparent;
	color: var(--color-blauw);
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease, transform 0.1s ease;
}

.btn:hover {
	background: var(--color-blauw);
	color: var(--color-wit);
}

.btn:active {
	transform: translateY(1px);
}

.btn-primary {
	background: var(--color-blauw);
	color: var(--color-wit);
}

.btn-primary:hover {
	background: var(--color-blauw-donker);
	border-color: var(--color-blauw-donker);
	color: var(--color-wit);
}

.btn-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 500;
	color: var(--color-blauw);
	border-bottom: 2px solid transparent;
	transition: border-color 0.15s ease;
}

.btn-link:hover {
	border-color: var(--color-blauw);
}

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 500;
	color: var(--color-blauw) !important;
	border-bottom: 2px solid transparent;
	transition: border-color 0.15s ease;
}

.link-arrow:hover {
	border-color: var(--color-blauw);
}

.link-arrow__icon {
	display: inline-block;
	transition: transform 0.15s ease;
}

.link-arrow:hover .link-arrow__icon {
	transform: translateX(4px);
}

/* ==========================================================================
   4. Header / navigatie
   ========================================================================== */
.site-header {
	border-bottom: 1px solid var(--color-grijs-lijn);
	background: var(--color-wit);
	position: sticky;
	top: 0;
	z-index: 100;
	box-shadow: 0 0 0 rgba(30, 34, 41, 0);
	transition: box-shadow 0.2s ease;
}

.site-header.is-scrolled {
	box-shadow: 0 6px 20px -12px rgba(30, 34, 41, 0.25);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding-top: 16px;
	padding-bottom: 16px;
}

.site-logo {
	display: flex;
	align-items: center;
}

.site-logo--text {
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 1.25rem;
	color: var(--color-zwart);
	border: 2px solid var(--color-grijs-lijn);
	border-radius: 6px;
	padding: 6px 14px;
	letter-spacing: 0.02em;
}

.site-logo img {
	max-height: 70px;
	width: auto;
}

.main-navigation {
	display: flex;
	align-items: center;
	gap: 8px;
	flex: 1;
	justify-content: center;
}

.main-navigation ul {
	display: flex;
	align-items: center;
	gap: 4px;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: inline-block;
	padding: 10px 18px;
	border: 1px solid var(--color-grijs-lijn);
	border-radius: 6px;
	font-size: 0.95rem;
	font-weight: 500;
	color: var(--color-zwart);
	transition: border-color 0.15s ease, color 0.15s ease;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a {
	border-color: var(--color-blauw);
	color: var(--color-blauw);
}

.main-navigation .menu-item-has-children > a::after {
	content: "";
	display: inline-block;
	width: 6px;
	height: 6px;
	margin-left: 6px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: translateY(-2px) rotate(45deg);
}

.main-navigation .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	flex-direction: column;
	align-items: stretch;
	gap: 2px;
	min-width: 190px;
	padding: 14px 8px 8px;
	margin-top: 0;
	background: var(--color-wit);
	border: 1px solid var(--color-grijs-lijn);
	border-radius: 8px;
	box-shadow: 0 12px 24px -12px rgba(30, 34, 41, 0.2);
	z-index: 10;
}

.main-navigation .menu-item-has-children:hover > .sub-menu,
.main-navigation .menu-item-has-children:focus-within > .sub-menu {
	display: flex;
}

.main-navigation .sub-menu a {
	border: none;
	padding: 8px 10px;
	white-space: nowrap;
}

.header-cta {
	white-space: nowrap;
	font-weight: 600;
	color: var(--color-zwart);
	border-bottom: 2px solid var(--color-grijs-lijn);
	padding-bottom: 2px;
	transition: border-color 0.15s ease, color 0.15s ease;
}

.header-cta:hover {
	color: var(--color-blauw);
	border-color: var(--color-blauw);
}

.menu-toggle {
	display: none;
	background: none;
	border: 1px solid var(--color-grijs-lijn);
	border-radius: 6px;
	padding: 8px 10px;
	cursor: pointer;
}

.menu-toggle span {
	display: block;
	width: 22px;
	height: 2px;
	background: var(--color-zwart);
	margin: 4px 0;
}

@media (max-width: 860px) {
	.main-navigation {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--color-wit);
		border-bottom: 1px solid var(--color-grijs-lijn);
		padding: 16px 24px;
	}

	.main-navigation.is-open {
		display: block;
	}

	.main-navigation ul {
		flex-direction: column;
		align-items: stretch;
		gap: 8px;
	}

	.main-navigation a {
		display: block;
		text-align: center;
	}

	.main-navigation .menu-item-has-children > a::after {
		display: none;
	}

	.main-navigation .sub-menu {
		display: flex;
		position: static;
		flex-direction: column;
		margin: 4px 0 0;
		padding: 0;
		border: none;
		box-shadow: none;
		background: transparent;
	}

	.main-navigation .sub-menu a {
		text-align: center;
		color: var(--color-grijs);
		font-size: 0.9rem;
	}

	.menu-toggle {
		display: inline-block;
	}
}

/* ==========================================================================
   5. Secties / layout algemeen
   ========================================================================== */
.section {
	padding: 64px 0;
}

.section--tight {
	padding: 40px 0;
}

.section--flush-top {
	padding-top: 0 !important;
}

.section--grijs {
	background: var(--color-grijs-licht);
}

.section--donker {
	background: var(--color-zwart);
	color: var(--color-wit);
}

.section--donker h2,
.section--donker h3 {
	color: var(--color-wit);
}

.section-heading {
	text-align: center;
	max-width: 720px;
	margin: 0 auto 40px;
}

.section-label {
	display: block;
	font-family: var(--font-body);
	font-weight: 500;
	font-size: 0.8rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--color-blauw);
	margin-bottom: 8px;
}

.two-col {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: center;
}

@media (max-width: 780px) {
	.two-col {
		grid-template-columns: 1fr;
	}

	.two-col--reverse .two-col__media {
		order: -1;
	}
}

.placeholder-image {
	position: relative;
	width: 100%;
	aspect-ratio: 4 / 3;
	background: var(--color-grijs-licht);
	border: 1px dashed #c7cad1;
	border-radius: var(--radius);
	overflow: hidden;
}

.placeholder-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.placeholder-image::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(to top right, transparent calc(50% - 1px), #c7cad1 50%, transparent calc(50% + 1px)),
		linear-gradient(to top left, transparent calc(50% - 1px), #c7cad1 50%, transparent calc(50% + 1px));
}

.placeholder-image--filled::before {
	display: none;
}

/* ==========================================================================
   6. Hero
   ========================================================================== */
.hero {
	padding: 72px 0 16px;
	text-align: center;
}

.hero h1 {
	font-size: clamp(1.75rem, 3.2vw, 2.6rem);
	max-width: 820px;
	margin-left: auto;
	margin-right: auto;
}

.hero__intro {
	max-width: 640px;
	margin: 0 auto 32px;
	color: var(--color-grijs);
}

.hero__actions {
	display: flex;
	gap: 16px;
	justify-content: center;
	flex-wrap: wrap;
}

/* Hero-variant met een afbeelding als achtergrond: tekst staat op de foto. */
.hero--achtergrond {
	padding: 0;
}

.hero--achtergrond > .elementor-container {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 48px 24px;
}

.hero--achtergrond h1,
.hero--achtergrond p {
	color: var(--color-wit);
}

/* ==========================================================================
   7. Kaarten (features / diensten / reviews / team)
   ========================================================================== */
.card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 24px;
}

.card {
	border: 1px solid var(--color-grijs-lijn);
	border-radius: var(--radius);
	padding: 28px;
	background: var(--color-wit);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
	border-color: var(--color-blauw);
	box-shadow: 0 8px 16px -12px rgba(30, 34, 41, 0.2);
}

.img-hover-zoom {
	overflow: hidden !important;
	border-radius: var(--radius);
}

.img-hover-zoom img {
	transition: transform 0.4s ease;
}

.img-hover-zoom:hover img {
	transform: scale(1.03);
}

.card--accent {
	border-top: 4px solid var(--accent, var(--color-blauw));
}

.card h3 {
	font-size: 1.1rem;
	margin-bottom: 10px;
}

.card p {
	color: var(--color-grijs);
	font-size: 0.95rem;
	margin-bottom: 0;
}

.service-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
	margin-bottom: 40px;
}

.service-filter {
	border: 1px solid var(--color-grijs-lijn);
	border-radius: 999px;
	padding: 10px 22px;
	font-weight: 500;
	font-size: 0.9rem;
	background: var(--color-wit);
	cursor: pointer;
	transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.service-filter:hover,
.service-filter.is-active {
	border-color: var(--color-blauw);
	color: var(--color-blauw);
	background: rgba(55, 138, 221, 0.08);
}

.team-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 32px;
}

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

.team-member h3 {
	margin: 16px 0 4px;
	font-size: 1rem;
}

.team-member p {
	color: var(--color-grijs);
	font-size: 0.9rem;
	margin-bottom: 0;
}

/* ==========================================================================
   8. Genummerde stappen (werkwijze)
   ========================================================================== */
.steps {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	text-align: center;
}

@media (max-width: 780px) {
	.steps {
		grid-template-columns: repeat(2, 1fr);
	}
}

.step__number {
	box-sizing: border-box !important;
	width: 56px !important;
	max-width: 56px !important;
	min-width: 56px !important;
	height: 56px !important;
	max-height: 56px !important;
	min-height: 56px !important;
	flex: 0 0 56px !important;
	border-radius: 50% !important;
	border: 2px solid var(--color-blauw);
	color: var(--color-blauw);
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 1.2rem;
	display: flex !important;
	align-items: center;
	justify-content: center;
	align-self: center;
	margin: 0 auto 16px;
	padding: 0 !important;
}

.step__number .elementor-widget-container {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.step__number .elementor-heading-title {
	line-height: 1;
}

.step p {
	color: var(--color-grijs);
	font-size: 0.9rem;
	margin-bottom: 0;
}

/* ==========================================================================
   9. Accordion (FAQ) - stijl bovenop Elementor's accordion-widget
   ========================================================================== */
.elementor-accordion .elementor-accordion-item {
	border: 1px solid var(--color-grijs-lijn) !important;
	border-radius: var(--radius);
	margin-bottom: 12px;
	overflow: hidden;
}

.elementor-accordion .elementor-tab-title {
	font-family: var(--font-body);
	font-weight: 500;
}

/* ==========================================================================
   10. CTA banner
   ========================================================================== */
.cta-banner {
	text-align: center;
	padding: 56px 0;
}

.cta-banner p {
	max-width: 620px;
	margin: 0 auto 8px;
	color: var(--color-grijs);
}

.cta-banner .btn {
	margin-top: 24px;
}

/* ==========================================================================
   11. Contactkaarten
   ========================================================================== */
.info-card {
	border: 1px solid var(--color-grijs-lijn);
	border-radius: var(--radius);
	padding: 24px;
	margin-bottom: 20px;
}

.info-card h3 {
	font-size: 1rem;
	margin-bottom: 6px;
}

.info-card p {
	color: var(--color-grijs);
	font-size: 0.9rem;
	margin-bottom: 0;
}

.map-embed {
	margin-top: 12px;
	border-radius: var(--radius);
	overflow: hidden;
}

.map-embed iframe {
	display: block;
	width: 100%;
}

/* ==========================================================================
   12. Footer
   ========================================================================== */
.site-footer {
	border-top: 1px solid var(--color-grijs-lijn);
	padding: 48px 0 24px;
	background: var(--color-grijs-licht);
}

.site-footer__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 32px;
	margin-bottom: 32px;
}

@media (max-width: 780px) {
	.site-footer__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

.site-footer h3 {
	font-size: 0.95rem;
	margin-bottom: 14px;
}

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

.site-footer a {
	color: var(--color-grijs);
	font-size: 0.9rem;
}

.site-footer a:hover {
	color: var(--color-blauw);
}

.site-footer__bottom {
	border-top: 1px solid var(--color-grijs-lijn);
	padding-top: 20px;
	text-align: center;
	font-size: 0.85rem;
	color: var(--color-grijs);
}
