/* ========================================
   S Májkou na hrad — Microsite v2
   ======================================== */

@font-face {
  font-family: 'MagicalBrush';
  src: url('../assets/fonts/MagicalBrush-Regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Roboto';
  src: url('../assets/fonts/Roboto-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Roboto';
  src: url('../assets/fonts/Roboto-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-yellow: #FFD700;
  --color-yellow-dark: #E6C200;
  --color-yellow-light: #FFF0A0;
  --color-dark: #3D2B1F;   /* značková hnedá (texty, nadpisy, tlačidlá) */
  --color-dark-bg: #3D2B1F;
  --color-white: #FFFFFF;
  --color-gold: #FFD700;
  --color-silver: #C0C0C0;
  --color-noc: #7B68EE;
  --font-main: 'Roboto', sans-serif;
  --font-display: 'MagicalBrush', cursive;
  --container-max: 1000px;
  --section-padding: 80px 0;
  --transition: 0.3s ease;
  --btn-radius: 12px;        /* jednotné zaoblenie tlačidiel podľa návrhu */
}

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

html {
  scroll-behavior: smooth;
  font-size: 17.5px;
}

body {
  font-family: var(--font-main);
  color: var(--color-dark);
  background: var(--color-yellow);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

.section { position: relative; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.6vw, 3.3rem);
  font-weight: normal;
  line-height: 1.12;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.section-title--centered {
  text-align: center;
}

.section-title--doodle {
  position: relative;
}

.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  max-width: 640px;
  margin-bottom: 40px;
  line-height: 1.5;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--btn-radius);
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  border: none;
  transition: transform var(--transition), box-shadow var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.btn--primary {
  background: var(--color-dark);
  color: var(--color-yellow);
}

.btn--outline {
  background: transparent;
  color: var(--color-dark);
  border: 2px solid var(--color-dark);
}

.btn--outline:hover {
  background: var(--color-dark);
  color: var(--color-yellow);
}

/* ========================================
   HEADER
   ======================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  transition: background var(--transition);
}

.site-header.scrolled {
  background: rgba(255, 215, 0, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-link {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.7;
}

.header-logo {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 156px;
}

.logo-img { width: 100%; height: auto; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-social {
  display: flex;
  gap: 8px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  transition: transform var(--transition);
}

.social-link img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.social-link:hover {
  transform: scale(1.12);
}

/* Hamburger — yellow circle */

.hamburger {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 44px;
  height: 44px;
  background: var(--color-yellow);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  z-index: 1100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: transform var(--transition), box-shadow var(--transition);
}

.hamburger:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.hamburger span {
  display: block;
  width: 18px;
  height: 2.5px;
  background: var(--color-dark);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.hamburger.active { display: none; }

/* ========================================
   DOT NAVIGATION
   ======================================== */

.dot-nav {
  position: fixed;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dot-nav__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--color-dark);
  background: transparent;
  transition: background var(--transition), transform var(--transition);
  cursor: pointer;
}

.dot-nav__dot.active,
.dot-nav__dot:hover {
  background: var(--color-dark);
  transform: scale(1.3);
}

.dot-nav__dot.light { border-color: var(--color-white); }
.dot-nav__dot.light.active,
.dot-nav__dot.light:hover { background: var(--color-white); }

/* ========================================
   SIDEBAR
   ======================================== */

.sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}

.sidebar-overlay.active { opacity: 1; visibility: visible; }

/* Circular popup navigation — matches Figma "popup navigation" (1257px circle) */
.sidebar {
  --menu-d: min(1320px, 142vw);
  --close-x: 90px;
  --close-y: 60px;
  position: fixed;
  top: 0;
  left: 0;
  width: var(--menu-d);
  height: var(--menu-d);
  background: #3D2B1F;
  z-index: 1050;
  border-radius: 50%;
  /* circle centred so close button lands at (--close-x, --close-y) */
  margin-left: calc(var(--close-x) - var(--menu-d) / 2);
  margin-top: calc(var(--close-y) - var(--menu-d) / 2);
  transform: translateY(-100%) translateY(-100px);
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  /* push content from top-left of bbox to (--close-x - 24, --close-y - 24) */
  padding: calc(var(--menu-d) / 2 - 24px) 6% calc(var(--menu-d) * 0.18) calc(var(--menu-d) / 2 - 24px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-sizing: border-box;
}

.sidebar.active { transform: translateY(0); }

.sidebar__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.sidebar__close {
  background: var(--color-yellow);
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  transition: transform var(--transition);
  flex-shrink: 0;
}

.sidebar__close:hover { transform: scale(1.08); }

.sidebar__close svg line { stroke: #3D2B1F; }

.sidebar__label {
  font-family: var(--font-main);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--color-yellow);
  text-transform: uppercase;
}

.sidebar__list { display: flex; flex-direction: column; gap: 6px; }

.sidebar__link {
  display: block;
  padding: 10px 0;
  color: var(--color-yellow);
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  font-weight: normal;
  text-transform: uppercase;
  line-height: 1.15;
  transition: opacity var(--transition), padding-left var(--transition);
}

.sidebar__link:hover { opacity: 0.7; padding-left: 8px; }

/* ========================================
   HERO
   ======================================== */

.hero {
  /* Pomer strán = pomer banner fotky (2400×1543) → zobrazí sa takmer celá (max široký záber).
     Vyšší hero = viac priestoru pre headline aj tagline na všetkých šírkach. */
  aspect-ratio: 2400 / 1543;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  /* proporčný horný padding — drží konzistentný odstup headline od veže a čistí logo */
  padding: clamp(112px, 11.2vw, 165px) 24px 0;
  position: relative;
  overflow: hidden;
  background-color: #3c5a32;
  background-image:
    linear-gradient(to bottom, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0.12) 100%),
    url('../assets/images/hero/hero-banner.jpg?v=2');
  /* finálny KV obrázok (upravené oblaky) — takmer štvorcový master;
     vertikálny výrez ladí % pozícia 2. vrstvy (kotvy: veža hradu vs. headline, produkt vs. tagline) */
  background-position: center top, center 53%;
  background-size: cover, cover;
  background-repeat: no-repeat, no-repeat;
}

/* Teplovzdušný balón — dekorácia vpravo hore v hero */
.hero__balloon {
  position: absolute;
  z-index: 2;
  top: 16%;
  right: 9%;
  width: clamp(90px, 12vw, 165px);
  height: auto;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.2));
  animation: balloon-float 7s ease-in-out infinite;
  pointer-events: none;
}

@keyframes balloon-float {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-18px) rotate(2deg); }
}

/* Headline overlay — obrázok so zakrivením (S Májkou na hrad) */
.hero__title {
  position: relative;
  z-index: 2;
  margin: 0;
  display: flex;
  justify-content: center;
}

.hero__headline {
  width: clamp(200px, 28vw, 400px);
  height: auto;
  filter: drop-shadow(0 6px 24px rgba(0, 0, 0, 0.28));
}

.hero__tagline {
  position: relative;
  z-index: 2;
  /* proporčný odstup od spodku (−20px = tagline nižšie, ďalej od produktu; mobil má vlastný override) */
  margin: 0 0 calc(12vw - 20px);
  display: flex;
  justify-content: center;
}

.hero__tagline-img {
  width: clamp(300px, 43vw, 620px);
  height: auto;
  filter: drop-shadow(0 3px 16px rgba(0, 0, 0, 0.3));
}

.hero__wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  z-index: 3;
}

.hero__wave svg { display: block; width: 100%; height: clamp(180px, 19vw, 280px); }

/* ========================================
   PODPORUJTE HRADY
   ======================================== */

.section--podpor {
  background: var(--color-yellow);
  padding: var(--section-padding);
  text-align: center;
}

/* Nadpis sekcie ako obrázok (text + dekorácie od grafika, transparentné pozadie) */
.podpor-title {
  margin: 0 0 20px;
}
.podpor-title__img {
  display: block;
  width: clamp(290px, 52vw, 660px);
  height: auto;
  margin: 0 auto;
}

.podpor-text {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  max-width: 680px;
  margin: 0 auto 16px;
  line-height: 1.7;
}

.podpor-content .btn {
  margin-top: 24px;
}

/* ========================================
   VYBERTE SI HRAD
   ======================================== */

.section--vyberte {
  background: var(--color-yellow);
  padding: 40px 0 20px;
  text-align: center;
}

.vyberte-text {
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ========================================
   MAP SECTION — Slovakia map with white pins + castle popup card
   ======================================== */

.section--map {
  background: #3D2B1F;
  color: var(--color-white);
  padding: 60px 0;
  position: relative;
}

.section--map .map-wrapper {
  position: relative;
  min-height: 560px;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 40px;
}

/* Reálna Leaflet mapa */
.leaflet-map {
  width: 100%;
  height: 560px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  z-index: 1;
}

/* Markery (Leaflet divIcon) */
.castle-marker-wrap { background: none; border: none; }

.castle-marker {
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-white);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25), 0 1px 4px rgba(0, 0, 0, 0.5);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
}

/* Predaj Májky = zlatý marker */
.castle-marker.marker--majka {
  background: var(--color-yellow);
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.3), 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* Noc hradov a zrúcanín = biely marker so zlatým prstencom */
.castle-marker.marker--night {
  background: var(--color-white);
  box-shadow: 0 0 0 3px #3D2B1F, 0 0 0 6px var(--color-yellow), 0 1px 4px rgba(0, 0, 0, 0.5);
}

.castle-marker:hover,
.castle-marker--active {
  transform: scale(1.45);
  background: var(--color-yellow);
  box-shadow: 0 0 0 5px rgba(255, 215, 0, 0.55), 0 2px 8px rgba(0, 0, 0, 0.6);
  z-index: 1000;
}

/* Leaflet ovládacie prvky a atribúcia v štýle značky */
.leaflet-control-zoom a {
  color: var(--color-dark) !important;
}
.leaflet-control-attribution {
  background: rgba(61, 43, 31, 0.7) !important;
  color: rgba(255, 255, 255, 0.6) !important;
  font-size: 10px;
}
.leaflet-control-attribution a { color: rgba(255, 215, 0, 0.8) !important; }

/* Castle detail popup card — overlay vpravo na mape */
.castle-card {
  position: absolute;
  /* desktop: karta je vyššia ako mapa a má tak viac priestoru (vertikálne vycentrovaná, presahuje mapu) */
  top: 50%;
  transform: translateY(-50%);
  right: 34px;
  width: 366px;
  max-height: min(680px, calc(100vh - 48px));
  overflow-y: auto;
  background: var(--color-white);
  color: var(--color-dark);
  border-radius: 20px;
  padding: 16px 16px 26px;
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.42);
  text-align: left;
  z-index: 4;
}

.castle-card[hidden] { display: none; }

.castle-card__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  background: var(--color-dark);
  border: 2px solid var(--color-white);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  transition: transform var(--transition);
}

.castle-card__close:hover { transform: scale(1.1); }

.castle-card__image {
  width: 100%;
  height: 130px;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 18px;
  background: linear-gradient(135deg, #d4b85b, #b89c45);
  box-shadow: 0 10px 24px rgba(61, 43, 31, 0.28);
  position: relative;
}

/* reálna fotka — pomer 3:2, aby bol viditeľný aj vypálený kredit dole */
.castle-card__image:has(img.cc-image--photo) {
  height: auto;
  aspect-ratio: 3 / 2;
}

.castle-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
  opacity: 0.85;
}

/* reálna fotka hradu — bez multiply efektu */
.castle-card__image img.cc-image--photo {
  mix-blend-mode: normal;
  opacity: 1;
}

.castle-card__title {
  font-family: var(--font-display);
  font-size: 2rem;
  text-transform: uppercase;
  line-height: 0.98;
  margin: 0 0 6px;
  color: var(--color-dark);
}

.castle-card__region {
  font-size: 0.92rem;
  line-height: 1.35;
  margin: 0 0 16px;
}
.cc-region__kraj { display: block; color: var(--color-dark); }
.cc-region__part { display: block; color: #9a958f; }

.castle-card__row {
  border-top: 1px solid rgba(61, 43, 31, 0.1);
  padding: 12px 0;
}

.cc-event-desc { font-style: italic; opacity: 0.9; margin-top: 4px; }

.castle-card__row p {
  font-size: 0.86rem;
  line-height: 1.5;
  margin: 0 0 4px;
}

.castle-card__row p:last-child { margin-bottom: 0; }

.castle-card__row--grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.castle-card__label {
  font-family: var(--font-main);
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #b0a695;
  margin: 0 0 6px;
}

/* dátum akcie zvýraznený (tučný, hnedý), názov akcie bežný */
#cc-event p strong { color: var(--color-dark); font-weight: 700; }

.castle-card__link {
  color: var(--color-dark);
  text-decoration: underline;
  font-weight: 600;
}

.castle-card__dots {
  display: flex;
  gap: 4px;
}

.castle-card__dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: transparent;
  border: 1.5px solid var(--color-dark);
  display: inline-block;
}

.castle-card__dots .dot--on {
  background: var(--color-dark);
}

/* Map filter legend */
.map-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 72px;
}

.map-legend__btn {
  font-family: var(--font-main);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-white);
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--btn-radius);
  padding: 9px 18px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.map-legend__btn:hover {
  border-color: var(--color-yellow);
}

.map-legend__btn--active {
  background: var(--color-yellow);
  color: var(--color-dark);
  border-color: var(--color-yellow);
}

.map-legend__count {
  opacity: 0.6;
  font-weight: 700;
  margin-left: 2px;
}

/* ========================================
   VAŠE LETNÉ ZÁŽITKY — foto carousel
   ======================================== */

.section--gallery {
  background: var(--color-yellow);
  padding: var(--section-padding);
  overflow: hidden;
}

.gallery {
  display: grid;
  grid-template-columns: 50px 1fr 50px;
  align-items: center;
  gap: 18px;
  max-width: 1180px;
  margin: 28px auto 0;
  padding: 0 24px;
}

.gallery__track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 14px 4px 22px;   /* priestor pre tieň fotiek */
  scrollbar-width: none;
}
.gallery__track::-webkit-scrollbar { display: none; }

.gallery__img {
  height: 340px;
  width: auto;
  max-width: none;
  flex-shrink: 0;
  scroll-snap-align: start;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(61, 43, 31, 0.22);
  user-select: none;
}

/* šípky — rovnaký štýl ako carousel podujatí */
.gallery-arrow {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: transparent;
  border: 2px solid var(--color-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition), background var(--transition);
}
.gallery-arrow:hover { transform: scale(1.08); background: rgba(61, 43, 31, 0.06); }

.gallery__img { cursor: zoom-in; }

/* Lightbox — zväčšené prezeranie fotiek */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(28, 20, 14, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox[hidden] { display: none; }

.lightbox__img {
  max-width: min(92vw, 1100px);
  max-height: 86vh;
  border-radius: 14px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.6);
  user-select: none;
}

.lightbox__close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--color-yellow);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition);
  z-index: 2;
}
.lightbox__close:hover { transform: scale(1.1); }

.lightbox__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 2px solid rgba(255, 255, 255, 0.65);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), border-color var(--transition);
  z-index: 2;
}
.lightbox__arrow:hover { background: rgba(255, 215, 0, 0.25); border-color: var(--color-yellow); color: var(--color-yellow); }
.lightbox__arrow--prev { left: 22px; }
.lightbox__arrow--next { right: 22px; }

.lightbox__counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .lightbox__img { max-width: 94vw; max-height: 78vh; }
  .lightbox__close { top: 12px; right: 12px; width: 40px; height: 40px; }
  .lightbox__arrow { width: 42px; height: 42px; }
  .lightbox__arrow--prev { left: 8px; }
  .lightbox__arrow--next { right: 8px; }
}

/* ========================================
   KÚPOU MAJKY POMÁHATE
   ======================================== */

.section--pomahate {
  background: var(--color-yellow);
  padding: var(--section-padding);
  text-align: center;
}

.pomahate-text {
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  max-width: 640px;
  margin: 0 auto 16px;
  line-height: 1.7;
}

.pomahate-highlight {
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  max-width: 640px;
  margin: 0 auto 24px;
  line-height: 1.7;
  font-weight: 700;
}

.pomahate-product {
  max-width: 300px;
  margin: 24px auto 32px;
}

.pomahate-product__img {
  width: 100%;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.1));
}

/* ========================================
   PROGRAM NA HRADOCH
   ======================================== */

.section--program {
  background: var(--color-yellow);
  padding: var(--section-padding);
}

.program-text {
  font-size: clamp(0.9rem, 2vw, 1rem);
  max-width: 640px;
  margin: 0 auto 32px;
  text-align: center;
  line-height: 1.6;
}

.program-icons {
  text-align: center;
  margin-bottom: 48px;
}

.program-icon-tag {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.program-icon-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 32px;
}

.program-icon-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* jednotný box ikonky = „odrážka" pred textom. Assety sú znormalizované
   (kresba orezaná + jednotná výška na plátne 270×200) → všetky ikony
   vyzerajú rovnako veľké a presne zarovnané. Box = pomer plátna. */
.program-icon-item__img {
  width: 100px;
  max-width: none;
  height: 74px;
  object-fit: contain;
  object-position: center;
  display: block;
  flex-shrink: 0;
}

/* Timeline / Carousel */

.timeline {
  max-width: 900px;
  margin: 0 auto;
}

.timeline__dates {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  margin-bottom: 24px;
  position: relative;
  max-width: 740px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 16px;
}

.timeline__dates::before {
  content: '';
  position: absolute;
  left: 16%;
  right: 16%;
  top: 50%;
  border-top: 2px dashed rgba(45, 45, 45, 0.5);
}

.timeline__date {
  text-align: center;
  position: relative;
  z-index: 1;
  background: var(--color-yellow);
  padding: 4px 8px;
}

.timeline__day {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.4vw, 2.8rem);
  font-weight: normal;
  color: var(--color-dark);
  text-transform: uppercase;
}

.timeline__line { display: none; }

/* Carousel container with arrows */
.timeline__carousel {
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  gap: 16px;
  align-items: center;
}

.timeline-arrow {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: transparent;
  border: 2px solid var(--color-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition), background var(--transition);
}

.timeline-arrow:hover {
  transform: scale(1.08);
  background: rgba(61, 43, 31, 0.06);
}

/* Horizontálny scroll track — panely zoradené podľa dátumu */
.timeline__track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 4px 2px 6px;
}
.timeline__track::-webkit-scrollbar { display: none; }

.timeline-item {
  flex: 0 0 calc((100% - 32px) / 3);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
}

.timeline-item__date {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.6vw, 2.4rem);
  font-weight: normal;
  text-transform: uppercase;
  color: var(--color-dark);
  text-align: center;
  margin-bottom: 14px;
  position: relative;
}


/* Karta = biely zaoblený box; fotka je samostatná vrstva nad ním (tieň) */
.timeline-card {
  position: relative;
  background: var(--color-white);
  border-radius: 24px;
  padding: 16px 16px 24px;
  box-shadow: 0 8px 26px rgba(61, 43, 31, 0.12);
  transition: transform var(--transition);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.timeline-card:hover { transform: translateY(-4px); }

.timeline-card--night { box-shadow: 0 8px 26px rgba(61, 43, 31, 0.12), inset 0 5px 0 var(--color-yellow); }

/* Fotka — plávajúca vrstva s vlastným tieňom a zaoblením */
.timeline-card__img {
  position: relative;
  z-index: 2;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(135deg, #d4b85b, #b89c45);
  box-shadow: 0 10px 22px rgba(61, 43, 31, 0.22);
  margin-bottom: 18px;
}

.timeline-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.timeline-card__body {
  padding: 0 8px;
  text-align: left;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.timeline-card__title {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: normal;
  text-transform: uppercase;
  color: var(--color-dark);
  margin-bottom: 14px;
  line-height: 1.02;
}

.timeline-card__region {
  font-size: 0.95rem;
  line-height: 1.45;
  margin-bottom: 14px;
}

.timeline-card__kraj { display: block; color: var(--color-dark); }
.timeline-card__part { display: block; color: #9a958f; }

/* Názov podujatia (stĺpec „event" z hárku) — nahrádza geografické zaradenie */
.timeline-card__event {
  font-size: 1rem;
  line-height: 1.35;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 14px;
}

/* Popis podujatia (z hárku „carousel" → stĺpec Popis) */
.timeline-card__desc {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--color-dark);
  margin-bottom: 22px;
}

/* Tlačidlo — biele s tenkým rámčekom, hnedý text */
.timeline-card__link {
  display: block;
  margin-top: auto;
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--btn-radius);
  font-family: var(--font-main);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  white-space: nowrap;
  color: var(--color-dark);
  background: var(--color-white);
  border: 1.5px solid #d6c8b6;
  text-align: center;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
}

.timeline-card__link:hover { background: #faf8f5; border-color: var(--color-dark); }

/* Pagination dots */
.timeline__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.timeline-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(45, 45, 45, 0.25);
  transition: background var(--transition), transform var(--transition);
}

.timeline-dot--active {
  background: var(--color-dark);
  transform: scale(1.25);
}

/* ========================================
   HUDBA NA VÝLETY
   ======================================== */

.section--music {
  background: var(--color-yellow);
  padding: var(--section-padding);
  text-align: center;
}

.music-content {
  max-width: 640px;
  margin: 0 auto;
}

.music-text {
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  margin-bottom: 24px;
  line-height: 1.7;
}

.music-cta { margin-top: 8px; }

/* Spotify prehrávač — facade karta (pred načítaním) + iframe (po kliknutí) */
.spotify-player {
  max-width: 540px;
  margin: 8px auto 16px;
}
.spotify-player__facade {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
  background: #121212;
  color: #fff;
  border: none;
  border-radius: 18px;
  padding: 30px 26px;
  cursor: pointer;
  text-align: center;
  font-family: var(--font-main);
  box-shadow: 0 14px 34px rgba(61, 43, 31, 0.22);
  transition: transform var(--transition), box-shadow var(--transition);
}
.spotify-player__facade:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(61, 43, 31, 0.32); }
.spotify-player__brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #1DB954;
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.spotify-player__title {
  font-family: var(--font-display);
  font-size: 1.55rem;
  line-height: 1;
  text-transform: uppercase;
}
.spotify-player__sub {
  font-size: 0.9rem;
  line-height: 1.5;
  opacity: 0.82;
  max-width: 420px;
}
.spotify-player__play {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  background: #1DB954;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 11px 26px;
  border-radius: var(--btn-radius);
  transition: background var(--transition);
}
.spotify-player__facade:hover .spotify-player__play { background: #1ed760; }
.spotify-player iframe {
  width: 100%;
  height: 352px;
  border: 0;
  border-radius: 18px;
  display: block;
}
/* Fouita Instagram feed (#smajkounahrad) — script-based widget renderuje do divu */
.ugc-embed {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 14px;
  overflow: hidden;
}

/* povinný Fouita branding (free tier) — malý, nenápadný */
#ft-insta-brd {
  max-width: 900px;
  margin: 8px auto 0;
  text-align: right;
  font-size: 0.7rem;
}
#ft-insta-brd a {
  color: rgba(61, 43, 31, 0.55);
  text-decoration: underline;
}

.music-open-link {
  display: inline-block;
  margin-top: 4px;
  color: var(--color-dark);
  font-weight: 600;
  text-decoration: underline;
  font-size: 0.9rem;
}

/* ========================================
   UGC SECTION
   ======================================== */

.section--ugc {
  background: var(--color-yellow);
  padding: var(--section-padding);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.ugc-content { position: relative; z-index: 1; }

.ugc-text {
  font-size: clamp(1rem, 2vw, 1.15rem);
  margin-bottom: 24px;
}

.ugc-hashtag {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: normal;
  text-transform: uppercase;
  color: var(--color-dark);
  margin-bottom: 48px;
}

/* Instagram feed placeholders */
.ugc-feed {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 720px;
  margin: 40px auto 0;
}

.ugc-post {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #1a1a1a;
  border-radius: 12px;
  display: block;
  overflow: hidden;
  transition: transform var(--transition);
}

.ugc-post:hover { transform: translateY(-3px); }

.ugc-post__label {
  position: absolute;
  top: 10px;
  left: 12px;
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
}

.ugc-post__icons {
  position: absolute;
  bottom: 10px;
  left: 12px;
  display: flex;
  gap: 8px;
  align-items: center;
}

/* ========================================
   FOOTER
   ======================================== */

.site-footer {
  position: relative;
  background: #3D2B1F;
  color: var(--color-white);
  padding: 48px 0 28px;
  margin-top: 60px;
}

/* Footer sociálne piktogramy (nahradili KONTAKT) */
.footer-social { display: flex; gap: 10px; }
.footer-social__link {
  width: 30px;
  height: 30px;
  display: flex;
  transition: transform var(--transition);
}
.footer-social__link img { width: 100%; height: 100%; object-fit: contain; }
.footer-social__link:hover { transform: scale(1.12); }

/* Footer výzva (presunutá z UGC) */
.footer-cta {
  text-align: center;
  margin-bottom: 40px;
}

.footer-cta__text {
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.5;
  color: var(--color-white);
  margin-bottom: 18px;
}

.footer-cta__hashtag {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: normal;
  text-transform: uppercase;
  color: var(--color-yellow);
  line-height: 1;
}

.footer-cta__note {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 14px;
}

.footer-wave {
  position: absolute;
  top: -68px;
  left: 0;
  width: 100%;
  height: 70px;
  display: block;
}

.footer-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 24px;
}

.footer-nav-link {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-nav-link:hover { text-decoration: underline; }

.footer-col--center { text-align: center; flex: 1; }

.footer-copy {
  font-size: 0.7rem;
  opacity: 0.5;
  line-height: 1.4;
}

.footer-col--right {
  text-align: right;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-created {
  font-size: 0.65rem;
  opacity: 0.5;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-ponyhouse {
  display: inline-flex;
  align-items: center;
  transition: opacity var(--transition);
}

.footer-ponyhouse:hover { opacity: 0.7; }

/* ========================================
   HEADER BRANCHES
   ======================================== */

.header-branches {
  position: fixed;
  top: -10px;
  height: auto;
  z-index: 999;
  pointer-events: none;
}

.header-branches--left {
  left: 0;
  width: 150px;
}

.header-branches--right {
  right: 0;
  width: 230px;
}

/* ========================================
   DECORATIVE ELEMENTS
   ======================================== */

.deco {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

/* Objavujte — ďalekohľad vpravo hore */
.deco--binoculars {
  right: 7%;
  top: 30px;
  width: 110px;
  opacity: 0.9;
}

/* Vyberte si hrad — hviezdičky vľavo od nadpisu */
.deco--stars {
  left: 16%;
  top: 6px;
  width: 70px;
  opacity: 0.9;
  transform-origin: center;
  animation: deco-twinkle 4.5s ease-in-out infinite;
}

/* Vyberte si hrad — ručne kreslená šípka vpravo od nadpisu */
.deco--arrow {
  right: 14%;
  top: 40px;
  width: 90px;
  opacity: 0.9;
  transform: rotate(6deg);
}

/* Pomáhate — batoh vľavo */
.deco--backpack {
  left: 5%;
  top: 42%;
  transform: translateY(-50%);
  width: 120px;
  opacity: 0.6;
}

/* Pomáhate — motýľ vpravo pri produkte */
.deco--butterfly {
  right: 9%;
  top: 52%;
  width: 90px;
  opacity: 0.9;
  transform-origin: center;
  animation: deco-flutter 5s ease-in-out infinite;
}

/* Hudba na výlety — noty vľavo */
.deco--notes {
  left: 6%;
  top: 22%;
  width: 150px;
  opacity: 0.9;
  transform-origin: center;
  animation: deco-notes 6s ease-in-out infinite;
}

/* Program — včielka vľavo pri časovej osi */
.deco--bee-prog {
  left: 6%;
  top: 50%;
  width: 75px;
  opacity: 0.95;
  transform-origin: center;
  animation: deco-bee 4.5s ease-in-out infinite;
}

/* ── jemné prirodzené animácie dekoračných prvkov ── */
@keyframes deco-twinkle {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.7; }
  50%      { transform: scale(1.14) rotate(10deg); opacity: 1; }
}
@keyframes deco-flutter {
  0%, 100% { transform: translate(0, 0) rotate(-5deg); }
  25%      { transform: translate(-4px, -10px) rotate(3deg); }
  50%      { transform: translate(3px, -16px) rotate(6deg); }
  75%      { transform: translate(-2px, -8px) rotate(-2deg); }
}
@keyframes deco-notes {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%      { transform: translateY(-10px) rotate(2deg); }
}
@keyframes deco-bee {
  0%, 100% { transform: translate(0, 0) rotate(-4deg); }
  20%      { transform: translate(5px, -7px) rotate(3deg); }
  45%      { transform: translate(-4px, -4px) rotate(-2deg); }
  70%      { transform: translate(6px, -9px) rotate(4deg); }
  85%      { transform: translate(-2px, -3px) rotate(-3deg); }
}

/* rešpektuj nastavenie obmedzenia pohybu */
@media (prefers-reduced-motion: reduce) {
  .hero__balloon,
  .deco--stars,
  .deco--butterfly,
  .deco--notes,
  .deco--bee-prog { animation: none; }
}

/* Ukážte nám výlet — obálky na špagáte vpravo hore */
.deco--clothesline {
  right: 6%;
  top: 8px;
  width: 250px;
  opacity: 0.85;
}

/* Ukážte nám výlet — kompas vľavo */
.deco--compass-ugc {
  left: 7%;
  top: 30%;
  width: 80px;
  opacity: 0.6;
}

.footer-ponyhouse__logo {
  height: 26px;
  width: auto;
  display: inline-block;
}

/* ========================================
   COOKIE LIŠTA
   ======================================== */

.cookie-bar {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 2000;
  max-width: 760px;
  margin: 0 auto;
  background: #3D2B1F;
  color: var(--color-white);
  border-radius: 14px;
  padding: 18px 22px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  gap: 18px;
  transform: translateY(140%);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease;
}

.cookie-bar--show { transform: translateY(0); opacity: 1; }

.cookie-bar__text {
  font-size: 0.82rem;
  line-height: 1.5;
  margin: 0;
  flex: 1;
}

.cookie-bar__link { color: var(--color-yellow); text-decoration: underline; }

.cookie-bar__actions { display: flex; gap: 10px; flex-shrink: 0; }

.cookie-bar__btn {
  font-family: var(--font-main);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 10px 18px;
  border-radius: var(--btn-radius);
  cursor: pointer;
  border: 2px solid var(--color-yellow);
  transition: background var(--transition), color var(--transition), transform var(--transition);
  white-space: nowrap;
}

.cookie-bar__btn--accept { background: var(--color-yellow); color: var(--color-dark); }
.cookie-bar__btn--accept:hover { transform: scale(1.04); }

.cookie-bar__btn--ghost { background: transparent; color: var(--color-yellow); }
.cookie-bar__btn--ghost:hover { background: rgba(255, 215, 0, 0.12); }

@media (max-width: 600px) {
  .cookie-bar { flex-direction: column; align-items: stretch; text-align: center; gap: 14px; }
  .cookie-bar__actions { justify-content: center; }
}

/* ========================================
   SCROLL REVEAL ANIMATIONS
   ======================================== */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
  .leaflet-map { height: 480px; }
  .castle-card { right: 20px; width: 300px; max-height: calc(100% - 40px); top: 20px; transform: none; }
  .deco--backpack,
  .deco--compass,
  .deco--diploma { display: none; }
}

@media (max-width: 768px) {
  :root { --section-padding: 60px 0; }

  .dot-nav { display: none; }

  .hero { aspect-ratio: auto; min-height: 90vh; padding: 124px 20px 0; }
  .hero__product-logo { width: 100px; }
  /* tagline vyššie + plytkejšia vlna (menšie zakrivenie), aby text nebol prekrytý */
  .hero__tagline { margin-bottom: 122px; }
  .hero__wave svg { height: clamp(82px, 22vw, 120px); }

  .header-link { display: none; }
  .header-branches { width: 100px; }
  .header-logo { width: 94px; }
  .social-link { width: 30px; height: 30px; }

  .footer-top { flex-direction: column; text-align: center; }
  .footer-col--right { text-align: center; justify-content: center; }

  /* Mobil: mapa hore, detail karta pod ňou (nie overlay) */
  .section--map .map-wrapper { display: flex; flex-direction: column; padding: 0 16px; }
  .leaflet-map { height: 380px; width: 100%; }
  .castle-card {
    /* relative (nie static) — krížik X sa kotví na kartu, rovnako ako na desktope */
    position: relative;
    width: 100%;
    right: auto;
    top: auto;
    transform: none;
    max-height: none;
    margin-top: 20px;
  }

  .hero__balloon { width: 64px; top: 9%; right: 3%; }

  /* ikonky vycentrované — ikona nad textom, pekne pod sebou */
  .program-icon-list { flex-direction: column; align-items: center; gap: 24px; }
  .program-icon-item { flex-direction: column; text-align: center; gap: 8px; }

  /* nadpis „Objavujte a podporujte…" +20 % na mobile (290px → 348px);
     mierne negatívne marginy h2 dovolia obrázku využiť aj padding containera */
  .podpor-title { margin-left: -12px; margin-right: -12px; }
  .podpor-title__img { width: min(348px, 100%); }
  .timeline__carousel { grid-template-columns: 38px 1fr 38px; gap: 8px; }
  .timeline-arrow { width: 38px; height: 38px; }
  .timeline-item { flex: 0 0 100%; }
  .gallery { grid-template-columns: 38px 1fr 38px; gap: 8px; padding: 0 12px; }
  .gallery-arrow { width: 38px; height: 38px; }
  .gallery__img { height: 240px; }
  .timeline__dots { display: none; }

  .ugc-feed { grid-template-columns: 1fr; max-width: 320px; }

  .deco--binoculars,
  .deco--notes,
  .deco--butterfly,
  .deco--bee,
  .deco--bee-prog,
  .deco--compass-ugc { display: none; }

  .sidebar {
    --menu-d: min(900px, 240vw);
    --close-x: 48px;
    --close-y: 44px;
  }
  .sidebar__list { gap: 2px; }
  .sidebar__header { margin-bottom: 22px; }
  .sidebar__link { font-size: 1.45rem; padding: 7px 0; }
}

@media (max-width: 480px) {
  .header-branches { display: none; }
  .deco { display: none; }
}
