html, body {
	height: 100%;
	margin: 0;
	padding: 0;
	overflow: hidden;
	font-family: Arial, Helvetica, sans-serif;
	background-color: #000000;
}

#krpano-container {
	width: 100%;
	height: 100vh;
	position: relative;
}

#pano {
	width: 100%;
	height: 100%;
}

.noscript-message {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
	color: white;
}

.loading-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.8);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 2000;
	color: white;
}

.loading-overlay-content {
	text-align: center;
}

.loading-overlay-text {
	margin-top: 15px;
}

#intro-image-layer {
	position: fixed;
	inset: 0;
	z-index: 15000;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 0;
	box-sizing: border-box;
	pointer-events: auto;
}

#intro-video-guard {
	position: fixed;
	inset: 0;
	z-index: 14999;
	display: none;
	background: #000000;
	pointer-events: auto;
	align-items: center;
	justify-content: center;
}

#intro-video-guard.is-active {
	display: flex;
}

#intro-video-element {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 1;
}

#intro-youtube-host {
	position: absolute;
	inset: 0;
	display: none;
	opacity: 1;
	transition: opacity 220ms ease;
	z-index: 1;
}

#intro-youtube-host iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

#intro-video-guard.is-youtube #intro-youtube-host {
	display: block;
}

#intro-video-guard.is-youtube #intro-video-element {
	display: none;
}

#intro-video-controls {
	position: absolute;
	right: 18px;
	bottom: calc(82px + env(safe-area-inset-bottom, 0px));
	display: flex;
	gap: 8px;
	align-items: center;
	z-index: 2;
}

#intro-video-skip-btn,
#intro-video-sound-btn {
	position: relative;
	right: auto;
	bottom: auto;
	padding: 6px 14px;
	border-radius: 6px;
	border: 1px solid rgba(255, 255, 255, 0.35);
	background: rgba(30, 30, 30, 0.9);
	color: #ffffff;
	font-size: 13px;
	line-height: 1.2;
	opacity: 0;
	pointer-events: none;
	transition: opacity 180ms ease;
	z-index: 2;
	backdrop-filter: blur(2px);
	-webkit-backdrop-filter: blur(2px);
}

#intro-video-skip-btn.is-visible {
	opacity: 0.5;
	pointer-events: auto;
}

#intro-video-sound-btn.is-visible {
	opacity: 0.62;
	pointer-events: auto;
}

#intro-image-layer.is-active {
	display: flex;
}

#intro-image-stage {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

#intro-image-element {
	max-width: none;
	max-height: none;
	width: 100%;
	height: 100%;
	object-fit: cover;
	user-select: none;
	-webkit-user-drag: none;
	opacity: 1;
}

#nav-tooltip-anchor {
	position: fixed;
	width: 1px;
	height: 1px;
	z-index: 9999;
}

#card-popover-container {
	position: fixed;
	z-index: 9999;
	pointer-events: auto;
	top: 0;
	left: 0;
	will-change: transform;
	transform: translate3d(0, 0, 0);
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
	contain: layout paint;
	isolation: isolate;
}

.nav-tooltip-title {
	font-weight: 600;
	margin-bottom: 4px;
}

.nav-tooltip-description {
	font-size: 13px;
}

#KRPanocard {
	max-width: 300px;
	width: 300px;
	position: relative;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	overflow: hidden;
	transform: translateZ(0);
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
}

.card-popover-media {
	width: 100%;
	background: #000;
	overflow: hidden;
	border-radius: 4px 4px 0 0;
	position: relative;
	transform: translateZ(0);
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
}

.card-popover-media iframe,
.card-popover-media video {
	border: none;
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	transform: translateZ(0);
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
}

.card-popover-image {
	max-width: 100%;
	height: auto;
	object-fit: cover;
	max-height: 200px;
}

.card-popover-body {
	word-wrap: break-word;
	overflow-wrap: break-word;
	white-space: normal;
}

.card-popover-title {
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 8px;
	word-wrap: break-word;
	overflow-wrap: break-word;
}

.card-popover-description {
	font-size: 14px;
	font-weight: 400;
	word-wrap: break-word;
	overflow-wrap: break-word;
	white-space: normal;
}

.card-popover-close {
	position: absolute;
	top: 8px;
	right: 8px;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background-color: rgba(0, 0, 0, 0.6);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 10;
	border: 1px solid rgba(255, 255, 255, 0.3);
	transition: all 0.2s;
}

.card-popover-close:hover {
	background-color: rgba(0, 0, 0, 0.8);
	transform: scale(1.1);
}

.card-popover-close-icon {
	color: white;
	font-size: 16px;
	font-weight: bold;
	line-height: 1;
}

.spinner-border {
	width: 3rem;
	height: 3rem;
	border: 0.25em solid currentColor;
	border-right-color: transparent;
	border-radius: 50%;
	animation: spinner-border 0.75s linear infinite;
}

@keyframes spinner-border {
	to { transform: rotate(360deg); }
}

/* Hotspot Animation Effects */
@keyframes navigationIconSpin {
	from { transform: rotate(0deg); }
	to { transform: rotate(360deg); }
}

.navigation-icon-added {
	animation: navigationIconSpin 3s linear infinite;
}

@keyframes hotspotPulse {
	0%, 100% { transform: scale(1); }
	50% { transform: scale(1.2); }
}

.hotspot-pulse {
	animation: hotspotPulse 2s ease-in-out infinite;
}

@keyframes hotspotShake {
	0%, 100% { transform: translateX(0); }
	10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
	20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.hotspot-shake {
	animation: hotspotShake 2s ease-in-out infinite;
}

@keyframes hotspotBounce {
	0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
	40% { transform: translateY(-15px); }
	60% { transform: translateY(-8px); }
}

.hotspot-bounce {
	animation: hotspotBounce 2s ease-in-out infinite;
}

@keyframes hotspotSwing {
	0%, 100% { transform: rotate(0deg); }
	20% { transform: rotate(15deg); }
	40% { transform: rotate(-10deg); }
	60% { transform: rotate(5deg); }
	80% { transform: rotate(-5deg); }
}

.hotspot-swing {
	animation: hotspotSwing 2.5s ease-in-out infinite;
	transform-origin: center top;
}

@keyframes hotspotFlash {
	0%, 50%, 100% { opacity: 1; }
	25%, 75% { opacity: 0.3; }
}

.hotspot-flash {
	animation: hotspotFlash 2s ease-in-out infinite;
}

@keyframes hotspotWiggle {
	0%, 100% { transform: rotate(0deg); }
	25% { transform: rotate(5deg); }
	50% { transform: rotate(-5deg); }
	75% { transform: rotate(3deg); }
}

.hotspot-wiggle {
	animation: hotspotWiggle 1.5s ease-in-out infinite;
}

@keyframes hotspotHeartbeat {
	0%, 40%, 100% { transform: scale(1); }
	10% { transform: scale(1.15); }
	20% { transform: scale(1.05); }
	30% { transform: scale(1.2); }
}

.hotspot-heartbeat {
	animation: hotspotHeartbeat 2s ease-in-out infinite;
}

@keyframes hotspotGlow {
	0%, 100% {
		opacity: 1;
		filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
	}
	50% {
		opacity: 0.8;
		filter: drop-shadow(0 0 20px rgba(255, 255, 255, 1));
	}
}

.hotspot-glow {
	animation: hotspotGlow 2s ease-in-out infinite;
}

@keyframes hotspotWobble {
	0%, 100% { transform: rotate(0deg) scale(1); }
	25% { transform: rotate(-5deg) scale(1.05); }
	50% { transform: rotate(5deg) scale(0.95); }
	75% { transform: rotate(-3deg) scale(1.03); }
}

.hotspot-wobble {
	animation: hotspotWobble 2s ease-in-out infinite;
}

@keyframes hotspotFade {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.4; }
}

.hotspot-fade {
	animation: hotspotFade 2.5s ease-in-out infinite;
}

/* Thumbnail Layer Styles */
#thumbnail-layer {
	position: fixed;
	bottom: 20px;
	left: 0;
	width: 100%;
	height: 100px;
	z-index: 1000;
	overflow: hidden;
	cursor: grab;
	user-select: none;
	transition: transform 0.4s ease-in-out;
	transform: translateY(0);
}

#thumbnail-layer.hidden {
	transform: translateY(120%);
}

#thumbnail-layer.dragging {
	cursor: grabbing;
}

#thumbnail-container {
	display: flex;
	gap: 10px;
	padding: 10px 20px;
	height: 100%;
	align-items: center;
	justify-content: flex-start;
	transition: transform 0.3s ease-out;
	will-change: transform;
}

.thumbnail-item {
	flex-shrink: 0;
	width: 160px;
	height: 90px;
	border-radius: 8px;
	overflow: hidden;
	cursor: pointer;
	border: 3px solid transparent;
	transition: all 0.3s ease;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
	position: relative;
}

.thumbnail-item:hover {
	transform: translateY(-5px);
	border-color: rgba(255, 255, 255, 0.8);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.thumbnail-item.active {
	border-color: var(--thumbnail-highlight-color, #22cef5);
	box-shadow: 0 0 15px var(--thumbnail-highlight-shadow, rgba(34, 206, 245, 0.6));
}

.thumbnail-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	pointer-events: none;
}

.thumbnail-title {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
	color: white;
	text-align: center;
	padding: 8px 6px;
	font-size: 13px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	font-weight: 300;
	line-height: 1.2;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	pointer-events: none;
}

.thumbnail-placeholder {
	width: 100%;
	height: 100%;
	background: rgba(255, 255, 255, 0.1);
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(255, 255, 255, 0.5);
	font-size: 2em;
}

/* Controls Layer Styles - Base */
.controls-layer {
	position: fixed;
	bottom: 135px;
	left: 20px;
	width: 100%;
	height: 60px;
	z-index: 1001;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 15px;
	pointer-events: none;
	transition: bottom 0.4s ease-in-out;
}

.controls-layer.thumbnails-hidden {
	bottom: 20px;
}

.controls-layer.hidden {
	display: none;
}

/* CoinLayout - Circular Buttons */
#controls-layer-coin {
	/* Inherits from .controls-layer */
}

/* CubesLayout - Single Container */
#controls-layer-cubes {
	width: fit-content;
	background: rgba(209, 25, 25, 0);
	border: none;
	border-radius: 30px;
	padding: 5px 10px;
	gap: 0;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
	height: 2.5em;
}

#controls-layer-cubes .control-btn {
	background: transparent;
	border: none;
	border-radius: 0;
	width: 40px;
	height: 40px;
	box-shadow: none;
	position: relative;
}

#controls-layer-cubes .control-btn {
	position: relative;
}

#controls-layer-cubes .control-btn::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 70%;
	height: 70%;
	background: rgba(255, 255, 255, 0.05);
	border-radius: 6px;
	opacity: 0;
	transition: opacity 0.3s ease;
	pointer-events: none;
}

#controls-layer-cubes .control-btn:hover::before {
	opacity: 1;
}

#controls-layer-cubes .control-btn:hover {
	transform: scale(1.05);
}

.control-btn {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.7);
	border: 2px solid rgba(255, 255, 255, 0.3);
	color: white;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s ease;
	font-size: 20px;
	pointer-events: auto;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.control-btn:hover {
	background: rgba(0, 0, 0, 0.9);
	border-color: rgba(255, 255, 255, 0.8);
	transform: scale(1.1);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.control-btn:active {
	transform: scale(0.95);
}

.control-btn.hidden {
	display: none;
}

#floorplan-viewer.hidden {
	display: none;
}

#floorplan-viewer {
	position: absolute;
	left: 20px;
	top: 20px;
	width: min(520px, 90vw);
	z-index: 1200;
	background: rgba(18, 22, 30, 0.95);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 10px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

#floorplan-viewer-header {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.15);
	cursor: move;
	user-select: none;
	border-radius: 10px 10px 0 0;
}

.floorplan-viewer-header-icon {
	color: #8cc8ff;
}

.floorplan-viewer-title {
	font-size: 14px;
	color: #fff;
}

#floorplan-floor-select {
	margin-left: auto;
	max-width: 220px;
}

#floorplan-viewer-body {
	position: relative;
	background: #F2F8FE;
	background: radial-gradient(at center, #F2F8FE, #505059);
	min-height: 260px;
	overflow: hidden;
	border-radius: 0 0 10px 10px;
}

#floorplan-viewer-empty {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #9ca3af;
	font-size: 13px;
}

#floorplan-viewer-image {
	display: none;
	width: 100%;
	height: auto;
	user-select: none;
}

#floorplan-viewer-markers {
	position: absolute;
	inset: 0;
}

#floorplan-resize-handle {
	position: absolute;
	bottom: 8px;
	right: 8px;
	width: 28px;
	height: 28px;
	cursor: se-resize;
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	opacity: 0.3;
	transition: opacity 0.15s, transform 0.15s;
	background: rgba(15, 23, 42, 0.78);
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 8px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
}

#floorplan-resize-handle:hover {
	opacity: 1;
	transform: scale(1.08);
}

#floorplan-resize-handle svg {
	fill: rgba(255, 255, 255, 0.98);
}

/* Dark Popover Styling */
.popover-dark {
	--bs-popover-bg: #212529;
	--bs-popover-border-color: rgba(255, 255, 255, 0.2);
	--bs-popover-body-color: #fff;
}

.popover-dark .popover-body {
	padding: 0.5rem 0.75rem;
}

.popover-dark .popover-arrow::before {
	border-top-color: rgba(255, 255, 255, 0.2);
}

.popover-dark .popover-arrow::after {
	border-top-color: #212529;
}

/* Company Logo Layer */
#logo-layer {
	position: fixed;
	bottom: 195px;
	left: 27px;
	z-index: 1002;
	pointer-events: auto;
	transition: bottom 0.4s ease-in-out, opacity 0.3s ease;
}

#logo-layer.thumbnails-hidden {
	bottom: 80px;
}

#logo-layer.hidden {
	display: none;
}

#logo-layer img {
	max-width: 200px;
	max-height: 80px;
	width: auto;
	height: auto;
	display: block;
	filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

/* Company Logo Layer - Top Right */
#logo-layer-top-right {
	position: fixed;
	top: 20px;
	right: 27px;
	z-index: 1004;
	pointer-events: auto;
	transition: opacity 0.3s ease, top 0.2s ease;
}

#logo-layer-top-right.hidden {
	display: none;
}

#logo-layer-top-right img {
	max-width: 200px;
	max-height: 80px;
	width: auto;
	height: auto;
	display: block;
	filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

/* Info Parent Container */
#info-parent {
	position: fixed;
	top: 20px;
	left: 20px;
	width: auto;
	max-width: 800px;
	height: auto;
	z-index: 1003;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 5px;
	pointer-events: none;
	transition: opacity 0.3s ease, top 0.2s ease;
	background: rgba(0, 0, 0, 0.11);
	border: none;
	border-radius: 5px;
	padding: 10px 15px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
	overflow: hidden;
}

/* Site menu overlay navbar (top-left over krpano) */
#site-menu-navbar.site-menu-navbar {
	position: fixed;
	top: 10px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 1006;
	width: 96%;
	max-width: 96%;
	background: rgba(0, 0, 0, 0.7);
	backdrop-filter: blur(2px);
	-webkit-backdrop-filter: blur(2px);
	border-radius: 20px;
	padding: 0.5rem 0.5rem;  
}

#site-menu-navbar .navbar-brand,
#site-menu-navbar .nav-link,
#site-menu-navbar .navbar-toggler {
	color: var(--site-menu-font-color, #f8fafc);
}

#site-menu-navbar .nav-link,
#site-menu-navbar .navbar-brand {
	font-family: "Lato", Arial, sans-serif;
}

#site-menu-navbar .nav-link,
.site-menu-dropdown-toggle {
	font-size: 1rem;
	font-weight: 700;
}

.site-menu-dropdown-link,
.site-menu-dropdown-item {
	font-size: 0.9rem;
	font-weight: 400;
}

#site-menu-navbar .navbar-nav .nav-link:hover,
#site-menu-navbar .navbar-nav .nav-link:focus {
	color: #ffffff;
	text-decoration: underline;
}

#site-menu-navbar .navbar-toggler {
	border-color: rgba(255, 255, 255, 0.4);
}

#mobile-site-menu-toggle,
#mobile-site-menu-overlay {
	display: none;
}

#mobile-site-menu-toggle {
	position: fixed;
	top: 12px;
	right: 12px;
	z-index: 1008;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 10px;
	background: var(--mobile-site-menu-bg, rgba(0, 0, 0, 0.72));
	color: var(--mobile-site-menu-font, #f8fafc);
	align-items: center;
	justify-content: center;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
	backdrop-filter: blur(2px);
	-webkit-backdrop-filter: blur(2px);
}

#mobile-site-menu-toggle i {
	font-size: 20px;
	line-height: 1;
}

#mobile-site-menu-overlay {
	position: fixed;
	inset: 0;
	z-index: 1010;
	background: var(--mobile-site-menu-bg, rgba(0, 0, 0, 0.88));
	background: color-mix(in srgb, var(--mobile-site-menu-bg, rgba(0, 0, 0, 0.88)) 95%, transparent);
	color: var(--mobile-site-menu-font, #f8fafc);
	backdrop-filter: blur(2px);
	-webkit-backdrop-filter: blur(2px);
	flex-direction: column;
	overflow: hidden;
}

#mobile-site-menu-overlay.is-open {
	display: flex;
}

#mobile-site-menu-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 14px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.14);
	flex: 0 0 auto;
}

#mobile-site-menu-close {
	border: 0;
	background: transparent;
	color: var(--mobile-site-menu-font, #f8fafc);
	padding: 6px;
	line-height: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

#mobile-site-menu-close i {
	font-size: 22px;
}

#mobile-site-menu-brand {
	font-family: "Lato", Arial, sans-serif;
	font-weight: 700;
	font-size: 1rem;
	line-height: 1.2;
	text-align: right;
	color: var(--mobile-site-menu-font, #f8fafc);
	max-width: 75%;
	word-break: break-word;
}

#mobile-site-menu-content {
	flex: 1 1 auto;
	overflow-y: auto;
	padding: 10px 14px 16px;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

#mobile-site-menu-content::-webkit-scrollbar {
	width: 0;
	height: 0;
}

.mobile-site-menu-section {
	padding: 10px 0 12px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.mobile-site-menu-section:last-child {
	border-bottom: 0;
}

.mobile-site-menu-title,
.mobile-site-menu-title-link {
	margin: 0;
	padding: 0;
	font-family: "Lato", Arial, sans-serif;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.35;
	color: var(--mobile-site-menu-font, #f8fafc);
	text-decoration: none;
	display: inline-block;
}

.mobile-site-menu-title-link:hover,
.mobile-site-menu-title-link:focus {
	text-decoration: underline;
	color: #ffffff;
}

.mobile-site-menu-children {
	margin-top: 8px;
	padding-left: 14px;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.mobile-site-menu-link,
.mobile-site-menu-text {
	display: block;
	padding: 6px 8px;
	border-radius: 8px;
	font-family: "Lato", Arial, sans-serif;
	font-size: 0.92rem;
	line-height: 1.35;
	word-break: break-word;
}

.mobile-site-menu-subheader {
	display: block;
	padding: 8px 8px 5px;
	font-family: "Lato", Arial, sans-serif;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.35;
	word-break: break-word;
	color: var(--mobile-site-menu-font, #f8fafc);
	opacity: 0.98;
}

.mobile-site-menu-subheader-link {
	display: block;
	padding: 8px 8px 5px;
	font-family: "Lato", Arial, sans-serif;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.35;
	word-break: break-word;
	color: var(--mobile-site-menu-font, #f8fafc);
	text-decoration: none;
	opacity: 0.98;
}

.mobile-site-menu-subheader-link:hover,
.mobile-site-menu-subheader-link:focus {
	text-decoration: underline;
	color: #ffffff;
}

.mobile-site-menu-block-description-link {
	padding-top: 2px;
	opacity: 0.92;
}

.mobile-site-menu-link {
	color: var(--mobile-site-menu-font, #f8fafc);
	text-decoration: none;
	background: transparent;
}

.mobile-site-menu-link:hover,
.mobile-site-menu-link:focus {
	background: var(--mobile-site-menu-hover, rgba(255, 255, 255, 0.10));
	color: #ffffff;
	text-decoration: none;
}

.mobile-site-menu-text {
	color: var(--mobile-site-menu-font, #f8fafc);
	opacity: 0.9;
}

/* Site menu dropdown button styling */
.site-menu-dropdown-toggle {
	padding: 0.5rem 1rem !important;
	color: var(--site-menu-font-color, #f8fafc) !important;
	font-family: "Lato", Arial, sans-serif;
	text-decoration: none;
	background: none !important;
	border: none !important;
	cursor: pointer;
}

.site-menu-dropdown-toggle:hover,
.site-menu-dropdown-toggle:focus {
	color: #ffffff !important;
	text-decoration: underline;
}

/* Fade-in animation for dropdown */
@keyframes fadeInDropdown {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes dropdownItemFadeDown {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Site menu dropdown container */
.site-menu-dropdown-container {
	position: fixed;
	top: 100px;
	left: 50%;
	transform: translateX(-50%);
	width: 96%;
	z-index: 1005;
	backdrop-filter: blur(2px);
	-webkit-backdrop-filter: blur(2px);
	max-height: 33.33vh;
	overflow-y: auto;
	border-radius: 20px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	padding: 1rem 0.5rem;
}

/* Remove scroll constraints for simple menus */
.site-menu-dropdown-container[data-menu-type="simple_menu"] {
	max-height: none;
	overflow-y: visible;
	overflow: visible;
}

.site-menu-dropdown-container.fade-in {
	animation: fadeInDropdown 0.2s ease-in-out forwards;
}


.site-menu-dropdown-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 0;
	align-items: start;
}

.site-menu-dropdown-column {
	min-width: 0;
	padding: 0 1rem;
	min-height: 100%;
	opacity: 0;
	animation: fadeInDropdown 0.3s ease-in-out forwards;
}

.site-menu-dropdown-column:nth-child(1) {
	animation-delay: 0s;
}

.site-menu-dropdown-column:nth-child(2) {
	animation-delay: 0.1s;
}

.site-menu-dropdown-column:nth-child(3) {
	animation-delay: 0.2s;
}

.site-menu-dropdown-column:nth-child(4) {
	animation-delay: 0.3s;
}

.site-menu-dropdown-column:nth-child(5) {
	animation-delay: 0.4s;
}

.site-menu-dropdown-container.fade-in .site-menu-dropdown-column > * {
	opacity: 0;
	transform: translateY(-10px);
	animation: dropdownItemFadeDown 0.18s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.site-menu-dropdown-container.fade-in .site-menu-dropdown-column > *:nth-child(1) { animation-delay: 0.00s; }
.site-menu-dropdown-container.fade-in .site-menu-dropdown-column > *:nth-child(2) { animation-delay: 0.10s; }
.site-menu-dropdown-container.fade-in .site-menu-dropdown-column > *:nth-child(3) { animation-delay: 0.20s; }
.site-menu-dropdown-container.fade-in .site-menu-dropdown-column > *:nth-child(4) { animation-delay: 0.30s; }
.site-menu-dropdown-container.fade-in .site-menu-dropdown-column > *:nth-child(5) { animation-delay: 0.40s; }
.site-menu-dropdown-container.fade-in .site-menu-dropdown-column > *:nth-child(6) { animation-delay: 0.50s; }
.site-menu-dropdown-container.fade-in .site-menu-dropdown-column > *:nth-child(7) { animation-delay: 0.60s; }
.site-menu-dropdown-container.fade-in .site-menu-dropdown-column > *:nth-child(8) { animation-delay: 0.70s; }
.site-menu-dropdown-container.fade-in .site-menu-dropdown-column > *:nth-child(9) { animation-delay: 0.80s; }
.site-menu-dropdown-container.fade-in .site-menu-dropdown-column > *:nth-child(10) { animation-delay: 0.90s; }

.site-menu-dropdown-column:not(:last-child) {
	border-right: 1px solid var(--site-menu-separator-color, rgba(255, 255, 255, 0.25));
}

.site-menu-dropdown-column-empty {
	min-height: 1px;
}

.site-menu-dropdown-header {
	margin: 0;
	padding: 0.5rem 1rem;
	font-family: "Lato", Arial, sans-serif;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.3;
	color: var(--site-menu-font-color, #f8fafc);
	word-break: break-word;
	text-align: left;
}

.site-menu-dropdown-image-wrap {
	margin-bottom: 0.85rem;
}

.site-menu-dropdown-image {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	border-radius: 0.6rem;
	object-fit: cover;
}

.site-menu-dropdown-link{
	padding: 0.5rem 1rem;
	color: var(--site-menu-font-color, #f8fafc);
	font-family: "Lato", Arial, sans-serif;
	font-weight: 400;
	text-decoration: none;
	display: block;
	cursor: pointer;
	background-color: transparent;
	transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
	border-radius: 0.45rem;
	word-break: break-word;
	text-align: left;
}

.site-menu-dropdown-item {
	padding: 0.5rem 1rem;
	color: var(--site-menu-font-color, #f8fafc);
	font-family: "Lato", Arial, sans-serif;
	font-weight: 200;
	text-decoration: none;
	display: block;
	cursor: pointer;
	background-color: transparent;
	transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
	border-radius: 0.45rem;
	word-break: break-word;
}

.site-menu-dropdown-item:hover, 
.site-menu-dropdown-item:focus {
	background-color: var(--site-menu-hover-color, rgba(255, 255, 255, 0.1));
	text-decoration: none;
	color: #ffffff;
}

.site-menu-dropdown-block {
	display: block;
	padding: 0.5rem 1rem;
	text-decoration: none;
	color: var(--site-menu-font-color, #f8fafc);
	border-radius: 0.45rem;
	transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
	text-align: left;
}

.site-menu-dropdown-block:hover,
.site-menu-dropdown-block:focus {
	background-color: var(--site-menu-hover-color, rgba(255, 255, 255, 0.1));
	text-decoration: none;
	color: #ffffff;
}

.site-menu-dropdown-block-header {
	font-family: "Lato", Arial, sans-serif;
	font-weight: 700;
	line-height: 1.3;
	word-break: break-word;
	padding-bottom: 0.3em;
}

.site-menu-dropdown-block-description {
	font-family: "Lato", Arial, sans-serif;
	font-weight: 200;
	font-size: 0.85rem;
	line-height: 1.35;
	word-break: break-word;
	opacity: 0.95;
}

.site-menu-dropdown-link:hover,
.site-menu-dropdown-link:focus {
	background-color: var(--site-menu-hover-color, rgba(255, 255, 255, 0.1));
	text-decoration: none;
	color: #ffffff;
}

.site-menu-dropdown-empty {
	padding: 0.75rem 1rem;
	font-family: "Lato", Arial, sans-serif;
	color: var(--site-menu-font-color, #f8fafc);
	opacity: 0.8;
}

@media (max-width: 991.98px) {
	#site-menu-navbar.site-menu-navbar,
	#site-menu-dropdown-container {
		display: none !important;
	}

	#mobile-site-menu-toggle {
		display: inline-flex;
	}

	.site-menu-dropdown-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1rem 0;
	}

	.site-menu-dropdown-column:nth-child(2n) {
		border-right: none;
	}
}

@media (max-width: 575.98px) {
	.site-menu-dropdown-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.site-menu-dropdown-column {
		border-right: none !important;
		padding: 0 0.75rem;
	}
}

#info-parent.hidden {
	display: none;
}

/* Title Layer - Tour Title */
#title-layer {
	position: relative;
	pointer-events: none;
	transition: opacity 0.3s ease;
}

#title-layer.hidden {
	opacity: 0;
}

#title-text {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	font-size: 24px;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.95);
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.5);
	line-height: 1.3;
	word-wrap: break-word;
	display: block;
	margin-bottom: 6px;
}

#title-description {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	font-size: 13px;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.65);
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8), 0 0 12px rgba(0, 0, 0, 0.4);
	line-height: 1.4;
	word-wrap: break-word;
	display: block;
}

/* Text Info Layer - Scene Description */
#text-info-layer {
	position: relative;
	pointer-events: auto;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

#text-info-layer.hidden {
	opacity: 0;
}

#text-info-text {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	font-size: 14px;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.774);
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8), 0 0 12px rgba(0, 0, 0, 0.4);
	line-height: 1.5;
	word-wrap: break-word;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
}

#text-info-text .scene-title {
	font-size: 16px;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.95);
	margin-bottom: 2px;
	display: block;
}

#text-info-text .scene-description {
	font-size: 14px;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.85);
	display: block;
}

#text-info-text .scene-description-wrap {
	display: grid;
	grid-template-rows: 1fr;
	width: 100%;
	opacity: 1;
	transform: translateY(0);
	transform-origin: top left;
	transition: grid-template-rows 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

#text-info-text .scene-description-inner {
	overflow: hidden;
}

#text-info-layer.description-collapsed .scene-description-wrap {
	grid-template-rows: 0fr;
	opacity: 0;
	transform: translateY(-8px);
}

#more-info-button {
	pointer-events: auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.12);
	color: rgba(255, 255, 255, 0.95);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	cursor: pointer;
	transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

#more-info-button:hover,
#more-info-button:focus-visible {
	background: rgba(255, 255, 255, 0.2);
	border-color: rgba(255, 255, 255, 0.34);
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
	transform: translateY(-1px) scale(1.04);
	outline: none;
}

#more-info-button i {
	font-size: 1rem;
	line-height: 1;
	transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease;
}

#more-info-button.is-collapsed i {
	transform: translateY(1px) scale(1.05);
}
