@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700&family=Roboto+Condensed:wght@100;300;400;700&display=swap');

html,
body {
	height: 100%;
	background: #110101;
	font-family: 'Roboto', sans-serif;
	overflow-x: hidden;
	overflow-y: auto;
}

body.vf-lightbox-open {
	overflow: hidden;
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.site-header {
	top: 0;
	background: linear-gradient(to bottom, rgba(7, 13, 18, 0.72), rgba(7, 13, 18, 0.35));
	backdrop-filter: blur(6px);
	padding-top: env(safe-area-inset-top, 0px);
}

.vf-brand {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
}

.vf-brand-logo {
	width: 2.6rem;
	height: 2.6rem;
	object-fit: contain;
	flex-shrink: 0;
	mix-blend-mode: multiply;
}

/* Prevent fixed header from being hidden behind the WP admin bar. */
.admin-bar .site-header {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .site-header {
		top: 46px;
	}
}

@media (max-width: 640px) {
	.vf-brand-logo {
		width: 2.2rem;
		height: 2.2rem;
	}
}

.vf-menu-toggle-bar,
.vf-menu-toggle-bar::before,
.vf-menu-toggle-bar::after {
	display: block;
	width: 18px;
	height: 2px;
	background: #fff;
	border-radius: 999px;
	transition: transform 0.2s ease, opacity 0.2s ease;
	content: '';
}

.vf-menu-toggle-bar {
	position: relative;
}

.vf-menu-toggle-bar::before {
	position: absolute;
	top: -6px;
	left: 0;
}

.vf-menu-toggle-bar::after {
	position: absolute;
	top: 6px;
	left: 0;
}

body.vf-menu-open .vf-menu-toggle-bar {
	background: transparent;
}

body.vf-menu-open .vf-menu-toggle-bar::before {
	top: 0;
	transform: rotate(45deg);
}

body.vf-menu-open .vf-menu-toggle-bar::after {
	top: 0;
	transform: rotate(-45deg);
}

.vf-mobile-nav {
	max-height: 0;
	overflow: hidden;
	background: rgba(7, 13, 18, 0.92);
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	transition: max-height 0.24s ease;
}

body.vf-menu-open .vf-mobile-nav {
	max-height: 75vh;
}

.vf-lang-btn {
	border: 1px solid rgba(255, 255, 255, 0.25);
	background: rgba(255, 255, 255, 0.06);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	padding: 0.3rem 0.55rem;
	border-radius: 0.5rem;
	line-height: 1;
	transition: background-color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.vf-lang-btn:hover {
	background: rgba(255, 255, 255, 0.16);
}

.vf-lang-btn.is-active {
	background: #fff;
	color: #0b0f14;
	border-color: #fff;
}

/* Layout wrapper used by the Slick clone logic in `main.js`. */
.split-slideshow {
	position: relative;
	width: 100vw;
	height: 100vh;
	overflow: hidden;
}

/* --- Split slideshow section --- */
.slideshow {
	position: absolute;
	z-index: 1;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	overflow: hidden;
}

.slideshow .slider {
	width: 100vw;
	height: 100vw;
	z-index: 2;
}

.slideshow .slider * {
	outline: none;
}

.slideshow .slider .item {
	height: 100vh;
	width: 100vw;
	position: relative;
	overflow: hidden;
	border: none;
}

.slideshow .slider .item .text {
	display: none;
}

.slideshow .slider .item img {
	min-width: 101%;
	min-height: 101%;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

/* Optional variant from original SCSS (not used by your current markup). */
.slideshow-right {
	left: 0;
	z-index: 1;
	width: 50vw;
	pointer-events: none;
}

.slideshow-right .slider {
	left: 0;
	position: absolute;
}

/* Ensure only one vertical Slick slide is visible at a time for the split text panel. */
.slideshow-text .slick-list,
.slideshow-text .slick-track,
.slideshow-text .slick-slide {
	height: 100% !important;
}

.slideshow-text .slick-list {
	overflow: hidden;
}

/* Optional (only matters if you also use slick). */
.slick-dots {
	position: fixed;
	z-index: 100;
	width: 40px;
	height: auto;
	bottom: auto;
	top: 50%;
	right: 0;
	transform: translateY(-50%);
	left: auto;
	color: #fff;
	display: block;
}

.slick-dots li {
	display: block;
	width: 100%;
	height: auto;
}

.slick-dots li button {
	position: relative;
	width: 20px;
	height: 15px;
	text-align: center;
	/* Slick usually writes the index number inside the button. Hide it. */
	font-size: 0;
}

.slick-dots li button:before {
	content: '';
	background: #fff;
	color: #fff;
	height: 2px;
	width: 20px;
	border-radius: 0;
	position: absolute;
	top: 50%;
	right: 0;
	left: auto;
	transform: translateY(-50%);
	transition: all 0.3s ease-in-out;
	opacity: 0.6;
}

.slick-dots li.slick-active button:before {
	width: 40px;
	opacity: 1;
}

.vf-lightbox {
	position: fixed;
	inset: 0;
	z-index: 1200;
	background: rgba(4, 8, 12, 0.92);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
}

.vf-lightbox-content {
	width: min(96vw, 1280px);
	height: min(86vh, 900px);
	display: flex;
	align-items: center;
	justify-content: center;
}

.vf-lightbox-content img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	border-radius: 0.75rem;
}

.vf-lightbox-close,
.vf-lightbox-nav {
	position: absolute;
	border: 1px solid rgba(255, 255, 255, 0.3);
	background: rgba(0, 0, 0, 0.35);
	color: #fff;
	border-radius: 0.6rem;
	line-height: 1;
	cursor: pointer;
}

.vf-lightbox-close {
	top: 1rem;
	right: 1rem;
	width: 2.5rem;
	height: 2.5rem;
	font-size: 1.8rem;
}

.vf-lightbox-nav {
	top: 50%;
	transform: translateY(-50%);
	width: 2.75rem;
	height: 2.75rem;
	font-size: 1.5rem;
}

.vf-lightbox-prev {
	left: 1rem;
}

.vf-lightbox-next {
	right: 1rem;
}

/* Smoother inner-panel scrolling without chaining to page scroll. */
[data-vf-scroll] {
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
	contain: content;
}

/* Backdrop blur is expensive on full-height desktop panels; use a flat overlay. */
.split-slideshow [data-vf-scroll] {
	backdrop-filter: none !important;
	background-color: rgba(0, 0, 0, 0.55);
}

.vf-request-slide {
	padding-bottom: 1rem;
}

.vf-request-slide .vf-request-submit {
	position: sticky;
	bottom: 0.25rem;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

/* Tablet/mobile adaptation for the split experience. */
@media (max-width: 1024px) {
	.split-slideshow {
		height: 100dvh;
	}

	.slideshow,
	.slideshow .slider .item {
		height: 100dvh;
	}

	.slideshow-right {
		display: none !important;
	}

	.slideshow-text {
		width: 100vw !important;
		padding-left: 0.75rem !important;
		padding-right: 0.75rem !important;
		top: calc(4.5rem + env(safe-area-inset-top, 0px)) !important;
		bottom: 0.75rem !important;
	}

	.slideshow-text .item {
		align-items: stretch !important;
	}

	.split-slideshow [data-vf-scroll] {
		max-width: 100% !important;
		height: 100% !important;
		padding: 1rem !important;
		padding-bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px)) !important;
		border-radius: 1rem !important;
	}

	.vf-footer-grid {
		grid-template-columns: 1fr !important;
		gap: 1rem !important;
	}

	.vf-footer-bottom {
		font-size: 0.75rem !important;
		line-height: 1.4;
	}

	.slick-dots {
		right: 0.4rem;
		width: 24px;
	}

	.slick-dots li button:before {
		width: 14px;
	}

	.slick-dots li.slick-active button:before {
		width: 24px;
	}
}

@media (max-width: 640px) {
	.site-header .mx-auto {
		padding-left: 1rem;
		padding-right: 1rem;
	}

	.slick-dots {
		display: none !important;
	}
}

/* Small phones: use native stacked scrolling instead of split slider gestures. */
@media (max-width: 768px) {
	body.vf-native-scroll .split-slideshow {
		height: auto !important;
		overflow: visible !important;
	}

	body.vf-native-scroll .slideshow,
	body.vf-native-scroll .slideshow-right,
	body.vf-native-scroll .slick-dots {
		display: none !important;
	}

	body.vf-native-scroll .slideshow-text {
		position: relative !important;
		top: calc(4.5rem + env(safe-area-inset-top, 0px)) !important;
		left: 0 !important;
		bottom: auto !important;
		width: 100% !important;
		padding: 0.75rem !important;
		overflow: visible !important;
		pointer-events: auto !important;
	}

	body.vf-native-scroll .slideshow-text .item {
		height: auto !important;
		min-height: calc(100dvh - 5.8rem);
		margin-bottom: 0.75rem;
	}

	body.vf-native-scroll .split-slideshow [data-vf-scroll] {
		height: auto !important;
		max-width: 100% !important;
		overflow: visible !important;
	}
}

/* Keep the mobile slider content clear of WP admin bar/customizer bar. */
@media (max-width: 1024px) {
	.admin-bar .slideshow-text {
		top: calc(4.5rem + 32px) !important;
	}
}

@media (max-width: 782px) {
	.admin-bar .slideshow-text {
		top: calc(4.5rem + 46px) !important;
	}
}

