/* Lightbox Overlay */
.carousel-lightbox {
	display: none;
	position: fixed;
	z-index: 9999;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.3);
	backdrop-filter: blur(5px);
	opacity: 0;
	transition: opacity 0.3s ease;
}
.carousel-lightbox.active {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	opacity: 1;
}
/* Close Button */
.lightbox-close {
	position: absolute;
	top: 20px;
	right: 40px;
	color: #fff;
	font-size: 40px;
	font-weight: bold;
	cursor: pointer;
	z-index: 10001;
	transition: color 0.3s ease;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
.lightbox-close:hover,
.lightbox-close:focus {
	color: #bbb;
}
/* Lightbox Content Container */
.lightbox-content {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	max-width: 90%;
	max-height: 80vh;
	margin: 0 auto;
}
/* Lightbox Image */
#lightbox-image {
	max-width: 100%;
	max-height: 80vh;
	width: auto;
	height: auto;
	object-fit: contain;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
	animation: zoomIn 0.3s ease;
}
@keyframes zoomIn {
	from {
		transform: scale(0.8);
		opacity: 0;
	}
	to {
		transform: scale(1);
		opacity: 1;
	}
}
/* Navigation Buttons */
.lightbox-prev,
.lightbox-next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background-color: rgba(0, 0, 0, 0.5);
	color: white;
	border: none;
	font-size: 30px;
	padding: 15px 20px;
	cursor: pointer;
	transition: background-color 0.3s ease;
	z-index: 10001;
	border-radius: 4px;
}
.lightbox-prev:hover,
.lightbox-next:hover {
	background-color: rgba(0, 0, 0, 0.8);
}
.lightbox-prev {
	left: 20px;
}
.lightbox-next {
	right: 20px;
}
.lightbox-prev span,
.lightbox-next span {
	display: block;
	line-height: 1;
}
/* Responsive Design */
@media (max-width: 768px) {
	.lightbox-close {
		top: 10px;
		right: 20px;
		font-size: 30px;
	}
	.lightbox-prev,
	.lightbox-next {
		font-size: 24px;
		padding: 10px 15px;
	}
	.lightbox-prev {
		left: 10px;
	}
	.lightbox-next {
		right: 10px;
	}
	#lightbox-image {
		max-height: 70vh;
	}
}
/* Cursor pointer for clickable images */
.carousel-lightbox-trigger {
	cursor: pointer !important;
}