/*
Theme Name: DGKS Privacy Policy
Theme URI: https://github.com/your-username/dgks-rest
Author: DGKS
Description: Minimalistička tema — jedna jedina stranica: Politika privatnosti aplikacije konferencije (EN/SR). Ovaj sajt služi kao REST API za aplikaciju.
Version: 2.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dgks-uputstvo
*/

:root {
	--bg: #f2f4f9;
	--sheet: #ffffff;
	--title: #0b1220;
	--body: #3c4352;
	--muted: #6b7280;
	--primary: #0a6cff;
	--hero-1: #0a6cff;
	--hero-2: #0a50c4;
	--hero-3: #063387;
	--border: rgba(11, 18, 32, 0.08);
	--radius-sheet: 28px;
	--font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
	:root {
		--bg: #0e1320;
		--sheet: #0e1320;
		--title: #edf1f7;
		--body: rgba(237, 241, 247, 0.75);
		--muted: #8a94a6;
		--primary: #2e7cf6;
		--border: rgba(237, 241, 247, 0.1);
	}
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	min-height: 100vh;
	font-family: var(--font);
	background: var(--bg);
	color: var(--body);
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

.hero {
	position: relative;
	background: linear-gradient(165deg, var(--hero-1) 0%, var(--hero-2) 55%, var(--hero-3) 100%);
	color: #fff;
	padding: 28px 24px 56px;
	overflow: hidden;
}

.hero::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 28px;
	background: var(--sheet);
	border-radius: var(--radius-sheet) var(--radius-sheet) 0 0;
}

.hero-inner {
	max-width: 720px;
	margin: 0 auto;
}

.hero-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 36px;
}

.brand {
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	opacity: 0.9;
}

.lang-switch {
	display: inline-flex;
	background: rgba(255, 255, 255, 0.16);
	border-radius: 999px;
	padding: 3px;
	backdrop-filter: blur(8px);
}

.lang-switch button {
	appearance: none;
	border: 0;
	background: transparent;
	color: rgba(255, 255, 255, 0.75);
	font: inherit;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	padding: 6px 12px;
	border-radius: 999px;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease;
}

.lang-switch button[aria-pressed="true"] {
	background: #fff;
	color: var(--hero-3);
}

.eyebrow {
	margin: 0 0 8px;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	opacity: 0.85;
}

.hero h1 {
	margin: 0;
	font-size: clamp(1.75rem, 4vw, 2.25rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.2;
}

.hero-sub {
	margin: 10px 0 0;
	max-width: 36em;
	font-size: 0.95rem;
	line-height: 1.5;
	opacity: 0.9;
}

.sheet {
	max-width: 720px;
	margin: 0 auto;
	padding: 8px 24px 64px;
	background: var(--sheet);
}

[hidden] {
	display: none !important;
}

.meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	margin: 0 0 28px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--border);
	font-size: 0.875rem;
	color: var(--muted);
}

.meta strong {
	color: var(--title);
	font-weight: 600;
}

h2 {
	margin: 2rem 0 0.65rem;
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--title);
	letter-spacing: -0.01em;
	line-height: 1.3;
}

h2:first-of-type {
	margin-top: 0;
}

/* Subsections (4.1, 4.2, …) read as headings but sit a step below h2. */
h3 {
	margin: 1rem 0 0.65rem;
	font-size: 1rem;
	font-weight: 700;
	color: var(--title);
	letter-spacing: -0.01em;
	line-height: 1.3;
}

p, li {
	margin: 0 0 0.85rem;
	font-size: 0.975rem;
}

ul {
	margin: 0 0 0.85rem;
	padding-left: 1.25rem;
}

li {
	margin-bottom: 0.45rem;
}

a {
	color: var(--primary);
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

code {
	font-size: 0.9em;
}

.note {
	margin-top: 2rem;
	padding: 16px 18px;
	border-radius: 14px;
	background: color-mix(in srgb, var(--primary) 8%, transparent);
	border: 1px solid color-mix(in srgb, var(--primary) 18%, transparent);
	color: var(--title);
	font-size: 0.9rem;
}

.note p {
	margin: 0;
	color: var(--body);
}

.sheet footer {
	margin-top: 2.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--border);
	font-size: 0.85rem;
	color: var(--muted);
}
