/*!
 * Native Lightbox stilleri — lightbox-native.js ile birlikte kullanilir.
 * Lightbox2 + prettyPhoto CSS'inin yerine yazildi.
 */
.nlb-overlay {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 40px;
	background: rgba(0, 0, 0, 0.9);
	opacity: 0;
	transition: opacity 250ms ease;
	-webkit-tap-highlight-color: transparent;
}
.nlb-overlay.is-open {
	display: flex;
	opacity: 1;
}
body.nlb-open {
	overflow: hidden;
}
.nlb-figure {
	margin: 0;
	max-width: 100%;
	max-height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.nlb-img {
	max-width: 90vw;
	max-height: 80vh;
	display: block;
	border-radius: 2px;
	box-shadow: 0 6px 30px rgba(0, 0, 0, 0.5);
	opacity: 0;
	transform: scale(0.98);
	transition: opacity 200ms ease, transform 200ms ease;
}
.nlb-img.is-loaded {
	opacity: 1;
	transform: scale(1);
}
.nlb-caption {
	margin-top: 14px;
	max-width: 90vw;
	color: #fff;
	font-size: 14px;
	line-height: 1.5;
	text-align: center;
}
.nlb-counter {
	position: absolute;
	top: 18px;
	left: 22px;
	color: rgba(255, 255, 255, 0.75);
	font-size: 13px;
	letter-spacing: 1px;
}
/* Yukleme spinner'i — Lightbox2'deki loader karsiligi */
.nlb-loader {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 44px;
	height: 44px;
	margin: -22px 0 0 -22px;
	border: 3px solid rgba(255, 255, 255, 0.25);
	border-top-color: #fff;
	border-radius: 50%;
	animation: nlb-spin 0.8s linear infinite;
	display: none;
}
.nlb-overlay.is-loading .nlb-loader {
	display: block;
}
@keyframes nlb-spin {
	to { transform: rotate(360deg); }
}
/* Butonlar */
.nlb-overlay button {
	position: absolute;
	border: 0;
	margin: 0;
	cursor: pointer;
	color: #fff;
	background: rgba(0, 0, 0, 0.35);
	transition: background 200ms ease, color 200ms ease;
	-webkit-appearance: none;
	appearance: none;
}
.nlb-overlay button:hover {
	background: #fff;
	color: #000;
}
.nlb-close {
	top: 12px;
	right: 16px;
	width: 44px;
	height: 44px;
	font-size: 30px;
	line-height: 40px;
	border-radius: 50%;
}
.nlb-prev,
.nlb-next {
	top: 50%;
	width: 50px;
	height: 64px;
	margin-top: -32px;
	font-size: 26px;
	line-height: 64px;
	border-radius: 3px;
}
.nlb-prev { left: 16px; }
.nlb-next { right: 16px; }

@media (max-width: 768px) {
	.nlb-overlay { padding: 16px; }
	.nlb-img { max-width: 96vw; max-height: 72vh; }
	.nlb-prev, .nlb-next { width: 40px; height: 52px; margin-top: -26px; line-height: 52px; font-size: 20px; }
	.nlb-close { width: 38px; height: 38px; font-size: 24px; line-height: 34px; }
}
