/* icons */
.media-icons-container {
	position: absolute;
	top: 30px;
	right: 30px;
	z-index: 1;
	display: flex;
	gap: 12px;
	align-items: center;
	justify-content: center;
}

.media-icons-container svg {
	height: 100%;
	width: 100%;
}

.video-play-button,
.tour-3d-button {
	position: relative;
	width: 44px;
	height: 44px;
	padding: 10px;
	background-color: #000000a8;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: pointer;
	transition: all 0.3s ease;
}

.video-play-button:hover,
.tour-3d-button:hover {
	background-color: rgba(0, 0, 0, 0.9);
	transform: scale(1.05);
}

/* modal video/3d */
.lightbox-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.9);
	z-index: 9999;
	display: flex;
	justify-content: center;
	align-items: center;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
}

.lightbox-overlay.active {
	opacity: 1;
	visibility: visible;
}

.lightbox-container {
	position: relative;
	width: 90%;
	max-width: 1200px;
	height: 90%;
	max-height: 800px;
	background: #000;
	border-radius: 8px;
	overflow: hidden;
	transform: scale(0.8);
	transition: transform 0.3s ease;
}

.lightbox-overlay.active .lightbox-container {
	transform: scale(1);
}

.lightbox-close {
	position: absolute;
	top: 15px;
	right: 20px;
	background: rgba(255, 255, 255, 0.2);
	border: none;
	color: white;
	font-size: 30px;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	cursor: pointer;
	z-index: 10001;
	display: flex;
	justify-content: center;
	align-items: center;
	transition: background-color 0.3s ease;
}

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

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

.lightbox-video-container {
	width: 100%;
	height: 100%;
}

.lightbox-video-container iframe {
	width: 100%;
	height: 100%;
	border: none;
}

.lightbox-loading {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	background: #000;
	color: white;
}

.loading-spinner {
	width: 50px;
	height: 50px;
	border: 4px solid rgba(255, 255, 255, 0.3);
	border-top: 4px solid white;
	border-radius: 50%;
	animation: spin 1s linear infinite;
	margin-bottom: 20px;
}

@keyframes spin {
	0% {
	transform: rotate(0deg);
	}
	100% {
	transform: rotate(360deg);
	}
}

@media (max-width: 768px) {
	.lightbox-container {
	width: 95%;
	height: 95%;
	}

	.lightbox-close {
	top: 10px;
	right: 15px;
	font-size: 24px;
	width: 35px;
	height: 35px;
	}
}
