/* Landing hero — framed (not full-bleed) showcase video with a "Vidi
   zgradu" CTA beside it, on a full-viewport navy ground. */

html:has(body.landing-hero-page) {
	scroll-behavior: smooth;
}

body.landing-hero-page {
	margin: 0;
	background-color: var(--kh-navy-950);
	color: #fff;
	font-weight: 300;
	-webkit-font-smoothing: antialiased;
}

body.landing-hero-page h1,
body.landing-hero-page h2,
body.landing-hero-page h3 {
	font-weight: 200;
	letter-spacing: 0.03em;
}

.hero {
	position: relative;
	width: 100%;
	height: 100vh;
	height: 100svh;
	overflow: hidden;
	background: linear-gradient(155deg, var(--kh-navy-950) 0%, var(--kh-navy-900) 55%, var(--kh-navy-800) 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 130px 24px 24px;
	box-sizing: border-box;
}

/* Faint architectural grid — a quiet "blueprint" texture behind the glow,
   readable up close but nearly invisible at normal viewing distance. */
.hero::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 0;
	background-image:
		linear-gradient(rgba(212, 168, 86, 0.05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(212, 168, 86, 0.05) 1px, transparent 1px);
	background-size: 64px 64px;
	mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 0%, transparent 75%);
	pointer-events: none;
}

/* Ambient glow behind the framed video so it doesn't float on flat navy. */
.hero::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 0;
	background:
		radial-gradient(ellipse 60% 50% at 50% 45%, rgba(212, 168, 86, 0.12) 0%, transparent 70%),
		radial-gradient(ellipse 45% 40% at 88% 12%, rgba(34, 61, 104, 0.5) 0%, transparent 70%),
		radial-gradient(ellipse 45% 40% at 8% 92%, rgba(212, 168, 86, 0.06) 0%, transparent 70%);
	pointer-events: none;
}

.hero__inner {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 40px;
	width: 100%;
	max-width: 1440px;
}

.hero__tagline {
	text-align: center;
}

.hero__tagline-title {
	font-family: 'Cinzel', 'Cormorant Garamond', serif;
	font-size: clamp(30px, 4.4vw, 50px);
	font-weight: 500;
	letter-spacing: 0.04em;
	margin: 0;
	text-wrap: balance;
	color: #fff;
}

.hero__tagline-subtitle {
	font-size: clamp(15px, 1.6vw, 19px);
	font-style: italic;
	font-weight: 300;
	letter-spacing: 0.04em;
	color: var(--kh-gold-light);
	margin: 10px 0 0;
}

.hero__showcase {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
}

.hero__video-frame {
	flex: 0 1 auto;
	width: 100%;
	max-width: 1160px;
	/* 58vh alone doesn't account for the nav bar + tagline + gap above it —
	   on shorter viewports that combined height can exceed the hero's
	   available space, pushing the centered frame up under the fixed nav.
	   320px reserves that overhead (130px nav/padding-top + 24px padding-
	   bottom + ~93px tagline + 40px gap + margin) so the frame always
	   shrinks to actually fit instead of overflowing. */
	max-height: min(58vh, calc(100svh - 320px));
	aspect-ratio: 16 / 9;
	border-radius: 6px;
	overflow: hidden;
	border: 1px solid rgba(212, 168, 86, 0.3);
	box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7);
}

.hero__video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Logo now lives in the fixed site-nav bar (assets/css/site-nav.css)
   instead of being absolutely positioned inside the hero. */

.hero__content {
	position: relative;
	z-index: 2;
}

/* Scroll cue — the hero fills the viewport, so nothing hints there's more
   below without this. */
.hero__scroll {
	position: absolute;
	left: 50%;
	bottom: 34px;
	transform: translateX(-50%);
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	color: rgba(255, 255, 255, 0.75);
	text-decoration: none;
	transition: color 0.3s ease;
}

.hero__scroll:hover,
.hero__scroll:focus-visible {
	color: #fff;
}

.hero__scroll-label {
	font-size: 11px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.hero__scroll-line {
	width: 1px;
	height: 34px;
	background: linear-gradient(180deg, currentColor 0%, transparent 100%);
	position: relative;
	overflow: hidden;
}

.hero__scroll-line::after {
	content: '';
	position: absolute;
	top: -100%;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(180deg, transparent 0%, var(--kh-gold-light) 50%, transparent 100%);
	animation: hero-scroll-drip 2.2s ease-in-out infinite;
}

@keyframes hero-scroll-drip {
	0% {
		top: -100%;
	}
	100% {
		top: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hero__scroll-line::after {
		animation: none;
	}
}

/* Intro — the descriptive section right under the hero, cream ground so it
   reads as a deliberate shift from the immersive video down to "read this".
   A gold/navy seam at the top and a faint navy glow in the corner keep the
   royal-blue identity present even on the light ground. */
.intro {
	position: relative;
	background:
		radial-gradient(ellipse 55% 60% at 92% 0%, rgba(10, 30, 61, 0.05) 0%, transparent 60%),
		var(--kh-cream);
	color: var(--kh-navy-900);
	padding: 100px 24px;
	overflow: hidden;
}

.intro::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--kh-navy-900) 0%, var(--kh-gold) 50%, var(--kh-navy-900) 100%);
	opacity: 0.7;
}

.intro__inner {
	max-width: 620px;
	margin: 0 auto;
	text-align: center;
}

.intro__eyebrow {
	display: block;
	font-size: 12px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--kh-gold-deep);
	margin-bottom: 18px;
}

.intro__headline {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0 0 28px;
}

.intro__headline-main {
	font-family: 'Cinzel', 'Cormorant Garamond', serif;
	font-size: clamp(30px, 4.4vw, 44px);
	font-weight: 500;
	letter-spacing: 0.02em;
	line-height: 1.2;
	text-wrap: balance;
}

.intro__headline-sub {
	font-size: clamp(16px, 1.8vw, 20px);
	font-style: italic;
	font-weight: 300;
	letter-spacing: 0.03em;
	color: var(--kh-gold-deep);
	text-wrap: balance;
}

.intro__text {
	font-size: 17px;
	line-height: 1.7;
	color: rgba(10, 30, 61, 0.75);
	margin: 0 0 20px;
}

.intro__cta {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-top: 18px;
	padding: 14px 28px;
	border: none;
	border-radius: 999px;
	color: #fff;
	background: linear-gradient(135deg, var(--kh-navy-800) 0%, var(--kh-navy-950) 100%);
	text-decoration: none;
	font-size: 14px;
	letter-spacing: 0.04em;
	box-shadow: 0 10px 24px -12px rgba(10, 30, 61, 0.45);
	transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.intro__cta svg {
	stroke: currentColor;
	transition: transform 0.3s ease;
}

.intro__cta:hover,
.intro__cta:focus-visible {
	background: linear-gradient(135deg, var(--kh-gold-deep) 0%, var(--kh-gold) 100%);
	box-shadow: 0 12px 28px -12px rgba(212, 168, 86, 0.55);
	transform: translateY(-2px);
}

.intro__cta:hover svg {
	transform: translateX(3px);
}
