/* manul.cz, 2026-10-30, Bootstrap 5.3 (vlastní třídy, ať jde snadno převést na Bootstrap 6) */

:root {
	--mn-ink: #111318;
	--mn-ink-2: #1c1f26;
	--mn-muted: #656b76;
	--mn-line: #e6e7eb;
	--mn-soft: #f6f5f2;
	--mn-accent: #ff4d00;
	--mn-accent-dark: #d63f00;
	--mn-radius: 1.25rem;
	--bs-body-font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--bs-body-color: var(--mn-ink);
	--bs-link-color-rgb: 214, 63, 0;
	--bs-link-hover-color-rgb: 17, 19, 24;
}

html { scroll-behavior: smooth; }
body { display: flex; flex-direction: column; min-height: 100vh; -webkit-font-smoothing: antialiased; }
main { flex: 1 0 auto; }
section[id], footer[id] { scroll-margin-top: 4.5rem; }
h1, h2, h3, .h1, .h2, .h3 { font-weight: 800; letter-spacing: -.025em; }
a { text-underline-offset: .2em; }
::selection { background: var(--mn-accent); color: #fff; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; font-weight: 700; color: var(--mn-accent-dark); margin-bottom: .9rem; }
.dot { width: .5rem; height: .5rem; border-radius: 50%; background: var(--mn-accent); box-shadow: 0 0 0 4px rgba(255,77,0,.25); }

/* hlavička: lepivá, průsvitná */
.site-header { position: sticky; top: 0; z-index: 1020; background: rgba(17,19,24,.82); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid rgba(255,255,255,.08); color: #fff; padding: .75rem 0; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: #fff; text-decoration: none; font-size: 1.1rem; }
.brand img { border-radius: 50%; background: #fff; object-fit: cover; width: 38px; height: 38px; }
.brand:hover { color: #fff; }
.site-nav { display: flex; flex-wrap: wrap; gap: .25rem; }
.site-nav a { color: rgba(255,255,255,.72); text-decoration: none; font-weight: 500; font-size: .92rem; padding: .4rem .8rem; border-radius: 999px; transition: background-color .2s, color .2s; }
.site-nav a:hover, .site-nav a:focus-visible { color: #fff; background: rgba(255,255,255,.1); }

/* úvod */
.hero { background: var(--mn-ink); color: #fff; padding: clamp(3.5rem, 8vw, 7rem) 0; position: relative; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 75%); }
.hero::after { content: ""; position: absolute; z-index: -1; width: 60rem; height: 60rem; right: -20rem; top: -10rem; background: radial-gradient(closest-side, rgba(255,77,0,.3), transparent); }
.hero h1 { font-size: clamp(2.9rem, 8vw, 5.75rem); line-height: .98; margin: 0 0 1.5rem; }
.hero h1 span { background: linear-gradient(90deg, #ff7a33, var(--mn-accent) 50%, #ff9a52); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .eyebrow { color: rgba(255,255,255,.75); }
.hero .lead { max-width: 34rem; color: rgba(255,255,255,.72); font-size: clamp(1.1rem, 2vw, 1.3rem); margin-bottom: 2.25rem; }
.btn-accent { --bs-btn-color: #fff; --bs-btn-bg: var(--mn-accent); --bs-btn-border-color: var(--mn-accent); --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--mn-accent-dark); --bs-btn-hover-border-color: var(--mn-accent-dark); --bs-btn-active-bg: var(--mn-accent-dark); --bs-btn-active-border-color: var(--mn-accent-dark); --bs-btn-active-color: #fff; font-weight: 600; box-shadow: 0 10px 30px -10px rgba(255,77,0,.6); }
.btn-ghost { --bs-btn-color: #fff; --bs-btn-border-color: rgba(255,255,255,.25); --bs-btn-hover-color: #fff; --bs-btn-hover-bg: rgba(255,255,255,.08); --bs-btn-hover-border-color: rgba(255,255,255,.5); --bs-btn-active-color: #fff; --bs-btn-active-bg: rgba(255,255,255,.12); font-weight: 500; }
.hero .btn, .cta .btn { border-radius: 999px; padding-inline: 1.6rem; }
.btn { transition: transform .2s, background-color .2s, border-color .2s; }
.btn:hover { transform: translateY(-2px); }

/* screenshoty v rámečku prohlížeče */
.hero-shot { display: block; text-decoration: none; border-radius: 1rem; overflow: hidden; background: #fff; box-shadow: 0 40px 80px -30px rgba(0,0,0,.75), 0 0 0 1px rgba(255,255,255,.12); transform: perspective(1400px) rotateY(-7deg) rotateX(2deg); transition: transform .5s; }
.hero-shot:hover { transform: perspective(1400px) rotateY(0) rotateX(0); }
.hero-shot img, .shot img { display: block; width: 100%; height: auto; }
.browser-bar { display: flex; align-items: center; gap: .4rem; padding: .6rem .9rem; background: #24272f; }
.browser-bar i { width: .65rem; height: .65rem; border-radius: 50%; background: #4a4e58; }
.browser-bar i:first-child { background: #ff5f57; } .browser-bar i:nth-child(2) { background: #febc2e; } .browser-bar i:nth-child(3) { background: #28c840; }
.browser-bar span { margin-left: .75rem; flex: 1; max-width: 16rem; background: #16181d; color: rgba(255,255,255,.6); border-radius: 999px; font-size: .75rem; padding: .2rem .8rem; }
.shot { display: block; height: 100%; border-radius: var(--mn-radius); overflow: hidden; border: 1px solid var(--mn-line); background: #fff; box-shadow: 0 30px 60px -35px rgba(17,19,24,.45); transition: transform .3s; }
.shot:hover { transform: translateY(-4px); }
.shot img { height: 100%; object-fit: cover; object-position: top; }

/* sekce */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section-alt { background: var(--mn-soft); }
.section h2 { font-size: clamp(2rem, 4.5vw, 3rem); margin: 0; }
.section-lead { font-size: 1.2rem; color: var(--mn-muted); }

/* magazín */
.magazine { display: flex; flex-direction: column; gap: 2rem; height: 100%; padding: clamp(1.75rem, 4vw, 2.75rem); border-radius: var(--mn-radius); background: var(--mn-ink); color: #fff; text-decoration: none; position: relative; overflow: hidden; transition: transform .3s, box-shadow .3s; }
.magazine::after { content: ""; position: absolute; width: 30rem; height: 30rem; right: -12rem; bottom: -16rem; background: radial-gradient(closest-side, rgba(255,77,0,.4), transparent); }
.magazine:hover { color: #fff; transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(17,19,24,.6); }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; position: relative; z-index: 1; }
.stats span { color: rgba(255,255,255,.65); font-size: .95rem; line-height: 1.3; }
.stats strong { display: block; font-size: clamp(2.6rem, 6vw, 3.75rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; color: #fff; margin-bottom: .35rem; }
.stats span:first-child strong { color: var(--mn-accent); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; position: relative; z-index: 1; }
.chips span { border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: .35rem .9rem; font-size: .88rem; color: rgba(255,255,255,.85); }
.link-arrow { display: inline-flex; align-items: center; gap: .45rem; margin-top: auto; font-weight: 700; align-self: flex-start; position: relative; z-index: 1; color: var(--mn-accent); }
.link-arrow::after { content: "→"; transition: transform .2s; }
.magazine:hover .link-arrow::after { transform: translateX(5px); }

/* příběh */
.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--mn-line); }
.timeline li { position: relative; padding: 0 0 2.25rem 2rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -.6rem; top: .3rem; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--mn-soft); border: 3px solid var(--mn-accent); }
.timeline h3 { font-size: 1.3rem; margin-bottom: .4rem; }
.timeline h3 span { color: var(--mn-accent-dark); margin-right: .35rem; }
.timeline p { color: var(--mn-muted); margin: 0; font-size: 1.05rem; max-width: 40rem; }

/* tým */
.person { display: flex; align-items: center; gap: 1rem; padding: 1.25rem 1.5rem; border: 1px solid var(--mn-line); border-radius: var(--mn-radius); font-size: 1.15rem; font-weight: 600; }
.avatar { flex: 0 0 3.25rem; height: 3.25rem; border-radius: 50%; display: grid; place-items: center; background: var(--mn-ink); color: #fff; font-weight: 700; font-size: .95rem; letter-spacing: .04em; }
.team > li:nth-child(2n) .avatar { background: linear-gradient(135deg, #ff7a33, var(--mn-accent-dark)); }
.person-projects { padding: 1.25rem .25rem 0; color: var(--mn-muted); }
.person-projects p { margin-bottom: .75rem; }
.person-projects a { color: var(--mn-ink); font-weight: 600; text-decoration-color: var(--mn-accent); text-decoration-thickness: 2px; }
.person-projects a:hover { color: var(--mn-accent-dark); }
.project-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: .45rem 1.5rem; font-size: .95rem; margin: 0; }
.project-links li { line-height: 1.35; }
.project-links a { margin-right: .3rem; }

/* výzva */
.cta { padding: 0 0 clamp(4rem, 8vw, 6rem); }
.cta-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; padding: clamp(2rem, 5vw, 3.5rem); border-radius: var(--mn-radius); background: linear-gradient(120deg, var(--mn-accent-dark), var(--mn-accent) 60%, #ff8a3d); color: #fff; }
.cta-box h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: .35rem; }
.cta-box p { color: rgba(255,255,255,.88); }
.cta .btn-accent { --bs-btn-bg: var(--mn-ink); --bs-btn-border-color: var(--mn-ink); --bs-btn-hover-bg: #000; --bs-btn-hover-border-color: #000; --bs-btn-active-bg: #000; box-shadow: none; }

/* patička */
.site-footer { background: var(--mn-ink); color: rgba(255,255,255,.6); padding: 4.5rem 0 2rem; font-size: .95rem; }
.site-footer a { color: #fff; }
.footer-mail { font-size: 1.05rem; text-decoration-color: var(--mn-accent); text-decoration-thickness: 2px; overflow-wrap: anywhere; }
.footer-title { color: #fff; font-weight: 700; margin-bottom: .5rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; border-top: 1px solid rgba(255,255,255,.1); margin-top: 3rem; padding-top: 1.5rem; font-size: .85rem; }
.footer-bottom a { color: rgba(255,255,255,.6); text-decoration: none; }
.footer-bottom a:hover { color: #fff; }

/* stránky z obsahu, login a administrace (staré BS3/BS4 třídy) */
.page { padding-top: 3rem; padding-bottom: 4rem; }
.page h1 { margin-bottom: 1.5rem; }
.text img { max-width: 100%; height: auto; }
.gallery { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-top: 2rem; }
.admin-bar .nav-link { padding: .5rem .75rem; }
.form-group { margin-bottom: 1rem; }
.float-right { float: right; }
.float-left { float: left; }
.cls { clear: both; }
.hide, .hidn { display: none; }
.bold { font-weight: bold; }
.red, .errorfont, .error { color: #dc3545 !important; }
.opacity70 { opacity: .7; }
.click { cursor: pointer; }
.moveIT { cursor: move; }
.marginT0 { margin-top: 0 !important; } .marginT1, .marginT { margin-top: 10px !important; } .marginT2, .marginTT { margin-top: 20px !important; } .marginT3, .marginTTT { margin-top: 30px !important; } .marginT4, .marginTTTT { margin-top: 40px !important; } .marginT5, .marginTTTTT { margin-top: 50px !important; }
.marginB0 { margin-bottom: 0 !important; } .marginB1, .marginB { margin-bottom: 10px !important; } .marginB2, .marginBB { margin-bottom: 20px !important; } .marginB3, .marginBBB { margin-bottom: 30px !important; } .marginB4, .marginBBBB { margin-bottom: 40px !important; }
.paddingT1 { padding-top: 10px !important; } .paddingT2 { padding-top: 20px !important; } .paddingT3, .paddingTTT { padding-top: 30px !important; } .paddingT5 { padding-top: 50px !important; }
.paddingB1 { padding-bottom: 10px !important; } .paddingB2 { padding-bottom: 20px !important; } .paddingB3, .paddingBBB { padding-bottom: 30px !important; } .paddingB5 { padding-bottom: 50px !important; }
@media (min-width: 768px) { .col-md-offset-4 { margin-left: 33.333333%; } .justify-content-md-center > .col-md-offset-4 { margin-left: 0; } }
.btn-block { display: block; width: 100%; }
.page .btn-success { --bs-btn-bg: var(--mn-ink); --bs-btn-border-color: var(--mn-ink); --bs-btn-hover-bg: var(--mn-accent-dark); --bs-btn-hover-border-color: var(--mn-accent-dark); --bs-btn-active-bg: var(--mn-accent-dark); }


@media (max-width: 991.98px) {
	.hero-shot { transform: none; max-width: 36rem; }
	.shot img { height: auto; }
}
@media (max-width: 575.98px) {
	.site-header { position: static; }
	.site-header .container { justify-content: center !important; }
	.site-nav { justify-content: center; }
	.site-nav a { padding: .3rem .6rem; }
	.cta-box .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; }
	.hero-shot { transform: none; }
}
@media print {
	.admin-bar, .site-nav, .cta { display: none; }
	.site-header { position: static; }
	.hero, .site-header, .site-footer, .magazine { background: none; color: #000; }
	.hero .lead, .site-footer, .footer-title, .site-footer a, .magazine, .chips span, .stats strong, .stats span { color: #000; }
	.hero h1 span { color: #000; background: none; }
}
