:root {
	--bg: #07111f;
	--bg-soft: #0b1830;
	--surface: rgba(255, 255, 255, 0.08);
	--surface-strong: rgba(255, 255, 255, 0.14);
	--text: #ecf4ff;
	--muted: #a9bdd8;
	--line: rgba(255, 255, 255, 0.12);
	--primary: #2f73ff;
	--primary-2: #5bc0ff;
	--shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
	--radius-lg: 28px;
	--radius-md: 20px;
	--container: 1180px;
	--header-height: 72px;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-height) + 16px);
}

body {
	margin: 0;
	font-family: 'Inter', sans-serif;
	background:
		radial-gradient(
			circle at top left,
			rgba(47, 115, 255, 0.16),
			transparent 28%
		),
		radial-gradient(
			circle at bottom right,
			rgba(91, 192, 255, 0.14),
			transparent 25%
		),
		linear-gradient(180deg, #050d18 0%, #081426 45%, #07111f 100%);
	color: var(--text);
	overflow-x: hidden;
}

img {
	max-width: 100%;
	display: block;
}

.container {
	width: min(calc(100% - 32px), var(--container));
	margin: 0 auto;
}

.section {
	padding: 88px 0;
	position: relative;
	z-index: 2;
}

.skip-link {
	position: absolute;
	top: -48px;
	left: 16px;
	z-index: 200;
	padding: 10px 16px;
	border-radius: 12px;
	background: var(--primary);
	color: #fff;
	font-weight: 700;
	text-decoration: none;
	transition: top 0.2s ease;
}

.skip-link:focus {
	top: 16px;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

@media (min-width: 769px) {
	.site-header {
		background: rgba(7, 17, 31, 0.96);
	}
}

/* Blur samo na traci — backdrop-filter na headeru je kvario position:fixed meni */
.site-header-bar {
	background: rgba(7, 17, 31, 0.96);
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
}

.site-header-inner {
	min-height: var(--header-height);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

@media (min-width: 769px) {
	.site-nav {
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		height: var(--header-height);
		z-index: 2;
		display: flex;
		align-items: center;
		justify-content: flex-end;
		padding-right: max(16px, calc((100% - var(--container)) / 2 + 16px));
		padding-left: max(16px, calc((100% - var(--container)) / 2 + 16px));
		background: none;
		border: 0;
		box-shadow: none;
		visibility: visible;
		pointer-events: none;
		transform: none;
		isolation: auto;
	}

	.site-nav .nav-list {
		pointer-events: auto;
	}
}

.site-brand {
	display: inline-flex;
	flex-shrink: 0;
	text-decoration: none;
}

.site-brand-logo {
	width: auto;
	height: 44px;
	max-width: 160px;
	object-fit: contain;
}

.site-nav {
	display: flex;
	align-items: center;
}

.nav-list {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.nav-link {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 16px;
	border-radius: 12px;
	color: var(--muted);
	font-size: 0.95rem;
	font-weight: 600;
	text-decoration: none;
	transition:
		color 0.25s ease,
		background 0.25s ease;
}

.nav-link:hover,
.nav-link.is-active {
	color: var(--text);
	background: rgba(255, 255, 255, 0.06);
}

.nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 6px;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 1px solid var(--line);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.05);
	cursor: pointer;
}

.nav-toggle-bar {
	display: block;
	width: 22px;
	height: 2px;
	margin: 0 auto;
	border-radius: 2px;
	background: var(--text);
	transition:
		transform 0.25s ease,
		opacity 0.25s ease;
}

.nav-backdrop {
	appearance: none;
}

body.nav-open {
	overflow: hidden;
}

.hero {
	min-height: calc(100vh - var(--header-height));
	display: flex;
	align-items: center;
}

/* Stranica novosti */
.page-hero {
	padding-top: 48px;
	padding-bottom: 24px;
}

.page-hero .section-heading h1 {
	margin: 18px 0 0;
	font-size: clamp(2.2rem, 4.5vw, 3.4rem);
	line-height: 1.05;
	letter-spacing: -0.03em;
}

.news-section {
	padding-top: 0;
}

.news-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.news-grid--single {
	grid-template-columns: minmax(0, 400px);
	justify-content: center;
	margin-inline: auto;
}

.news-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	background: var(--surface);
	backdrop-filter: blur(18px);
	box-shadow: var(--shadow);
	transition:
		transform 0.35s ease,
		border-color 0.35s ease;
}

.news-card:hover {
	transform: translateY(-4px);
	border-color: rgba(91, 192, 255, 0.28);
}

.news-card-image-link {
	display: block;
	overflow: hidden;
	aspect-ratio: 16 / 10;
}

.news-card-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.news-card-image--cover-left {
	object-position: left center;
}

.article-hero-cover {
	object-fit: cover;
	object-position: left center;
}

.news-card:hover .news-card-image {
	transform: scale(1.04);
}

.news-card-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 24px;
}

.news-card-date {
	color: #8ccfff;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.news-card-title {
	margin: 10px 0 12px;
	font-size: 1.25rem;
	line-height: 1.35;
}

.news-card-title a {
	color: var(--text);
	text-decoration: none;
	transition: color 0.25s ease;
}

.news-card-title a:hover {
	color: #cbe7ff;
}

.news-card-body p {
	flex: 1;
	margin: 0;
	color: var(--muted);
	line-height: 1.75;
	font-size: 0.98rem;
}

.news-card-more {
	display: inline-flex;
	margin-top: 18px;
	color: var(--primary-2);
	font-size: 0.92rem;
	font-weight: 700;
	text-decoration: none;
}

.news-card-more:hover {
	color: var(--text);
}

/* Pojedinačna novost */
.article-header {
	padding-top: 40px;
	padding-bottom: 0;
}

.article-header-inner {
	max-width: 820px;
}

.article-back {
	display: inline-flex;
	margin-bottom: 20px;
	color: var(--primary-2);
	font-size: 0.92rem;
	font-weight: 700;
	text-decoration: none;
	transition: color 0.25s ease;
}

.article-back:hover {
	color: var(--text);
}

.article-header h1 {
	margin: 18px 0 12px;
	font-size: clamp(2rem, 4.5vw, 3rem);
	line-height: 1.08;
	letter-spacing: -0.03em;
}

.article-date {
	display: block;
	color: #8ccfff;
	font-size: 0.88rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.article-hero-media {
	margin: 32px 0 0;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow);
}

.article-hero-media img {
	width: 100%;
	height: 50%;
	aspect-ratio: 16 / 9;
	object-fit: fill;
}

.article-body-section {
	padding-top: 32px;
}

.article-body {
	max-width: 820px;
	margin: 0 auto;
	padding: 36px;
}

.article-lead {
	color: #d9efff !important;
	font-size: 1.15rem;
	font-weight: 600;
	line-height: 1.75;
}

.article-body p {
	color: var(--muted);
	line-height: 1.85;
	font-size: 1.05rem;
}

.article-body p + p {
	margin-top: 18px;
}

.article-body a {
	color: var(--primary-2);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.article-body a:hover {
	color: var(--text);
}

.article-subheading {
	margin: 28px 0 14px;
	font-size: 1.2rem;
	color: var(--text);
}

.article-list {
	margin: 0 0 18px;
	padding-left: 1.25rem;
	color: var(--muted);
	line-height: 1.85;
}

.article-list li + li {
	margin-top: 8px;
}

.hero-grid,
.about-grid {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 48px;
	align-items: center;
}

.hero-grid > * {
	min-width: 0;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 16px;
	border: 1px solid rgba(91, 192, 255, 0.24);
	background: rgba(255, 255, 255, 0.05);
	border-radius: 999px;
	color: #cbe7ff;
	letter-spacing: 0.16em;
	font-size: 0.76rem;
	font-weight: 700;
}

.hero-content h1,
.section-heading h2,
.closing-card h2 {
	margin: 18px 0 0;
	line-height: 1.02;
	letter-spacing: -0.03em;
}

.hero-content h1 {
	font-size: clamp(2.5rem, 5vw, 3rem);
	max-width: 15ch;
}

.lead,
.section-heading p,
.glass-card p,
.program-card p,
.closing-card p {
	color: var(--muted);
	line-height: 1.8;
	font-size: 1.05rem;
}

.lead {
	max-width: 62ch;
	margin: 24px 0 0;
}

.cta-row {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 34px;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 54px;
	padding: 0 24px;
	border-radius: 16px;
	font-weight: 700;
	text-decoration: none;
	transition:
		transform 0.3s ease,
		box-shadow 0.3s ease,
		background 0.3s ease;
}

.btn:hover {
	transform: translateY(-2px);
}

.btn:focus-visible,
.cookie-consent button:focus-visible,
.nav-toggle:focus-visible,
.nav-link:focus-visible {
	outline: 2px solid var(--primary-2);
	outline-offset: 3px;
}

a:focus-visible {
	outline: 2px solid var(--primary-2);
	outline-offset: 3px;
	border-radius: 4px;
}

.btn-primary {
	background: linear-gradient(135deg, var(--primary), var(--primary-2));
	color: white;
	box-shadow: 0 16px 36px rgba(47, 115, 255, 0.28);
}

.btn-secondary {
	color: var(--text);
	border: 1px solid rgba(255, 255, 255, 0.16);
	background: rgba(255, 255, 255, 0.05);
}

.mini-stats {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin-top: 38px;
}

.stat-card,
.logo-card,
.glass-card,
.program-card,
.closing-card {
	position: relative;
	overflow: hidden;
	border: 1px solid var(--line);
	background: var(--surface);
	backdrop-filter: blur(18px);
	box-shadow: var(--shadow);
}

.stat-card {
	padding: 20px;
	border-radius: 20px;
}

.stat-card strong {
	display: block;
	font-size: 1rem;
	margin-bottom: 8px;
}

.stat-card span {
	color: var(--muted);
	font-size: 0.95rem;
}

.logo-card {
	min-height: 520px;
	border-radius: var(--radius-lg);
	padding: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
	background:
		radial-gradient(
			circle at center,
			rgba(91, 192, 255, 0.22),
			transparent 55%
		),
		var(--surface);
}

.logo-stage {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: min(100%, 430px);
	margin: 0 auto;
	aspect-ratio: 1;
}

.brand-logo {
	position: relative;
	z-index: 2;
	width: 100%;
	height: auto;
	max-width: 430px;
	filter: drop-shadow(0 12px 42px rgba(47, 115, 255, 0.28));
}

.glow-ring {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 1;
	width: min(88%, 320px);
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(
		circle,
		rgba(91, 192, 255, 0.28),
		transparent 68%
	);
	transform: translate(-50%, -50%);
	animation: pulse 5s ease-in-out infinite;
	pointer-events: none;
}

.section-heading h2,
.closing-card h2 {
	font-size: clamp(2rem, 4vw, 3.6rem);
}

.section-heading.centered {
	text-align: center;
	max-width: 820px;
	margin: 0 auto 44px;
}

.glass-card {
	padding: 34px;
	border-radius: var(--radius-md);
}

.glass-card p + p {
	margin-top: 18px;
}

.accent-text {
	color: #d9efff !important;
	font-weight: 700;
}

.cards-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.program-card {
	padding: 28px;
	border-radius: 24px;
	transition:
		transform 0.35s ease,
		border-color 0.35s ease,
		background 0.35s ease;
}

.program-card:hover {
	transform: translateY(-6px);
	border-color: rgba(91, 192, 255, 0.3);
	background: var(--surface-strong);
}

.card-number {
	display: inline-flex;
	margin-bottom: 18px;
	font-size: 0.85rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	color: #8ccfff;
}

.program-card h3 {
	margin: 0 0 14px;
	font-size: 1.35rem;
	line-height: 1.3;
}

.closing-card {
	padding: 42px;
	border-radius: 28px;
	text-align: center;
	max-width: 900px;
	margin: 0 auto;
}

.closing-card p {
	max-width: 700px;
	margin: 18px auto 30px;
}

.contact-section .closing-card p {
	max-width: 560px;
}

.contact-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px;
	margin-top: 8px;
}

.contact-btn-instagram {
	gap: 10px;
}

.contact-icon {
	flex-shrink: 0;
}

.footer {
	padding: 22px 0 34px;
	position: relative;
	z-index: 2;
}

.footer-inner {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding-top: 24px;
	color: var(--muted);
	font-size: 0.95rem;
}

.bg-orb {
	position: fixed;
	border-radius: 50%;
	filter: blur(80px);
	opacity: 0.45;
	pointer-events: none;
}

.orb-1 {
	top: -120px;
	left: -80px;
	width: 280px;
	height: 280px;
	background: rgba(47, 115, 255, 0.3);
}

.orb-2 {
	top: 35%;
	right: -80px;
	width: 320px;
	height: 320px;
	background: rgba(91, 192, 255, 0.22);
}

.orb-3 {
	bottom: 0;
	left: 30%;
	width: 260px;
	height: 260px;
	background: rgba(32, 91, 255, 0.18);
}

.reveal {
	opacity: 0;
	transform: translateY(32px);
	transition:
		opacity 0.8s ease,
		transform 0.8s ease;
}

.reveal.visible {
	opacity: 1;
	transform: translateY(0);
}

.delay-1 {
	transition-delay: 0.12s;
}

.delay-2 {
	transition-delay: 0.24s;
}

@keyframes pulse {
	0%,
	100% {
		transform: translate(-50%, -50%) scale(0.95);
		opacity: 0.65;
	}
	50% {
		transform: translate(-50%, -50%) scale(1.08);
		opacity: 1;
	}
}

/* Cookie saglasnost */
.cookie-consent {
	position: fixed;
	inset: auto 0 0;
	z-index: 100;
	padding: 16px 0;
	background: rgba(7, 17, 31, 0.96);
	border-top: 1px solid var(--line);
	backdrop-filter: blur(18px);
}

.cookie-consent-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.cookie-consent-title {
	margin: 0 0 6px;
	font-weight: 700;
	color: var(--text);
}

.cookie-consent-desc {
	margin: 0;
	color: var(--muted);
	font-size: 0.95rem;
	line-height: 1.6;
	max-width: 62ch;
}

.cookie-consent-actions {
	display: flex;
	flex-shrink: 0;
	flex-wrap: wrap;
	gap: 10px;
}

.cookie-consent button {
	cursor: pointer;
	border: none;
	font-family: inherit;
}

body.cookie-banner-open {
	padding-bottom: 120px;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}

	.bg-orb,
	.glow-ring {
		animation: none;
		transform: translate(-50%, -50%);
	}

	.btn:hover,
	.program-card:hover,
	.news-card:hover {
		transform: none;
	}

	.news-card:hover .news-card-image {
		transform: none;
	}
}

@media (max-width: 1024px) {
	.hero-grid,
	.about-grid,
	.cards-grid,
	.news-grid:not(.news-grid--single) {
		grid-template-columns: 1fr 1fr;
	}

	.cards-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.logo-card {
		min-height: 420px;
	}
}

@media (max-width: 768px) {
	:root {
		--header-height: 64px;
	}

	.nav-toggle {
		display: flex;
		position: relative;
		z-index: 52;
	}

	.site-nav {
		position: fixed;
		top: var(--header-height);
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 60;
		pointer-events: none;
		display: flex;
		align-items: flex-start;
		justify-content: center;
		padding: 32px 24px 48px;
		background-color: #07111f;
		background-image:
			radial-gradient(
				circle at 12% 8%,
				rgba(47, 115, 255, 0.32),
				transparent 48%
			),
			radial-gradient(
				circle at 88% 88%,
				rgba(91, 192, 255, 0.26),
				transparent 45%
			),
			linear-gradient(165deg, #050d18 0%, #0b1830 42%, #07111f 100%);
		border-top: 1px solid rgba(255, 255, 255, 0.1);
		box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.35);
		isolation: isolate;
		visibility: hidden;
		pointer-events: none;
		transform: translateY(-8px);
		transition:
			visibility 0.28s ease,
			transform 0.28s ease;
	}

	body.nav-open .site-nav {
		visibility: visible;
		transform: translateY(0);
	}

	body.nav-open .site-nav .nav-list {
		pointer-events: auto;
	}

	body.nav-open .site-header-bar {
		position: relative;
		z-index: 70;
	}

	body.nav-open .nav-toggle-bar:nth-child(1) {
		transform: translateY(8px) rotate(45deg);
	}

	body.nav-open .nav-toggle-bar:nth-child(2) {
		opacity: 0;
	}

	body.nav-open .nav-toggle-bar:nth-child(3) {
		transform: translateY(-8px) rotate(-45deg);
	}

	.nav-list {
		flex-direction: column;
		align-items: stretch;
		width: min(100%, 360px);
		gap: 6px;
	}

	.nav-link {
		justify-content: center;
		min-height: 52px;
		font-size: 1.05rem;
	}

	body.nav-open .nav-backdrop:not([hidden]) {
		display: block;
		position: fixed;
		top: var(--header-height);
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 55;
		border: 0;
		padding: 0;
		background: #050d18;
		opacity: 0.92;
		cursor: pointer;
	}

	.section {
		padding: 18px 0;
	}

	.hero {
		min-height: auto;
		padding-top: 24px;
	}

	.hero-grid,
	.about-grid,
	.cards-grid,
	.news-grid:not(.news-grid--single),
	.mini-stats {
		grid-template-columns: 1fr;
	}

	.news-grid--single {
		grid-template-columns: minmax(0, 1fr);
		max-width: 400px;
	}

	.hero-content h1 {
		max-width: none;
	}

	.logo-card {
		min-height: 320px;
		padding: 22px;
	}

	.closing-card,
	.glass-card,
	.program-card,
	.article-body {
		padding: 24px;
	}

	.article-header {
		padding-top: 28px;
	}

	.footer-inner {
		flex-direction: column;
		text-align: center;
	}
}

@media (max-width: 480px) {
	.container {
		width: min(calc(100% - 24px), var(--container));
	}

	.site-brand-logo {
		height: 38px;
	}

	.lead,
	.section-heading p,
	.glass-card p,
	.program-card p,
	.closing-card p {
		font-size: 1rem;
	}

	.btn {
		width: 100%;
	}

	.contact-actions {
		flex-direction: column;
		align-items: stretch;
	}

	.cookie-consent-inner {
		flex-direction: column;
		align-items: stretch;
	}

	.cookie-consent-actions {
		flex-direction: column;
	}

	.cookie-consent-actions .btn {
		width: 100%;
	}
}
