/* Szurmy Cat – styly webu */

:root {
  --cream: #f7f3ee;
  --paper: #fffdf9;
  --ink: #2f2622;
  --muted: #6f625a;
  --line: #e7dfd6;
  --accent: #3d5f99;
  --accent-dark: #2e4a7a;
  --accent-soft: #e8edf6;
  --seal: #7a5a45;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(47, 38, 34, .06), 0 8px 24px rgba(47, 38, 34, .08);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max: 1160px;
  --header-h: clamp(72px, 7vw, 88px);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--seal);
  margin-bottom: .6em;
}

/* ---------- Záhlaví ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background-color .3s, box-shadow .3s;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}
.site-header .brand img {
  height: clamp(46px, 5vw, 62px);
  width: auto;
  transition: filter .3s, opacity .3s;
}
/* Na úvodu je velké logo ve fotce, malé se ukáže až po odrolování */
.site-header.home:not(.scrolled):not(.menu-open) .brand img { opacity: 0; pointer-events: none; }
.site-header.solid,
.site-header.scrolled {
  background: rgba(255, 253, 249, .94);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.solid .brand img,
.site-header.scrolled .brand img { filter: brightness(.22); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  color: #fff;
  text-decoration: none;
  font-size: .95rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background-color .2s, color .2s;
}
.nav a:hover { background: rgba(255, 255, 255, .15); }
.site-header.solid .nav a,
.site-header.scrolled .nav a { color: var(--ink); }
.site-header.solid .nav a:hover,
.site-header.scrolled .nav a:hover { background: var(--accent-soft); color: var(--accent-dark); }
.nav a[aria-current="page"] { font-weight: 700; }

.nav .lang {
  margin-left: 10px;
  border: 1px solid currentColor;
  font-size: .8rem;
  letter-spacing: .06em;
  padding: 4px 10px;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 10px;
  margin-right: -10px;
  color: #fff;
  cursor: pointer;
}
.site-header.solid .nav-toggle,
.site-header.scrolled .nav-toggle { color: var(--ink); }
.nav-toggle svg { width: 26px; height: 26px; display: block; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute;
    top: var(--header-h); left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    padding: 8px 20px 20px;
    box-shadow: 0 12px 24px rgba(47, 38, 34, .12);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a, .site-header .nav a { color: var(--ink); padding: 12px 8px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav .lang { margin: 12px 0 0; align-self: flex-start; border: 1px solid var(--ink); border-radius: 8px; }
  .site-header.menu-open { background: var(--paper); }
  .site-header.menu-open .brand img { filter: brightness(.22); }
  .site-header.menu-open .nav-toggle { color: var(--ink); }
}

/* ---------- Úvodní fotka ---------- */

.hero {
  position: relative;
  min-height: clamp(480px, 74vh, 760px);
  min-height: clamp(480px, 74svh, 760px);
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}
.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0%;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 15, 12, .55) 0%, rgba(20, 15, 12, 0) 28%),
    linear-gradient(0deg, rgba(20, 15, 12, .78) 0%, rgba(20, 15, 12, .2) 55%, rgba(20, 15, 12, 0) 75%);
}
.hero .wrap { position: relative; z-index: 1; width: 100%; padding-bottom: clamp(48px, 9vh, 96px); }
.hero-logo { margin: 0 0 .4em; }
.hero-logo img {
  width: clamp(220px, 34vw, 381px);
  height: auto;
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, .35));
}
.hero p { font-size: 1.15rem; max-width: 42ch; opacity: .92; }
.hero .eyebrow { color: #fff; opacity: .9; font-size: .85rem; text-shadow: 0 1px 8px rgba(0, 0, 0, .5); }

.buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .98rem;
  text-decoration: none;
  transition: background-color .2s, color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: #fff; color: var(--ink); }
.btn-primary:hover { background: var(--accent-soft); color: var(--accent-dark); }
.btn-ghost { color: #fff; border: 1px solid rgba(255, 255, 255, .7); }
.btn-ghost:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); color: #fff; }
.btn-outline { color: var(--accent); border: 1px solid var(--accent); }
.btn-outline:hover { background: var(--accent-soft); }

/* ---------- Sekce ---------- */

.section { padding: clamp(64px, 10vw, 112px) 0; }
.section-alt { background: var(--paper); }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

/* ---------- Vrh ---------- */

.litter {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.litter-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.litter-photos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
}
.litter-photos img:first-child { grid-column: span 2; aspect-ratio: 3 / 2; }

.facts {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.facts li {
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: .9rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
}

.kittens { list-style: none; padding: 0; margin: 0 0 28px; border-top: 1px solid var(--line); }
.kittens li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 1.15rem;
}
.status {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.status-free { background: #e3f1e6; color: #2d6a3e; }
.status-reserved { background: #f6e9dc; color: #8a5320; }

/* ---------- Karty koček ---------- */

.cats-group + .cats-group { margin-top: 56px; }
.cats-group > h3 { font-size: 1.05rem; font-family: var(--sans); font-weight: 600; color: var(--muted); letter-spacing: .04em; margin-bottom: 18px; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 24px;
}
.card {
  display: block;
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: var(--ink);
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(47, 38, 34, .06), 0 16px 36px rgba(47, 38, 34, .14); color: var(--ink); }
.card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.card-body { padding: 16px 18px 20px; }
.card-body h4 { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; margin: 0 0 2px; line-height: 1.3; }
.card-body p { margin: 0; font-size: .9rem; color: var(--muted); }

/* ---------- O ragdollech ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
}
.split img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 1; object-fit: cover; width: 100%; }
.split blockquote {
  margin: 0 0 24px;
  padding-left: 20px;
  border-left: 3px solid var(--seal);
  font-family: var(--serif);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--seal);
}

/* ---------- Kontakt ---------- */

.contact {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  background: var(--ink);
  color: #f3ece5;
  border-radius: calc(var(--radius) * 1.5);
  padding: clamp(32px, 6vw, 64px);
}
.contact h2 { color: #fff; }
.contact .eyebrow { color: #d9b99c; }
.contact a { color: #fff; }
.contact dl { margin: 0; display: grid; gap: 18px; }
.contact dt { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: #bfae9f; }
.contact dd { margin: 2px 0 0; font-size: 1.15rem; }

.social { display: flex; gap: 10px; margin-top: 24px; }
.social a {
  display: inline-flex;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .35);
  color: #fff;
  transition: background-color .2s;
}
.social a:hover { background: rgba(255, 255, 255, .14); }
.social svg { width: 20px; height: 20px; }

/* ---------- Patička ---------- */

.site-footer { padding: 40px 0; color: var(--muted); font-size: .9rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.site-footer a { color: var(--muted); }

/* ---------- Podstránka ---------- */

.page { padding-top: var(--header-h); }
.page-head { padding-top: 48px; padding-bottom: 32px; }
.breadcrumb { font-size: .9rem; color: var(--muted); margin-bottom: 16px; }
.breadcrumb a { color: var(--muted); }
.page-head .subtitle { font-size: 1.15rem; color: var(--muted); }

.profile {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}
.profile-photo img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }

.info {
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}
.info h2 { font-size: 1.4rem; }
.info dl { margin: 0; }
.info dt {
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--seal);
  margin-top: 18px;
}
.info dt:first-child { margin-top: 0; }
.info dd { margin: 4px 0 0; }
.info .small { display: block; font-size: .9rem; line-height: 1.5; color: var(--muted); margin-top: 2px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.tags span { font-size: .85rem; background: var(--accent-soft); color: var(--accent-dark); padding: 3px 10px; border-radius: 999px; font-weight: 600; }

/* ---------- Galerie ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}
.gallery a { display: block; border-radius: 10px; overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .4s; }
.gallery a:hover img { transform: scale(1.04); }

.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: 100vw;
  max-height: 100vh;
  width: 100vw;
  height: 100vh;
}
.lightbox::backdrop { background: rgba(15, 11, 9, .92); }
.lightbox img {
  position: absolute;
  inset: 0;
  margin: auto;
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 96px);
  width: auto;
  height: auto;
  border-radius: 6px;
}
.lightbox button {
  position: absolute;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  border: 0;
  width: 48px; height: 48px;
  border-radius: 50%;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.lightbox button:hover { background: rgba(255, 255, 255, .25); }
.lightbox .lb-close { top: 16px; right: 16px; }
.lightbox .lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-count { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; color: rgba(255, 255, 255, .7); font-size: .9rem; }

/* ---------- Doplňky pro celý web ---------- */

.section-white { background: var(--paper); }
.section-tight { padding: clamp(32px, 5vw, 56px) 0; }
.page-head + .section-tight { padding-top: 0; }
.h-small { font-size: 1.4rem; margin-top: 8px; }
.note { color: var(--muted); font-size: .95rem; }
.sep { border: 0; border-top: 1px solid var(--line); margin: clamp(40px, 6vw, 72px) 0; }
.section .buttons { margin-top: 36px; }

.cards-wide { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.card { position: relative; }
.card-noimg { aspect-ratio: 4 / 5; background: linear-gradient(135deg, var(--accent-soft), var(--line)); }
.card-badge { position: absolute; top: 12px; right: 12px; }
.card-badge .status { box-shadow: 0 2px 8px rgba(0, 0, 0, .15); }
.card-body p { line-height: 1.5; }

.kittens small { font-family: var(--sans); font-size: .85rem; color: var(--muted); margin-left: 6px; }

.litter-photos.single { grid-template-columns: 1fr; }
.litter-photos.single img { aspect-ratio: 4 / 3; grid-column: auto; }
.litter-parents { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.litter-parents figure { margin: 0; }
.litter-parents img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.litter-parents figcaption { font-family: var(--serif); margin-top: 8px; text-align: center; }
.litter-parents .note { grid-column: 1 / -1; text-align: center; margin: 4px 0 0; }

.parents { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 16px; }
.parent {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px;
  text-decoration: none;
  color: var(--ink);
  transition: transform .25s;
}
a.parent:hover { transform: translateY(-2px); color: var(--ink); }
.parent img { width: 96px; height: 96px; object-fit: cover; border-radius: 10px; flex: none; }
.parent .eyebrow { margin-bottom: 2px; }
.parent h3 { font-size: 1.1rem; margin: 0; }
.parent p { margin: 4px 0 0; font-size: .88rem; color: var(--accent); }

.article { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.article-text p { font-size: 1.06rem; }
.article-text p:first-child::first-letter { font-family: var(--serif); font-size: 3.4em; float: left; line-height: .85; margin: 6px 10px 0 0; color: var(--seal); }
.article-photos { display: grid; gap: 16px; }
.article-photos img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.info-btn { margin: 22px 0 0; }

/* Lokální verze: výrazný pruh dole, aby se nedala splést s veřejnou */
.local-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 100;
  background: #b3261e;
  color: #fff;
  text-align: center;
  font-weight: 700;
  letter-spacing: .06em;
  font-size: .85rem;
  padding: 8px 16px;
}
body:has(.local-banner) { padding-bottom: 40px; }

/* ---------- Mobil ---------- */

@media (max-width: 860px) {
  .litter, .split, .contact, .profile, .article, .parents { grid-template-columns: 1fr; }
  .split img { aspect-ratio: 4 / 3; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .cards { grid-template-columns: 1fr 1fr; gap: 14px; }
  .card-body { padding: 12px 12px 14px; }
  .card-body h4 { font-size: 1rem; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 8px; }
  .lightbox .lb-prev, .lightbox .lb-next { top: auto; bottom: 12px; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
