/* Cidabro – styly webu */

@font-face { font-family: Fraunces; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(fonts/fraunces-latin.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: Fraunces; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(fonts/fraunces-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Inter; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(fonts/inter-latin.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: Inter; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(fonts/inter-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #f7f3ec;
  --surface: #fffdf9;
  --ink: #2a2622;
  --muted: #6d645a;
  --line: #e6ddd0;
  --rust: #b5562b;
  --rust-dark: #8f4220;
  --rust-soft: #f6e1d5;
  --slate: #3d5a6c;
  --slate-soft: #e3eaee;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(42,38,34,.06), 0 8px 24px rgba(42,38,34,.07);
  --wrap: 1180px;
  --serif: Fraunces, Georgia, "Times New Roman", serif;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.65 var(--sans); }
img { max-width: 100%; height: auto; }
a { color: var(--rust-dark); text-underline-offset: 2px; }
a:hover { color: var(--rust); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.2; color: var(--ink); }
h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin: .2em 0 .6em; }
h2 { font-size: clamp(1.35rem, 2.5vw, 1.75rem); margin: 1.6em 0 .6em; }
h3 { font-size: 1.2rem; margin: 1.4em 0 .5em; }
h4 { font-size: .95rem; margin: 1.2em 0 .3em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 200; background: var(--surface); padding: 8px 12px; border-radius: 8px; }
.eyebrow { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--rust); font-weight: 600; margin-bottom: .6em; }

/* ---------- hlavička a menu ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(247,243,236,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; flex-shrink: 0; }
.logo:hover { color: var(--ink); }
.logo-mark { width: 40px; height: 40px; flex-shrink: 0; transition: transform .3s; }
.logo:hover .logo-mark { transform: rotate(-6deg); }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-sub { font: 600 .62rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--rust); margin-bottom: 4px; }
.logo-name { font-family: var(--serif); font-size: 1.55rem; font-weight: 600; letter-spacing: .02em; }
.logo-name span { color: var(--rust); }
#nav { margin-left: auto; }
.nav { display: flex; gap: 2px; align-items: center; margin: 0; padding: 0; list-style: none; }
.nav > li { position: relative; }
.nav > li > a, .nav > li > button { display: block; padding: 8px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font: 500 .95rem var(--sans); background: none; border: 0; cursor: pointer; white-space: nowrap; }
.nav > li > a:hover, .nav > li > button:hover, .nav > li.open > button { background: #efe7da; color: var(--ink); }
.nav > li.active > a, .nav > li.active > button { color: var(--rust-dark); box-shadow: inset 0 -2px 0 var(--rust); border-radius: 8px 8px 0 0; }
.nav > li > button::after { content: ""; display: inline-block; margin-left: 6px; border: 4px solid transparent; border-top-color: currentColor; transform: translateY(2px); }
.dropdown { position: absolute; top: calc(100% + 6px); left: 0; min-width: 230px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 8px; display: none; max-height: calc(100vh - 90px); overflow-y: auto; }
.nav > li:last-of-type .dropdown, .nav > li:nth-last-of-type(2) .dropdown { left: auto; right: 0; }
.dropdown.wide { columns: 2; column-gap: 8px; min-width: 470px; }
.open > .dropdown { display: block; }
.dropdown a { display: block; padding: 6px 10px; border-radius: 6px; color: var(--ink); text-decoration: none; break-inside: avoid; }
.dropdown a:hover, .dropdown a[aria-current] { background: #f3ece1; color: var(--rust-dark); }
.dropdown .group { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); padding: 10px 10px 2px; break-after: avoid; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; margin-left: 8px; }
.lang a { padding: 4px 10px; font-size: .8rem; font-weight: 600; text-decoration: none; color: var(--muted); }
.lang a.on { background: var(--ink); color: #fff; }
.burger { display: none; margin-left: auto; background: none; border: 0; padding: 8px; cursor: pointer; }
.burger span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .2s, opacity .2s; }
.menu-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- obsah stránek ---------- */
.content { padding-top: 36px; padding-bottom: 24px; max-width: 980px; }
.content > h1:first-child, .content > h1:first-of-type { margin-top: 0; }
.content h1 { border: 0 !important; }
.content h2 { text-align: left; }
.content p { text-align: left; }
.content ul, .content ol { padding-left: 1.3em; }
.content address { font-style: normal; }
.bigger { font-size: 1.15em; }
.small { font-size: .85em; }
.content hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }

/* nadpis se jménem psa (dříve obrázek) */
#nadpis { font-family: var(--serif); font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 600; line-height: 1.2; color: var(--ink); margin: 1.2em 0 .5em; }
#nadpis span { display: none; }
.content > #nadpis:first-child { margin-top: 0; }

/* sekce galerií */
h2.gallery { margin-top: 2em; padding-bottom: .3em; border-bottom: 1px solid var(--line); font-size: 1.35rem; }

/* fotky */
.fotky, .fotky_right { text-align: center; margin: 14px 0 18px; color: var(--muted); font-size: .92rem; font-style: italic; }
.ph { display: inline-block; margin: 4px; border-radius: 10px; overflow: hidden; vertical-align: middle; background: #ece4d7; box-shadow: 0 1px 2px rgba(42,38,34,.08); transition: transform .2s, box-shadow .2s; }
.ph:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.ph img { display: block; height: 170px; width: auto; max-width: 100%; object-fit: cover; }
.ph-m img { height: 220px; }
.ph-l img { height: 300px; }
.ph-xl img { height: 360px; }
.foto-popis { text-align: center !important; font-style: normal; color: var(--ink); margin: 14px 0 2px; }
.obr_vlevo { float: left; margin: 4px 16px 8px 0; }
.obr_vpravo { float: right; margin: 4px 0 8px 16px; }
.content::after { content: ""; display: block; clear: both; }

/* údaje psa (h4 + p převedené na seznam) */
dl.udaje { display: grid; grid-template-columns: minmax(130px, max-content) 1fr; gap: 0; margin: 18px 0 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
dl.udaje dt, dl.udaje dd { margin: 0; padding: 9px 16px; border-top: 1px solid var(--line); }
dl.udaje dt:first-of-type, dl.udaje dt:first-of-type + dd { border-top: 0; }
dl.udaje dt { color: var(--muted); font-size: .9rem; background: #fbf8f2; }
dl.udaje dd { font-weight: 500; }

/* tabulky */
.tabulka { overflow-x: auto; margin: 16px 0; -webkit-overflow-scrolling: touch; }
.tabulka table { border-collapse: collapse; min-width: 560px; width: 100%; background: var(--surface); }
.tabulka td, .tabulka th { border: 1px solid var(--line); padding: 6px 8px; font-size: .88rem; text-align: center; vertical-align: middle; }
.tabulka td a img { margin-top: 6px; border-radius: 6px; }
td .parent { text-align: left; font-weight: 600; color: var(--rust-dark); font-size: .9rem; margin: 0; padding: 0; }
table.none { border: 0; width: 100%; max-width: 760px; margin: 0 auto 10px; border-collapse: collapse; }
table.none td { border: 0; padding: 6px; text-align: center; vertical-align: middle; }
table.none td[style*="vertical-align:top"] { text-align: left; font-size: .93rem; }

/* video */
.video { position: relative; max-width: 720px; margin: 16px auto; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
video { max-width: 100%; height: auto; border-radius: var(--radius); }

/* odkazy se šipkou */
.sam_odkaz a, .sam_odkaz_stred a, .odkaz-dal { display: inline-block; padding: 8px 14px; border-radius: 10px; background: var(--slate-soft); color: var(--slate); text-decoration: none; font-weight: 500; margin: 4px 4px 4px 0; }
.sam_odkaz a:hover, .sam_odkaz_stred a:hover, .odkaz-dal:hover { background: var(--slate); color: #fff; }
.odkazy-dal { margin: 28px 0 8px; padding-top: 20px; border-top: 1px solid var(--line); }
p.sipka { text-align: right !important; }

/* ---------- novinky ---------- */
.roky { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 24px; }
.roky a { padding: 4px 12px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--muted); font-size: .85rem; background: var(--surface); }
.roky a:hover { border-color: var(--slate); color: var(--slate); }
.roky a.on { background: var(--slate); border-color: var(--slate); color: #fff; }
#aktuality { margin-top: 0; }
#aktuality > h1 { display: none; }
.udalost { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px 10px; margin: 0 0 22px; box-shadow: var(--shadow); }
.udalost h2 { margin: 0 0 12px; font-size: clamp(1.2rem, 2.3vw, 1.5rem); background: none; text-align: left; }
.udalost h3 { font-size: 1.05rem; margin: 1em 0 .4em; text-align: left; }
.udalost p { text-align: left; border-top: 1px solid var(--line); padding-top: 12px; }
.udalost p.bez_cary, .udalost h2 + p { border-top: 0; padding-top: 0; }
.udalost em { color: var(--muted); }
.udalost .fotky { margin: 10px 0 16px; }

/* ---------- úvodní strana ---------- */
.hero { position: relative; min-height: min(78vh, 760px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: #2a2622; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(25,20,16,.74) 0%, rgba(25,20,16,.35) 45%, rgba(25,20,16,0) 72%); }
.hero .wrap { position: relative; z-index: 1; padding-bottom: 72px; width: 100%; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 0 0 .4em; }
.hero .eyebrow { color: #f0c3a6; }
.hero p { max-width: 540px; font-size: 1.1rem; color: #f3ece4; }
.btn { display: inline-block; padding: 12px 22px; border-radius: 999px; font-weight: 600; text-decoration: none; transition: background .2s; margin: 6px 8px 0 0; }
.btn-primary { background: var(--rust); color: #fff; }
.btn-primary:hover { background: var(--rust-dark); color: #fff; }
.btn-ghost { border: 1.5px solid rgba(255,255,255,.75); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.14); color: #fff; }
.btn-line { border: 1.5px solid var(--line); color: var(--ink); background: var(--surface); }
.btn-line:hover { border-color: var(--rust); color: var(--rust-dark); }
.section { padding: 64px 0 0; }
.breeds { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.breed { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; color: #fff; text-decoration: none; box-shadow: var(--shadow); display: block; }
.breed img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; display: block; }
.breed:hover img { transform: scale(1.04); }
.prolinani { position: absolute; inset: 0; }
.prolinani img { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease-in-out, transform .6s; }
.prolinani img.on { opacity: 1; }
.breed::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,16,12,.78), rgba(20,16,12,0) 58%); }
.breed div { position: absolute; left: 24px; bottom: 20px; right: 24px; z-index: 1; }
.breed h3 { font-size: 1.6rem; margin: 0; color: #fff; }
.breed p { margin: 4px 0 0; color: #eee4da; font-size: .95rem; }
.breed:hover { color: #fff; }
.head-row { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.head-row h2 { margin: 0; }
.about { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.about .fotky { text-align: left; margin: 0; }
.about-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.about-photos a { border-radius: var(--radius); overflow: hidden; display: block; box-shadow: var(--shadow); }
.about-photos img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; display: block; }
.about-photos a:first-child { grid-row: span 2; }
.about-photos a:first-child img { aspect-ratio: auto; }
.timeline { list-style: none; padding: 0; margin: 24px 0 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 18px 22px; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 7px; width: 12px; height: 12px; border-radius: 50%; background: var(--rust); border: 2px solid var(--bg); }
.timeline strong { font-family: var(--serif); font-size: 1.1rem; display: block; }
.home .udalost { margin-bottom: 18px; }

/* kontakt */
.kontakt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.karta { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; box-shadow: var(--shadow); }
.karta h2 { margin-top: 0; }
.karta .big { font-size: 1.2rem; font-weight: 600; }

/* odchovy – přehled vrhů jako dlaždice */
.page-odchovy .content h2, .page-odchovy_sip .content h2 { display: inline-block; margin: 4px; font-size: 1rem; font-family: var(--sans); }
.page-odchovy .content h2 a, .page-odchovy_sip .content h2 a { display: block; padding: 10px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; text-decoration: none; color: var(--ink); box-shadow: 0 1px 2px rgba(42,38,34,.06); }
.page-odchovy .content h2 a:hover, .page-odchovy_sip .content h2 a:hover { border-color: var(--rust); color: var(--rust-dark); }

/* ---------- patička ---------- */
.site-footer { background: #2a2622; color: #d9cfc3; margin-top: 72px; padding: 56px 0 28px; font-size: .95rem; }
.site-footer .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.site-footer h2 { font-family: var(--serif); color: #fff; font-size: 1.1rem; margin: 0 0 12px; }
.site-footer a { color: #f0c3a6; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #f0c3a6; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 4px 0; }
.site-footer .copy { border-top: 1px solid #443d36; margin: 40px 0 0; padding-top: 20px; font-size: .82rem; color: #9b9086; }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; background: rgba(15,12,10,.94); display: flex; align-items: center; justify-content: center; z-index: 300; padding: 48px 56px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 96px); border-radius: 6px; box-shadow: 0 10px 40px rgba(0,0,0,.4); }
.lightbox button { position: absolute; background: rgba(255,255,255,.08); color: #fff; border: 0; font-size: 2rem; line-height: 1; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; }
.lightbox button:hover { background: rgba(255,255,255,.2); }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 8px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; color: #bbb; font-size: .85rem; }

/* ---------- mobil ---------- */
@media (max-width: 960px) {
  .burger { display: block; }
  #nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); max-height: calc(100vh - 68px); overflow-y: auto; }
  .menu-open #nav { display: block; }
  .nav { flex-direction: column; align-items: stretch; padding: 10px 14px 20px; }
  .nav > li > a, .nav > li > button { width: 100%; text-align: left; padding: 11px 12px; }
  .nav > li.active > a, .nav > li.active > button { box-shadow: inset 3px 0 0 var(--rust); border-radius: 0 8px 8px 0; }
  .dropdown, .dropdown.wide { position: static; box-shadow: none; border: 0; padding: 0 0 6px 14px; columns: 1; min-width: 0; max-height: none; }
  .lang { align-self: flex-start; margin: 12px 0 0 12px; }
  .breeds, .about, .kontakt-grid, .site-footer .cols { grid-template-columns: 1fr; }
  .hero { min-height: 72vh; }
  .hero::after { background: linear-gradient(0deg, rgba(25,20,16,.82) 0%, rgba(25,20,16,.25) 62%); }
}
@media (max-width: 600px) {
  body { font-size: 15.5px; }
  .content { padding-top: 24px; }
  .ph { margin: 3px; }
  .ph img { height: 112px; }
  .ph-m img { height: 150px; }
  .ph-l img, .ph-xl img { height: 200px; }
  .udalost { padding: 18px 16px 6px; }
  dl.udaje { grid-template-columns: 1fr; }
  dl.udaje dt { border-top: 1px solid var(--line); padding-bottom: 2px; background: none; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
  dl.udaje dd { border-top: 0; padding-top: 0; }
  .obr_vlevo, .obr_vpravo { float: none; margin: 8px 0; text-align: center; }
  table.none, table.none tbody, table.none tr, table.none td { display: block; width: 100% !important; }
  .lightbox { padding: 56px 8px; }
  .lb-prev, .lb-next { top: auto; bottom: 8px; transform: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
