/* ============================================================
   DAN HONS — FOTOGRAF
   Čistý minimalistický styl · Inter · monochrom
   ============================================================ */

:root {
  --bg: #ffffff;
  --ink: #111111;
  --muted: #757575;
  --line: #e7e7e7;
  --soft: #f4f3f1;
  --sans: "Inter", -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 72px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  animation: pageIn 0.6s ease both;
}

@keyframes pageIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

::selection { background: var(--ink); color: #fff; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
h1 em, h2 em, h3 em {
  font-style: normal;
  color: inherit;
}

.wrap {
  width: min(1140px, 90vw);
  margin: 0 auto;
}

section { position: relative; }

/* ---------- drobné prvky ---------- */

.kicker {
  display: block;
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  margin-bottom: 16px;
}

.lead {
  color: var(--muted);
  max-width: 56ch;
  font-size: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}
.btn .arr { transition: transform 0.3s var(--ease); }
.btn:hover {
  background: var(--ink);
  color: #fff;
}
.btn:hover .arr { transform: translateX(4px); }

.btn--solid {
  background: var(--ink);
  color: #fff;
}
.btn--solid:hover {
  background: transparent;
  color: var(--ink);
}

/* ---------- scroll reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- navigace ---------- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
}
/* pozadí lišty na pseudo-elementu — backdrop-filter přímo na .nav
   by z ní udělal containing block a rozbil fixed mobilní menu */
.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.nav.scrolled::before { opacity: 1; }

.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.logo strong {
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.14em;
}
.logo span {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-links a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  position: relative;
  padding: 6px 0;
  transition: color 0.25s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}
.nav-links a:hover,
.nav-links a.active { color: var(--ink); }
.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav-links .nav-cta {
  border: 1px solid var(--ink);
  border-radius: 2px;
  padding: 9px 20px;
  color: var(--ink);
  transition: background 0.3s ease, color 0.3s ease;
}
.nav-links .nav-cta::after { display: none; }
.nav-links .nav-cta:hover {
  background: var(--ink);
  color: #fff;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
  z-index: 110;
}
.burger i {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.4s var(--ease), opacity 0.3s ease;
}
.burger.open i:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.open i:nth-child(2) { opacity: 0; }
.burger.open i:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 880px) {
  .burger { display: flex; }
  .nav-links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    background: #fff;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
  .nav-links.open { opacity: 1; pointer-events: auto; }
  .nav-links a { font-size: 13px; }
}

/* ---------- hero (úvod) ---------- */

.hero {
  padding: calc(var(--nav-h) + 90px) 0 100px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 70px;
  align-items: center;
}
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
}

.hero-title {
  font-size: clamp(2.2rem, 5.4vw, 3.9rem);
  font-weight: 600;
}
.hero-title .line {
  display: block;
  overflow: hidden;
  padding-top: 0.08em;
  margin-top: -0.08em;
}
.hero-title .line > span {
  display: block;
  transform: translateY(110%);
  animation: lineUp 0.9s var(--ease) forwards;
}
.hero-title .line:nth-child(2) > span { animation-delay: 0.1s; }
.hero-title .line:nth-child(3) > span { animation-delay: 0.2s; }

@keyframes lineUp {
  to { transform: translateY(0); }
}

.hero-kicker {
  opacity: 0;
  animation: fadeUp 0.7s var(--ease) 0.05s forwards;
}

.hero-sub {
  margin-top: 24px;
  max-width: 46ch;
  color: var(--muted);
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.4s forwards;
}
.hero-actions {
  margin-top: 36px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.55s forwards;
}

.hero-photo {
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 0.3s forwards;
}
.hero-photo .ph {
  aspect-ratio: 4 / 5;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

/* ---------- placeholder „fotky" ---------- */

.ph {
  position: relative;
  border-radius: 2px;
  overflow: hidden;
  background: var(--soft);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ph::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}
.ph span {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #a9a59e;
  text-align: center;
  padding: 0 14px;
}
.ph span::before {
  content: "";
  width: 26px;
  height: 26px;
  border: 1px solid #c9c5be;
  border-radius: 50%;
  background: radial-gradient(circle at center, #c9c5be 0 3px, transparent 4px);
}

/* skutečná fotka uvnitř .ph — nahrazuje placeholder overlay a label */
.ph img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ph:has(img)::after,
.ph:has(img) span {
  display: none;
}
/* portrét v sekci O mně je na výšku, obličej nahoře, ať se ořezem neuřízne hlava */
.about-photo .ph img { object-position: center 4%; }

/* poměry stran */
.r-34 { aspect-ratio: 3 / 4; }
.r-45 { aspect-ratio: 4 / 5; }
.r-11 { aspect-ratio: 1 / 1; }
.r-32 { aspect-ratio: 3 / 2; }
.r-169 { aspect-ratio: 16 / 9; }

/* ---------- kategorie na úvodu ---------- */

.cats {
  padding: 100px 0 110px;
  border-top: 1px solid var(--line);
}
.cats-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 820px;
}
@media (max-width: 880px) {
  .cat-grid { grid-template-columns: 1fr; gap: 50px; }
}

.cat-card { display: block; }
.cat-media {
  overflow: hidden;
  border-radius: 2px;
}
.cat-media .ph {
  aspect-ratio: 4 / 5;
  transition: transform 0.8s var(--ease);
}
.cat-card:hover .cat-media .ph { transform: scale(1.03); }

.cat-body {
  padding-top: 22px;
}
.cat-body h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.cat-body p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 14px;
}
.cat-body .more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
}
.cat-body .more .arr { transition: transform 0.3s var(--ease); }
.cat-card:hover .more .arr { transform: translateX(4px); }

/* ---------- služby ---------- */

.services {
  padding: 100px 0 110px;
  border-top: 1px solid var(--line);
}
.services-list {
  margin-top: 50px;
  border-top: 1px solid var(--line);
}
.service-item {
  display: grid;
  grid-template-columns: 48px minmax(180px, 1fr) 1.5fr;
  gap: 24px;
  align-items: baseline;
  padding: 28px 4px;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.4s var(--ease);
}
.service-item:hover { padding-left: 14px; }
.service-item .s-num {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.service-item h3 {
  font-size: 1.2rem;
  font-weight: 600;
}
.service-item p {
  color: var(--muted);
  font-size: 0.95rem;
}
@media (max-width: 640px) {
  .service-item {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 24px 4px;
  }
  .service-item .s-num { font-size: 11px; }
}

/* ---------- o mně ---------- */

.about {
  padding: 100px 0 110px;
  border-top: 1px solid var(--line);
}
.about-grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 880px) {
  .about-grid { grid-template-columns: 1fr; gap: 50px; }
}
.about-photo .ph {
  aspect-ratio: 4 / 5;
}
.about-text p {
  color: var(--muted);
  margin-bottom: 18px;
}
.about-text p strong { color: var(--ink); font-weight: 600; }
.about-text a.textlink {
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  transition: opacity 0.25s ease;
}
.about-text a.textlink:hover { opacity: 0.6; }

/* ---------- FAQ ---------- */

.faq {
  padding: 100px 0 110px;
  border-top: 1px solid var(--line);
}
.faq-list {
  margin-top: 50px;
  max-width: 780px;
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  font-weight: 500;
  font-size: 1.02rem;
  transition: opacity 0.25s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { opacity: 0.6; }
.faq-item summary .ico {
  flex-shrink: 0;
  font-size: 18px;
  font-weight: 400;
  color: var(--ink);
  transition: transform 0.35s var(--ease);
  line-height: 1;
}
.faq-item[open] summary .ico { transform: rotate(45deg); }
.faq-item .faq-a {
  padding: 0 0 24px;
  color: var(--muted);
  max-width: 62ch;
  font-size: 0.95rem;
}

/* ---------- kontakt ---------- */

.contact {
  padding: 100px 0 120px;
  border-top: 1px solid var(--line);
}
.contact-grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; gap: 50px; }
}
.contact-side p { color: var(--muted); margin-bottom: 26px; max-width: 42ch; }
.contact-side .direct {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 30px;
}
.contact-side .direct a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 0.95rem;
  transition: opacity 0.25s ease;
  width: fit-content;
}
.contact-side .direct a:hover { opacity: 0.6; }
.contact-side .direct .dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--ink);
}

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}
.form .full { grid-column: 1 / -1; }
.field label {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 10px 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.98rem;
  transition: border-color 0.3s ease;
}
.field select { cursor: pointer; }
.field select option { background: #fff; color: var(--ink); }
.field textarea { resize: vertical; min-height: 100px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--ink);
}
.field input::placeholder,
.field textarea::placeholder { color: #b8b4ad; }

.form-note {
  grid-column: 1 / -1;
  font-size: 0.8rem;
  color: var(--muted);
}
.form-status {
  grid-column: 1 / -1;
  font-size: 0.9rem;
  color: var(--ink);
  min-height: 1.4em;
}

@media (max-width: 560px) {
  .form { grid-template-columns: 1fr; }
}

/* ---------- patička ---------- */

.footer {
  border-top: 1px solid var(--line);
  padding: 50px 0 40px;
}
.footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer .foot-logo {
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
}
.footer nav {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
}
.footer nav a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.25s ease;
}
.footer nav a:hover { color: var(--ink); }
.footer .copy {
  font-size: 11px;
  color: var(--muted);
  width: 100%;
  text-align: center;
  margin-top: 26px;
  letter-spacing: 0.04em;
}

/* ============================================================
   STRÁNKY KATEGORIÍ
   ============================================================ */

.page-hero {
  padding: calc(var(--nav-h) + 80px) 0 60px;
}
.page-hero .crumbs {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
  display: block;
  opacity: 0;
  animation: fadeUp 0.7s var(--ease) 0.05s forwards;
}
.page-hero .crumbs a { color: var(--ink); }
.page-hero h1 {
  font-size: clamp(2.2rem, 5.6vw, 4rem);
  font-weight: 600;
  overflow: hidden;
  padding-top: 0.08em;
  margin-top: -0.08em;
}
.page-hero h1 > span {
  display: block;
  transform: translateY(110%);
  animation: lineUp 0.9s var(--ease) 0.1s forwards;
}
.page-hero .lead {
  margin-top: 20px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.4s forwards;
}

/* galerie — masonry přes sloupce */
.gallery {
  padding: 30px 0 100px;
}
.masonry {
  columns: 3;
  column-gap: 20px;
}
.masonry .g-item {
  break-inside: avoid;
  margin-bottom: 20px;
  cursor: zoom-in;
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}
.masonry .g-item .ph {
  transition: transform 0.8s var(--ease), opacity 0.4s ease;
}
.masonry .g-item:hover .ph { transform: scale(1.02); }

@media (max-width: 880px) { .masonry { columns: 2; } }
@media (max-width: 520px) { .masonry { columns: 1; } }

/* CTA pás na stránkách kategorií */
.cta-band {
  padding: 90px 0;
  border-top: 1px solid var(--line);
  text-align: center;
}
.cta-band h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.2rem);
  margin-bottom: 12px;
}
.cta-band p { color: var(--muted); margin-bottom: 30px; }

/* další kategorie */
.next-cat {
  display: block;
  padding: 44px 0;
  border-top: 1px solid var(--line);
  transition: background 0.3s ease;
}
.next-cat:hover { background: var(--soft); }
.next-cat .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.next-cat small {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.next-cat .nc-title {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.next-cat .go {
  font-size: 22px;
  color: var(--ink);
  transition: transform 0.35s var(--ease);
  flex-shrink: 0;
}
.next-cat:hover .go { transform: translateX(6px); }

/* ---------- lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.96);
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox .lb-content {
  width: min(820px, 90vw);
  max-height: 84vh;
  transform: scale(0.97);
  transition: transform 0.4s var(--ease);
}
.lightbox.open .lb-content { transform: scale(1); }
.lightbox .lb-content .ph {
  max-height: 84vh;
  border: 1px solid var(--line);
}
.lightbox .lb-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  background: transparent;
  color: var(--ink);
  font-size: 17px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.25s ease, color 0.25s ease;
}
.lightbox .lb-close:hover {
  background: var(--ink);
  color: #fff;
}

/* ---------- rezervace (Evenilo) ---------- */
.booking-card {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 48px 40px;
}
.booking-card h3 { font-size: 1.4rem; margin-bottom: 12px; }
.booking-card p { color: var(--muted); max-width: 42ch; margin-bottom: 28px; }

.cat-grid--single { grid-template-columns: 1fr; max-width: 420px; }

/* ---------- krátký úvodní text ---------- */
.intro {
  padding: 100px 0;
  border-top: 1px solid var(--line);
}
.intro p { color: var(--muted); max-width: 52ch; }
