
.lightbox {
	opacity: 0;
	pointer-events: none;
	position: fixed;
	z-index: 999;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.8);
	justify-content: center;
	align-items: center;
	transition: opacity 0.6s ease;
}

.lightbox:target {
	opacity: 1;
	pointer-events: auto;
	display: flex;
}

.lightbox-content {
	position: relative;
	transform: scale(0.3);
	opacity: 0;
	transition: transform 0.8s ease-out, opacity 0.4s ease 0.3s;
}

.lightbox:target .lightbox-content {
	transform: scale(1);
	opacity: 1;
}

.lightbox img {
	max-width: 90vw;
	max-height: 90vh;
	border-radius: 10px;
	outline: 2px solid var(--darkgold);
	-webkit-box-shadow: 0px 0px 22px 5px #000000;
	box-shadow: 0px 0px 22px 5px #000000;
}

.close {
	position: absolute;
	top: -10px;
	right: -10px;
	background: #fff;
	color: #333;
	text-decoration: none;
	font-weight: bold;
	font-size: 20px;
	padding: 4px 10px;
	border-radius: 50%;
	box-shadow: 0 2px 5px rgba(0,0,0,0.3);
	transition: background 0.3s;
}

.close:hover {
	background: var(--gold);
}