/* === Patapuf Bar — Pardubice === */

:root {
  --bg:           #0a0908;
  --bg-soft:      #131110;
  --bg-card:      #1a1714;
  --line:         rgba(201, 169, 110, 0.18);
  --text:         #f3ece0;
  --text-dim:     #b9b1a3;
  --text-muted:   #6f6a62;
  --gold:         #c9a96e;
  --gold-soft:    #d9bf8a;
  --copper:       #b87333;
  --serif:        "Cormorant Garamond", "Times New Roman", serif;
  --sans:         "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --max:          1200px;
  --gutter:       clamp(20px, 4vw, 56px);
  --section-y:    clamp(80px, 12vw, 160px);
  --ease:         cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; }

::selection { background: var(--gold); color: var(--bg); }

.skiplink {
  position: absolute; left: -9999px; top: 0;
  background: var(--gold); color: var(--bg); padding: 8px 16px; z-index: 9999;
}
.skiplink:focus { left: 12px; top: 12px; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* === Typografie === */
h1, h2, h3, .h2 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.05;
  margin: 0 0 0.5em;
}
.h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}
.eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1.2rem;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px; background: var(--gold);
  display: inline-block;
}
.muted { color: var(--text-muted); }
.prose p { color: var(--text-dim); margin: 0 0 1em; }

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 28px;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.4s var(--ease);
  white-space: nowrap;
}
.btn--primary {
  background: var(--gold);
  color: var(--bg);
}
.btn--primary:hover {
  background: var(--gold-soft);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -16px rgba(201, 169, 110, 0.6);
}
.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: rgba(243, 236, 224, 0.25);
}
.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* === NAV === */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease), padding 0.4s var(--ease);
}
.nav.is-scrolled {
  padding: 12px 0;
  background: rgba(10, 9, 8, 0.7);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav__brand {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--serif);
  font-size: 1.5rem;
  letter-spacing: 0.01em;
}
.nav__brand-mark {
  width: 36px; height: 36px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 1.1rem;
  color: var(--gold);
}
.nav__brand-text em { color: var(--gold); font-weight: 500; }

.nav__menu { display: flex; gap: 28px; align-items: center; }
.nav__menu a {
  font-size: 0.92rem;
  color: var(--text-dim);
  position: relative;
  transition: color 0.3s var(--ease);
}
.nav__menu a:hover { color: var(--text); }
.nav__menu a:not(.nav__cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav__menu a:not(.nav__cta):hover::after { transform: scaleX(1); }

.nav__cta {
  border: 1px solid var(--gold);
  color: var(--gold) !important;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 0.85rem !important;
  letter-spacing: 0.04em;
}
.nav__cta:hover {
  background: var(--gold);
  color: var(--bg) !important;
}

.nav__burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__burger span {
  display: block; width: 28px; height: 1.5px; background: var(--text); margin: 6px 0;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

@media (max-width: 820px) {
  .nav__menu {
    position: fixed; inset: 0;
    background: var(--bg);
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    transform: translateX(100%);
    transition: transform 0.5s var(--ease);
  }
  .nav__menu a { font-size: 1.4rem; font-family: var(--serif); }
  .nav.is-open .nav__menu { transform: translateX(0); }
  .nav.is-open .nav__burger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav.is-open .nav__burger span:nth-child(2) { opacity: 0; }
  .nav.is-open .nav__burger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .nav__burger { display: block; z-index: 110; position: relative; }
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 140px var(--gutter) 80px;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(184, 115, 51, 0.18), transparent 50%),
    radial-gradient(ellipse at 100% 100%, rgba(201, 169, 110, 0.12), transparent 55%),
    var(--bg);
}
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  animation: float 14s ease-in-out infinite;
}
.hero__glow--1 {
  width: 460px; height: 460px;
  background: radial-gradient(circle, var(--copper), transparent 70%);
  top: -10%; left: -8%;
}
.hero__glow--2 {
  width: 540px; height: 540px;
  background: radial-gradient(circle, var(--gold), transparent 70%);
  bottom: -15%; right: -10%;
  animation-delay: -7s;
}
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(40px, -30px) scale(1.05); }
}
.hero__grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/></svg>");
  opacity: 0.4;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.hero__content {
  position: relative; z-index: 1;
  text-align: center;
  max-width: 880px;
}
.hero__title {
  font-family: var(--serif);
  font-size: clamp(4rem, 14vw, 11rem);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.02em;
  margin: 0.4em 0;
}
.hero__title span {
  display: block;
}
.hero__title-bar {
  font-style: italic;
  font-weight: 500;
  color: var(--gold);
}
.hero__lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--text-dim);
  max-width: 600px;
  margin: 1.5rem auto 2.5rem;
  line-height: 1.6;
}
.hero__cta {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
}
.hero__scroll {
  position: absolute;
  bottom: 32px; left: 50%; transform: translateX(-50%);
  width: 22px; height: 36px;
  border: 1px solid var(--text-muted);
  border-radius: 12px;
  z-index: 1;
}
.hero__scroll span {
  display: block;
  width: 2px; height: 8px; background: var(--gold);
  margin: 6px auto 0;
  border-radius: 2px;
  animation: scroll-dot 2s ease-in-out infinite;
}
@keyframes scroll-dot {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50%      { transform: translateY(10px); opacity: 0.3; }
}

/* === MARQUEE === */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 28px 0;
  background: var(--bg);
}
.marquee__track {
  display: flex; gap: 48px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.4rem, 3.2vw, 2.4rem);
  color: var(--text-dim);
  white-space: nowrap;
  animation: marquee 30s linear infinite;
}
.marquee__track span:nth-child(odd) { color: var(--gold); }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* === SECTIONS === */
.section {
  padding: var(--section-y) 0;
  position: relative;
}
.section--alt { background: var(--bg-soft); }
.section + .section, .section--alt + .section {
  border-top: 1px solid var(--line);
}
.section__head {
  text-align: center;
  margin-bottom: clamp(48px, 7vw, 80px);
}
.section__head .eyebrow { justify-content: center; }
.section__head .eyebrow::before { display: none; }
.section__note {
  text-align: center;
  margin-top: 56px;
  color: var(--text-muted);
  font-style: italic;
  font-family: var(--serif);
  font-size: 1.15rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
@media (max-width: 820px) {
  .grid-2 { grid-template-columns: 1fr; gap: 40px; }
}

/* === CARDS === */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}
.card {
  padding: 40px 32px;
  background: var(--bg-card);
  display: flex; flex-direction: column;
  position: relative;
  transition: background 0.4s var(--ease), transform 0.4s var(--ease);
}
.card:hover {
  background: #211c17;
  transform: translateY(-2px);
}
.card__num {
  position: absolute; top: 24px; right: 28px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.85rem;
  color: var(--gold);
  opacity: 0.6;
}
.card h3 {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 500;
  margin: 0 0 12px;
}
.card p {
  color: var(--text-dim);
  font-size: 0.95rem;
  margin: 0 0 24px;
  flex: 1;
}
.card__price {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold);
  font-size: 1.25rem;
}

/* === HOURS === */
.hours { display: flex; flex-direction: column; }
.hours__row {
  display: flex; justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.05rem;
}
.hours__row:last-child { border-bottom: 0; }
.hours__row--accent {
  color: var(--gold);
  font-weight: 500;
}

/* === CONTACT === */
.contact__address {
  font-style: normal;
  font-family: var(--serif);
  font-size: 1.3rem;
  line-height: 1.55;
  color: var(--text);
  margin: 32px 0;
}
.contact__lines { display: flex; flex-direction: column; gap: 8px; margin-bottom: 32px; }
.contact__lines a {
  color: var(--text-dim);
  position: relative; padding-left: 0;
  transition: color 0.3s var(--ease), padding-left 0.3s var(--ease);
}
.contact__lines a:hover { color: var(--gold); padding-left: 8px; }
.contact__socials { display: flex; gap: 18px; }
.contact__socials a {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--line);
  padding-bottom: 4px;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.contact__socials a:hover { color: var(--gold); border-color: var(--gold); }

/* === FORM === */
.form-wrap__lead {
  color: var(--text-dim);
  margin: 0 0 32px;
}
.form { display: flex; flex-direction: column; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field span {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.field input, .field textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  padding: 12px 0;
  transition: border-color 0.3s var(--ease);
  border-radius: 0;
  resize: vertical;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-bottom-color: var(--gold);
}
.field input:invalid:not(:placeholder-shown),
.field textarea:invalid:not(:placeholder-shown) {
  border-bottom-color: #b85a3a;
}

.honeypot { position: absolute; left: -9999px; top: -9999px; }

.form__footer {
  display: flex; align-items: center; gap: 24px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.form__legal {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0;
  flex: 1;
  min-width: 220px;
}
.form__status {
  margin-top: 4px;
  font-size: 0.95rem;
  min-height: 1.4em;
}
.form__status.is-success { color: var(--gold); }
.form__status.is-error { color: #d97757; }

.form.is-loading [type="submit"] { opacity: 0.5; pointer-events: none; }

/* === FOOTER === */
.footer {
  border-top: 1px solid var(--line);
  padding: 40px 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.footer__inner {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
}
.footer__links { display: flex; gap: 24px; }
.footer__links a:hover { color: var(--gold); }

/* === REVEAL ANIMACE === */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

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