/* Het Lichtpunt – premium projectgalerij (SalesWizard, 17-11-2026) */
.lp-gallery {
	--lp-gold: #F3AD00;
	--lp-gap: 14px;
	--lp-row: 250px;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-auto-rows: var(--lp-row);
	gap: var(--lp-gap);
	margin: 10px 0 35px;
}
.lp-gallery__item {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: 8px;
	background: #1e1e1e;
	box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .55);
	isolation: isolate;
}
.lp-gallery__item--hero { grid-column: span 2; grid-row: span 2; }
.lp-gallery__item--wide { grid-column: span 2; }
.lp-gallery__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transform: scale(1.001);
	transition: transform 1.1s cubic-bezier(.2, .7, .2, 1), filter .6s ease;
	filter: saturate(1.02);
}
.lp-gallery__item::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(10,10,10,.78) 100%);
	opacity: .55;
	transition: opacity .5s ease;
	z-index: 1;
}
.lp-gallery__caption {
	position: absolute;
	left: 20px;
	right: 56px;
	bottom: 18px;
	z-index: 2;
	color: #fff;
	font-size: 17px;
	line-height: 1.3;
	letter-spacing: .01em;
	transform: translateY(8px);
	opacity: .92;
	transition: transform .5s ease, opacity .5s ease;
}
.lp-gallery__tag {
	display: block;
	margin-bottom: 6px;
	color: var(--lp-gold);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .18em;
	text-transform: uppercase;
}
.lp-gallery__tag::before {
	content: "";
	display: inline-block;
	width: 18px;
	height: 1px;
	margin-right: 8px;
	vertical-align: middle;
	background: var(--lp-gold);
}
.lp-gallery__item--hero .lp-gallery__caption { font-size: 24px; left: 28px; bottom: 26px; }
.lp-gallery__zoom {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 2;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: rgba(255,255,255,.92);
	color: #222;
	display: grid;
	place-items: center;
	opacity: 0;
	transform: scale(.8);
	transition: opacity .35s ease, transform .35s ease;
}
.lp-gallery__zoom svg { width: 16px; height: 16px; }
.lp-gallery__item:hover img,
.lp-gallery__item:focus-visible img { transform: scale(1.06); }
.lp-gallery__item:hover::after,
.lp-gallery__item:focus-visible::after { opacity: 1; }
.lp-gallery__item:hover .lp-gallery__caption,
.lp-gallery__item:focus-visible .lp-gallery__caption { transform: translateY(0); opacity: 1; }
.lp-gallery__item:hover .lp-gallery__zoom,
.lp-gallery__item:focus-visible .lp-gallery__zoom { opacity: 1; transform: scale(1); }
.lp-gallery__item:focus-visible { outline: 2px solid var(--lp-gold); outline-offset: 3px; }

@media (max-width: 991px) {
	.lp-gallery { --lp-row: 200px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.lp-gallery__item--hero { grid-column: span 2; grid-row: span 2; }
}
@media (max-width: 575px) {
	.lp-gallery { --lp-row: 150px; --lp-gap: 10px; }
	.lp-gallery__caption { left: 14px; right: 14px; bottom: 12px; font-size: 14px; }
	.lp-gallery__item--hero .lp-gallery__caption { font-size: 18px; left: 16px; bottom: 16px; }
	.lp-gallery__tag { font-size: 10px; }
	.lp-gallery__zoom { display: none; }
	.lp-gallery__item::after { opacity: .85; }
	.lp-gallery__caption { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
	.lp-gallery__item img, .lp-gallery__caption, .lp-gallery__zoom, .lp-gallery__item::after { transition: none; }
}

/* Fancybox in huisstijl */
.fancybox__container { --fancybox-bg: rgba(14, 14, 14, .94); --fancybox-accent-color: #F3AD00; }
.fancybox__caption { font-size: 15px; letter-spacing: .02em; }
