/**
 * Candlewide Testimonials Lightbox Styles
 * 
 * Styles for the photo lightbox/modal functionality
 * Matching gallery modal design and behavior
 */

/* ===== Lightbox Container ===== */
.candlewide-lightbox-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.95);
	z-index: 9999;
	padding: 0;
	margin: 0;
	border: none;
}

.candlewide-lightbox-overlay.active {
	display: flex !important;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

/* ===== Lightbox Content ===== */
.candlewide-lightbox-content {
	position: relative;
	max-width: 90%;
	max-height: 85vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

/* ===== Lightbox Image ===== */
.candlewide-lightbox-image {
	max-width: 100%;
	max-height: 70vh;
	object-fit: contain;
	border-radius: 8px;
	margin-bottom: 20px;
}

/* ===== Lightbox Controls ===== */
.candlewide-lightbox-close {
	position: fixed;
	top: 20px;
	right: 20px;
	background: rgba(255, 255, 255, 0.3);
	color: white;
	border: none;
	font-size: 32px;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	z-index: 10001;
	line-height: 1;
	padding: 0;
}

.candlewide-lightbox-close:hover {
	background: rgba(255, 255, 255, 0.5);
}

/* Navigation Arrows */
.candlewide-lightbox-nav {
	position: fixed;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(255, 255, 255, 0.3);
	color: white;
	border: none;
	font-size: 24px;
	width: 40px;
	height: 40px;
	padding: 0;
	cursor: pointer;
	border-radius: 4px;
	transition: all 0.3s ease;
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}

.candlewide-lightbox-nav:hover {
	background: rgba(255, 255, 255, 0.5);
	transform: translateY(-50%) scale(1.1);
}

.candlewide-lightbox-nav.prev {
	left: 20px;
}

.candlewide-lightbox-nav.next {
	right: 20px;
}

/* Photo Counter */
.candlewide-lightbox-counter {
	color: white;
	font-size: 14px;
	text-align: center;
	margin-top: 15px;
	background: rgba(0, 0, 0, 0.5);
	padding: 8px 15px;
	border-radius: 4px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
	.candlewide-lightbox-nav {
		width: 35px;
		height: 35px;
		font-size: 20px;
	}

	.candlewide-lightbox-nav.prev {
		left: 10px;
	}

	.candlewide-lightbox-nav.next {
		right: 10px;
	}

	.candlewide-lightbox-close {
		width: 40px;
		height: 40px;
		font-size: 28px;
	}

	.candlewide-lightbox-image {
		max-height: 60vh;
	}

	.candlewide-lightbox-content {
		max-width: 95%;
	}
}

	.candlewide-lightbox-counter {
		bottom: 10px;
		left: 10px;
		font-size: 12px;
		padding: 6px 12px;
	}
}
