/* lukaselner.cz – hlavní styly */
:root {
	--bg: #2b3036;
	--bg-alt: #252a2f;
	--surface: #343a41;
	--surface-hover: #3c434b;
	--text: #e6e9ec;
	--text-muted: #a3acb5;
	--accent: #6fb3c4;
	--accent-strong: #8fcbd9;
	--line: rgba(255, 255, 255, .08);
	--radius: 10px;
	--max: 1040px;
	--font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*,
*::before,
*::after {
	box-sizing: border-box;
}
html {
	scroll-behavior: smooth;
}
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font);
	font-size: 1.0625rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}
a {
	color: var(--accent);
	text-decoration: none;
	transition: color .2s;
}
a:hover,
a:focus-visible {
	color: var(--accent-strong);
}
:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
}
.container {
	width: 100%;
	max-width: var(--max);
	margin: 0 auto;
	padding: 0 1.5rem;
}
/* Úvod */
.hero {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	min-height: 100svh;
	overflow: hidden;
}
.hero__bg {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(115deg, transparent 0 38%, rgba(255, 255, 255, .035) 38% 52%, transparent 52%),
		linear-gradient(65deg, transparent 0 58%, rgba(111, 179, 196, .10) 58% 100%),
		linear-gradient(140deg, rgba(0, 0, 0, .18) 0 22%, transparent 22% 100%),
		linear-gradient(25deg, transparent 0 70%, rgba(255, 255, 255, .03) 70% 84%, transparent 84%),
		var(--bg);
}
.nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.25rem 1.5rem;
}
.nav__brand {
	color: var(--text-muted);
	font-size: .9rem;
	letter-spacing: .02em;
}
.nav__links {
	display: flex;
	gap: 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: .9rem;
}
.nav__links a {
	color: var(--text-muted);
}
.nav__links a:hover,
.nav__links a:focus-visible {
	color: var(--text);
}
.hero__content {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 2rem 1.5rem 6rem;
	text-align: center;
}
.hero__name {
	margin: 0;
	font-size: clamp(2rem, 5.5vw, 3.5rem);
	font-weight: 300;
	line-height: 1.2;
	letter-spacing: -.01em;
}
.hero__name strong {
	font-weight: 700;
}
.hero__tagline {
	margin: 1rem 0 2.25rem;
	color: var(--text-muted);
	font-size: clamp(1rem, 2.2vw, 1.2rem);
}
.button {
	display: inline-block;
	padding: .75rem 1.75rem;
	border: 1px solid var(--accent);
	border-radius: 999px;
	color: var(--text);
	font-size: .95rem;
	transition: background-color .2s, color .2s;
}
.button:hover,
.button:focus-visible {
	background: var(--accent);
	color: var(--bg-alt);
}
/* Sekce */
.section {
	padding: 5rem 0;
	border-top: 1px solid var(--line);
}
.section--alt {
	background: var(--bg-alt);
}
.section__title {
	margin: 0 0 2rem;
	font-size: 1.75rem;
	font-weight: 600;
}
.section__title::after {
	content: "";
	display: block;
	width: 2.5rem;
	height: 3px;
	margin-top: .75rem;
	border-radius: 2px;
	background: var(--accent);
}
/* Profil */
.profile__lead {
	max-width: 46rem;
	margin: 0 0 2rem;
	font-size: 1.2rem;
	color: var(--text);
}
.tags {
	display: flex;
	flex-wrap: wrap;
	gap: .6rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
.tags li {
	padding: .35rem .9rem;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--surface);
	color: var(--text-muted);
	font-size: .9rem;
}
/* Karty */
.cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 1.25rem;
}
.card {
	display: block;
	padding: 1.75rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
}
.card p {
	margin: 0;
	color: var(--text-muted);
}
.card__title {
	margin: 0 0 .6rem;
	color: var(--text);
	font-size: 1.15rem;
	font-weight: 600;
}
.card--link {
	transition: background-color .2s, border-color .2s, transform .2s;
}
.card--link:hover,
.card--link:focus-visible {
	border-color: rgba(111, 179, 196, .4);
	background: var(--surface-hover);
	transform: translateY(-2px);
}
.card__more {
	display: inline-block;
	margin-top: 1rem;
	color: var(--accent);
	font-size: .9rem;
}
.card__more::after {
	content: " →";
}
/* Kontakt */
.contact {
	display: grid;
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
.contact li {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: .25rem 1.5rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid var(--line);
}
.contact__label {
	min-width: 6rem;
	color: var(--text-muted);
	font-size: .9rem;
}
.contact a {
	font-size: 1.1rem;
}
/* Patička */
.footer {
	padding: 2rem 0;
	border-top: 1px solid var(--line);
	color: var(--text-muted);
	font-size: .85rem;
}
.footer p {
	margin: 0;
}
@media (max-width: 640px) {
	.nav__links {
		display: none;
	}
	.section {
		padding: 3.5rem 0;
	}
}
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	* {
		transition: none !important;
	}
}
