/* Reklamka Libor Dedera – vzhled webu (20. 11. 2026). Mobil první, zlom 760 px (tablet) a 1100 px (desktop).
   Tmavé pozadí s kresbou, červené akcenty a bílé štítky nadpisů podle starého webu. */
:root {
    --pozadi: #121212;
    --panel: rgba(14, 14, 14, .9);
    --text: #f1f1f1;
    --tlumeny: #b9b9b9;
    --cervena: #e01b1b;
    --cervena-tmava: #b30f0f;
    --zluta: #f4d03f;
    --okraj: #2c2c2c;
    --sirka: 1180px;
    --pismo: 'Open Sans', Arial, sans-serif;
    --nadpis: 'Oswald', 'Arial Narrow', Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0; font: 16px/1.6 var(--pismo); color: var(--text);
    background: var(--pozadi) url(bg_main.jpg) center top / cover fixed;
}
img { max-width: 100%; height: auto; }
a { color: #ff5a4f; }
a:hover, a:focus-visible { color: #fff; }
:focus-visible { outline: 3px solid var(--zluta); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--nadpis); font-weight: 600; line-height: 1.2; letter-spacing: .01em; }
.preskocit { position: absolute; left: -9999px; }
.preskocit:focus { left: 8px; top: 8px; z-index: 100; background: #fff; color: #000; padding: 8px 12px; }
.schovane { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.obal { max-width: var(--sirka); margin: 0 auto; padding: 0 16px; }

/* hlavička a menu */
.hlavicka { position: sticky; top: 0; z-index: 50; background: rgba(10, 10, 10, .96); border-bottom: 3px solid var(--cervena); box-shadow: 0 4px 16px rgba(0,0,0,.5); }
.hlavicka__in { max-width: var(--sirka); margin: 0 auto; padding: 8px 16px; display: flex; align-items: center; gap: 12px; }
.logo { display: block; flex: 0 1 220px; line-height: 0; }
.logo img { width: 100%; max-width: 220px; border-radius: 6px; }
.hlavicka__tel { margin-left: auto; font: 600 18px/1 var(--nadpis); color: #fff; text-decoration: none; white-space: nowrap; display: flex; align-items: center; gap: 6px; }
.ikona-tel { width: 18px; height: 18px; background: var(--cervena); border-radius: 50%; display: inline-block;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E") center / 100% no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E") center / 100% no-repeat;
    background: #fff; }
.menu-tlacitko { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 48px; height: 44px; padding: 0 10px; background: var(--cervena); border: 0; border-radius: 4px; cursor: pointer; }
.menu-tlacitko span { display: block; height: 3px; background: #fff; border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-tlacitko b { position: absolute; left: -9999px; }
.menu-tlacitko[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-tlacitko[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-tlacitko[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.menu { display: none; max-height: calc(100vh - 80px); overflow-y: auto; }
.menu.otevrene { display: block; }
.menu ul { list-style: none; margin: 0; padding: 0; }
.menu > ul { padding: 4px 0 12px; }
.menu li { position: relative; }
.menu > ul > li > a { display: block; padding: 11px 56px 11px 16px; font: 400 19px/1.2 var(--nadpis); color: #fff; text-decoration: none; text-transform: uppercase; border-top: 1px solid var(--okraj); }
.menu a[aria-current="page"], .menu > ul > li.aktivni > a { color: var(--cervena); }
.podmenu-tlacitko { position: absolute; right: 8px; top: 4px; width: 40px; height: 36px; background: none; border: 0; cursor: pointer; }
.podmenu-tlacitko::before { content: ''; position: absolute; left: 14px; top: 11px; width: 9px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .2s; }
.podmenu-tlacitko[aria-expanded="true"]::before { transform: translateY(5px) rotate(-135deg); }
.podmenu { display: none; padding: 0 0 8px 16px !important; }
.podmenu.otevrene { display: block; }
@media (min-width: 1100px) { .podmenu.otevrene { display: none; } }
.podmenu a { display: block; padding: 7px 16px; color: #ddd; text-decoration: none; font-size: 15px; }
.podmenu a::before { content: ''; display: inline-block; width: 7px; height: 7px; background: var(--cervena); margin-right: 9px; vertical-align: 2px; }

/* společné prvky */
.stitek { display: inline-block; position: relative; margin: 0 0 20px; padding: 4px 22px 4px 18px; background: #fff; color: #000; font-size: 28px; text-transform: none; box-shadow: 8px 8px 0 #000; }
.stitek::after { content: ''; position: absolute; right: -8px; top: 0; width: 16px; height: 16px; background: #000; }
.tlacitka { display: flex; flex-wrap: wrap; gap: 10px; }
.tlacitko { display: inline-block; padding: 11px 20px; background: var(--cervena); color: #fff; border: 2px solid var(--cervena); border-radius: 4px; font: 600 17px/1.2 var(--nadpis); text-transform: uppercase; text-decoration: none; cursor: pointer; }
.tlacitko:hover, .tlacitko:focus-visible { background: var(--cervena-tmava); border-color: var(--cervena-tmava); color: #fff; }
.tlacitko--obrys { background: transparent; border-color: #fff; }
.tlacitko--obrys:hover { background: #fff; color: #000; border-color: #fff; }
.panel { background: var(--panel); border: 1px solid var(--okraj); border-radius: 6px; padding: 24px 16px 28px; margin: 0 0 32px; box-shadow: 0 10px 40px rgba(0,0,0,.6); }
.drobky { margin: 18px 0 10px; font-size: 14px; color: var(--tlumeny); }
.drobky a { color: var(--tlumeny); }
.drobky > * + *::before { content: '›'; margin: 0 8px; color: var(--cervena); }
.zalozky { display: flex; gap: 6px; overflow-x: auto; padding: 4px 0 12px; margin-bottom: 8px; scrollbar-width: thin; }
.zalozky a { flex: 0 0 auto; padding: 6px 12px; background: rgba(0,0,0,.7); border: 1px solid var(--okraj); border-radius: 20px; color: #eee; text-decoration: none; font-size: 14px; white-space: nowrap; }
.zalozky a::before { content: ''; display: inline-block; width: 7px; height: 7px; background: var(--cervena); margin-right: 7px; vertical-align: 1px; }
.zalozky a[aria-current="page"] { background: var(--cervena); border-color: var(--cervena); color: #fff; }
.zalozky a[aria-current="page"]::before { background: #fff; }
.perex { font-size: 18px; color: #e6e6e6; max-width: 820px; margin: 0 0 24px; }

/* dlaždice */
.dlazdice { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.dlazdice a { display: flex; flex-direction: column; height: 100%; background: #000; border: 1px solid var(--okraj); border-radius: 6px; overflow: hidden; color: var(--text); text-decoration: none; transition: transform .15s, border-color .15s; }
.dlazdice a:hover, .dlazdice a:focus-visible { transform: translateY(-3px); border-color: var(--cervena); }
.dlazdice img, .dlazdice__bez { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #222; }
.dlazdice__bez { display: flex; align-items: center; justify-content: center; padding: 10px; font: 600 20px/1.2 var(--nadpis); text-align: center; color: #555; background: repeating-linear-gradient(135deg, #1b1b1b 0 12px, #222 12px 24px); }
.dlazdice h2, .dlazdice h3 { margin: 0; padding: 10px 12px 4px; font-size: 19px; color: #fff; }
.dlazdice h2::before, .dlazdice h3::before { content: ''; display: inline-block; width: 8px; height: 8px; background: var(--cervena); margin-right: 8px; vertical-align: 3px; }
.dlazdice p { margin: 0; padding: 0 12px 12px; font-size: 14px; line-height: 1.45; color: var(--tlumeny); }

/* text produktu */
.text { display: grid; gap: 20px; margin-bottom: 28px; }
.text__obrazek { margin: 0; text-align: center; }
.text__obrazek img { max-height: 340px; width: auto; filter: drop-shadow(0 8px 20px rgba(0,0,0,.6)); }
.text__obsah { font-size: 17px; max-width: 760px; }
.text__obsah h3 { font-size: 21px; margin: 22px 0 8px; color: #fff; }
.text__obsah .zvyraznit { color: #ff4d42; font-weight: 700; }
.text__obsah ul { padding-left: 0; list-style: none; }
.text__obsah ul li { position: relative; padding: 3px 0 3px 34px; }
.text__obsah ul.plusy li::before, .text__obsah ul.minusy li::before { content: ''; position: absolute; left: 0; top: 5px; width: 22px; height: 22px; background: url(ok.png) center / 20px no-repeat; }
.text__obsah ul.minusy li::before { background-image: url(wrong.png); }
.text__obsah ul:not(.plusy):not(.minusy) li::before { content: ''; position: absolute; left: 10px; top: 13px; width: 8px; height: 8px; background: var(--cervena); }
.text__obsah a { color: #ff5a4f; }

/* galerie */
.galerie h2 { font-size: 24px; color: var(--cervena); margin: 8px 0 12px; }
.galerie ul { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.galerie a { display: block; border: 3px solid #fff; background: #fff; line-height: 0; transition: transform .15s; }
.galerie a:hover, .galerie a:focus-visible { transform: scale(1.03); border-color: var(--cervena); }
.galerie img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.vyzva { margin-top: 24px; padding: 18px; border: 2px dashed #555; border-radius: 6px; background: rgba(0,0,0,.4); }
.vyzva p { margin: 0 0 12px; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.92); display: flex; align-items: center; justify-content: center; padding: 16px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; text-align: center; }
.lightbox img { max-width: 92vw; max-height: 82vh; border: 4px solid #fff; }
.lightbox figcaption { color: #ddd; margin-top: 8px; min-height: 1.6em; }
.lightbox button { position: absolute; background: rgba(0,0,0,.5); color: #fff; border: 0; font-size: 42px; line-height: 1; width: 52px; height: 52px; cursor: pointer; border-radius: 50%; }
.lightbox__zavrit { top: 10px; right: 10px; }
.lightbox__predchozi { left: 8px; top: 50%; transform: translateY(-50%); }
.lightbox__dalsi { right: 8px; top: 50%; transform: translateY(-50%); }

/* úvod */
.uvod main { padding-bottom: 8px; }
.kresba { position: relative; max-width: 1060px; margin: 0 auto; line-height: 0; }
.kresba > img { width: 100%; }
.exterier { max-width: var(--sirka); margin: 0 auto; padding: 16px 16px 0; }
.vstupte { position: absolute; display: flex; flex-direction: column; align-items: center; justify-content: center; text-decoration: none; }
.vstupte img { width: 70%; min-width: 40px; }
.vstupte span { position: absolute; left: -9999px; }
.exterier__text { max-width: 860px; margin: 18px auto 0; text-align: center; line-height: 1.6; }
.exterier__text h1 { font-size: 30px; margin: 0 0 10px; }
.exterier__text p { font-size: 17px; color: #ddd; }
.exterier__text .tlacitka { justify-content: center; margin-top: 18px; }
.interier { padding: 28px 16px; }
.cedule { position: absolute; display: block; line-height: 0; transition: transform .15s; }
.cedule img { width: 100%; }
.cedule .cedule__hover { position: absolute; left: 0; top: 0; opacity: 0; transition: opacity .15s; }
.cedule:hover, .cedule:focus-visible { transform: translateY(2px) scale(1.04); }
.cedule:hover .cedule__hover, .cedule:focus-visible .cedule__hover { opacity: 1; }
.kresba__tel { position: absolute; }
.uvod .obal { padding-bottom: 32px; }

/* kontakt a formulář */
.kontakt { display: grid; gap: 28px; }
.kontakt h2 { font-size: 24px; margin: 0 0 12px; }
.kontakt__udaje p { font-size: 17px; }
.kontakt .popis { display: inline-block; min-width: 70px; color: var(--tlumeny); }
.mensi { font-size: 14px !important; color: var(--tlumeny); }
.formular p { margin: 0 0 14px; }
.formular label { display: block; margin-bottom: 4px; font-weight: 700; font-size: 15px; }
.formular input[type=text], .formular input[type=email], .formular input[type=tel], .formular textarea {
    width: 100%; padding: 11px 12px; font: 16px var(--pismo); color: #111; background: #fff; border: 2px solid #fff; border-radius: 4px; }
.formular input:focus, .formular textarea:focus { border-color: var(--cervena); outline: none; }
.formular__radek { display: grid; gap: 0 14px; }
.formular__souhlas label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.formular__souhlas input { width: 20px; height: 20px; margin-top: 3px; flex: 0 0 auto; accent-color: var(--cervena); }
.formular__hlaska { padding: 12px 14px; background: #1d4d1d; border-left: 4px solid #4caf50; }
.formular ul { margin: 4px 0; padding-left: 18px; color: #ff6b61; font-size: 14px; }

/* patička */
.paticka { background: #0a0a0a; border-top: 3px solid var(--cervena); color: var(--tlumeny); font-size: 15px; }
.paticka__in { max-width: var(--sirka); margin: 0 auto; padding: 28px 16px 8px; display: grid; gap: 8px 32px; }
.paticka h2 { font-size: 18px; color: #fff; margin: 0 0 8px; text-transform: uppercase; }
.paticka a { color: #ddd; }
.paticka__menu { list-style: none; margin: 0; padding: 0; columns: 2; }
.paticka__menu li { margin-bottom: 3px; }
.paticka__spodek { max-width: var(--sirka); margin: 0 auto; padding: 14px 16px 20px; border-top: 1px solid #222; font-size: 13px; }
.fb::before { content: 'f'; display: inline-block; width: 22px; height: 22px; margin-right: 8px; background: #1877f2; color: #fff; font: 700 17px/24px Arial, sans-serif; text-align: center; border-radius: 4px; }

@media (min-width: 560px) {
    .formular__radek { grid-template-columns: 1fr 1fr; }
    .dlazdice { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; }
}
@media (min-width: 760px) {
    .panel { padding: 32px 36px 36px; }
    .stitek { font-size: 34px; }
    .exterier__text h1 { font-size: 38px; }
    .text--s-obrazkem { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: start; }
    .text--s-obrazkem .text__obrazek { order: 2; position: sticky; top: 110px; }
    .galerie ul { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
    .kontakt { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
    .paticka__in { grid-template-columns: 1fr 1fr 1.4fr; }
    .logo img { max-width: 260px; }
    .logo { flex-basis: 260px; }
}
@media (min-width: 1100px) {
    .hlavicka__in { padding: 6px 16px 0; }
    .menu-tlacitko { display: none; }
    .hlavicka__tel { font-size: 22px; }
    .menu { display: block; max-height: none; overflow: visible; }
    .menu > ul { max-width: var(--sirka); margin: 0 auto; padding: 0 8px; display: flex; flex-wrap: wrap; }
    .menu > ul > li > a { padding: 10px 11px 12px; border: 0; font-size: 18px; text-transform: none; }
    .menu > ul > li > a:hover { color: var(--cervena); }
    .menu > ul > li + li > a::before { content: ''; position: absolute; left: 0; top: 14px; height: 18px; border-left: 1px solid #444; }
    .podmenu-tlacitko { display: none; }
    .podmenu { position: absolute; left: 0; top: 100%; min-width: 240px; padding: 8px 0 !important; background: #0d0d0d; border: 1px solid #333; border-top: 3px solid var(--cervena); box-shadow: 0 10px 30px rgba(0,0,0,.6); }
    .ma-podmenu:hover > .podmenu, .ma-podmenu:focus-within > .podmenu, .ma-podmenu:hover > .podmenu.otevrene { display: block; }
    .menu > ul > li:nth-last-child(-n+3) > .podmenu { left: auto; right: 0; }
    .podmenu a:hover { background: #1c1c1c; color: #fff; }
    .podmenu { columns: 1; }
    .ma-podmenu .podmenu:has(li:nth-child(13)) { columns: 2; min-width: 440px; }
    .podmenu li { break-inside: avoid; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
@media print {
    .hlavicka, .paticka, .zalozky, .vyzva, .lightbox { display: none !important; }
    body { background: #fff; color: #000; }
    .panel { background: none; border: 0; box-shadow: none; }
}
.formular__hlaska--chyba { background: #4d1d1d; border-left-color: var(--cervena); }
