/* Podstránky (fotoateliér, podcast, natáčení, eventy, technika) — stejný svět jako
   gdpr.html: bílý sloupec s menu vlevo, černá zaoblená karta s obsahem vpravo,
   písmo Ballinger. HTML se generuje z _stranky/generuj.mjs. */
:root {
  --ink: #0a0a0a;
  --paper: #ffffff;
  --card: #0a0a0a;
  --text: rgba(255, 255, 255, 0.84);
  --muted: rgba(255, 255, 255, 0.6);
  --line: rgba(255, 255, 255, 0.12);
  --surface: rgba(255, 255, 255, 0.05);
  --side-muted: rgba(10, 10, 10, 0.64);
  --display: "ballinger", "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --menu-w: clamp(260px, 26vw, 400px);
  --gap: 8px;
  --r: 14px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1.5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--display);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 4px; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.page {
  display: grid;
  grid-template-columns: var(--menu-w) minmax(0, 1fr);
  min-height: 100vh;
}

/* ---- Levý sloupec: logo, název, obsah stránky ---- */
.side {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: clamp(2rem, 6vh, 3.5rem) clamp(1.5rem, 2.5vw, 2.5rem) clamp(1.6rem, 4vh, 2.6rem) clamp(1.75rem, 4vw, 4rem);
  overflow-y: auto;
}
.side__logo { display: inline-flex; width: fit-content; color: var(--ink); transition: opacity 0.18s ease; }
.side__logo:hover { opacity: 0.65; }
.side__logo svg { width: 78px; height: auto; display: block; fill: currentColor; }
.side__label {
  margin: clamp(2rem, 7vh, 4.5rem) 0 0;
  display: flex;
  flex-direction: column;
  font-size: clamp(1.4rem, 2.1vw, 2rem);
  line-height: 1.04;
}
.side__label b { font-weight: 700; }
.side__label span { font-weight: 400; }
.toc {
  margin: clamp(1.4rem, 4vh, 2.6rem) 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: clamp(0.1rem, 0.6vh, 0.35rem);
}
.toc a {
  display: inline-block;
  text-decoration: none;
  font-size: clamp(0.98rem, 1.2vw, 1.15rem);
  line-height: 1.35;
  color: var(--side-muted);
  transition: color 0.2s ease, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
.toc a:hover { color: var(--ink); transform: translateX(6px); }
.toc a.is-active { color: var(--ink); font-weight: 700; transform: translateX(12px); }
.side__foot {
  margin-top: auto;
  padding-top: clamp(1.5rem, 4vh, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  font-size: 0.85rem;
  line-height: 1.45;
}
.side__address { margin: 0; color: var(--side-muted); }
.back, .pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  min-height: 40px;
  padding: 0.6rem 1.1rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background 0.18s ease, color 0.18s ease, opacity 0.18s ease;
}
.back:hover { background: var(--ink); color: var(--paper); }
.pill { background: var(--ink); color: var(--paper); }
.pill:hover { opacity: 0.82; }

/* ---- Černá karta s obsahem ---- */
.card {
  margin: var(--gap) var(--gap) var(--gap) 0;
  background: var(--card);
  color: var(--text);
  border-radius: 22px;
  padding: clamp(2.5rem, 8vh, 5.5rem) clamp(1.5rem, 5vw, 5rem) clamp(3rem, 8vh, 5rem);
}
.doc { max-width: 46rem; }
.crumbs {
  margin: 0 0 1.1rem;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: var(--muted);
}
.crumbs li + li::before { content: "/"; margin-right: 0.45rem; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--paper); }
.doc__title {
  margin: 0 0 1rem;
  font-weight: 700;
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: var(--paper);
  text-wrap: balance;
}
.doc__lead {
  margin: clamp(1.2rem, 3vh, 1.8rem) 0 0;
  font-size: 1.12rem;
  line-height: 1.6;
  color: var(--text);
  max-width: 38rem;
}
.akce { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.6rem; }
.cta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.75rem 1.3rem;
  background: var(--paper);
  color: var(--ink) !important;
  border: 1px solid var(--paper);
  border-radius: 999px;
  text-decoration: none !important;
  font-size: 0.95rem;
  transition: opacity 0.18s ease, background 0.18s ease;
}
.cta:hover { opacity: 0.85; }
.cta--ghost { background: transparent; color: var(--paper) !important; border-color: rgba(255, 255, 255, 0.4); }
.cta--ghost:hover { opacity: 1; background: var(--surface); }

/* ---- Fotky: jedna velká vlevo, dvě pod sebou vpravo ---- */
.gal {
  margin: clamp(2rem, 5vh, 3rem) 0 0;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--gap);
}
.gal img {
  width: 100%;
  aspect-ratio: 3 / 2;
  height: auto;
  object-fit: cover;
  border-radius: var(--r);
  background: rgba(255, 255, 255, 0.06);
}
.gal img:first-child { grid-row: span 2; aspect-ratio: auto; height: 100%; }

/* ---- Sekce ---- */
.sec {
  padding: clamp(2rem, 5vh, 2.8rem) 0 0;
  margin-top: clamp(2rem, 5vh, 2.8rem);
  border-top: 1px solid var(--line);
}
.sec h2 {
  margin: 0 0 1.1rem;
  font-weight: 700;
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  line-height: 1.2;
  color: var(--paper);
  text-wrap: balance;
}
.sec h3 { margin: 1.7rem 0 0.55rem; font-weight: 700; font-size: 1.02rem; color: var(--paper); }
.sec p, .sec ul, .sec ol { margin: 0 0 1rem; font-size: 1rem; line-height: 1.7; }
.sec strong { color: var(--paper); font-weight: 700; }
.sec ul { padding: 0; list-style: none; }
.sec ul > li { position: relative; padding-left: 1.15rem; margin-bottom: 0.45rem; }
.sec ul > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.82em;
  width: 0.5rem;
  height: 1px;
  background: rgba(255, 255, 255, 0.5);
}
.sec a {
  color: var(--paper);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.18s ease;
}
.sec a:hover { text-decoration-color: var(--paper); }
.pozn { color: var(--muted); font-size: 0.94rem; }

/* Kroky rezervace — opravdové pořadí */
.sec ol.kroky { padding: 0; list-style: none; counter-reset: krok; }
.kroky li { counter-increment: krok; position: relative; padding-left: 2.1rem; margin-bottom: 0.6rem; }
.kroky li::before {
  content: counter(krok);
  position: absolute;
  left: 0;
  top: 0.18rem;
  width: 1.45rem;
  height: 1.45rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  line-height: 1;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

/* Ceník */
.ceny-wrap { overflow-x: auto; margin: 0 0 1rem; }
.ceny { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.ceny caption { text-align: left; color: var(--muted); font-size: 0.85rem; padding-bottom: 0.4rem; }
.ceny th, .ceny td { padding: 0.75rem 0.8rem 0.75rem 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; vertical-align: top; }
.ceny thead th { color: var(--muted); font-size: 0.85rem; padding-top: 0; }
.ceny .kc { text-align: right; color: var(--paper); white-space: nowrap; padding-right: 0; }
.ceny .ks { text-align: right; color: var(--muted); white-space: nowrap; }
.ceny small { display: block; color: var(--muted); font-size: 0.85rem; }
.ceny .skupina th { color: var(--paper); font-weight: 700; padding-top: 1.4rem; }

/* Časté otázky */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  position: relative;
  padding: 1rem 2rem 1rem 0;
  color: var(--paper);
  font-weight: 700;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0.2rem; top: 0.95rem; font-weight: 400; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 1.1rem; }

/* Recenze */
.rev { display: grid; grid-template-columns: repeat(auto-fit, minmax(13.5rem, 1fr)); gap: var(--gap); margin: 0 0 1rem; }
.rev blockquote { margin: 0; padding: 1.1rem 1.2rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); display: flex; flex-direction: column; gap: 0.8rem; }
.rev blockquote p { margin: 0; }
.rev cite { margin-top: auto; display: flex; flex-direction: column; gap: 0.1rem; font-style: normal; font-size: 0.88rem; line-height: 1.4; color: var(--muted); }
.rev cite b { font-weight: 700; color: var(--text); }

/* Další stránky */
.sec ul.dalsi { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: var(--gap); }
.sec ul.dalsi > li { padding: 0; margin: 0; }
.sec ul.dalsi > li::before { display: none; }
.sec .dalsi a { display: block; height: 100%; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; transition: background 0.18s ease; }
.sec .dalsi a:hover { background: var(--surface); }
.dalsi b { display: block; color: var(--paper); }
.dalsi span { display: block; margin-top: 0.2rem; color: var(--muted); font-size: 0.88rem; line-height: 1.45; }

/* Kontakt */
.contact {
  margin: 0 0 1.4rem;
  padding: 1.1rem 1.3rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 1.4rem;
  font-size: 0.98rem;
}
.contact dt { color: var(--muted); }
.contact dd { margin: 0; color: var(--paper); }
.doc__foot {
  margin-top: clamp(2.5rem, 6vh, 3.5rem);
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

/* ---- Mobil: horní lišta, karta přes celou šířku ---- */
.topbar { display: none; }
@media (max-width: 900px) {
  .page { display: block; }
  .side { display: none; }
  .topbar {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.92);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }
  .topbar svg { width: 64px; height: auto; display: block; fill: var(--ink); }
  .topbar__akce { display: flex; gap: 0.4rem; }
  .topbar .back, .topbar .pill { padding: 0.5rem 0.95rem; font-size: 0.85rem; min-height: 44px; }
  .card { margin: 0 var(--gap) var(--gap); border-radius: 18px; padding: 2.2rem 1rem 2.6rem; }
  .contact { grid-template-columns: 1fr; gap: 0.1rem; }
  .contact dd + dt { margin-top: 0.55rem; }
}
@media (max-width: 600px) {
  .gal { grid-template-columns: 1fr 1fr; }
  .gal img:first-child { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 3 / 2; height: auto; }
  .topbar .back { display: none; }
}

/* ---- V okně na úvodní stránce (html.v-okne): vypadá jako samostatná stránka, „Zpět“ okno zavře ---- */
@media (max-width: 600px) { .v-okne .topbar .back { display: inline-flex; } }
