.flexible-gallery {
	columns: 1;
	column-gap: 16px;
	padding: 0;
}

@media (min-width: 640px) {
	.flexible-gallery {
		columns: 2;
	}
}

@media (min-width: 768px) {
	.flexible-gallery {
		columns: 3;
	}
}

@media (min-width: 1024px) {
	.flexible-gallery {
		columns: 4;
	}
}

.gallery-item {
	position: relative;
	display: inline-block;
	width: 100%;
	margin-bottom: 16px;
	break-inside: avoid;
	border-radius: 8px;
	overflow: hidden;
	cursor: pointer;
	transition: all 0.3s ease;
}

.gallery-item:hover {
	transform: translateY(-4px);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.gallery-item img {
	width: 100%;
	height: auto;
	display: block;
	transition: all 0.3s ease;
}

.gallery-item:hover img {
	transform: scale(1.05);
}

.gallery-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.6);
	opacity: 0;
	transition: opacity 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
}

.gallery-item:hover .gallery-overlay {
	opacity: 1;
}

.eye-icon {
	color: #60a5fa;
	font-size: 2.5rem;
	filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Professional Lightbox Styles */
.lightbox-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.95);
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
	backdrop-filter: blur(10px);
}

.lightbox-overlay.active {
	opacity: 1;
	visibility: visible;
}

.lightbox-container {
	position: relative;
	max-width: 90vw;
	max-height: 90vh;
	display: flex;
	flex-direction: column;
	transform: scale(0.8);
	transition: transform 0.3s ease;
}

.lightbox-overlay.active .lightbox-container {
	transform: scale(1);
}

.lightbox-content {
	position: relative;
	background: white;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.lightbox-image {
	width: 100%;
	height: auto;
	max-height: 80vh;
	object-fit: contain;
	display: block;
}

.lightbox-close {
	position: absolute;
	top: -50px;
	right: 0;
	background: rgba(255, 255, 255, 0.2);
	border: none;
	color: white;
	font-size: 30px;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	cursor: pointer;
	transition: all 0.3s ease;
	backdrop-filter: blur(10px);
	z-index: 10001;
}

.lightbox-close:hover {
	background: rgba(255, 255, 255, 0.3);
	transform: scale(1.1);
}

.lightbox-info {
	background: white;
	padding: 15px 20px;
	border-radius: 0 0 12px 12px;
	margin-top: -5px;
}

.lightbox-info p {
	margin: 0;
	color: #333;
	font-size: 16px;
	font-weight: 500;
}

@media (max-width: 768px) {
	.lightbox-container {
		max-width: 95vw;
		max-height: 95vh;
	}

	.lightbox-close {
		top: 10px;
		right: 10px;
		position: fixed;
	}

	.lightbox-info {
		padding: 12px 15px;
	}
}
