/* ladka.eu – nový design */
:root {
  --bg: #faf7f2;
  --surface: #ffffff;
  --ink: #2a2522;
  --muted: #6d645d;
  --line: #e7dfd4;
  --accent: #3b7a80;      /* tyrkysová jako odkaz na původní web */
  --accent-ink: #ffffff;
  --accent-soft: #e6f0f0;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(42,37,34,.05), 0 8px 24px rgba(42,37,34,.06);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 18px/1.65 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: #2b5c61; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: .005em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
p { margin: 0 0 1em; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 100; background: var(--surface); padding: 8px 14px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* hlavička */
.top { position: sticky; top: 0; z-index: 20; background: rgba(250,247,242,.92); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.top__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); line-height: 1.2; }
.logo { height: 58px; width: auto; display: block; overflow: visible; }
.brand__tag { font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); max-width: 13em; padding-left: 14px; border-left: 1px solid var(--line); }
@media (max-width: 1020px) { .brand__tag { display: none; } }
@media (max-width: 480px) { .logo { height: 50px; } }
.nav { display: flex; align-items: center; gap: 8px; }
.nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav a { display: block; padding: 8px 12px; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem; }
.nav a:hover { background: var(--accent-soft); color: var(--ink); }
.nav a[aria-current="page"] { background: var(--accent); color: var(--accent-ink); }
.nav .lang { border: 1px solid var(--line); font-size: .8rem; letter-spacing: .06em; margin-left: 6px; }
.navtoggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: var(--surface); border-radius: 10px; cursor: pointer; position: relative; }
.navtoggle span:first-child, .navtoggle span:first-child::before, .navtoggle span:first-child::after { position: absolute; left: 11px; width: 20px; height: 2px; background: var(--ink); content: ""; transition: .2s; }
.navtoggle span:first-child { top: 21px; }
.navtoggle span:first-child::before { left: 0; top: -6px; }
.navtoggle span:first-child::after { left: 0; top: 6px; }
.navtoggle[aria-expanded="true"] span:first-child { background: transparent; }
.navtoggle[aria-expanded="true"] span:first-child::before { top: 0; transform: rotate(45deg); }
.navtoggle[aria-expanded="true"] span:first-child::after { top: 0; transform: rotate(-45deg); }
@media (max-width: 860px) {
  .navtoggle { display: block; }
  .nav { position: absolute; inset: 100% 0 auto 0; background: var(--bg); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 8px 16px 16px; display: none; }
  .nav.open { display: flex; }
  .nav ul { flex-direction: column; }
  .nav a { padding: 12px 14px; font-size: 1.05rem; }
  .nav .lang { align-self: flex-start; margin: 8px 0 0; }
}

/* úvod */
.hero { padding: clamp(32px, 6vw, 72px) 0; }
.hero__in { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; color: var(--accent); font-weight: 600; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.5em; }
.btn { display: inline-block; background: var(--accent); color: var(--accent-ink); text-decoration: none; font-weight: 600; padding: 12px 22px; border-radius: 999px; border: 1px solid var(--accent); }
.btn:hover { background: #2b5c61; color: #fff; }
.btn--ghost { background: transparent; color: var(--accent); }
.btn--ghost:hover { background: var(--accent-soft); color: var(--accent); }
.hero__show { position: relative; aspect-ratio: 508 / 450; background: #fff; border-radius: calc(var(--radius) * 1.5); box-shadow: var(--shadow); overflow: hidden; }
.show__slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .9s ease; }
.show__slide.on { opacity: 1; z-index: 1; }
.show__bg { position: absolute; inset: -20px; width: calc(100% + 40px); height: calc(100% + 40px); max-width: none; object-fit: cover; filter: blur(22px) saturate(1.1); opacity: .45; }
.show__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transform: scale(1); transition: transform 3.6s ease-out; }
.show__slide.on .show__img { transform: scale(1.035); }
.show__nav { position: absolute; top: 50%; z-index: 3; transform: translateY(-50%); width: 42px; height: 42px; border: 0; border-radius: 999px; background: rgba(255,255,255,.85); color: var(--ink); font-size: 1.6rem; line-height: 1; cursor: pointer; opacity: 0; transition: opacity .25s; box-shadow: var(--shadow); }
.show__prev { left: 12px; }
.show__next { right: 12px; }
.hero__show:hover .show__nav, .show__nav:focus-visible { opacity: 1; }
.show__dots { position: absolute; z-index: 3; left: 50%; bottom: 10px; transform: translateX(-50%); display: flex; gap: 2px; padding: 3px 6px; border-radius: 999px; background: rgba(42,37,34,.35); }
.show__dot { width: 20px; height: 20px; padding: 0; border: 0; background: transparent; cursor: pointer; position: relative; }
.show__dot::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: rgba(255,255,255,.6); transition: background .2s, transform .2s; }
.show__dot:hover::before { background: #fff; }
.show__dot.on::before { background: #fff; transform: scale(1.3); }
@media (hover: none) { .show__nav { opacity: 1; } }
@media (max-width: 480px) { .show__dot { width: 18px; height: 18px; } }
@media (max-width: 860px) { .hero__in { grid-template-columns: 1fr; } .hero__show { max-width: 520px; width: 100%; margin-inline: auto; } }

.intro { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(24px, 5vw, 64px); align-items: start; padding-bottom: clamp(32px, 6vw, 64px); }
.intro__text { font-size: 1.08rem; }
.sign { font: italic 600 1.5rem var(--serif); color: var(--accent); }
.motto { margin: 0; padding: 28px 30px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); border-left: 4px solid var(--accent); }
.motto p { font: italic 500 1.5rem/1.35 var(--serif); margin: 0 0 .6em; }
.motto cite { font-style: normal; text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; color: var(--muted); }
.motto--inline { margin-top: 1.5em; }
@media (max-width: 860px) { .intro { grid-template-columns: 1fr; } }

.sec { margin-top: 0; }
.colls { list-style: none; padding: 0; margin: 0 0 clamp(40px, 7vw, 80px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.coll { display: block; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); text-decoration: none; color: var(--ink); overflow: hidden; transition: transform .2s; }
.coll:hover { transform: translateY(-3px); color: var(--ink); }
.coll img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; }
.coll__name { display: block; padding: 12px 16px 0; font: 600 1.35rem var(--serif); }
.coll__n { display: block; padding: 0 16px 14px; color: var(--muted); font-size: .9rem; }
@media (max-width: 860px) { .colls { grid-template-columns: repeat(2, 1fr); } }

/* podstránky */
.page { padding: clamp(28px, 5vw, 56px) 0 clamp(40px, 7vw, 80px); }
.prose { max-width: 68ch; font-size: 1.05rem; }
.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 5vw, 56px); align-items: start; }
.about__img { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about__img img { width: 100%; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } .about__img { max-width: 420px; } }

.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 8px; position: sticky; top: 73px; z-index: 10; background: var(--bg); padding: 10px 0; }
.tabs a { text-decoration: none; padding: 8px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); font-weight: 600; }
.tabs a span { color: var(--muted); font-weight: 400; margin-left: 4px; }
.tabs a:hover { border-color: var(--accent); }
.gal { padding-top: 28px; scroll-margin-top: 140px; }

.grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.tile { display: block; position: relative; background: var(--surface); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); text-decoration: none; }
.tile img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; transition: transform .35s; }
.tile:hover img { transform: scale(1.04); }
.tile__cap { display: block; padding: 8px 12px; font-size: .85rem; color: var(--muted); font-variant-numeric: tabular-nums; }
@media (max-width: 480px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: clamp(32px, 6vw, 56px); }
.card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px 26px; }
.card h2 { font-size: 1.6rem; }
.card ul { padding-left: 1.2em; margin: 0 0 1em; }
.card li { margin-bottom: .4em; }
.card--wide { display: flex; gap: 22px; align-items: center; margin-top: 28px; }
.card__logo { width: 96px; flex: none; }
@media (max-width: 760px) { .cards { grid-template-columns: 1fr; } .card--wide { flex-direction: column; align-items: flex-start; } }

.exhs { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; }
.exh { display: block; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .2s; }
a.exh:hover { transform: translateY(-3px); color: var(--ink); }
.exh img { aspect-ratio: 3 / 4; width: 100%; object-fit: cover; }
.exh__name { display: block; padding: 12px 16px 0; font: 600 1.35rem var(--serif); }
.exh__n { display: block; padding: 0 16px 14px; color: var(--muted); font-size: .9rem; }
.exh--empty .exh__name { padding-bottom: 14px; }
.note { color: var(--muted); font-size: .95rem; margin-top: 18px; }

.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 56px); align-items: start; }
.dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 18px 0 24px; }
.dl dt { color: var(--muted); }
.dl dd { margin: 0; font-weight: 600; }
@media (max-width: 760px) { .contact { grid-template-columns: 1fr; } }

/* patička */
.foot { border-top: 1px solid var(--line); padding: 32px 0 40px; color: var(--muted); font-size: .95rem; }
.foot__in { display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: baseline; }
.foot p { margin: 0; }
.foot__brand { font: italic 600 1.3rem var(--serif); color: var(--ink); }
.foot__copy { margin-left: auto !important; }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 50; background: rgba(20,17,15,.92); display: flex; align-items: center; justify-content: center; }
.lb[hidden] { display: none; }
.lb__fig { margin: 0; max-width: min(92vw, 1100px); max-height: 88vh; display: flex; flex-direction: column; align-items: center; }
.lb__img { max-width: 100%; max-height: 80vh; object-fit: contain; border-radius: 8px; background: #fff; }
.lb__cap { color: #f3ede6; margin-top: 12px; font-size: 1rem; text-align: center; }
.lb button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; cursor: pointer; border-radius: 999px; width: 52px; height: 52px; font-size: 2rem; line-height: 1; }
.lb button:hover { background: rgba(255,255,255,.25); }
.lb__close { top: 16px; right: 16px; }
.lb__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb__next { right: 16px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) { .lb__prev, .lb__next { top: auto; bottom: 18px; transform: none; } .lb__img { max-height: 70vh; } }
@media (prefers-reduced-motion: reduce) {
  *:not(.show__slide) { transition: none !important; scroll-behavior: auto !important; }
  .show__slide { transition: opacity .6s ease !important; }
  .show__slide.on .show__img { transform: none; }
}
