/* Galeri lightbox stili — özgün, hafif. */

.tftema-no-scroll { overflow: hidden; }

.tftema-gallery-lightbox {
	position: fixed; inset: 0; z-index: 10000;
	display: none;
	align-items: center; justify-content: center;
	padding: 4vh 4vw;
}
.tftema-gallery-lightbox.is-open { display: flex; }

.tftema-gallery-backdrop {
	position: absolute; inset: 0;
	background: rgba(4, 24, 39, 0.92);
	backdrop-filter: blur(4px);
	cursor: pointer;
}

.tftema-gallery-frame {
	position: relative;
	max-width: 100%;
	max-height: 85vh;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 40px 80px -20px rgba(0,0,0,0.5);
	background: #041827;
}
.tftema-gallery-frame img {
	display: block;
	max-width: 90vw;
	max-height: 85vh;
	width: auto; height: auto;
	object-fit: contain;
}

.tftema-gallery-caption {
	position: absolute;
	left: 0; right: 0; bottom: 14px;
	text-align: center;
	color: #cfe6f2;
	font-size: 14px;
	padding: 0 60px;
	pointer-events: none;
}

.tftema-gallery-close,
.tftema-gallery-nav {
	position: absolute;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px; height: 46px;
	border: 1px solid rgba(255,255,255,0.18);
	background: rgba(0, 0, 0, 0.45);
	color: #fff;
	border-radius: 999px;
	cursor: pointer;
	transition: background 0.2s, transform 0.2s;
}
.tftema-gallery-close:hover,
.tftema-gallery-nav:hover {
	background: rgba(72, 202, 228, 0.25);
	border-color: rgba(72, 202, 228, 0.5);
	transform: scale(1.06);
}
.tftema-gallery-close { top: 18px; right: 18px; }
.tftema-gallery-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.tftema-gallery-next { right: 18px; top: 50%; transform: translateY(-50%); }
.tftema-gallery-prev:hover { transform: translateY(-50%) scale(1.06); }
.tftema-gallery-next:hover { transform: translateY(-50%) scale(1.06); }

@media (max-width: 640px) {
	.tftema-gallery-close,
	.tftema-gallery-nav { width: 40px; height: 40px; }
	.tftema-gallery-close { top: 10px; right: 10px; }
	.tftema-gallery-prev { left: 8px; }
	.tftema-gallery-next { right: 8px; }
	.tftema-gallery-caption { padding: 0 12px; font-size: 13px; }
}

/* WP galeri görselleri — hover zoom sinyali */
.tftema-wp-gallery .gallery-item img {
	transition: transform 0.35s ease, filter 0.35s ease;
	cursor: zoom-in;
}
.tftema-wp-gallery .gallery-item a:hover img {
	transform: scale(1.03);
	filter: brightness(1.05);
}
