/* Eigen aanvullingen op de Elementor-stijlen van de site. */

/* Hoofdmenu: 6 items passen niet op één regel tussen 1025 en 1300 px
   met de standaard tussenruimte van 50 px, dus daar iets krapper. */
@media (min-width: 1025px) and (max-width: 1300px) {
	body .elementor-90 .elementor-element.elementor-element-532a261 {
		--e-nav-menu-horizontal-menu-item-margin: calc(26px / 2);
	}
}

@media (min-width: 1025px) and (max-width: 1120px) {
	body .elementor-90 .elementor-element.elementor-element-532a261 {
		--e-nav-menu-horizontal-menu-item-margin: calc(18px / 2);
	}
	body .elementor-90 .elementor-element.elementor-element-532a261 .elementor-nav-menu .elementor-item {
		font-size: 15px;
	}
}

/* Fotogalerij (vervangt de Elementor-galerij, die een ontbrekend script nodig had). */
.site-gallery {
	--sg-gap: 5px;
	display: grid;
	grid-template-columns: repeat(var(--sg-cols-d, 4), minmax(0, 1fr));
	gap: var(--sg-gap);
}
.site-gallery__item {
	position: relative;
	display: block;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: #eef1ee;
	cursor: zoom-in;
}
.site-gallery .site-gallery__item img {
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}
.site-gallery__item::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0);
	transition: background-color 0.3s ease;
	pointer-events: none;
}
.site-gallery__item:hover img,
.site-gallery__item:focus-visible img {
	transform: scale(1.05);
}
.site-gallery__item:hover::after,
.site-gallery__item:focus-visible::after {
	background: rgba(0, 0, 0, 0.25);
}
.site-gallery__item:focus-visible {
	outline: 3px solid #1b5e20;
	outline-offset: 2px;
}
@media (max-width: 1024px) {
	.site-gallery {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Lichtbak voor de fotogalerij. */
.site-lightbox {
	width: 100vw;
	height: 100vh;
	max-width: none;
	max-height: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: rgba(0, 0, 0, 0.92);
	color: #fff;
}
.site-lightbox[open] {
	display: flex;
	align-items: center;
	justify-content: center;
}
.site-lightbox::backdrop {
	background: rgba(0, 0, 0, 0.92);
}
.site-lightbox img {
	max-width: calc(100vw - 140px);
	max-height: calc(100vh - 100px);
	object-fit: contain;
	display: block;
	user-select: none;
}
.site-lightbox button {
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
}
.site-lightbox button:hover,
.site-lightbox button:focus-visible {
	background: #1b5e20;
}
.site-lightbox__close {
	top: 16px;
	right: 16px;
}
.site-lightbox__prev {
	left: 16px;
	top: 50%;
	transform: translateY(-50%);
}
.site-lightbox__next {
	right: 16px;
	top: 50%;
	transform: translateY(-50%);
}
.site-lightbox__count {
	position: absolute;
	top: 28px;
	left: 24px;
	font-size: 14px;
	opacity: 0.8;
}
@media (max-width: 767px) {
	.site-lightbox img {
		max-width: 100vw;
		max-height: calc(100vh - 140px);
	}
	.site-lightbox__prev,
	.site-lightbox__next {
		top: auto;
		bottom: 20px;
		transform: none;
	}
}

/* Ondernemingsnummer onder de copyrightregel in de footer. */
.footer-kbo {
	margin: 2px 0 0 !important;
	font-size: 12px !important;
	line-height: 1.4 !important;
	opacity: 0.7;
}

/* Werkgebied onder de contactgegevens in de footer. */
.footer-werkgebied {
	margin: 12px 0 0 !important;
	max-width: 340px;
	font-size: 13px !important;
	line-height: 1.5 !important;
	opacity: 0.75;
}

/* Homepage: blok met richtprijzen. */
.hp-prices {
	padding: 70px 20px;
	background: #f7f8f6;
	font-family: "Roboto", Sans-serif;
	color: #1b1b1b;
}
.hp-prices__wrap {
	max-width: 1100px;
	margin: 0 auto;
}
.hp-prices__eyebrow {
	margin: 0 0 6px;
	text-align: center;
	color: #1b5e20;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.hp-prices h2 {
	margin: 0 0 12px;
	text-align: center;
	font-size: clamp(1.6rem, 3.4vw, 2.2rem);
	font-weight: 600;
	color: #1b1b1b;
}
.hp-prices__intro {
	max-width: 680px;
	margin: 0 auto 36px;
	text-align: center;
	color: #5c5c5c;
	line-height: 1.6;
}
.hp-prices__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 28px;
	align-items: start;
}
.hp-prices__table-wrap {
	background: #fff;
	border: 1px solid #dfe5df;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}
.hp-prices__table {
	width: 100%;
	margin: 0;
	border-collapse: collapse;
	font-size: 15px;
}
.hp-prices__table caption {
	padding: 14px 18px;
	text-align: left;
	font-size: 13px;
	color: #5c5c5c;
	caption-side: bottom;
	background: #fff;
}
.hp-prices__table th,
.hp-prices__table td {
	padding: 13px 18px;
	border: 0;
	border-bottom: 1px solid #edf0ed;
	text-align: left;
	background: #fff;
}
.hp-prices__table thead th {
	background: #1b5e20;
	color: #fff;
	font-weight: 500;
}
.hp-prices__table tbody th {
	font-weight: 400;
}
.hp-prices__table td {
	white-space: nowrap;
	font-weight: 600;
	color: #1b5e20;
}
.hp-prices__table .hp-prices__group th {
	background: #eef5ee;
	color: #1b5e20;
	font-weight: 600;
	font-size: 13px;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}
.hp-prices__example {
	padding: 22px;
	border-radius: 16px;
	background: #1b5e20;
	color: #fff;
	box-shadow: 0 14px 34px rgba(27, 94, 32, 0.25);
}
.hp-prices__example p {
	margin: 0;
	line-height: 1.5;
}
.hp-prices__example-label {
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	opacity: 0.8;
}
.hp-prices__example-title {
	margin: 4px 0 6px !important;
	font-size: 1.15rem;
	font-weight: 600;
}
.hp-prices__example-price {
	margin-top: 12px !important;
	font-size: 1.9rem;
	font-weight: 700;
}
.hp-prices__example-note {
	font-size: 13px;
	opacity: 0.85;
}
.hp-prices__facts {
	margin: 18px 0;
	padding: 0;
	list-style: none;
}
.hp-prices__facts li {
	position: relative;
	margin: 0 0 8px;
	padding-left: 24px;
	line-height: 1.5;
	color: #3d3d3d;
}
.hp-prices__facts li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: #1b5e20;
	font-weight: 700;
}
.hp-prices__actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.hp-prices__btn {
	display: block;
	padding: 13px 20px;
	border: 2px solid #1b5e20;
	border-radius: 35px;
	text-align: center;
	font-family: "Work Sans", Sans-serif;
	font-size: 15px;
	font-weight: 500;
	text-decoration: none;
	transition: background-color 0.15s ease, color 0.15s ease;
}
.hp-prices__btn--primary {
	background: #1b5e20;
	color: #fff !important;
}
.hp-prices__btn--primary:hover,
.hp-prices__btn--primary:focus {
	background: #12451a;
	border-color: #12451a;
}
.hp-prices__btn--ghost {
	background: #fff;
	color: #1b5e20 !important;
}
.hp-prices__btn--ghost:hover,
.hp-prices__btn--ghost:focus {
	background: #eef5ee;
}
.hp-prices__more {
	margin: 24px 0 0;
	text-align: center;
	color: #5c5c5c;
	font-size: 14px;
}
.hp-prices__more a {
	color: #1b5e20;
	font-weight: 500;
	text-decoration: underline;
}
@media (max-width: 900px) {
	.hp-prices__grid {
		grid-template-columns: 1fr;
	}
}
@media (max-width: 600px) {
	.hp-prices {
		padding: 50px 16px;
	}
	.hp-prices__table {
		font-size: 14px;
	}
	.hp-prices__table th,
	.hp-prices__table td {
		padding: 11px 12px;
	}
	.hp-prices__table td {
		white-space: normal;
		text-align: right;
	}
}
