/*
 * Nivo Lightbox Fancy Theme v1.0
 * Inspired by luxury/futuristic UI designs
 * Author: Custom by ChatGPT
 * License: MIT
 */

.nivo-lightbox-theme-fancy.nivo-lightbox-overlay {
	background: radial-gradient(circle at center, rgba(0, 0, 0, 0.85), rgba(10, 10, 20, 0.95));
	backdrop-filter: blur(8px);
	animation: fancyFadeIn 0.4s ease;
}

/* Loading Spinner */
.nivo-lightbox-theme-fancy .nivo-lightbox-content.nivo-lightbox-loading {
	background: url(loading.gif) no-repeat 50% 50%;
	opacity: 0.8;
}

/* Navigation Arrows */
.nivo-lightbox-theme-fancy .nivo-lightbox-nav {
	top: 50%;
	width: 60px;
	height: 60px;
	margin-top: -30px;
	text-indent: -9999px;
	background-color: rgba(255, 255, 255, 0.15);
	border-radius: 50%;
	backdrop-filter: blur(5px);
	transition: all 0.3s ease;
	box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.nivo-lightbox-theme-fancy .nivo-lightbox-nav:hover {
	background-color: rgba(255, 255, 255, 0.3);
	transform: scale(1.1);
	box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.nivo-lightbox-theme-fancy .nivo-lightbox-prev {
	left: 2%;
	background-image: url(prev.png);
	background-repeat: no-repeat;
	background-position: 50% 50%;
	background-size: 24px 24px;
}

.nivo-lightbox-theme-fancy .nivo-lightbox-next {
	right: 2%;
	background-image: url(next.png);
	background-repeat: no-repeat;
	background-position: 50% 50%;
	background-size: 24px 24px;
}

/* Close Button */
.nivo-lightbox-theme-fancy .nivo-lightbox-close {
	position: absolute;
	top: 15px;
	right: 15px;
	width: 32px;
	height: 32px;
	background: rgba(255, 255, 255, 0.2) url(close.png) no-repeat center center;
	background-size: 16px 16px;
	border-radius: 50%;
	text-indent: -9999px;
	cursor: pointer;
	transition: all 0.3s ease;
	backdrop-filter: blur(4px);
}

.nivo-lightbox-theme-fancy .nivo-lightbox-close:hover {
	background-color: rgba(255, 255, 255, 0.4);
	transform: rotate(90deg);
}

/* Title Area */
.nivo-lightbox-theme-fancy .nivo-lightbox-title-wrap {
	bottom: -10%;
	text-align: center;
	width: 100%;
}

.nivo-lightbox-theme-fancy .nivo-lightbox-title {
	display: inline-block;
	font: 15px/22px 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-weight: 500;
	color: #fff;
	padding: 10px 25px;
	background: rgba(255, 255, 255, 0.15);
	backdrop-filter: blur(5px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 25px;
	box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
	text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
	animation: fancyTitleFade 0.8s ease;
}

/* Image Style */
.nivo-lightbox-theme-fancy .nivo-lightbox-image img {
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.05);
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
	transition: transform 0.4s ease;
}

.nivo-lightbox-theme-fancy .nivo-lightbox-image img:hover {
	transform: scale(1.02);
}

/* Inline & Ajax content */
.nivo-lightbox-theme-fancy .nivo-lightbox-ajax,
.nivo-lightbox-theme-fancy .nivo-lightbox-inline {
	background: rgba(255, 255, 255, 0.08);
	padding: 40px;
	border-radius: 10px;
	backdrop-filter: blur(8px);
	box-shadow: 0 0 30px rgba(0, 0, 0, 0.4);
	color: #fff;
}

/* Retina assets */
@media (-webkit-min-device-pixel-ratio: 1.3),
       (min-resolution: 1.3dppx) {

	.nivo-lightbox-theme-fancy .nivo-lightbox-content.nivo-lightbox-loading { 
		background-image: url(loading@2x.gif); 
		background-size: 32px 32px;
	}
	.nivo-lightbox-theme-fancy .nivo-lightbox-prev { 
		background-image: url(prev@2x.png); 
		background-size: 32px 32px;
	}
	.nivo-lightbox-theme-fancy .nivo-lightbox-next { 
		background-image: url(next@2x.png); 
		background-size: 32px 32px;
	}
	.nivo-lightbox-theme-fancy .nivo-lightbox-close { 
		background-image: url(close@2x.png); 
		background-size: 16px 16px;
	}
}

/* Animations */
@keyframes fancyFadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes fancyTitleFade {
	from { opacity: 0; transform: translateY(10px); }
	to { opacity: 1; transform: translateY(0); }
}
