/* LITUPNY Hero Section */

.litupny-hero {
	position: relative;
	min-height: 67.5vh;
	display: flex;
	align-items: center;
	background-color: #0a0a0a;
	overflow: hidden;
	padding: 90px 24px 60px;
	box-sizing: border-box;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-weight: 300;
}

.litupny-hero-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	background-color: #0a0a0a;
	background-image: var(--litupny-hero-bg-image, none);
	background-size: cover;
	background-position: top center;
	background-repeat: no-repeat;
	transform-origin: center center;
	will-change: transform, opacity;
}

.litupny-hero-overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.35) 55%, rgba(0, 0, 0, 0.2) 100%);
	pointer-events: none;
	will-change: opacity;
}

/* RevSlider SR7: BG 1000ms power2.inOut, layers 300ms power3.inOut at t=0 */
.litupny-hero--animated:not(.litupny-hero--revealed) .litupny-hero-bg {
	opacity: 0;
	transform: scale(1.08);
}

.litupny-hero--animated:not(.litupny-hero--revealed) .litupny-hero-overlay {
	opacity: 0;
}

.litupny-hero--animated:not(.litupny-hero--revealed) .litupny-hero-title,
.litupny-hero--animated:not(.litupny-hero--revealed) .litupny-hero-title.slider-hr,
.litupny-hero--animated:not(.litupny-hero--revealed) .litupny-hero-subtitle,
.litupny-hero--animated:not(.litupny-hero--revealed) .litupny-hero-arrow-wrap,
.litupny-hero--animated:not(.litupny-hero--revealed) .litupny-hero-visual {
	opacity: 0 !important;
}

.litupny-hero--animated:not(.litupny-hero--js):not(.litupny-hero--revealed) .litupny-hero-bg {
	animation: litupny-hero-bg-in 1s cubic-bezier(0.455, 0.03, 0.515, 0.955) forwards;
}

.litupny-hero--animated:not(.litupny-hero--js):not(.litupny-hero--revealed) .litupny-hero-overlay {
	animation: litupny-hero-overlay-in 1s cubic-bezier(0.455, 0.03, 0.515, 0.955) forwards;
}

.litupny-hero--animated:not(.litupny-hero--js):not(.litupny-hero--revealed) .litupny-hero-title,
.litupny-hero--animated:not(.litupny-hero--js):not(.litupny-hero--revealed) .litupny-hero-title.slider-hr,
.litupny-hero--animated:not(.litupny-hero--js):not(.litupny-hero--revealed) .litupny-hero-subtitle,
.litupny-hero--animated:not(.litupny-hero--js):not(.litupny-hero--revealed) .litupny-hero-arrow-wrap,
.litupny-hero--animated:not(.litupny-hero--js):not(.litupny-hero--revealed) .litupny-hero-visual {
	animation: litupny-hero-layer-in 0.3s cubic-bezier(0.645, 0.045, 0.355, 1) 0s forwards;
}

@keyframes litupny-hero-bg-in {
	from {
		opacity: 0;
		transform: scale(1.08);
	}

	to {
		opacity: 1;
		transform: scale(1);
	}
}

@keyframes litupny-hero-overlay-in {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

@keyframes litupny-hero-layer-in {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

@media (prefers-reduced-motion: reduce) {
	.litupny-hero--animated:not(.litupny-hero--revealed) .litupny-hero-bg,
	.litupny-hero--animated:not(.litupny-hero--revealed) .litupny-hero-overlay,
	.litupny-hero--animated:not(.litupny-hero--revealed) .litupny-hero-title,
	.litupny-hero--animated:not(.litupny-hero--revealed) .litupny-hero-title.slider-hr,
	.litupny-hero--animated:not(.litupny-hero--revealed) .litupny-hero-subtitle,
	.litupny-hero--animated:not(.litupny-hero--revealed) .litupny-hero-arrow-wrap,
	.litupny-hero--animated:not(.litupny-hero--revealed) .litupny-hero-visual {
		animation: none !important;
		opacity: 1 !important;
		transform: none !important;
	}
}

.litupny-hero-inner {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 1400px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto auto;
	gap: clamp(16px, 3vw, 36px);
	align-items: center;
	min-width: 0;
}

.litupny-hero-inner:not(:has(.litupny-hero-arrow-wrap)) {
	grid-template-columns: minmax(0, 1fr) auto;
}

.litupny-hero-copy {
	color: #fff;
	min-width: 0;
	align-self: center;
}

.litupny-hero-title,
.litupny-hero-title.slider-hr {
	margin: 0 0 20px;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: clamp(2.2rem, 4vw, 4.5rem);
	line-height: 1.05;
	font-weight: 200;
	text-transform: capitalize;
	max-width: 100%;
	white-space: normal;
	word-break: break-word;
	overflow-wrap: break-word;
}

.litupny-hero-arrow-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	align-self: center;
	flex-shrink: 0;
}

.litupny-hero-arrow {
	display: block;
	width: clamp(90px, 10vw, 160px);
	height: auto;
	margin: 0;
}

.litupny-hero-subtitle {
	margin: 0;
	max-width: 520px;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: clamp(1rem, 1.5vw, 1.2rem);
	font-weight: 300;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.92);
}

/* 3D tilt frame — portrait card sized for venue illustrations */
.litupny-hero-visual {
	display: flex;
	justify-content: flex-end;
}

.litupny-hero-tilt-wrap {
	--litupny-frame-width: min(100%, 300px);
	position: relative;
	z-index: 3;
	width: var(--litupny-frame-width);
	max-width: 300px;
	transform: scaleX(-1) scaleY(1) skew(4deg, -3.5deg);
}

.litupny-hero-tilt-inner {
	box-shadow: 5px 9px 30px 0 rgba(0, 0, 0, 0.15);
	width: 100%;
	height: auto;
	aspect-ratio: 3 / 5;
	background: #fff;
	overflow: hidden;
	transform: perspective(135px) rotateY(3deg) scale(-1, 1);
	transition: 0.5s all ease-in-out;
}

.litupny-hero-tilt-inner:hover {
	transform: perspective(135px) rotateY(0deg) scale(-1, 1);
}

/* Infinite carousel — one portrait slide fills the frame */
.litupny-hero-carousel {
	overflow: hidden;
	display: flex;
	position: relative;
	width: 100%;
	height: 100%;
}

.litupny-hero-carousel-track {
	display: flex;
	width: max-content;
	margin-left: 0 !important;
	margin-right: 0 !important;
	background: #fff;
	animation: litupny-hero-scroll var(--litupny-speed, 50s) linear infinite;
}

.litupny-hero-carousel:hover .litupny-hero-carousel-track {
	animation-play-state: paused;
}

.litupny-hero-carousel-item {
	flex: 0 0 var(--litupny-frame-width, 300px);
	width: var(--litupny-frame-width, 300px);
	min-width: var(--litupny-frame-width, 300px);
	height: 100%;
	margin-right: 0;
}

.litupny-hero-slide {
	display: block;
	text-decoration: none;
	cursor: pointer;
	position: relative;
	z-index: 5;
	width: 100%;
	height: 100%;
	overflow: hidden;
	background: #fff;
}

.litupny-hero-slide img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 100%;
	object-fit: cover;
	object-position: center top;
	box-shadow: none;
}

@keyframes litupny-hero-scroll {
	0% {
		transform: translateX(0);
	}
	100% {
		transform: translateX(-50%);
	}
}

/* Popup modal — Popup Maker lightbox style from reference */
.litupny-hero-modal {
	position: fixed;
	inset: 0;
	z-index: 1999999999;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding: 100px 24px 40px;
}

.litupny-hero-modal[hidden] {
	display: none;
}

.litupny-hero-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.82);
}

.litupny-hero-modal-panel {
	position: relative;
	z-index: 2;
	width: min(92vw, 640px);
	max-height: 92vh;
	background: #fff;
	border: 0;
	border-radius: 0;
	overflow: visible;
	padding: 0;
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

#litupny-hero-modal .litupny-hero-modal-close,
#litupny-hero-modal button.litupny-hero-modal-close,
.litupny-hero-modal-stage > .litupny-hero-modal-close {
	position: absolute !important;
	top: 14px !important;
	right: 14px !important;
	width: 40px !important;
	height: 40px !important;
	min-width: 40px !important;
	min-height: 40px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 1px solid rgba(0, 0, 0, 0.14) !important;
	border-radius: 50% !important;
	background: #ffffff !important;
	background-color: #ffffff !important;
	background-image: none !important;
	font-family: Arial, Helvetica, sans-serif !important;
	font-size: 22px !important;
	font-weight: 300 !important;
	line-height: 1 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	cursor: pointer !important;
	color: #111111 !important;
	z-index: 6 !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18) !important;
	-webkit-appearance: none !important;
	appearance: none !important;
	transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease !important;
}

#litupny-hero-modal .litupny-hero-modal-close:hover,
#litupny-hero-modal button.litupny-hero-modal-close:hover,
.litupny-hero-modal-stage > .litupny-hero-modal-close:hover {
	background: #ffffff !important;
	background-color: #ffffff !important;
	background-image: none !important;
	color: #111111 !important;
	border-color: rgba(0, 0, 0, 0.2) !important;
	transform: scale(1.04) !important;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22) !important;
}

#litupny-hero-modal .litupny-hero-modal-close:focus,
#litupny-hero-modal button.litupny-hero-modal-close:focus,
.litupny-hero-modal-stage > .litupny-hero-modal-close:focus,
#litupny-hero-modal .litupny-hero-modal-close:active,
#litupny-hero-modal button.litupny-hero-modal-close:active,
.litupny-hero-modal-stage > .litupny-hero-modal-close:active {
	outline: none !important;
	background: #ffffff !important;
	background-color: #ffffff !important;
	background-image: none !important;
	color: #111111 !important;
	border-color: rgba(0, 0, 0, 0.2) !important;
	box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.95), 0 0 0 5px rgba(0, 0, 0, 0.28) !important;
}

.litupny-hero-modal-stage {
	position: relative;
	display: block;
	line-height: 0;
	overflow: visible;
	background: #fff;
}

.litupny-hero-modal-stage img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 88vh;
	object-fit: contain;
}

.litupny-hero-modal-links {
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
	overflow: visible;
}

/* Blue curved URL text — .text-1a from reference */
.litupny-hero-modal-hotspot,
.litupny-hero-modal-hotspot.text-1a {
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	background: transparent;
	border: 0;
	border-radius: 0;
	color: #007aff !important;
	font-family: Roboto, Poppins, Arial, Helvetica, sans-serif;
	font-size: 21px;
	font-weight: 300;
	line-height: 36px;
	text-decoration: underline;
	text-align: left;
	padding: 0;
	box-sizing: border-box;
	cursor: pointer;
	pointer-events: auto;
	white-space: nowrap;
	overflow: visible;
	transform-origin: left center;
}

.litupny-hero-modal-hotspot.has-label:hover {
	color: #005ecb !important;
}

/* Invisible click area — no visible text */
.litupny-hero-modal-hotspot.is-invisible {
	opacity: 0;
	color: transparent !important;
	text-decoration: none;
}

/* Rotated vertical link text (e.g. foodbooking on fish) */
.litupny-hero-modal-hotspot.is-vertical {
	transform-origin: center center;
	align-items: center;
	justify-content: center;
	text-align: center;
	white-space: nowrap;
}

/* SVG curved text along a path (cloud / fish arc) */
.litupny-hero-modal-hotspot--curved {
	display: block;
	align-items: stretch;
	justify-content: stretch;
	color: #007aff !important;
	text-decoration: none;
	overflow: visible;
}

.litupny-hero-modal-hotspot--foodbooking,
.litupny-hero-modal-hotspot.is-foodbooking.litupny-hero-modal-hotspot--foodbooking {
	overflow: visible !important;
	clip-path: none !important;
	clip: auto !important;
	contain: none !important;
	transform-origin: center center;
}

.litupny-hero-modal-hotspot--foodbooking svg {
	overflow: visible !important;
	clip-path: none !important;
}

.litupny-hero-modal-hotspot--foodbooking text,
.litupny-hero-modal-hotspot--foodbooking textPath {
	overflow: visible !important;
}

.litupny-hero-modal-hotspot--foodbooking text {
	font-size: 11px !important;
	font-weight: 300 !important;
}

.litupny-hero-modal-hotspot--curved.is-foodbooking,
.litupny-hero-modal-hotspot--curved.is-foodbooking svg {
	overflow: visible !important;
}

.litupny-hero-modal-hotspot--curved.is-foodbooking text,
.litupny-hero-modal-hotspot.is-foodbooking.has-label {
	font-weight: 300 !important;
}

.litupny-hero-modal-hotspot--curved.is-foodbooking text {
	font-size: 11px;
}

.litupny-hero-modal-hotspot--curved.is-vertical {
	transform-origin: center center;
}

.litupny-hero-modal-hotspot--curved svg {
	display: block;
	width: 100%;
	height: 100%;
	overflow: visible;
	color: #007aff;
}

.litupny-hero-modal-hotspot--curved:hover,
.litupny-hero-modal-hotspot--curved:hover svg {
	color: #005ecb !important;
}

.litupny-hero-modal-hotspot--curved text {
	pointer-events: none;
}

body.litupny-hero-modal-open {
	overflow: hidden;
}

/* Responsive */
@media (max-width: 991px) {
	.litupny-hero-inner,
	.litupny-hero-inner:not(:has(.litupny-hero-arrow-wrap)) {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.litupny-hero-copy {
		width: 100%;
		max-width: 100%;
		min-width: 0;
		order: 1;
	}

	.litupny-hero-title,
	.litupny-hero-title.slider-hr {
		max-width: 100%;
		white-space: normal !important;
		word-break: break-word;
		overflow-wrap: break-word;
		hyphens: auto;
	}

	.litupny-hero-subtitle {
		max-width: 100%;
	}

	.litupny-hero-arrow-wrap {
		order: 2;
		justify-content: flex-start;
	}

	.litupny-hero-visual {
		order: 3;
		justify-content: center;
		width: 100%;
	}

	.litupny-hero-tilt-wrap {
		max-width: 100%;
		margin-inline: auto;
	}
}

@media (max-width: 767px) {
	.litupny-hero {
		min-height: auto;
		width: 100% !important;
		max-width: 100% !important;
		overflow-x: hidden;
		padding: 96px 20px 56px !important;
		align-items: flex-start;
	}

	.litupny-hero-overlay {
		background: linear-gradient(
			180deg,
			rgba(0, 0, 0, 0.78) 0%,
			rgba(0, 0, 0, 0.55) 45%,
			rgba(0, 0, 0, 0.72) 100%
		);
	}

	.litupny-hero-inner {
		gap: 28px;
	}

	.litupny-hero-copy {
		padding-inline: 0;
	}

	.litupny-hero-title,
	.litupny-hero-title.slider-hr {
		margin-bottom: 16px;
		font-size: clamp(1.65rem, 7.5vw, 2.35rem) !important;
		line-height: 1.15 !important;
		letter-spacing: 0;
		max-width: 100% !important;
		white-space: normal !important;
		word-break: break-word !important;
		overflow-wrap: break-word !important;
	}

	.litupny-hero-subtitle {
		font-size: 0.98rem !important;
		line-height: 1.55 !important;
		max-width: 100% !important;
	}

	.litupny-hero-arrow-wrap {
		justify-content: center;
	}

	.litupny-hero-arrow {
		width: clamp(80px, 22vw, 120px);
		transform: rotate(90deg);
	}

	.litupny-hero-tilt-wrap {
		--litupny-frame-width: min(300px, calc(100vw - 40px));
		width: var(--litupny-frame-width);
		max-width: min(300px, calc(100vw - 40px));
		transform: none;
	}

	.litupny-hero-tilt-inner {
		transform: none;
		width: 100%;
		height: auto;
		aspect-ratio: 3 / 5;
		min-height: 0;
	}

	.litupny-hero-tilt-inner:hover {
		transform: none;
	}

	.litupny-hero-carousel-item {
		flex-basis: var(--litupny-frame-width, 300px);
		width: var(--litupny-frame-width, 300px);
		min-width: var(--litupny-frame-width, 300px);
	}

	.litupny-hero-slide img {
		height: 100%;
		min-height: 100%;
	}

	.litupny-hero-modal {
		padding: 72px 16px 24px;
	}

	.litupny-hero-modal-panel {
		width: min(96vw, 640px);
	}

	.litupny-hero-modal-hotspot {
		font-size: clamp(13px, 2vw, 18px);
		line-height: 1.2;
	}
}

@media (max-width: 480px) {
	.litupny-hero {
		padding: 88px 16px 48px !important;
	}

	.litupny-hero-title,
	.litupny-hero-title.slider-hr {
		font-size: clamp(1.45rem, 8.2vw, 1.9rem) !important;
	}

	.litupny-hero-subtitle {
		font-size: 0.92rem !important;
	}
}
