/* Restaurace U Švejka – staročeský styl */
@font-face { font-family: "Cinzel"; font-weight: 600; font-display: swap; src: url(/fonts/cinzel-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cinzel"; font-weight: 600; font-display: swap; src: url(/fonts/cinzel-latin-ext-600-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "EB Garamond"; font-weight: 400; font-display: swap; src: url(/fonts/eb-garamond-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "EB Garamond"; font-weight: 400; font-display: swap; src: url(/fonts/eb-garamond-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "EB Garamond"; font-weight: 400; font-style: italic; font-display: swap; src: url(/fonts/eb-garamond-latin-400-italic.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "EB Garamond"; font-weight: 400; font-style: italic; font-display: swap; src: url(/fonts/eb-garamond-latin-ext-400-italic.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "EB Garamond"; font-weight: 700; font-display: swap; src: url(/fonts/eb-garamond-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "EB Garamond"; font-weight: 700; font-display: swap; src: url(/fonts/eb-garamond-latin-ext-700-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --green-900: #0C3329;
  --green-800: #0F4637;
  --gold: #E9B949;
  --gold-frame: #E2A93B;
  --gold-dark: #8A5F14;
  --gold-text: #F0C35A;
  --gold-muted: #D9B25A;
  --cream: #F3E7C4;
  --cream-muted: #CDBF98;
  --ink: #1F1808;
  --display: "Cinzel", "Trajan Pro", "Times New Roman", serif;
  --serif: "EB Garamond", Garamond, Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.55;
  color: var(--cream);
  background-color: var(--green-900);
  background-image:
    radial-gradient(circle at 50% 50%, rgba(255,240,200,.045) 0 14px, transparent 15px),
    radial-gradient(circle at 0 0, rgba(255,240,200,.03) 0 6px, transparent 7px),
    radial-gradient(circle at 100% 100%, rgba(255,240,200,.03) 0 6px, transparent 7px);
  background-size: 56px 56px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-text); text-underline-offset: 3px; }
a:hover { color: #FFE29A; }
a:focus-visible, button:focus-visible { outline: 3px solid #FFE29A; outline-offset: 3px; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px 48px; }

/* ---------- header ---------- */
.top { text-align: center; padding-top: 32px; }
.brand { margin: 0; font-family: var(--display); font-weight: 600; font-size: clamp(2rem, 7.4vw, 5.2rem); line-height: 1.05; letter-spacing: .02em; text-transform: uppercase; }
.brand a { color: var(--gold); text-decoration: none; text-shadow: 0 2px 0 #6E4A0E, 0 6px 14px rgba(0,0,0,.45); }
.top-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; margin-top: 12px; }
.hours-line { margin: 0; font-size: 1.15rem; letter-spacing: .03em; color: var(--gold-muted); }
.lang { display: flex; gap: 4px 6px; font-size: 1.1rem; }
.lang a { color: var(--gold-muted); text-decoration: none; padding: 8px 8px; min-height: 44px; display: inline-flex; align-items: center; }
.lang a:hover { color: #FFE29A; text-decoration: underline; }
.lang a.is-active { color: var(--cream); font-style: italic; font-weight: 700; }

/* ---------- frame ---------- */
.frame { display: block; margin-top: 16px; border: 10px solid var(--gold-frame); background: var(--gold-frame); box-shadow: 0 0 0 2px var(--gold-dark), 0 18px 40px rgba(0,0,0,.45); }

/* hero (home) */
.hero { display: grid; grid-template-columns: 1fr minmax(260px, 300px) 1fr; background: linear-gradient(180deg, #F6CF6E 0%, #E0A23A 100%); }
.hero-photo { padding: 18px; min-height: 300px; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; filter: sepia(.35) saturate(1.15); border: 2px solid var(--gold-dark); }
.hero-center { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 22px 10px; }

.medallion { width: 240px; aspect-ratio: 4 / 3; border-radius: 50%; overflow: hidden; border: 7px solid var(--gold); box-shadow: 0 0 0 3px var(--gold-dark), inset 0 0 18px rgba(0,0,0,.25); background: #8DB3A0; display: flex; align-items: center; justify-content: center; flex: none; }
.medallion img { width: 100%; height: 100%; object-fit: cover; }
.medallion--small { width: 120px; border-width: 5px; box-shadow: 0 0 0 2px var(--gold-dark); }

.ornament { display: block; width: 240px; max-width: 60%; height: 14px; margin: 34px auto 28px; }
.ornament line { stroke: #C9932F; stroke-width: 1.5; }
.ornament rect { fill: #C9932F; }
.ornament--dark { width: 120px; height: 10px; margin: 0; }
.ornament--dark line { stroke: #3A2A0C; }
.ornament--dark rect { fill: #3A2A0C; }

.main-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 26px; font-size: 1.4rem; font-weight: 700; line-height: 1.2; }
.main-nav a { color: var(--ink); text-decoration: none; padding: 8px 4px; min-height: 44px; display: inline-flex; align-items: center; }
.main-nav a:hover { color: #0E5B47; text-decoration: underline; }
.main-nav a[aria-current="page"] { color: #0E5B47; }
.main-nav--vertical { flex-direction: column; align-items: center; gap: 0; font-size: 1.5rem; }
.main-nav--vertical a { padding: 4px; min-height: 44px; }

.subband { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 40px; padding: 16px 20px; background: linear-gradient(180deg, #F6CF6E 0%, #E0A23A 100%); }

/* panel */
.panel {
  background-color: var(--green-800);
  background-image: radial-gradient(circle at 50% 50%, rgba(255,240,200,.04) 0 16px, transparent 17px);
  background-size: 64px 64px;
  border-top: 3px solid var(--gold-dark);
  padding: clamp(24px, 5vw, 52px);
}
.panel-title { margin: 0 0 22px; font-family: var(--display); font-weight: 600; font-size: clamp(1.7rem, 4vw, 2.3rem); line-height: 1.15; color: var(--gold); }
.center { text-align: center; }
.sub { margin: -10px 0 30px; font-style: italic; color: var(--gold-muted); font-size: 1.1rem; }
.note { margin: 40px 0 0; font-style: italic; color: var(--cream-muted); font-size: 1.05rem; }

/* home */
.intro { display: flex; flex-wrap: wrap; gap: 36px; }
.intro-text { flex: 999 1 420px; min-width: 0; text-align: justify; hyphens: auto; }
.intro-text p { margin: 0 0 14px; text-indent: 1.4em; }
.intro-text p:last-child { margin-bottom: 0; }
.accent-line { font-style: italic; color: var(--gold-text); }
.specials { flex: 1 1 260px; align-self: flex-start; border: 2px solid #C9932F; outline: 1px solid #C9932F; outline-offset: 4px; padding: 22px 26px; margin: 5px; background: rgba(0,0,0,.12); }
.specials h3 { margin: 0 0 12px; font-family: var(--display); font-weight: 600; font-size: 1.3rem; color: var(--gold); text-align: center; }
.specials ul { margin: 0; padding: 0; list-style: none; font-size: 1.15rem; line-height: 1.35; }
.specials li { padding: 5px 0 5px 20px; position: relative; }
.specials li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 7px; height: 7px; background: #C9932F; transform: rotate(45deg); }
.specials p { margin: 16px 0 0; text-align: center; }
.more { font-weight: 700; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; text-align: center; }
.stat-num { display: block; font-family: var(--display); font-weight: 600; font-size: clamp(2rem, 5vw, 2.8rem); color: var(--gold); line-height: 1; }
.stat-label { display: block; margin-top: 6px; font-size: 1.1rem; }
.closing { margin: 30px auto 0; max-width: 760px; text-align: center; }

/* menu */
.menu-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 56px; }
.menu-cat h2 { margin: 0 0 12px; padding-bottom: 6px; border-bottom: 1px solid #C9932F; font-family: var(--display); font-weight: 600; font-size: 1.35rem; color: var(--gold); }
.menu-cat ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 1.15rem; }
.menu-cat li { display: flex; align-items: baseline; gap: 8px; }
.dish { flex: 0 1 auto; min-width: 0; }
.leader { flex: 1 1 24px; border-bottom: 2px dotted #8A7A50; min-width: 24px; }
.price { color: var(--gold-text); white-space: nowrap; }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.g-item { margin: 0; padding: 8px; background: var(--gold-frame); box-shadow: 0 6px 16px rgba(0,0,0,.35); }
.g-item img, .g-empty { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.g-empty { display: flex; align-items: center; justify-content: center; background: #B9832C; }
.g-item figcaption { padding: 8px 2px 2px; color: #2A1E08; font-size: 1.05rem; text-align: center; }
.g-link { display: block; }
.lightbox { padding: 0; border: 8px solid var(--gold-frame); background: #000; max-width: 94vw; max-height: 90vh; }
.lightbox::backdrop { background: rgba(5,20,16,.88); }
.lightbox img { max-width: 92vw; max-height: 84vh; width: auto; height: auto; }
.lb-close { position: absolute; top: 6px; right: 6px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--gold-frame); color: var(--ink); font-size: 28px; line-height: 1; cursor: pointer; }

/* contact */
.contact { display: flex; flex-wrap: wrap; gap: 36px; }
.contact-info { flex: 1 1 340px; display: flex; flex-direction: column; gap: 22px; }
.contact-info h2 { margin: 0 0 4px; font-family: var(--display); font-weight: 600; font-size: 1.25rem; color: var(--gold); }
.contact-info p { margin: 0; }
.contact-info em { color: var(--cream-muted); }
.boxed { border: 2px solid #C9932F; outline: 1px solid #C9932F; outline-offset: 4px; padding: 14px 18px; margin: 5px !important; background: rgba(0,0,0,.12); font-size: 1.1rem; }
.btn { display: inline-flex; align-items: center; min-height: 44px; margin-top: 10px; padding: 8px 18px; background: var(--gold-frame); color: var(--ink); text-decoration: none; font-weight: 700; border: 2px solid var(--gold-dark); }
.btn:hover { background: #F6CF6E; color: var(--ink); }
.map { flex: 1 1 360px; min-height: 340px; padding: 8px; background: var(--gold-frame); box-shadow: 0 6px 16px rgba(0,0,0,.35); display: flex; }
.map iframe { width: 100%; min-height: 324px; border: 0; }
.map-empty { flex: 1; display: flex; align-items: center; justify-content: center; background: #B9832C; }

/* footer */
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 20px; padding: 10px 14px; background: var(--gold-frame); color: #2A1E08; font-size: 1rem; }

/* poznámky k doplnění */
.todo { display: inline-block; padding: 2px 8px; font-family: system-ui, sans-serif; font-size: .8rem; font-style: normal; font-weight: 600; letter-spacing: .02em; color: #6B1D1D; background: #FFE9A8; border: 1px dashed #6B1D1D; }
.hero-photo.is-empty, .medallion.is-empty { display: flex; align-items: center; justify-content: center; }
.hero-photo.is-empty { background: #B9832C; background-clip: content-box; }

/* ---------- tablet ---------- */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr 1fr; }
  .hero-center { grid-column: 1 / -1; order: -1; padding-bottom: 6px; }
  .hero-photo { min-height: 200px; padding: 12px; }
  .menu-grid { grid-template-columns: 1fr; }
}

/* ---------- phone ---------- */
@media (max-width: 560px) {
  body { font-size: 1.125rem; }
  .wrap { padding: 0 12px 32px; }
  .top { padding-top: 22px; }
  .top-row { justify-content: center; flex-direction: column; gap: 2px; }
  .hours-line { font-size: 1rem; }
  .frame { border-width: 6px; }
  .medallion { width: 180px; }
  .main-nav--vertical { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; width: 100%; font-size: 1.15rem; }
  .main-nav--vertical a, .subband .main-nav a { justify-content: center; text-align: center; background: rgba(255,255,255,.28); border: 1px solid rgba(110,74,14,.45); padding: 6px 8px; }
  .subband { padding: 12px; gap: 10px; }
  .subband .medallion { display: none; }
  .subband .main-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; width: 100%; font-size: 1.15rem; }
  .hero-photo { min-height: 130px; padding: 8px; }
  .intro-text { text-align: left; hyphens: manual; }
  .stats { grid-template-columns: 1fr; gap: 18px; }
  .menu-cat li .leader { min-width: 16px; }
  .foot { flex-direction: column; text-align: center; font-size: .95rem; }
}
