/* ========================================
   GALERIE
   ======================================== */
.gallery {
	background: var(--white);
	padding: 5rem 2rem;
}

.gallery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 1rem;
	max-width: 1200px;
	margin: 0 auto;
}

.gallery-item {
	position: relative;
	height: 250px;
	overflow: hidden;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 
		0 0 0 1px rgba(10, 35, 66, 0.1),
		0 2px 8px rgba(10, 35, 66, 0.08),
		0 4px 16px rgba(10, 35, 66, 0.04);
}

.gallery-item:hover {
	transform: translateY(-4px);
	box-shadow: 
		0 0 0 2px var(--azure),
		0 8px 20px rgba(50, 98, 149, 0.15),
		0 12px 32px rgba(50, 98, 149, 0.1);
}

.gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.gallery-item video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Lightbox */
.lightbox {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.9);
	z-index: 9999;
	align-items: center;
	justify-content: center;
}

.lightbox.active {
	display: flex;
}

.lightbox-content {
	position: relative;
	max-width: 90%;
	max-height: 90%;
}

.lightbox-content img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	border-radius: 4px;
}

.lightbox-close {
	position: absolute;
	top: 20px;
	right: 40px;
	font-size: 40px;
	color: white;
	cursor: pointer;
	background: none;
	border: none;
	transition: opacity 0.3s ease;
}

.lightbox-close:hover {
	opacity: 0.7;
}

.lightbox-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	font-size: 40px;
	color: white;
	cursor: pointer;
	background: rgba(255, 255, 255, 0.1);
	border: none;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
}

.lightbox-nav:hover {
	background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev {
	left: 10px;
}

.lightbox-next {
	right: 10px;
}

.lightbox-counter {
	position: absolute;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	color: white;
	font-size: 14px;
	background: rgba(0, 0, 0, 0.5);
	padding: 8px 16px;
	border-radius: 20px;
}
