/* ==========================================================================
   Svadobná Sála Hotel Kotva – štýly verejného webu
   --------------------------------------------------------------------------
   Štruktúra súboru:
     1. Premenné a základ
     2. Opakované prvky (tlačidlá, nadpisy, container)
     3. Hlavička a navigácia
     4. Hero s videom
     5. Sekcie úvodnej stránky
     6. Galéria + lightbox
     7. Gastronómia
     8. Ohlasy a kontakt
     9. Kalendár voľných termínov
    10. Podstránky (galéria akcií, gastronómia)
    11. Pätička
    12. Chýbajúce fotky (placeholder) – zmaž, keď budú všetky fotky nahrané
    13. Responzivita
   ========================================================================== */

/* ---------------------------------------------------------------- 1. ZÁKLAD */

:root {
  --navy: #122233;
  --navy-soft: #1c3346;
  --sand: #f6f2ea;
  --sand-dark: #ebe3d6;
  --gold: #b08a4a;
  --gold-dark: #94723a;
  --white: #ffffff;
  --text: #22303d;
  --text-muted: #5d6b78;
  --line: rgba(18, 34, 51, .12);

  --font-body: 'Kulim Park', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-head: 'Palanquin Dark', Georgia, serif;

  --wrap: 1180px;
  /* Bočný odstup sekcií, ktoré zámerne presahujú šírku stredového
     kontajnera (hero a pás príležitostí). */
  --wide-pad: clamp(24px, 5vw, 80px);
  --radius: 4px;
  --radius-lg: 10px;
  --shadow: 0 18px 50px rgba(18, 34, 51, .12);
  --shadow-soft: 0 8px 24px rgba(18, 34, 51, .08);
  --header-h: 76px;

  /* Logo: veľké biele pred scrollovaním, malé tmavé po ňom.
     Pomer strán SVG je 1315 : 1197, výška sa z šírky dopočíta. */
  --logo-w: 158px;
  --logo-w-small: 56px;
  --logo-ratio: 0.9103;
  /* Odsadenie loga zhora = (výška hlavičky − výška malého loga) / 2.
     Dopočítava sa, takže pri zmene výšky hlavičky alebo veľkosti loga
     – aj v media queries nižšie – sedí vycentrovanie samo. */
  --logo-top: calc((var(--header-h) - var(--logo-w-small) * var(--logo-ratio)) / 2);
  /* Voľný stĺpec v strede hlavičky, aby odkazy nešli pod logo. */
  --logo-gutter: 180px;
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 500;
  line-height: 1.15;
  color: var(--navy);
  margin: 0 0 .6em;
  letter-spacing: -.01em;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--gold-dark); text-decoration: none; }
a:hover { color: var(--navy); }

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

/* ------------------------------------------------- 2. OPAKOVANÉ PRVKY */

.container {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 24px;
}

.section-pad { padding: clamp(60px, 9vw, 120px) 0; }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .8);
  margin: 0 0 1em;
}
.eyebrow.dark { color: var(--gold-dark); }

.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }

/* Vycentrovaný nadpis s ozdobnou linkou pod ním. */
.section-head.center {
  max-width: 680px;
  margin-inline: auto;
  text-align: center;
}
.section-head.center p { color: var(--text-muted); }

.section-title {
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 400;
  letter-spacing: .16em;
  text-transform: uppercase;
}

/* Linka s kosoštvorcom uprostred. */
.rule {
  display: block;
  width: 120px;
  height: 1px;
  margin: 0 auto clamp(20px, 3vw, 32px);
  background: var(--line);
  position: relative;
}
.rule::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  background: var(--gold);
  transform: translate(-50%, -50%) rotate(45deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: 15px 30px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn.full { width: 100%; }

.btn-primary { background: var(--gold); color: var(--white); }
.btn-primary:hover { background: var(--gold-dark); color: var(--white); }

.btn-secondary {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .55);
  color: var(--white);
  backdrop-filter: blur(6px);
}
.btn-secondary:hover { background: var(--white); color: var(--navy); }

.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: #0b1620; color: var(--white); }

.text-link {
  display: inline-block;
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 3px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

/* Odkrývanie pri scrollovaní – skript pridá .is-visible */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

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

/* ---------------------------------------------- 3. HLAVIČKA A NAVIGÁCIA */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  min-height: var(--header-h);
  display: grid;
  /* Krajné stĺpce sú rovnaké, takže prostredný je presne na strede okna –
     tam sadne logo, ktoré je polohované absolútne a môže prečnievať nižšie. */
  grid-template-columns: 1fr var(--logo-gutter) 1fr;
  align-items: center;
  gap: 16px;
  padding: 14px 28px;
}

/* Svetlé pozadie po zoscrollovaní je na pseudoprvku, nie na samotnej
   hlavičke. Dôvod: backdrop-filter robí z prvku „containing block" pre
   position: fixed potomkov – a celoobrazovkové mobilné menu je fixed
   potomok hlavičky. Keby bol filter priamo na <header>, menu by sa
   zmestilo len do výšky hlavičky namiesto cez celú obrazovku. */
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(246, 242, 234, .94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 30px rgba(18, 34, 51, .1);
  opacity: 0;
  transition: opacity .3s ease;
}
.site-header.is-scrolled::before { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .site-header::before { transition: none; }
}

/* Navigácia je celá v ľavom stĺpci, tlačidlo v pravom.
   Prostredný stĺpec zostáva voľný pre logo. */
.site-nav {
  grid-column: 1;
  justify-self: start;
  display: flex;
  align-items: center;
  gap: 26px;
}

.site-nav a {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--white);
  transition: color .2s ease;
}
.site-nav a[aria-current="page"] { border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.is-scrolled .site-nav a,
.page-subpage .site-nav a { color: var(--navy); }
.site-nav a:hover { color: var(--gold); }

/* Logo sedí na strede okna a pred scrollovaním prečnieva pod hlavičku.
   --logo-top je nastavené tak, aby zmenšené logo bolo v hlavičke
   presne na výšku vycentrované: (header-h - výška malého loga) / 2. */
.brand {
  position: absolute;
  top: var(--logo-top);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: block;
  line-height: 0;
}

/* Samotná kresba je maska – farbu určuje background-color, takže sa dá
   plynulo prefarbiť. Pôvodné SVG je čierne a na tmavom pozadí by zaniklo. */
.brand-logo {
  display: block;
  width: var(--logo-w);
  height: calc(var(--logo-w) * var(--logo-ratio));
  background-color: var(--white);
  -webkit-mask: url(../logo/logo.svg) center / contain no-repeat;
  mask: url(../logo/logo.svg) center / contain no-repeat;
  /* Biele logo nad svetlým miestom vo videu – jemný tieň drží kontrast. */
  filter: drop-shadow(0 2px 14px rgba(10, 18, 26, .45));
  transition: width .45s ease, height .45s ease,
              background-color .45s ease, filter .45s ease;
}

/* Po zoscrollovaní (a na podstránkach) sa logo zmenší a stmavne. */
.is-scrolled .brand-logo,
.page-subpage .brand-logo {
  width: var(--logo-w-small);
  height: calc(var(--logo-w-small) * var(--logo-ratio));
  background-color: var(--navy);
  filter: none;
}

@media (prefers-reduced-motion: reduce) {
  .brand-logo { transition: none; }
}

.nav-cta {
  grid-column: 3;
  justify-self: end;
  padding: 11px 24px;
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: var(--radius);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--white);
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.nav-cta:hover { background: var(--white); color: var(--navy); }
.is-scrolled .nav-cta, .page-subpage .nav-cta { border-color: var(--navy); color: var(--navy); }
.is-scrolled .nav-cta:hover, .page-subpage .nav-cta:hover { background: var(--navy); color: var(--white); }

.nav-toggle {
  display: none;
  grid-column: 3;
  justify-self: end;
  width: 46px;
  height: 46px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 1.5px;
  margin: 6px auto;
  background: var(--white);
  transition: transform .3s ease, opacity .3s ease;
}
.is-scrolled .nav-toggle span,
.page-subpage .nav-toggle span { background: var(--navy); }

.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ------------------------------------------------------ 4. HERO S VIDEOM */

/* Hero zámerne NIE JE na celú obrazovku. Pod ním musí ostať vidno kus
   nasledujúcej sekcie – to je to, čo návštevníka navedie scrollovať.
   Strop v svh drží kúsok ďalšieho obsahu viditeľný aj na nízkych
   oknách notebookov, kde by pevná výška zabrala takmer celú plochu. */
.hero {
  position: relative;
  min-height: min(680px, 82svh);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--navy);
}

.hero-media {
  position: absolute;
  inset: 0;
  background: var(--navy) center/cover no-repeat;
}
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  /* Spodok musí byť dosť tmavý – video obsahuje svetlú budovu a text by sa stratil. */
  background:
    linear-gradient(180deg,
      rgba(18, 34, 51, .58) 0%,
      rgba(18, 34, 51, .22) 30%,
      rgba(18, 34, 51, .62) 62%,
      rgba(18, 34, 51, .88) 100%);
}

/* Text nie je v stredovom stĺpci – zámerne presahuje jeho šírku
   a drží sa bližšie k okraju okna. */
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: none;
  padding: 0 var(--wide-pad) clamp(64px, 10vw, 128px);
  color: var(--white);
}
.hero-content h1 { color: var(--white); max-width: 18ch; }

.hero-lead {
  max-width: 48ch;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: rgba(255, 255, 255, .88);
}


/* ------------------------------------------------------------ 5. SEKCIE */

.intro { background: var(--sand); }
.intro-copy h2 { max-width: 22ch; }

.intro-image { position: relative; }
.intro-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.intro-image-cta {
  margin-top: 24px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.intro-image-cta p { font-size: .95rem; color: var(--text-muted); }

.features { background: var(--white); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: clamp(24px, 4vw, 48px);
}

.feature { text-align: center; }

.feature-icon {
  display: block;
  width: 54px;
  margin: 0 auto 20px;
  color: var(--gold);
}
.feature-icon svg { width: 100%; height: auto; }

.feature h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: .8em;
}
.feature p {
  font-size: .9rem;
  color: var(--text-muted);
  margin: 0;
  max-width: 24ch;
  margin-inline: auto;
}

.wedding-story { background: var(--sand); }
.story-layout {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.story-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.story-copy h2 { max-width: 20ch; }

.location { background: var(--navy); color: rgba(255, 255, 255, .82); }
.location h2 { color: var(--white); max-width: 20ch; }
.location .eyebrow.dark { color: var(--gold); }

.location-panel {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.location-facts {
  display: grid;
  gap: 4px;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius-lg);
}
.location-facts span {
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
}
.location-facts strong {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 18px;
}
.location-facts strong:last-child { margin-bottom: 0; }

/* ------------------------------------------------- 5b. TRI PRÍLEŽITOSTI
   Pás fotiek vedľa seba. Na počítači sa fotka pod kurzorom roztiahne
   a zvyšné sa stiahnu – rieši to prepínanie `flex` s prechodom,
   takže sa nehýbe nič iné na stránke. Na mobile sú z toho tri riadky
   cez celú šírku obrazovky.
   ------------------------------------------------------------------------ */

.occasions { background: var(--white); }

/* Pás fotiek má byť širší než zvyšok stránky. */
.occasions .container {
  max-width: none;
  padding-inline: var(--wide-pad);
}

.complex-panels {
  display: flex;
  gap: 0;
  height: clamp(320px, 38vw, 520px);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.complex-panel {
  position: relative;
  flex: 1 1 0%;
  min-width: 0;
  overflow: hidden;
  background: var(--sand-dark);
  transition: flex .45s ease;
}

.complex-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  /* Nepatrné zväčšenie skryje tenkú hranu pri prechode. */
  transform: scale(1.01);
}

/* Naše fotky sály sú svetlé – bez stmavenia by bol biely nápis nečitateľný. */
.complex-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 34, 51, .18) 0%, rgba(18, 34, 51, .52) 100%);
  pointer-events: none;
}

.complex-title {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  transform: translate(-50%, -50%);
  margin: 0;
  width: 100%;
  padding-inline: 10px;
  color: var(--white);
  text-align: center;
  font-size: clamp(1.05rem, 1.9vw, 1.75rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: .06em;
  text-shadow: 0 2px 16px rgba(10, 18, 26, .45);
  pointer-events: none;
}

/* Len na zariadeniach, ktoré naozaj majú kurzor – na dotykových
   displejoch by sa panel „zasekol" zväčšený po klepnutí. */
@media (hover: hover) and (pointer: fine) {
  .complex-panels:hover .complex-panel { flex: 1 1 0%; }
  .complex-panels:hover .complex-panel:hover { flex: 3 1 0%; }
}

@media (prefers-reduced-motion: reduce) {
  .complex-panel { transition: none; }
}

@media (max-width: 860px) {
  /* Tri riadky cez celú šírku okna – aj mimo stredového kontajnera. */
  .complex-panels {
    height: auto;
    flex-direction: column;
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    border-radius: 0;
  }
  .complex-panel {
    flex: 0 0 auto;
    height: clamp(220px, 52vw, 320px);
    transition: none;
  }
}


/* ------------------------------------------------- 5bb. ČO PRIPRAVÍME
   Tri riadky, v ktorých si text a fotka striedajú stranu.
   Text je zarovnaný so stredovým stĺpcom stránky, fotka ide až
   k okraju okna.
   ------------------------------------------------------------------------ */

.services { background: var(--white); }

.service {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.service.is-reversed .service-copy { order: 2; }
.service.is-reversed .service-gallery { order: 1; }

/* ---- text ----
   Blok je široký ako polovica stredového stĺpca a `margin-left: auto`
   ho prisunie k stredu stránky. Jeho vonkajšia hrana tak sadne presne
   na okraj kontajnera, rovnako ako text v ostatných sekciách —
   a to bez počítania so 100vw, ktoré by rátalo aj posuvník. */
.service-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(12px, 1.6vw, 18px);
  width: min(100% - 48px, calc(var(--wrap) / 2 - 24px));
  margin-left: auto;
  padding: clamp(20px, 2.2vw, 30px) clamp(24px, 4vw, 52px) clamp(20px, 2.2vw, 30px) 0;
}
.service.is-reversed .service-copy {
  margin-left: 0;
  margin-right: auto;
  padding-right: 0;
  padding-left: clamp(24px, 4vw, 52px);
}

.service-copy h3 {
  font-size: clamp(1.4rem, 2.4vw, 1.95rem);
  margin: 0;
}
.service-copy p {
  color: var(--text-muted);
  margin: 0;
}

/* ---- fotka ---- */

.service-gallery {
  position: relative;
  overflow: hidden;
  /* Nižší pás – fotka sa viac oreže, čo je v poriadku, motív je v strede. */
  min-height: clamp(182px, 21vw, 294px);
}

/* Polohované absolútne, aby si fotky nevnucovali výšku svojím pomerom
   strán – výšku pásu určuje `min-height` galérie, nie rozmer obrázka. */
.service-track {
  position: absolute;
  inset: 0;
  display: flex;
  transition: transform .5s ease;
}
@media (prefers-reduced-motion: reduce) {
  .service-track { transition: none; }
}

.service-track img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Klik kamkoľvek na fotku posunie na ďalšiu. */
  cursor: pointer;
}

/* ---- ovládanie na fotke ----
   Sedí pri vonkajšej hrane, teda čo najďalej od mäkkého prechodu. */
.service-controls {
  position: absolute;
  bottom: 16px;
  right: 20px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
}
.service.is-reversed .service-controls { right: auto; left: 20px; }

.service-arrow {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .85);
  border: 0;
  border-radius: 50%;
  color: var(--navy);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  transition: background .2s ease;
}
.service-arrow:hover { background: var(--white); }

.service-dots { display: flex; gap: 7px; }

.service-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  background: rgba(255, 255, 255, .55);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(10, 18, 26, .35);
  transition: background .2s ease, transform .2s ease;
}
.service-dot.is-active {
  background: var(--white);
  transform: scale(1.35);
}

@media (max-width: 860px) {
  /* Pod sebou: najprv fotka, potom text – v oboch variantoch rovnako. */
  .service,
  .service.is-reversed { grid-template-columns: 1fr; }
  .service .service-gallery,
  .service.is-reversed .service-gallery { order: 1; min-height: 0; aspect-ratio: 16 / 7; }
  .service .service-copy,
  .service.is-reversed .service-copy {
    order: 2;
    width: 100%;
    margin: 0;
    padding: clamp(20px, 5vw, 32px) var(--wide-pad);
  }
}


/* ----------------------------------------------------- 5c. POSLEDNÉ AKCIE
   Nadpis sekcie je nad zoznamom. Každá akcia je jedna dlaždica:
   jedna fotka a pod ňou dátum, názov a počet hostí. V riadku je
   viac dlaždíc vedľa seba a celá dlaždica je odkaz na galériu
   tej akcie – preto tu nie sú šípky ani tlačidlá.
   ------------------------------------------------------------------------ */

.recent { background: #f3ece7; }

.recent-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 2.8vw, 38px) clamp(18px, 2.4vw, 32px);
}

/* Celá dlaždica je odkaz – preto <a> a nie <article>. */
.recent-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  color: inherit;
}
.recent-card:hover { color: inherit; }

.recent-thumb {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--sand);
}
.recent-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform .6s ease;
}
.recent-card:hover .recent-thumb img,
.recent-card:focus-visible .recent-thumb img { transform: scale(1.045); }

.recent-meta { display: block; }

.recent-date {
  display: block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: .55em;
}

.recent-title {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: .3em;
  transition: color .2s ease;
}
.recent-card:hover .recent-title,
.recent-card:focus-visible .recent-title { color: var(--gold-dark); }

.recent-guests {
  display: block;
  font-size: .92rem;
  color: var(--text-muted);
}

@media (prefers-reduced-motion: reduce) {
  .recent-thumb img,
  .recent-title { transition: none; }
  .recent-card:hover .recent-thumb img { transform: none; }
}

.recent-empty {
  padding: 32px;
  text-align: center;
  color: var(--text-muted);
  background: var(--white);
  border-radius: var(--radius-lg);
}


/* -------------------------------------------------- 6. GALÉRIA + LIGHTBOX */

.gallery { background: var(--white); overflow: hidden; }

.gallery-hint {
  font-size: .85rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.gallery-track {
  overflow: hidden;
  /* jemné zmiznutie na okrajoch pásu */
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.gallery-strip { display: flex; width: max-content; }
.gallery-strip.is-running { animation: gallery-scroll 70s linear infinite; }
.gallery-track:hover .gallery-strip.is-running,
.gallery-strip.is-paused { animation-play-state: paused; }

@keyframes gallery-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.gallery-set { display: flex; gap: 18px; padding-right: 18px; }
.gallery-set figure { margin: 0; flex: 0 0 auto; }

.gallery-open {
  display: block;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.gallery-open img {
  width: clamp(260px, 32vw, 420px);
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform .6s ease;
}
.gallery-open:hover img { transform: scale(1.04); }

.gallery-fallback {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.gallery-fallback figure { margin: 0; }
.gallery-fallback img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

@media (prefers-reduced-motion: reduce) {
  .gallery-strip.is-running { animation: none; }
  .gallery-track { overflow-x: auto; }
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(10, 18, 26, .94);
  opacity: 0;
  transition: opacity .25s ease;
}
.lightbox.is-open { opacity: 1; }
.lightbox[hidden] { display: none; }

.lightbox-figure {
  margin: 0;
  max-width: min(1200px, 94vw);
  max-height: 88svh;
  display: grid;
  gap: 14px;
  justify-items: center;
}
.lightbox-figure img,
.lightbox-figure video {
  max-width: 100%;
  max-height: 78svh;
  border-radius: var(--radius);
  object-fit: contain;
}
.lightbox-figure [hidden] { display: none; }

.lightbox-figure figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  font-size: .85rem;
  color: rgba(255, 255, 255, .78);
  text-align: center;
}
.lightbox-counter { color: var(--gold); }

.lightbox-close,
.lightbox-nav {
  position: absolute;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  color: var(--white);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  transition: background .2s ease;
}
.lightbox-close:hover,
.lightbox-nav:hover { background: rgba(255, 255, 255, .25); }

.lightbox-close { top: 22px; right: 22px; font-size: 1.5rem; }
.lightbox-prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 22px; top: 50%; transform: translateY(-50%); }

/* ------------------------------------------------------- 7. GASTRONÓMIA */

.gastro { background: var(--sand); }
.gastro-lead { max-width: 56ch; color: var(--text-muted); }

.gastro-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 28px;
}

.gastro-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.gastro-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.gastro-text { padding: 26px; }
.gastro-text h3 { margin-bottom: .4em; }
.gastro-text p { font-size: .95rem; color: var(--text-muted); margin: 0; }

.gastro-cta {
  display: grid;
  gap: 20px;
  justify-items: start;
  align-items: center;
  margin-top: 44px;
  padding: clamp(28px, 4vw, 44px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.gastro-cta p { max-width: 62ch; color: var(--text-muted); margin: 0; }

/* Pás jedál na podstránke gastronómie */
.dish-row { margin-bottom: clamp(40px, 6vw, 72px); }
.dish-row-title { margin-bottom: 24px; }

.dish-track {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.dish-strip { display: flex; width: max-content; }
.dish-strip.is-running { animation: gallery-scroll 48s linear infinite; }
.dish-track:hover .dish-strip.is-running { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .dish-strip.is-running { animation: none; }
  .dish-track { overflow-x: auto; }
}

.dish-set { display: flex; gap: 18px; padding-right: 18px; }

.dish { margin: 0; flex: 0 0 auto; width: clamp(220px, 26vw, 300px); }
.dish button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.dish img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform .6s ease;
}
.dish button:hover img { transform: scale(1.05); }
.dish figcaption {
  margin-top: 12px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--navy);
}

.gastro-steps { background: var(--white); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 28px;
}
.step {
  padding: clamp(26px, 3.5vw, 40px);
  background: var(--sand);
  border-radius: var(--radius-lg);
}
.step span {
  display: block;
  font-family: var(--font-head);
  font-size: .85rem;
  letter-spacing: .14em;
  color: var(--gold);
  margin-bottom: 16px;
}
.step p { font-size: .95rem; color: var(--text-muted); margin: 0; }

.gastro-diet { background: var(--sand); }
.diet-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 18px; }
.diet-list li {
  padding: 24px;
  background: var(--white);
  border-left: 2px solid var(--gold);
  border-radius: var(--radius);
}
.diet-list strong {
  display: block;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 4px;
}
.diet-list span { font-size: .95rem; color: var(--text-muted); }
.diet-list span a { text-decoration: underline; }

/* Názov prevádzkovateľa v ochrane súkromia – vlastný riadok. */
.operator-name {
  display: block;
  color: var(--navy);
  font-weight: 600;
}

/* --------------------------------------------------- 8. OHLASY A KONTAKT */

.testimonials { background: var(--white); }

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.testimonial-card {
  background: var(--sand);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.testimonial-photo { position: relative; }
.testimonial-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.testimonial-names {
  position: absolute;
  inset: auto 0 0;
  padding: 26px 22px 16px;
  background: linear-gradient(180deg, transparent, rgba(18, 34, 51, .85));
}
.testimonial-names span {
  font-family: var(--font-head);
  font-size: 1.05rem;
  color: var(--white);
}

.testimonial-quote { padding: 24px; }
.testimonial-quote p {
  font-size: .95rem;
  font-style: italic;
  color: var(--text-muted);
  margin: 0;
}

/* Karta bez fotky – používa sa, kým nie sú v administrácii skutočné recenzie
   s fotkami. Úvodzovka nahrádza fotku, aby karta nepôsobila prázdno. */
.testimonial-card.is-text { padding: 8px; }
.testimonial-card.is-text .testimonial-quote { position: relative; padding: 34px 26px 28px; }
.testimonial-card.is-text .testimonial-quote::before {
  content: '\201E';
  position: absolute;
  top: 6px;
  left: 20px;
  font-family: var(--font-head);
  font-size: 3.4rem;
  line-height: 1;
  color: var(--gold);
  opacity: .5;
}
.testimonial-card.is-text h3 {
  font-size: 1.1rem;
  margin-bottom: .5em;
}

.testimonials-empty {
  padding: 32px;
  text-align: center;
  color: var(--text-muted);
  background: var(--sand);
  border-radius: var(--radius-lg);
}

.contact { background: var(--sand); }

.contact-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.contact-copy h2 { max-width: 16ch; }

.contact-list { display: grid; gap: 10px; margin-top: 28px; }
.contact-list a, .contact-list span {
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: var(--navy);
}
.contact-list a:hover { color: var(--gold-dark); }

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: clamp(26px, 4vw, 44px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}
.contact-form label {
  display: grid;
  gap: 8px;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.contact-form .full { grid-column: 1 / -1; }

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 13px 15px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  color: var(--text);
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .2s ease, background .2s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
  background: var(--white);
  border-color: var(--gold);
  outline: none;
}
.contact-form textarea { resize: vertical; }

/* Pole s dátumom + kalendárová ikona */
.date-field { position: relative; display: block; }
.date-field input { padding-right: 76px; cursor: pointer; }

.date-field-icon {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  width: 20px;
  color: var(--gold-dark);
  pointer-events: none;
}
.date-field-icon svg { width: 100%; height: auto; }

.date-field-clear {
  position: absolute;
  top: 50%;
  right: 42px;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  background: var(--sand-dark);
  border: 0;
  border-radius: 50%;
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}
.date-field-clear[hidden] { display: none; }
.date-field-clear:hover { background: var(--gold); color: var(--white); }

.form-note {
  grid-column: 1 / -1;
  font-size: .85rem;
  color: var(--text-muted);
  margin: 0;
}
.form-note[hidden] { display: none; }
.form-consent { font-size: .78rem; }

/* Pasca na roboty – pole musí byť pre človeka neviditeľné, ale pre
   prehliadač „existujúce". display:none by niektoré roboty odhalili. */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-note.is-error { color: #a8321f; }
.form-note.is-ok { color: #1d6b4a; }

/* ----------------------------------------- 9. KALENDÁR VOĽNÝCH TERMÍNOV */

.date-modal {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  padding: 20px;
}
.date-modal[hidden] { display: none; }

.date-modal-veil { position: absolute; inset: 0; background: rgba(10, 18, 26, .66); }

.date-modal-card {
  position: relative;
  width: min(460px, 100%);
  max-height: 92svh;
  overflow-y: auto;
  padding: clamp(24px, 4vw, 36px);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.date-modal-card h3 { margin-bottom: 1.2em; }

.date-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: var(--sand);
  border: 0;
  border-radius: 50%;
  color: var(--navy);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}
.date-modal-close:hover { background: var(--gold); color: var(--white); }

.avail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.avail-month {
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: var(--navy);
  text-transform: capitalize;
}
.avail-arrow {
  width: 38px;
  height: 38px;
  background: var(--sand);
  border: 0;
  border-radius: 50%;
  color: var(--navy);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}
.avail-arrow:hover:not(:disabled) { background: var(--gold); color: var(--white); }
.avail-arrow:disabled { opacity: .35; cursor: not-allowed; }

.avail-weekdays,
.avail-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
}
.avail-weekdays {
  margin-bottom: 8px;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
}

.avail-day {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 0;
  background: var(--sand);
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .92rem;
  color: var(--navy);
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.avail-day.is-empty { background: none; cursor: default; }
.avail-day.is-free:hover { background: var(--gold); color: var(--white); }

.avail-day.is-tentative {
  background: #fdf3dd;
  border-color: #e3bf63;
  color: #8a6a1f;
}
.avail-day.is-busy,
.avail-day.is-past {
  background: var(--sand-dark);
  color: #9aa5ae;
  cursor: not-allowed;
  text-decoration: line-through;
}
.avail-day.is-selected { background: var(--navy); color: var(--white); }

.avail-foot { margin-top: 20px; }

.avail-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: .78rem;
  color: var(--text-muted);
}
.avail-legend span { display: inline-flex; align-items: center; gap: 7px; }

.a-dot {
  width: 11px;
  height: 11px;
  border-radius: 3px;
  background: var(--sand);
  border: 1px solid var(--line);
}
.a-dot.a-free { background: var(--sand); }
.a-dot.a-tent { background: #fdf3dd; border-color: #e3bf63; }
.a-dot.a-busy { background: var(--sand-dark); }

.avail-note {
  margin-top: 14px;
  font-size: .82rem;
  color: var(--text-muted);
}

/* ------------------------------------------------------- 10. PODSTRÁNKY */

.page-subpage { padding-top: var(--header-h); }

.subpage-head {
  padding: clamp(48px, 7vw, 92px) 0 clamp(28px, 4vw, 48px);
  background: var(--sand);
}
/* Drobček – ukazuje, kde v štruktúre webu návštevník je.
   Prvá položka (Hotel Kotva) je zatiaľ len text; odkazom sa stane,
   až keď bude existovať úvodná stránka hotela. */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.breadcrumb > * + *::before {
  content: '›';
  margin-right: 10px;
  color: var(--gold);
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--gold-dark); }
.breadcrumb [aria-current="page"] { color: var(--navy); }

.subpage-head h1 { max-width: 24ch; }
.subpage-lead { max-width: 62ch; font-size: 1.1rem; color: var(--text-muted); }

.subpage-cta {
  padding: clamp(52px, 7vw, 96px) 0;
  background: var(--navy);
  text-align: center;
}
.subpage-cta h2 { color: var(--white); max-width: 26ch; margin-inline: auto; }

.albums { background: var(--white); }
.albums-loading,
.albums-empty {
  padding: 40px;
  text-align: center;
  color: var(--text-muted);
  background: var(--sand);
  border-radius: var(--radius-lg);
}

.album { margin-bottom: clamp(44px, 6vw, 80px); }
.album:last-child { margin-bottom: 0; }

.album-head { margin-bottom: 24px; }
.album-head h2 { margin-bottom: .3em; }
.album-date {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-dark);
}
.album-head p { max-width: 70ch; color: var(--text-muted); }

/* ---- Ohlas na stránke akcie: medzi hero fotkou a mriežkou ---- */

.event-quote {
  padding: clamp(40px, 6vw, 72px) 0;
  background: var(--sand);
  text-align: center;
}
.event-quote[hidden] { display: none; }

.event-quote blockquote {
  max-width: 62ch;
  margin: 0 auto;
}
/* Úvodzovka namiesto ikony. Je to blok vo vlastnom riadku, nie absolútne
   polohovaný prvok – inak by sa pri dlhšom ohlase prekryla s textom. */
.event-quote blockquote::before {
  content: '\201E';
  display: block;
  font-family: var(--font-head);
  font-size: 3.4rem;
  line-height: .62;
  color: var(--gold);
  opacity: .55;
  margin-bottom: 18px;
}

.event-quote p {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  line-height: 1.5;
  color: var(--navy);
  margin: 0 0 1em;
}

.event-quote cite {
  font-style: normal;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-dark);
}


/* ---- Podstránka jednej akcie: hero s hlavnou fotkou, menami a dátumom ---- */

.event-hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(320px, 46vw, 560px);
  background: var(--navy);
  overflow: hidden;
}
.event-hero[hidden] { display: none; }

.event-hero-media { position: absolute; inset: 0; }
.event-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 34, 51, .45) 0%, rgba(18, 34, 51, .3) 45%, rgba(18, 34, 51, .78) 100%);
}

.event-hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 820px;
  padding: clamp(32px, 6vw, 72px) var(--wide-pad);
  text-align: center;
  color: var(--white);
}
.event-hero-date {
  display: block;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .85);
  margin-bottom: 1em;
}
.event-hero-content h1 {
  color: var(--white);
  margin-bottom: .35em;
  text-shadow: 0 2px 20px rgba(10, 18, 26, .4);
}
.event-hero-note {
  font-size: 1rem;
  color: rgba(255, 255, 255, .88);
  margin: 0;
}

.event-body { background: var(--white); }

.event-status {
  padding: 40px;
  text-align: center;
  color: var(--text-muted);
  background: var(--sand);
  border-radius: var(--radius-lg);
}
.event-status[hidden] { display: none; }
.event-status.is-error { color: #a8321f; }

.event-back {
  margin-top: clamp(32px, 5vw, 56px);
  text-align: center;
}


.album-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}
.album-grid figure { margin: 0; }

.album-item {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--sand-dark);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
}
.album-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform .5s ease;
}
.album-item:hover img { transform: scale(1.05); }

.album-item.is-video::after {
  content: '▶';
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 2rem;
  color: var(--white);
  background: rgba(18, 34, 51, .35);
  text-shadow: 0 2px 12px rgba(0, 0, 0, .5);
}

/* --------------------------------------------------------- 11. PÄTIČKA */

.site-footer {
  padding: 36px 0;
  background: #0d1a26;
  color: rgba(255, 255, 255, .62);
  font-size: .88rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer-inner p { margin: 0; }

.footer-operator {
  display: inline-block;
  margin-top: 4px;
  font-size: .78rem;
  opacity: .62;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; }
.site-footer a { color: rgba(255, 255, 255, .62); }
.site-footer a:hover { color: var(--gold); }
.footer-admin { opacity: .5; }

/* ------------------------------- 12. CHÝBAJÚCE FOTKY (DOČASNÝ PLACEHOLDER)
   Kým nie sú nahrané všetky fotky, skript označí nenačítané <img>
   triedou .img-missing. Namiesto rozbitej ikony sa zobrazí pokojná
   plocha s cestou k súboru, ktorý treba doplniť.
   Keď budú všetky fotky na mieste, túto sekciu aj kód v script.js zmaž.
   ------------------------------------------------------------------------ */

.img-missing {
  position: relative;
  min-height: 160px;
  background:
    repeating-linear-gradient(45deg, var(--sand-dark) 0 10px, #e2d9c9 10px 20px);
}
.img-missing::after {
  content: attr(data-missing);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 12px;
  font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace;
  font-size: .72rem;
  line-height: 1.5;
  color: #6d6252;
  text-align: center;
  word-break: break-all;
}

/* ----------------------------------------------------- 13. RESPONZIVITA */

/* Posledné akcie: 3 dlaždice v riadku, pod 860 px dve – a dve zostanú
   aj na mobile. Text sa tam musí zmestiť do stĺpca širokého ~170 px,
   preto je v tej šírke menší a dátum bez širokého preloženia. */
@media (max-width: 860px) {
  .recent-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
  .recent-grid { gap: 22px 14px; }
  .recent-card { gap: 12px; }
  .recent-date {
    font-size: .62rem;
    letter-spacing: .1em;
    margin-bottom: .45em;
  }
  .recent-title { font-size: 1rem; }
  .recent-guests { font-size: .82rem; }
}

@media (max-width: 960px) {
  .split,
  .story-layout,
  .location-panel,
  .contact-layout { grid-template-columns: 1fr; }

  .story-photo img { aspect-ratio: 3 / 2; }
}

@media (max-width: 960px) {
  .site-header {
    /* Hamburger vľavo, logo v strede, tlačidlo vpravo. */
    grid-template-columns: auto 1fr;
    padding: 12px 18px;
  }

  /* Menšie logo, aby na úzkom displeji neprekrývalo pol obrazovky.
     --logo-top sa prepočíta sám, netreba ho tu nastavovať. */
  :root {
    --logo-w: 112px;
    --logo-w-small: 42px;
  }

  /* Na úzkych displejoch je hero nižší. */
  .hero { min-height: min(580px, 82svh); }

  .nav-toggle {
    display: block;
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    position: relative;
    z-index: 2;
  }

  .nav-cta {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    position: relative;
    z-index: 2;
    padding: 9px 16px;
    font-size: .66rem;
  }

  /* Pri otvorenom menu je pozadie svetlé – logo aj hamburger musia stmavnúť.
     Logo sa zároveň zmenší, nech neprekrýva položky menu. */
  .nav-open .brand-logo {
    width: var(--logo-w-small);
    height: calc(var(--logo-w-small) * var(--logo-ratio));
    background-color: var(--navy);
    filter: none;
  }
  .nav-open .nav-toggle span { background: var(--navy); }
  .nav-open .nav-cta { border-color: var(--navy); color: var(--navy); }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: -1;
    /* Bez týchto dvoch riadkov by zarovnanie z mriežky hlavičky
       zúžilo celoobrazovkové menu na šírku textu odkazov. */
    grid-column: auto;
    justify-self: stretch;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    padding: 80px 24px;
    background: var(--sand);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
  }
  .site-nav.is-open { z-index: 1; opacity: 1; visibility: visible; }
  .site-nav a { font-size: 1rem; color: var(--navy); }

  body.nav-open { overflow: hidden; }

  .contact-form { grid-template-columns: 1fr; }

  .lightbox-prev { left: 12px; }
  .lightbox-next { right: 12px; }
  .lightbox-nav { width: 44px; height: 44px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .container { padding-inline: 18px; }
  .hero-content { padding-inline: 18px; }
  .gallery-open img { width: 78vw; }

  :root {
    --logo-w: 96px;
    --logo-w-small: 38px;
  }
}


/* ------------------------------------------------ 14. NÁPOJOVÝ LÍSTOK
   Na stránke je len obálka ako jedna karta. Zvyšok lístka sa listuje
   v prehliadači fotiek, preto tu netreba mriežku.
   ------------------------------------------------------------------- */

.menu-section { background: var(--sand); }

.menu-cover { display: flex; justify-content: center; }

.menu-cover-btn {
  position: relative;
  display: block;
  width: min(360px, 100%);
  padding: 0;
  border: 0;
  border-radius: var(--radius-lg);
  background: none;
  cursor: pointer;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .35s ease, box-shadow .35s ease;
}
.menu-cover-btn img {
  display: block;
  width: 100%;
  height: auto;
}

@media (hover: hover) and (pointer: fine) {
  .menu-cover-btn:hover { transform: translateY(-4px); }
}

/* Popiska cez spodok obálky – bez nej nie je zrejmé, že sa dá kliknúť. */
.menu-cover-hint {
  position: absolute;
  inset: auto 0 0;
  padding: 44px 16px 16px;
  background: linear-gradient(180deg, rgba(18, 34, 51, 0) 0%, rgba(18, 34, 51, .82) 100%);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--white);
}
.menu-cover-hint::after { content: ' →'; }

@media (prefers-reduced-motion: reduce) {
  .menu-cover-btn { transition: none; }
  .menu-cover-btn:hover { transform: none; }
}
