/* expectum. 2026: Bootstrap 5 + minimum vlastních stylů */
:root {
	--exp-blue: #2868b8;
	--exp-red: #e85d53;
	--exp-yellow: #e6b018;
	--exp-green: #20ac5b;
	--exp-ink: #16181d;
	--exp-muted: #6b7079;
	--exp-line: #e7e8eb;
	--exp-accent: var(--exp-blue);
	--exp-gradient: linear-gradient(133deg, var(--exp-blue) 30%, var(--exp-red));
	--bs-body-font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--bs-body-color: var(--exp-ink);
	--bs-link-color-rgb: 22, 24, 29;
	--bs-link-hover-color-rgb: 22, 24, 29;
}
body.exp-blue { --exp-accent: var(--exp-blue); --exp-gradient: linear-gradient(133deg, var(--exp-blue) 30%, var(--exp-red)); }
body.exp-red { --exp-accent: var(--exp-red); --exp-gradient: linear-gradient(133deg, var(--exp-red) 30%, var(--exp-yellow)); }
body.exp-green { --exp-accent: #a87c00; --exp-gradient: linear-gradient(133deg, #c98d00 30%, #1c9a51); }
body.exp-silver { --exp-accent: var(--exp-green); --exp-gradient: linear-gradient(133deg, var(--exp-green) 30%, var(--exp-blue)); }

body { font-size: 1.0625rem; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { text-underline-offset: .2em; text-decoration-thickness: 1px; }
h1, h2, h3, .h1, .h2, .h3 { font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }

/* logo */
.logo { display: inline-block; color: #fff; font-weight: 800; font-size: 3.25rem; line-height: .8; letter-spacing: -.06em; text-decoration: none; margin: 0; }
.logo strong { font-weight: inherit; color: rgba(255,255,255,.55); transition: color .3s; }
a.logo:hover { color: #fff; }
a.logo:hover strong { color: #fff; }

/* úvodní stránka: celá obrazovka, obsah na středu */
#homepage { background: #2868b8; color: #fff; }
.hp { position: relative; min-height: 100vh; min-height: 100svh; display: flex; overflow: hidden; }
.hp-bg { position: fixed; inset: 0; z-index: 0; background: linear-gradient(133deg, #2868b8, #e85d53, #e6b018, #20ac5b); background-size: 400% 400%; animation: expectum 24s ease infinite; }
@keyframes expectum { 0% { background-position: 0% 5%; } 50% { background-position: 100% 96%; } 100% { background-position: 0% 5%; } }
.hp-inner { position: relative; z-index: 1; flex: 1; padding-top: 3rem; padding-bottom: 3rem; }
.logo-hp { font-size: clamp(4.5rem, 14vw, 9rem); margin-bottom: 2.5rem; }
.hp-claim { font-size: clamp(1.25rem, 2.6vw, 1.6rem); font-weight: 600; letter-spacing: 0; color: #fff; margin: 0 0 .35rem; }
.hp-lead { font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: rgba(255,255,255,.75); margin: 0 0 2.75rem; }
#slovo { display: inline-block; color: #fff; font-weight: 600; transition: opacity .3s, transform .3s; }
#slovo.out { opacity: 0; transform: translateY(.25em); }
.hp-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem 1.5rem; margin-bottom: 3rem; }
.hp-nav a { color: #fff; font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 800; letter-spacing: -.03em; text-decoration: none; line-height: 1.2; }
.hp-nav a:hover, .hp-nav a:focus-visible { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: .15em; }
.hp-projects { max-width: 46rem; font-size: .95rem; color: rgba(255,255,255,.7); margin-bottom: .75rem; line-height: 1.9; }
.hp-projects span:first-child { color: rgba(255,255,255,.55); margin-right: .35rem; }
.hp-projects a, .hp-contact a { color: #fff; text-decoration: none; font-weight: 500; }
.hp-projects a:hover, .hp-contact a:hover { text-decoration: underline; }
.hp-contact { font-size: .95rem; margin: 0; }
.sep { opacity: .45; margin: 0 .5rem; }

/* podstránky: barevná hlavička sekce, pod ní bílý obsah */
/* hlavička leží průhledně přes barevný úvod stránky (.page-head), stránky bez něj (admin, login) ji mají plnou */
.hero { position: absolute; top: 0; left: 0; right: 0; z-index: 2; color: #fff; padding-top: 2rem; }
body:not(:has(.page-head)) .hero, .admin-bar ~ .hero { position: static; background: var(--exp-gradient); padding-bottom: 1.75rem; }
.admin-bar ~ main .page-head { padding-top: 4rem; }
.hero .nav { gap: .25rem 1.25rem; padding-top: .35rem; }
.hero .nav-link { padding: 0; color: rgba(255,255,255,.75); font-weight: 500; }
.hero .nav-link:hover, .hero .nav-link:focus-visible, .hero .nav-item.active .nav-link { color: #fff; text-decoration: underline; text-underline-offset: .35em; text-decoration-thickness: 2px; }
.page { position: relative; z-index: 0; overflow-x: clip; }
.page-head { position: relative; color: #fff; padding: 11rem 0 4rem; }
.page-head::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%); background: var(--exp-gradient); z-index: -1; }
.page-head h1 { font-size: clamp(2.25rem, 6vw, 3.75rem); margin: 0 0 1rem; color: #fff; }
.page-head h1 strong { font-weight: inherit; color: rgba(255,255,255,.6); }
.page-head .lead { max-width: 38rem; color: rgba(255,255,255,.85); margin: 0; font-size: 1.2rem; }
.page { padding-bottom: 4rem; }
.page a:not(.btn) { color: var(--exp-accent); }

/* služby: jednoduchá mřížka bez karet */
.services { margin-top: 1rem; }
.service { position: relative; padding-top: 1.1rem; }
.service::before { content: ""; position: absolute; top: 0; left: calc(var(--bs-gutter-x) * .5); right: calc(var(--bs-gutter-x) * .5); border-top: 2px solid var(--exp-ink); }
.service h2, .service h3 { font-size: 1.25rem; margin-bottom: .75rem; }
.service p { color: var(--exp-muted); margin: 0; }
.service.small-only::before { border-top: 1px solid #c9ccd1; }
.service.small-only h2, .service.small-only h3 { font-weight: 700; margin: 0; }

/* projekty */
.projects { margin-top: 1rem; }
.project { display: flex; flex-direction: column; height: 100%; }
.project-img { display: block; aspect-ratio: 1; overflow: hidden; border-radius: .5rem; background: #f3f4f6; margin-bottom: 1.25rem; }
.project-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.project-img:hover img { transform: scale(1.03); }
.project h2 { font-size: 1.4rem; margin-bottom: .5rem; }
.project h2 a { color: var(--exp-ink) !important; text-decoration: none; }
.project h2 a:hover { text-decoration: underline; }
.project p { color: var(--exp-muted); margin-bottom: .75rem; }
.project .project-link { margin-top: auto; font-weight: 500; }

/* kontakt */
.contact-big { margin-top: 1rem; }
.contact-big .label { color: var(--exp-muted); font-size: .9rem; margin-bottom: .25rem; }
.contact-big .value { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.25; }
.contact-big .value a { color: var(--exp-ink) !important; }

/* obsahové stránky z administrace */
.text { max-width: 46rem; margin-top: 3rem; }
.text img { max-width: 100%; height: auto; }
.gallery { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.features li { margin-bottom: .4rem; }

/* výzva a patička */
.cta { border-top: 1px solid var(--exp-line); padding: 4rem 0; }
.cta .h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: .5rem; }
.cta a { color: var(--exp-ink); font-weight: 600; }
.site-footer { background: #f6f7f8; color: var(--exp-muted); padding: 3rem 0; font-size: .95rem; }
.site-footer a { color: var(--exp-ink); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-title { color: var(--exp-ink); font-weight: 700; margin-bottom: .75rem; }
.site-footer li { margin-bottom: .3rem; }
.footer-projects span { color: var(--exp-muted); font-size: .85rem; }

/* administrace a hlášky (staré BS4 třídy, ať formuláře v adminu nevypadají rozbitě) */
.admin-bar .nav-link { padding: .5rem .75rem; }
.page > .alert, .page .container > .alert { margin-top: 1.5rem; }
.form-group { margin-bottom: 1rem; }
.float-right { float: right; }
.float-left { float: left; }
.cls { clear: both; }
.hide, .hidn { display: none; }
.marginT0 { margin-top: 0 !important; } .marginT1 { margin-top: 10px !important; } .marginT2 { margin-top: 20px !important; } .marginT3 { margin-top: 30px !important; } .marginT4 { margin-top: 40px !important; }
.marginB0 { margin-bottom: 0 !important; } .marginB1 { margin-bottom: 10px !important; } .marginB2 { margin-bottom: 20px !important; } .marginB3 { margin-bottom: 30px !important; } .marginB4 { margin-bottom: 40px !important; }
.click { cursor: pointer; }
.moveIT { cursor: move; }

@media (max-width: 575.98px) {
	.logo:not(.logo-hp) { font-size: 2.6rem; }
	.hero .nav { width: 100%; }
	.page-head { padding-top: 13rem; padding-bottom: 3rem; }
}
@media (prefers-reduced-motion: reduce) {
	.hp-bg { animation: none; }
	* { transition: none !important; }
}
@media print {
	.hero, .site-footer, .cta, .admin-bar { display: none; }
	.page-head { background: none; color: #000; padding: 0; }
	.page-head h1, .page-head .lead { color: #000; }
}

/* staré mřížkové třídy z BS3 v login/admin formulářích */
@media (min-width: 768px) { .col-md-offset-4 { margin-left: 33.333333%; } }
#obsah { padding: 3rem 0; }
