/* ============================================================
   MZ ASSETS — stylesheet
   Paleta vychází z interiérů provozoven: noir s vínovým
   podtónem, mosaz, rudá opona, krémový text.
   ============================================================ */

:root {
  --noir: #0e0709;
  --noir-2: #150a0d;
  --panel: #1c0e12;
  --curtain: #8a2430;
  --brass: #c79a4b;
  --brass-bright: #e9c67c;
  --cream: #f0e6d6;
  --ash: #a5928b;
  --line: rgba(199, 154, 75, 0.28);
  --line-soft: rgba(199, 154, 75, 0.14);

  --font-display: "Cinzel", "Times New Roman", serif;
  --font-body: "Jost", "Avenir Next", "Segoe UI", sans-serif;

  --w-content: 1120px;
  --pad-x: clamp(20px, 4vw, 48px);
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  background: var(--noir);
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--brass-bright); text-decoration: none; }
a:hover { color: var(--cream); }

:focus-visible {
  outline: 2px solid var(--brass-bright);
  outline-offset: 3px;
}

.container {
  max-width: var(--w-content);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

/* ---------- typografie ---------- */

.eyebrow {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--brass);
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--cream);
  line-height: 1.15;
}

.section-head {
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 64px);
}
.section-head h2 {
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: 0.08em;
  margin-top: 14px;
}

/* dvojitá mosazná linka — motiv štítu nad vchodem */
.rule {
  width: 120px;
  margin: 22px auto 0;
  border-top: 1px solid var(--line);
  position: relative;
}
.rule::after {
  content: "";
  position: absolute;
  left: 20px; right: 20px; top: 4px;
  border-top: 1px solid var(--line-soft);
}
.rule i {
  position: absolute;
  top: -4.5px; left: 50%;
  width: 7px; height: 7px;
  transform: translateX(-50%) rotate(45deg);
  background: var(--brass);
}

/* ---------- hlavička ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(14, 7, 9, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.wordmark {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.22em;
  color: var(--cream);
  white-space: nowrap;
}
.wordmark b { font-weight: 700; color: var(--brass-bright); }
.wordmark:hover { color: var(--cream); }

.site-nav ul {
  display: flex;
  gap: clamp(18px, 3vw, 38px);
  list-style: none;
}
.site-nav a {
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ash);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.25s, border-color 0.25s;
}
.site-nav a:hover { color: var(--cream); }
.site-nav a[aria-current="page"] {
  color: var(--brass-bright);
  border-bottom-color: var(--brass);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 9px 14px;
  cursor: pointer;
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: rgba(14, 7, 9, 0.97);
    border-bottom: 1px solid var(--line-soft);
    display: none;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 12px var(--pad-x) 20px;
  }
  .site-nav a {
    display: block;
    padding: 13px 0;
    font-size: 14px;
  }
}

/* ---------- hero (úvodní strana) ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  isolation: isolate;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center 40%;
}
.hero-bg--fontana { background-image: url("img/exterier-fontana.jpg"); }
.hero::before {
  /* ztmavení + vínový nádech přes fotku */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(14, 7, 9, 0.55), rgba(14, 7, 9, 0.55)),
    linear-gradient(180deg, rgba(14, 7, 9, 0.85) 0%, rgba(20, 8, 11, 0.35) 45%, rgba(14, 7, 9, 0.97) 100%);
}

.hero-inner { padding: 120px var(--pad-x) 80px; max-width: 900px; }

.hero .eyebrow { color: var(--brass-bright); }

.hero h1 {
  font-size: clamp(46px, 9vw, 108px);
  font-weight: 700;
  letter-spacing: 0.14em;
  margin: 26px 0 10px;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.6);
}

.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--cream);
  opacity: 0.85;
  margin-top: 18px;
}

.hero-cta {
  margin-top: 44px;
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  padding: 15px 34px;
  border: 1px solid var(--brass);
  color: var(--brass-bright);
  background: rgba(14, 7, 9, 0.35);
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}
.btn:hover {
  background: var(--brass);
  color: var(--noir);
  box-shadow: 0 0 32px rgba(199, 154, 75, 0.35);
}
.btn--ghost { border-color: rgba(240, 230, 214, 0.35); color: var(--cream); }
.btn--ghost:hover {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--noir);
  box-shadow: none;
}

.hero-scroll {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  color: var(--ash);
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
}

/* ---------- pás firemních údajů ---------- */

.facts {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: var(--noir-2);
}
.facts .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(24px, 5vw, 72px);
  padding-top: 34px;
  padding-bottom: 34px;
}
.fact { text-align: center; }
.fact dt {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 6px;
}
.fact dd { font-size: 15.5px; color: var(--cream); }

/* ---------- sekce ---------- */

.section { padding: clamp(72px, 10vw, 128px) 0; }
.section--tint { background: var(--noir-2); }

/* ---------- štítky provozoven ---------- */

.plaques {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 18px;
  list-style: none;
}
.plaque {
  position: relative;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--panel) 0%, var(--noir-2) 100%);
  padding: 44px 20px 40px;
  text-align: center;
  transition: border-color 0.35s, box-shadow 0.35s, transform 0.35s;
}
.plaque::before {
  /* vnitřní linka rámu */
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid var(--line-soft);
  pointer-events: none;
  transition: border-color 0.35s;
}
.plaque h3 {
  font-size: clamp(19px, 2vw, 23px);
  letter-spacing: 0.16em;
  color: var(--cream);
  transition: color 0.35s, text-shadow 0.35s;
}
.plaque .dia {
  display: block;
  width: 7px; height: 7px;
  margin: 0 auto 16px;
  transform: rotate(45deg);
  background: var(--brass);
  opacity: 0.75;
  transition: opacity 0.35s, box-shadow 0.35s;
}
.plaque:hover {
  border-color: var(--brass);
  box-shadow: 0 0 42px rgba(199, 154, 75, 0.16), inset 0 0 30px rgba(138, 36, 48, 0.12);
  transform: translateY(-3px);
}
.plaque:hover::before { border-color: var(--line); }
.plaque:hover h3 {
  color: var(--brass-bright);
  text-shadow: 0 0 24px rgba(233, 198, 124, 0.45);
}
.plaque:hover .dia {
  opacity: 1;
  box-shadow: 0 0 14px rgba(233, 198, 124, 0.8);
}

.section-more { text-align: center; margin-top: 52px; }

/* ---------- galerie ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 240px;
  gap: 14px;
}
.gallery a {
  position: relative;
  overflow: hidden;
  display: block;
  border: 1px solid var(--line-soft);
}
.gallery img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.6s ease;
  filter: saturate(0.92);
}
.gallery a:hover img { transform: scale(1.045); filter: saturate(1.05); }
.gallery a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(14, 7, 9, 0.55));
  opacity: 0.6;
  transition: opacity 0.4s;
}
.gallery a:hover::after { opacity: 0.2; }
.gallery .tall { grid-row: span 2; }
.gallery .wide { grid-column: span 2; }
.gallery--teaser { grid-auto-rows: 260px; }

@media (max-width: 760px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
  .gallery .wide { grid-column: span 2; }
}

/* lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  margin: auto;
  width: fit-content;
  height: fit-content;
  border: none;
  padding: 0;
  background: transparent;
  max-width: min(92vw, 1100px);
}
.lightbox::backdrop { background: rgba(10, 5, 6, 0.92); }
.lightbox img {
  max-height: 84vh;
  width: auto;
  max-width: 100%;
  margin: 0 auto;
  border: 1px solid var(--line);
}
.lightbox-close {
  position: fixed;
  top: 18px; right: 22px;
  background: none;
  border: 1px solid var(--line);
  color: var(--cream);
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 9px 16px;
  cursor: pointer;
}
.lightbox-close:hover { border-color: var(--brass); color: var(--brass-bright); }

/* ---------- podstránkové hero ---------- */

.page-hero {
  position: relative;
  padding: 178px 0 84px;
  text-align: center;
  border-bottom: 1px solid var(--line-soft);
  background:
    radial-gradient(ellipse 70% 90% at 50% -10%, rgba(138, 36, 48, 0.28), transparent 65%),
    var(--noir-2);
}
.page-hero h1 {
  font-size: clamp(34px, 5.5vw, 56px);
  letter-spacing: 0.12em;
  margin-top: 16px;
}
.page-hero p {
  max-width: 560px;
  margin: 20px auto 0;
  color: var(--ash);
}

/* ---------- kontakty ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: stretch;
}
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-card {
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--panel) 0%, var(--noir-2) 100%);
  padding: clamp(30px, 4vw, 52px);
  position: relative;
}
.contact-card::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid var(--line-soft);
  pointer-events: none;
}
.contact-card h2 {
  font-size: clamp(22px, 3vw, 30px);
  letter-spacing: 0.1em;
  margin-bottom: 30px;
}
.contact-card dl { display: grid; gap: 22px; }
.contact-card dt {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 4px;
}
.contact-card dd { font-size: 17px; }
.contact-card a.mail {
  font-size: 19px;
  letter-spacing: 0.03em;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
}
.contact-card a.mail:hover { border-bottom-color: var(--cream); }

.contact-photo {
  position: relative;
  border: 1px solid var(--line-soft);
  min-height: 420px;
  background-size: cover;
  background-position: center;
}
.contact-photo--chodba { background-image: url("img/chodba.jpg"); }

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

.site-footer {
  border-top: 1px solid var(--line-soft);
  background: var(--noir-2);
  padding: 56px 0 40px;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
}
.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  list-style: none;
}
.footer-nav a {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ash);
}
.footer-nav a:hover { color: var(--brass-bright); }
.footer-bottom {
  border-top: 1px solid var(--line-soft);
  padding-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: space-between;
  font-size: 13.5px;
  color: var(--ash);
}
.footer-bottom .age {
  color: var(--brass);
  letter-spacing: 0.08em;
}

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

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
