/* ==========================================================
   STUDIO POHYB — design tokens
   ========================================================== */
:root {
  --bg: #15111A;
  --bg-alt: #1B1420;
  --surface: #241B2B;
  --accent: #FF4D6D;
  --accent-2: #FFC857;
  --text: #F5F1EC;
  --text-muted: #B3A8C2;
  --line: rgba(245, 241, 236, 0.12);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Work Sans", system-ui, -apple-system, sans-serif;

  --container: 1140px;
  --radius: 14px;

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 6rem;
}

/* ==========================================================
   RESET
   ========================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: none; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Logo jako jemná viněta na pozadí celé stránky */
.bg-watermark {
  position: fixed;
  inset: 0;
  z-index: -1;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.bg-watermark img {
  width: 62vmin;
  max-width: 720px;
  min-width: 320px;
  opacity: 0.05;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--bg);
  padding: 0.75rem 1.25rem;
  z-index: 200;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

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

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.1; }
em { font-style: italic; color: var(--accent-2); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-1);
}

/* ==========================================================
   LAYOUT HELPERS
   ========================================================== */
.section-inner, .header-inner, .footer-inner {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-3);
}

.section { padding-block: var(--space-6); scroll-margin-top: 100px; }
.section-alt { background: rgba(27, 20, 32, 0.94); }
.section-head { margin-bottom: var(--space-4); max-width: 42ch; }
.section-head h2 {
  font-size: clamp(1.75rem, 1.3rem + 2vw, 2.75rem);
}

/* ==========================================================
   HEADER / NAV
   ========================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(21, 17, 26, 0.85);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-2);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7em;
}
.logo-mark {
  height: 85px;
  width: auto;
}
.logo-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 2.5rem;
  letter-spacing: 0.01em;
}
.logo-text span { color: var(--accent); font-style: italic; }

.footer-logo .logo-mark { height: 69px; }
.footer-logo .logo-text { font-size: 2.1rem; }

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  margin: -10px;
  z-index: 110;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.primary-nav {
  position: fixed;
  inset: 0 0 0 30%;
  background: var(--bg-alt);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: var(--space-3);
  padding: var(--space-5) var(--space-4);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  border-left: 1px solid var(--line);
}
.primary-nav.is-open { transform: translateX(0); }
.primary-nav a {
  font-size: 1.5rem;
  font-family: var(--font-display);
}
.primary-nav a:hover,
.primary-nav a:focus-visible { color: var(--accent); }

.nav-cta {
  padding: 0.6em 1.3em;
  border: 1px solid var(--accent);
  border-radius: 100px;
  font-size: 1rem !important;
  font-family: var(--font-body) !important;
}

/* ==========================================================
   HERO
   ========================================================== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: var(--space-5) var(--space-3);
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60% 50% at 50% 15%, rgba(255, 77, 109, 0.18), transparent 70%),
    radial-gradient(45% 40% at 85% 80%, rgba(255, 200, 87, 0.10), transparent 70%);
}

.hero-ribbon {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.5;
}
.hero-ribbon path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.5;
  stroke-linecap: round;
  opacity: 0.35;
}

.hero-inner { max-width: 720px; }

.hero-heading {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.3;
  color: var(--accent);
}

.hero-quote {
  font-size: clamp(1.6rem, 1.15rem + 2vw, 2.6rem);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1.35;
  max-width: 30ch;
  margin-inline: auto;
  margin-top: var(--space-3);
  position: relative;
}
.quote-mark {
  display: block;
  font-family: var(--font-display);
  font-style: normal;
  font-size: 3.5rem;
  line-height: 0.5;
  color: var(--accent);
  margin-bottom: 0.4em;
}

.hero-lead {
  margin-top: var(--space-3);
  color: var(--text-muted);
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem);
  max-width: 52ch;
  margin-inline: auto;
}

.hero-actions {
  margin-top: var(--space-4);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  justify-content: center;
}

.hero-scroll {
  position: absolute;
  bottom: var(--space-3);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5em;
}
.hero-scroll span {
  width: 1px;
  height: 22px;
  background: var(--text-muted);
  display: inline-block;
  animation: scrollpulse 1.8s ease-in-out infinite;
}
@keyframes scrollpulse {
  0%, 100% { transform: scaleY(1); opacity: 0.5; }
  50% { transform: scaleY(0.4); opacity: 1; }
}

/* ==========================================================
   BUTTONS
   ========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9em 1.8em;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
  min-height: 44px;
}
.btn-primary {
  background: var(--accent);
  color: #1A0E12;
}
.btn-primary:hover { transform: translateY(-2px); background: #ff6580; }

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ==========================================================
   O NÁS
   ========================================================== */
.o-nas-grid {
  display: grid;
  gap: var(--space-4);
}
.o-nas-text p {
  color: var(--text-muted);
  max-width: 58ch;
  font-size: 1.05rem;
}
.stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-4);
}
.stats li { display: flex; flex-direction: column; }
.stats strong {
  font-family: var(--font-display);
  font-size: 2.25rem;
  color: var(--accent-2);
}
.stats span {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ==========================================================
   AKCE (jediná zvýrazněná událost)
   ========================================================== */
.event-feature {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3) var(--space-4);
  max-width: 640px;
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-4);
  text-align: left;
  font-family: inherit;
  color: inherit;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.event-feature:hover,
.event-feature:focus-visible {
  transform: translateY(-3px);
  border-color: var(--accent);
}
.event-feature-date {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: rgba(255, 77, 109, 0.12);
  border: 1px solid var(--accent);
}
.event-day {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
  color: var(--accent-2);
}
.event-month {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.2em;
}
.event-feature-body {
  flex: 1;
}
.event-feature-body h3 {
  font-size: 1.5rem;
  margin-bottom: 0.3em;
}
.event-place {
  color: var(--text-muted);
}
.event-feature-more {
  flex-shrink: 0;
  font-size: 0.85rem;
  color: var(--accent);
  white-space: nowrap;
  padding-left: calc(88px + var(--space-4));
}
@media (min-width: 560px) {
  .event-feature-more { padding-left: 0; margin-left: auto; }
}

/* ==========================================================
   NOVINKY
   ========================================================== */
.news-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  max-width: 720px;
}
.news-item {
  background: rgba(21, 17, 26, 0.4);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-3) var(--space-4);
}
.news-date {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 0.4em;
}
.news-item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.4em;
}
.news-item p:not(.news-date) {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ==========================================================
   MODAL: Detail akce
   ========================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10, 8, 12, 0.75);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3);
}
.modal-backdrop[hidden] { display: none; }

.modal-dialog {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: 85vh;
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-4);
}
.modal-close {
  position: absolute;
  top: var(--space-2);
  right: var(--space-2);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-muted);
  border-radius: 50%;
  transition: background 0.2s ease, color 0.2s ease;
}
.modal-close:hover,
.modal-close:focus-visible {
  background: var(--line);
  color: var(--text);
}
.modal-dialog h3 {
  font-size: 1.75rem;
  margin-top: 0.2em;
  margin-bottom: 0.2em;
}
.modal-place {
  color: var(--text-muted);
  margin-bottom: var(--space-3);
}
.modal-body p {
  color: var(--text-muted);
  margin-bottom: var(--space-2);
}
.modal-list {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  margin-bottom: var(--space-3);
}
.modal-list strong { color: var(--text); }
.modal-note {
  font-size: 0.8rem;
  font-style: italic;
  opacity: 0.7;
}
.modal-cta {
  margin-top: var(--space-2);
}

/* ==========================================================
   PORTFOLIO / GALLERY
   ========================================================== */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-2);
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  transition: transform 0.4s ease;
}
.gallery-item--tall img { aspect-ratio: 3 / 4; }
.gallery-item--wide { grid-column: span 2; }
.gallery-item--wide img { aspect-ratio: 16 / 9; }
.gallery-item--square img { aspect-ratio: 1 / 1; }

.gallery.gallery--single {
  grid-template-columns: 1fr;
  max-width: 560px;
  margin-inline: auto;
}

.gallery-item:hover img { transform: scale(1.05); }

.gallery-item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: var(--space-2);
  font-size: 0.85rem;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.gallery-item:hover figcaption,
.gallery-item:focus-within figcaption {
  opacity: 1;
  transform: translateY(0);
}

.gallery-note {
  margin-top: var(--space-3);
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================
   KONTAKT
   ========================================================== */
.kontakt-grid {
  display: grid;
  gap: var(--space-5);
}
.kontakt-lead {
  color: var(--text-muted);
  margin-top: var(--space-2);
  max-width: 44ch;
}
.kontakt-info {
  margin-top: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.kontakt-info dt {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.2em;
}
.kontakt-info dd a:hover { color: var(--accent); }

.kontakt-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-4);
}
.form-row { display: flex; flex-direction: column; gap: 0.4em; }
.form-row label { font-size: 0.85rem; color: var(--text-muted); }
.form-row input, .form-row textarea {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.75em 1em;
  min-height: 44px;
}
.form-row input:focus, .form-row textarea:focus {
  border-color: var(--accent);
}
.kontakt-form .btn { align-self: flex-start; }

.form-status {
  font-size: 0.9rem;
  min-height: 1.3em;
  color: var(--text-muted);
}
.form-status--success { color: #7ED9A8; }
.form-status--error { color: var(--accent); }

/* ==========================================================
   FOOTER
   ========================================================== */
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: var(--space-4);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  text-align: center;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  font-size: 0.9rem;
  color: var(--text-muted);
}
.footer-nav a:hover { color: var(--accent); }
.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================
   RESPONSIVE — TABLET (≥600px)
   ========================================================== */
@media (min-width: 600px) {
  .stats { gap: var(--space-5); }
}

/* ==========================================================
   RESPONSIVE — DESKTOP (≥900px)
   ========================================================== */
@media (min-width: 900px) {
  .nav-toggle { display: none; }

  .primary-nav {
    position: static;
    inset: auto;
    flex-direction: row;
    align-items: center;
    background: none;
    border-left: none;
    padding: 0;
    transform: none;
    gap: var(--space-4);
  }
  .primary-nav a { font-size: 0.95rem; font-family: var(--font-body); font-weight: 500; }

  .section-inner { padding-inline: var(--space-4); }

  .o-nas-grid {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
  }

  .gallery { grid-template-columns: repeat(4, 1fr); }
  .gallery-item--wide { grid-column: span 2; }

  .kontakt-grid { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================
   RESPONSIVE — LARGE DESKTOP (≥1200px)
   ========================================================== */
@media (min-width: 1200px) {

}
