/* Reset a základní styly */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  font-family: "Open Sans", sans-serif;
  background-color: #000;
}

/* ===================== Scroll to top button ===================== */
.scroll-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 56px;
  height: 56px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2147480000; /* nad vším */
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, opacity 0.3s ease, background 0.2s ease;
  opacity: 0.0001; /* minimalní, aby se dalo snadno přepnout bez layout skoků */
  pointer-events: none;
}

.scroll-top.visible {
  opacity: 1 !important;
  pointer-events: auto;
}

.scroll-top:hover {
  transform: translateY(-2px) scale(1.03);
  background: rgba(0, 0, 0, 0.6);
}

.scroll-top .arrow-icon {
  width: 24px;
  height: 24px;
  stroke: #03c2f5;
  stroke-width: 2.5;
  fill: none;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
  position: absolute;
}

.scroll-top .progress-ring {
  position: absolute;
  inset: 0;
}

.scroll-top .progress-track {
  stroke: rgba(255, 255, 255, 0.18);
  stroke-width: 3;
  fill: none;
}

.scroll-top .progress-indicator {
  stroke: #03c2f5;
  stroke-width: 3;
  fill: none;
  stroke-linecap: round;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
  stroke-dasharray: 999 999; /* plný kruh na startu, JS upraví offset */
}

/* ============================================
   VLASTNÍ REVEAL ANIMACE
   ============================================ */

/* Výchozí stav - prvek je skrytý před animací */
[data-animate] {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

/* Animovaný stav - prvek je viditelný */
[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Různé typy animací */
[data-animate="fade-up"].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-animate="fade-down"] {
  transform: translateY(-60px);
}
[data-animate="fade-down"].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-animate="fade-left"] {
  transform: translateX(60px);
}
[data-animate="fade-left"].is-visible {
  opacity: 1;
  transform: translateX(0);
}

[data-animate="fade-right"] {
  transform: translateX(-60px);
}
[data-animate="fade-right"].is-visible {
  opacity: 1;
  transform: translateX(0);
}

[data-animate="zoom-in"] {
  transform: scale(0.85);
}
[data-animate="zoom-in"].is-visible {
  opacity: 1;
  transform: scale(1);
}

[data-animate="flip-left"] {
  transform: perspective(1000px) rotateY(-20deg);
  transform-origin: left center;
}
[data-animate="flip-left"].is-visible {
  opacity: 1;
  transform: perspective(1000px) rotateY(0);
}

[data-animate="flip-right"] {
  transform: perspective(1000px) rotateY(20deg);
  transform-origin: right center;
}
[data-animate="flip-right"].is-visible {
  opacity: 1;
  transform: perspective(1000px) rotateY(0);
}

/* Fallback pro prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  [data-animate] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

html {
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
}

body.index footer {
  position: absolute;
  bottom: 0;
  z-index: 9999;
  width: 100%;
  background: unset;
  border: unset;
}

/* Zakáže scrollování pouze na úvodní stránce */
.body-opening:not(:has(.body-opening)) {
  overflow: hidden;
}

.body-opening:not(:has(.body-opening)) html {
  overflow: hidden;
}

/* obsah úvodní stránky*/
.opening-page {
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  position: relative;
  overflow: hidden;
  background: #000;
}

/* Video pozadí */
.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* Tmavší gradient overlay přes video pro lepší čitelnost textu */
.opening-page::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0.5) 50%,
    rgba(0, 0, 0, 0.6) 100%
  );
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  text-align: center;
  max-width: 90%;
  margin: 0 auto;
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.open-subtitle {
  align-items: flex-start;
  font-size: 2.4rem;
  margin-bottom: 1.5rem;
  color: #ffffff;
  opacity: 0.95;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.open-title {
  font-size: 8rem;
  font-weight: 900;
  margin-bottom: 2rem;
  color: #03c2f5;
  text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.6);
  line-height: 1;
  text-transform: uppercase;
}

.hero-tagline {
  font-size: 2rem;
  margin-bottom: 3.5rem;
  color: #ffffff;
  opacity: 0.9;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
  font-weight: 300;
  letter-spacing: 0.05em;
  max-width: 800px;
  line-height: 1.4;
}

.event-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  font-size: 2.5rem;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.event-date {
  font-weight: 700;
}

.event-separator {
  font-size: 1.6rem;
  opacity: 0.8;
}

.event-location {
  font-weight: 400;
  opacity: 0.95;
}

.discover-button {
  background: linear-gradient(135deg, #03b3e3, #00a3cf);
  border: none;
  color: rgb(244, 245, 246);
  padding: 1rem 2rem;
  font-size: 1.3rem;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(3, 194, 245, 0.5);
  animation: gentleGlow 3s ease-in-out infinite;
  transition: all 0.3s ease;
}

.discover-button::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transform: rotate(45deg);
  animation: shimmer 3s infinite;
}

.discover-button:hover {
  background: linear-gradient(135deg, #00b4d8, #0096c7);
  transform: scale(1.05) translateY(-3px);
  box-shadow: 0 8px 35px rgba(3, 194, 245, 0.6), 0 0 60px rgba(3, 194, 245, 0.4);
  animation-play-state: paused;
}

#countdown {
  text-align: center;
  color: white;
  margin-top: 3rem;
  position: relative;
  z-index: 3;
}

.timer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.timer-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.timer-number {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.timer-label {
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  opacity: 0.9;
  margin-top: 0.3rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.timer-separator {
  font-size: 2.5rem;
  opacity: 0.7;
  margin: 0 0.5rem;
}

.program-section.open,
.guests-section.open {
  padding: 20px;
}

/*konec obsahu úvodní stránky*/

/*============================= Styly pro hlavní stránku =============================================*/

.header-container {
  display: flex;
  align-items: center;
  gap: 2rem;
  background-image: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.9),
      rgba(0, 0, 0, 0.6)
    ),
    url("lib/background/header.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  backdrop-filter: blur(10px);
  position: relative;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  z-index: 10000;
  padding: 0.8rem 1.5rem;
  transition: padding 0.3s ease, background-image 0.3s ease;
}

.header-container.scrolled {
  padding: 0.4rem 1.5rem;
  background-image: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.95),
      rgba(0, 0, 0, 0.85)
    ),
    url("lib/background/header.jpg");
}

/* Wrapper pro logo a header-title - drží je vždy vedle sebe */
.logo-header-wrapper {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-shrink: 0;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s ease;
}

.logo-header-wrapper:hover {
  opacity: 0.85;
}

/* Vypnout animaci při zvětšování headeru */
.header-container.no-transition,
.header-container.no-transition *,
.header-container.no-transition .logo img,
.header-container.no-transition .festival-type,
.header-container.no-transition .festival-main,
.header-container.no-transition .social-icon,
.header-container.no-transition .tickets-btn {
  transition: none !important;
}

.logo {
  flex-shrink: 0;
}

.logo img {
  width: 11rem;
  height: auto;
  display: flex;
  transition: width 0.3s ease;
}

.header-container.scrolled .logo img {
  width: clamp(5rem, 6vw, 6rem);
}

.header-title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-shrink: 0;
}

.festival-type {
  font-size: clamp(1.2rem, 3vw, 3rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  white-space: nowrap;
  transition: font-size 0.3s ease;
}

.header-container.scrolled .festival-type {
  font-size: clamp(0.85rem, 1.2vw, 1rem);
}

.festival-main {
  font-size: clamp(2rem, 5vw, 5rem);
  font-weight: 900;
  color: #03c2f5;
  line-height: 1.2;
  padding-left: 2rem;
  white-space: nowrap;
  transition: font-size 0.3s ease;
}

.header-container.scrolled .festival-main {
  font-size: clamp(1.3rem, 2.5vw, 2.2rem);
}

/* Sociální odkazy v headeru - glassmorphism efekt */
.social-links {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  flex-shrink: 0;
  position: relative;
  z-index: 10001;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  padding: 0.6rem 1rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.header-container.scrolled .social-links {
  padding: 0.4rem 0.8rem;
  gap: 0.6rem;
}

.social-link {
  transition: transform 0.2s ease, opacity 0.2s ease;
}

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

.social-icon {
  width: clamp(24px, 2vw, 28px);
  height: clamp(24px, 2vw, 28px);
  display: block;
  color: rgba(255, 255, 255, 0.85);
  stroke-width: 1.5;
  transition: width 0.3s ease, height 0.3s ease, color 0.2s ease;
}

.header-container.scrolled .social-icon {
  width: clamp(20px, 1.5vw, 22px);
  height: clamp(20px, 1.5vw, 22px);
}

.social-link:hover .social-icon {
  color: #03c2f5;
}

.social-link.contact-toggle {
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
}

.contact-panel {
  position: absolute;
  right: 1rem;
  top: calc(100% + 0.5rem);
  background: rgba(0, 0, 0, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  min-width: 220px;
  display: none;
  z-index: 10001;
}

.contact-panel.open {
  display: block;
}

.contact-content {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.contact-name {
  font-weight: 800;
  font-size: 1.2rem;
  color: #03c2f5;
}

.contact-phone,
.contact-email {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  a {
    color: #ffffff;
    text-decoration: underline;
  }
  a:hover {
    color: #03c2f5;
    text-decoration: none;
  }
}

.tickets-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #03b3e3, #00a3cf);
  color: #ffffff;
  padding: clamp(0.7rem, 1.5vw, 0.9rem) clamp(1.2rem, 3vw, 1.8rem);
  border-radius: 50px;
  text-decoration: none;
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  font-weight: 900;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(3, 194, 245, 0.5);
  animation: gentleGlow 3s ease-in-out infinite;
  transition: font-size 0.3s ease, padding 0.3s ease, transform 0.2s ease,
    background 0.2s ease;
  margin-left: auto;
  flex-shrink: 0;
  white-space: nowrap;
}

.header-container.scrolled .tickets-btn {
  font-size: clamp(0.8rem, 1.2vw, 0.95rem);
  padding: clamp(0.4rem, 0.8vw, 0.55rem) clamp(0.8rem, 1.5vw, 1.1rem);
}

.tickets-btn::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transform: rotate(45deg);
  animation: shimmer 3s infinite;
}

@keyframes gentleGlow {
  0%,
  100% {
    box-shadow: 0 4px 20px rgba(3, 194, 245, 0.5),
      0 0 30px rgba(3, 194, 245, 0.3);
  }
  50% {
    box-shadow: 0 6px 30px rgba(3, 194, 245, 0.7),
      0 0 50px rgba(3, 194, 245, 0.5);
  }
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}

/* Apple-style plynulé roztažení sekce */
@keyframes appleExpand {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Animace pro postupné zobrazení obsahu */
@keyframes contentFadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hladká animace zmenšení sekce */
@keyframes appleCollapse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.tickets-btn:hover {
  background: linear-gradient(135deg, #00b4d8, #0096c7);
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 8px 35px rgba(3, 194, 245, 0.6), 0 0 60px rgba(3, 194, 245, 0.4);
  animation-play-state: paused;
}

/*main sekce program a hosté*/

/* Kontejner pro program a hosty - vedle sebe na desktopu */
.program-guests {
  display: flex;
  width: 100%;
  position: relative;
  overflow: hidden;
}

/* Plovoucí zavírací tlačítko – bílý křížek bez pozadí, fixed vpravo nahoře */
.close-section-btn {
  position: fixed;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  border-radius: 0;
  cursor: pointer;
  z-index: 9999;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.close-section-btn:hover {
  opacity: 1;
}

.close-section-btn svg {
  width: 32px;
  height: 32px;
  stroke: #ffffff;
  stroke-width: 2.5;
  stroke-linecap: round;
  fill: none;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

/* V otevřené sekci nedává smysl zobrazovat tlačítko "více informací" */
.program-section.open .section-subtitle,
.guests-section.open .section-subtitle {
  display: none;
}

/* Tlačítko "zavřít sekci" na konci sekce */
.section-close-bottom {
  text-align: center;
  margin-top: 2rem;
  padding-bottom: 2rem;
}

.close-bottom-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.8);
  padding: 0.5rem 1.2rem;
  border-radius: 20px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.close-bottom-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  color: #ffffff;
}

/* Plynulé roztažení/zúžení přes jednoduché stavové třídy na wrapperu */
.program-guests.mode-program .program-section {
  width: 100%;
}
.program-guests.mode-program .guests-section {
  width: 0;
  opacity: 0;
  pointer-events: none;
}
.program-guests.mode-guests .guests-section {
  width: 100%;
}
.program-guests.mode-guests .program-section {
  width: 0;
  opacity: 0;
  pointer-events: none;
}

/* Animace pro zavírání sekce */
.program-section.closing,
.guests-section.closing {
  animation: appleCollapse 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/*program sekce */

.program-section {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("lib/background/program..jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  width: 50%;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transform-origin: center;
  overflow: hidden;
}

/* Hover efekt před otevřením: jen zvýšení jasu – pouze na zařízeních s hoverem */
@media (hover: hover) and (pointer: fine) {
  .program-section:not(.open):hover,
  .guests-section:not(.open):hover {
    filter: brightness(1.15);
  }
}

.program-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.program-content h2 {
  text-align: center;
  color: #03c2f5;
  font-size: 3.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.section-subtitle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.64rem;
  background: linear-gradient(135deg, #03b3e3, #00a3cf);
  color: #ffffff;
  padding: 0.64rem 1.44rem;
  border-radius: 50px;
  font-size: 0.96rem;
  font-weight: 700;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  margin-top: 2rem;
  margin-bottom: 0;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(3, 194, 245, 0.5);
  transition: all 0.4s ease, background 0.4s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.section-subtitle:hover {
  background: linear-gradient(135deg, #00b4d8, #0096c7);
  transform: scale(1.03) translateY(-2px);
  box-shadow: 0 6px 25px rgba(3, 194, 245, 0.6);
}

.toggle-indicator {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.toggle-indicator svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: #ffffff;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  transition: all 0.3s ease;
}

/* Detaily jsou schované */
.program-details {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.7s ease, opacity 0.5s ease, margin 0.5s ease;
  margin-top: 0;
}

/* Když se sekce otevře */
.program-section.open {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
    url("lib/background/ZH26\ POZADÍ\ OBRAZOVKA\ 4608X1152.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: auto;
  width: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

.program-section.open .program-details {
  max-height: 3000px;
  opacity: 1;
  margin-top: 2rem;
  padding-bottom: 2rem;
  animation: contentFadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
}

/* Styly pro program schedule */
.program-schedule {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 1000px;
  margin: 0 auto;
}

.program-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.program-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.time-badge {
  background: rgba(255, 255, 255, 0.9);
  color: #000;
  padding: 0.5rem 1rem;
  border-radius: 15px;
  font-weight: 700;
  font-size: 1rem;
  min-width: 120px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.highlight-time {
  background: linear-gradient(135deg, #00b4d8, #0077b6);
  color: white;
}

.program-info {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  flex: 1;
}

.country {
  font-size: 1.4rem;
  font-weight: 700;
  color: #00b4d8;
  text-transform: uppercase;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.topic {
  font-size: 1.4rem;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.break {
  font-size: 1.4rem;
  font-weight: 700;
  color: #00b4d8;
  text-transform: lowercase;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.speaker {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.program-content-text {
  font-size: 1.2rem;
  font-weight: 600;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.program-item.highlight {
  background: rgba(0, 180, 216, 0.1);
  border: 1px solid rgba(0, 180, 216, 0.2);
}

.program-item.opening,
.program-item.closing {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Link na konci seznamu pro zavření sekce */
.section-less-end {
  text-align: center;
  margin: 1.5rem auto 0;
  color: #00b4d8;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 0.02em;
  width: fit-content;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: rgba(0, 180, 216, 0.12);
  border: 1px solid rgba(0, 180, 216, 0.3);
  transition: background 0.2s ease, transform 0.2s ease;
}

.section-less-end:hover {
  background: rgba(0, 180, 216, 0.2);
  transform: translateY(-1px);
}

/*hosté sekce*/

.guests-section {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("lib/background/guest.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  width: 50%;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transform-origin: center;
  overflow: hidden;
}

.guests-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.guests-content h2 {
  text-align: center;
  color: #03c2f5;
  font-size: 3.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.guests-toggle-indicator {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.guests-toggle-indicator svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: #ffffff;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  transition: all 0.3s ease;
}

/* Detaily jsou schované */
.guests-details {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.7s ease, opacity 0.5s ease, margin 0.5s ease;
  margin-top: 0;
}

/* Když se sekce otevře */
.guests-section.open {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
    url("lib/background/ZH26\ POZADÍ\ OBRAZOVKA\ 4608X1152.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: auto;
  width: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

.guests-section.open .guests-details {
  max-height: 3000px;
  opacity: 1;
  margin-top: 2rem;
  padding-bottom: 2rem;
  animation: contentFadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
}

/* Styly pro seznam hostů */
/* Seznam hostů jako vertikální stack kompaktních řádků */
.guests-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem;
}

/* Každý host – jeden řádek: fotka + text vedle sebe */
.guest-item {
  display: flex;
  align-items: stretch; /* stejná výška pro fotku i text */
  gap: 1.5rem;
}

.guest-photo {
  flex: 0 0 320px;
  width: 320px;
  /* bez pevné výšky – protáhne se na výšku textového bloku */
  border-radius: 16px;
  overflow: hidden;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.guest-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* zobraz celou fotku bez ořezu */
  object-position: center;
  background-color: rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.guest-photo:hover img {
  transform: none; /* žádné přiblížení, aby nedošlo k ořezu */
}

.guest-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.2rem 1.4rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}

/* Velký čas v pozadí přes data-time */
.guest-info::before {
  content: attr(data-time);
  position: absolute;
  right: 12px;
  top: 6px;
  font-size: 4rem;
  font-weight: 700;
  color: #03c2f5;
  opacity: 0.2;
  pointer-events: none;
}

.guest-name {
  font-size: 1.6rem;
  font-weight: 700;
  color: #03c2f5;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  margin-bottom: 0.2rem;
}

.guest-topic {
  font-size: 1.3rem;
  font-weight: 600;
  color: #00b4d8;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  margin-bottom: 0.8rem;
}

.guest-description {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  text-align: justify;
}

/* Střídání – sudé řádky otočí pořadí (foto vpravo) */
.guest-item:nth-child(even) {
  flex-direction: row-reverse;
}


/* Responzivní styly pro program */
@media (max-width: 1000px) {
  /* Sekce pod sebou vertikálně */
  .program-guests {
    flex-direction: column;
  }

  .program-section,
  .guests-section {
    width: 100% !important;
    height: calc((100vh - 140px) / 2);
    min-height: 280px;
    padding: 1.5rem 1rem;
  }

  /* Při otevření jedné sekce na mobilu schovej druhou výškou 0, ať nad ní není prázdné místo */
  .program-guests.mode-program .guests-section {
    height: 0;
    min-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    overflow: hidden;
  }
  .program-guests.mode-guests .program-section {
    height: 0;
    min-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    overflow: hidden;
  }

  .program-content h2,
  .guests-content h2 {
    font-size: 1.8rem;
  }

  /* Zmenšení tlačítka na mobilu */
  .section-subtitle {
    gap: 0.4rem;
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
  }

  .toggle-indicator,
  .guests-toggle-indicator {
    width: 18px;
    height: 18px;
  }

  .program-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .time-badge {
    min-width: auto;
    align-self: flex-start;
  }

  .country,
  .topic,
  .break {
    font-size: 1.2rem;
  }

  .speaker,
  .program-content-text {
    font-size: 1rem;
  }
}

/* Responzivní styly pro hosty */

@media (max-width: 1000px) {
  .guests-list {
    display: flex;
    flex-direction: column; /* jeden sloupec na mobilu */
    gap: 1.5rem;
    padding: 1rem;
  }

  /* Kompaktní layout: fotka vpravo nahoře, text obtéká */
  .guest-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    grid-template-areas:
      "photo name"
      "photo topic"
      "desc desc";
    column-gap: 1rem;
    row-gap: 0.25rem;
    align-items: start;
    position: relative;
  }

  .guest-info {
    display: contents; /* zpřístupní vnořené prvky gridu parentu */
  }

  .guest-photo {
    grid-area: photo;
    width: 120px;
    height: 120px;
    border-radius: 10px;
    flex: 0 0 auto;
    margin: 0;
  }

  .guest-name {
    grid-area: name;
    font-size: 1.3rem;
    margin: 0;
    position: relative;
    z-index: 1;
  }

  .guest-topic {
    grid-area: topic;
    font-size: 1.05rem;
    margin: 0;
    position: relative;
    z-index: 1;
  }

  /* Malý čas vpravo – použije data-time z .guest-info */
  .guest-info::before {
    content: none;
  }
  .guest-info::after {
    content: none;
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: start;
    justify-self: end;
    font-weight: 700;
    color: #03c2f5;
    font-size: 0.95rem;
  }

  .guest-description {
    grid-area: desc;
    font-size: 0.95rem;
    text-align: left;
    margin-top: 0.35rem;
  }

  /* Velký průhledný čas v pravém horním rohu, pod textem */
  .guest-item::after {
    content: none;
  }

  /* reset střídání na mobilu – vše pod sebou */
  .guest-item:nth-child(even) {
    flex-direction: initial;
  }
}

/* Sdílené pozadí pro Extras + 2024 */
.extras-bg {
  background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.85) 0%,
      rgba(0, 0, 0, 0.7) 45%,
      rgba(0, 0, 0, 0.85) 80%,
      #000000 100%
    ),
    url("lib/background/ZH26\ POZADÍ\ OBRAZOVKA\ 4608X1152.jpg");
  background-size: cover;
  background-position: center;
  padding: 4rem 1rem;
  padding-bottom: 0;
  /* overflow hidden zde ořízává sticky/fixed potomky nad touto sekcí; ponecháme pouze na vnitřních prvcích, kde je potřeba */
  overflow: visible;
}
.extras-list {
  background: transparent;
  max-width: 1200px;
  margin: 0 auto;
}

.extras-list > .section-heading {
  margin-bottom: 2rem;
}

.extras-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.section-heading {
  color: #03c2f5;
  font-size: 2.2rem;
  margin-bottom: 3rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  text-transform: uppercase;
  text-align: center;
  margin-top: 0;
}

.extras-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.extras-column {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  justify-content: center;
}

.extras-column li {
  position: relative;
  padding-left: 1.4rem;
}

.extra-title {
  color: #029cc7d2;
  font-size: 1.5rem;
  display: block;
  margin-bottom: 0.5rem;
}

.extras-column p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  padding-left: 1rem;
}

@media (max-width: 900px) {
  .extras-grid {
    grid-template-columns: 1fr;
  }
}

/* Sekce: Jak vypadal ročník 2024 */
.year-2024 {
  background: transparent;
  padding: 6rem 1rem;
  margin: 0;
}

.year-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.year-video,
.year-gallery {
  width: 100%;
}

.video-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 poměr stran */
  height: 0;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.yt-embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 14px;
}

.gallery-view {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-prev,
.gallery-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  color: #ffffff;
  font-size: 28px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.gallery-prev:hover,
.gallery-next:hover {
  background: rgba(0, 0, 0, 0.65);
}

.gallery-prev {
  left: 0.5rem;
}

.gallery-next {
  right: 0.5rem;
}

.gallery-list {
  display: none;
}

@media (max-width: 900px) {
  .year-content {
    grid-template-columns: 1fr;
  }
}

/* Informační okénko + Partneři festivalu - společné pozadí s lesem */
.info-section {
  background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.98),
      rgba(0, 0, 0, 0.65),
      rgba(0, 0, 0, 0.75),
      rgba(0, 0, 0, 0.9) 100%
    ),
    url("lib/background/nature-7720825_1280.jpg");
  background-size: cover;
  background-position: center;
  padding: 4rem 1rem;
  padding-top: 0;
  padding-bottom: 5rem;
  margin: 0;
}

.info-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.info-block {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 1.5rem;
  color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.info-block--full {
  grid-column: 1 / -1;
}

.info-title {
  color: #03c2f5;
  text-transform: uppercase;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
}

.info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  font-size: 1.2rem;
}

.info-list li strong {
  color: #00b4d8;
}

/* Jednořádkové ceny */
.info-prices .info-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.info-prices .info-list li strong {
  color: #03c2f5;
}

@media (max-width: 900px) {
  .info-grid {
    grid-template-columns: 1fr;
  }
}

/* Tým festivalu – typografie a rozestupy */
.info-team-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.info-team-list li {
  margin: 0;
  padding: 0;
}

/* Jméno člena týmu */
.info-team-list li > div {
  font-weight: 700;
  font-size: 1.3rem;
  color: #03b5e6e8;
  margin-bottom: 0.4rem;
}

/* Popis člena týmu */
.info-team-list li > p {
  font-weight: 400;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  line-height: 1.5;
}

/* CTA uprostřed */
.info-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-direction: column;
  gap: 1rem;
}

.info-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #03b2e3d8, #00a3cf);
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.04em;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(3, 194, 245, 0.5);
  animation: gentleGlow 3s ease-in-out infinite;
  transition: all 0.3s ease;
}

.info-cta-btn::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transform: rotate(45deg);
  animation: shimmer 3s infinite;
}

.info-cta-btn:hover {
  background: linear-gradient(135deg, #00b4d8, #0096c7);
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 8px 35px rgba(3, 194, 245, 0.6), 0 0 60px rgba(3, 194, 245, 0.4);
  animation-play-state: paused;
}

.info-qr {
  width: 170px;
  height: auto;
  max-width: 60%;
  border-radius: 12px;
}

.foxticket-logo {
  width: 120px;
  height: auto;
  max-width: 50%;
  margin-top: -29px;
  margin-left: -5px;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.foxticket-logo:hover {
  opacity: 1;
}

.info-block.info-venue p {
  font-size: 1.2rem;
}

/* Partneři festivalu - wrapper uvnitř info-section */
.partners-wrapper {
  max-width: 1200px;
  margin: 2rem auto 0;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

/* Nadpis partnerů před wrapper */
.info-section > .section-heading:last-of-type {
  margin-top: 4rem;
  margin-bottom: 0;
}

.partners-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1.5rem;
  align-items: center;
  justify-items: center;
}

.partner-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.partner-logo {
  width: 120px;
  max-width: 100%;
  height: auto;
  filter: none;
}

.partner-name {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
}

/* Responzivní design pro úvodní stránku - index.html ======================================*/

/*============================= desktop větší než (1900px)=============================================
@media (min-width: 1900px) {
  .open-subtitle {
    font-size: 4rem;
    margin-bottom: 3.5rem;
  }

  .open-title {
    font-size: 14rem;
    margin-bottom: 3rem;
  }

  .hero-tagline {
    font-size: 2.5rem;
    max-width: 900px;
    line-height: 1.4;
    margin-bottom: 5rem;
  }

  .event-info {
    font-size: 3rem;
    margin-bottom: 4rem;
  }

  .discover-button {
    font-size: 1.5rem;
    margin-bottom: 3rem;
  }

  .timer {
    gap: 1.5rem;
  }

  .timer-number {
    font-size: 2.2rem;
  }

  .timer-label {
    font-size: 1.4rem;
  }

  .timer-separator {
    font-size: 3rem;
    margin: 0 0.25rem;
  }
}
*/

@media (min-width: 1260px) {
  .tickets-btn {
    margin-right: 50px;
  }
}

/*============================= desktop  (1400px)=============================================*/
@media (max-width: 1400px) {
  .open-subtitle {
    font-size: 2.2rem;
    margin-bottom: 2rem;
  }

  .open-title {
    font-size: 7rem;
    margin-bottom: 2rem;
  }

  .hero-tagline {
    font-size: 1.8rem;
    max-width: 900px;
    line-height: 1.4;
    margin-bottom: 3rem;
  }

  .event-info {
    font-size: 2.5rem;
    margin-bottom: 3rem;
  }
}

/*=============================tablet (1024px)=============================================*/
@media (max-width: 1024px) {
  .header-container {
    position: relative;
  }

  body.index .header-container {
    padding: 0 !important;
  }

  .social-links {
    position: absolute;
    top: 8px;
    right: 8px;
  }

  .open-subtitle {
    font-size: 2.5rem;
  }

  .open-title {
    font-size: 7rem;
    margin-bottom: 4rem;
  }

  .hero-tagline {
    font-size: 2rem;
    max-width: 750px;
    line-height: 1.4;
    margin-bottom: 4rem;
  }

  .event-info {
    font-size: 2rem;
  }

  #countdown {
    margin-top: 7rem;
  }
}

/*=============================mobile (1000px)=============================================*/
@media (max-width: 1000px) {
  /*======header===========*/
  .header-container {
    padding: 1rem;
    gap: 1rem;
    flex-wrap: wrap;
  }

  .logo-header-wrapper {
    gap: 1rem;
  }

  .festival-main {
    padding-left: 1rem;
  }

  .tickets-btn {
    order: 3;
    flex-basis: 100%;
    margin-left: 0;
  }

  .social-links {
    gap: 0.8rem;
    order: 4;
    flex-basis: 100%;
    justify-content: center;
    transform: scale(0.8);
    right: -7px;
  }

  .social-icon {
    width: 28px;
    height: 28px;
  }

  /* Skrýt sociální ikonyna mobilu při scrollování */
  .header-container.scrolled .social-links {
    display: none;
  }

  /*======úvodní stránka===========*/

  .open-subtitle {
    font-size: 1.5rem;
  }

  .open-title {
    font-size: 3.5rem;
    letter-spacing: 0.06em;
    margin-bottom: 1rem;
  }

  .hero-tagline {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    line-height: 1.4;
    max-width: 100%;
  }

  .event-info {
    font-size: 1.5rem;
    gap: 0.6rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
  }

  .discover-button {
    padding: 1rem 2.2rem;
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .hero-content {
    padding: 0.8rem;
    max-width: 100%;
  }

  #countdown {
    margin-top: 2rem;
  }

  .timer {
    gap: 0.8rem;
  }

  .timer-number {
    font-size: 1.5rem;
  }

  .timer-label {
    font-size: 0.7rem;
  }

  .timer-separator {
    font-size: 1.2rem;
    margin: 0 0.25rem;
  }

  /*======partneři festivalu===========*/
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1rem;
  }

  .partner-logo {
    width: 100px;
  }

  /*konec úvodní stránky*/
}

/*============================= menší mobily (600px) =============================================*/
@media (max-width: 600px) {
  .discover-button {
    margin: 0;
  }

  .header-container {
    gap: 0.5rem;
    padding: 0.8rem 0.5rem;
  }

  .header-container.scrolled {
    padding: 0.3rem 0.5rem;
  }

  .logo-header-wrapper {
    gap: 0.5rem;
  }

  .logo img {
    width: clamp(5rem, 15vw, 7rem);
  }

  .header-container.scrolled .logo img {
    width: clamp(3.5rem, 12vw, 5rem);
  }

  .festival-type {
    font-size: clamp(0.75rem, 2.5vw, 1rem);
    white-space: normal;
  }

  .header-container.scrolled .festival-type {
    font-size: clamp(0.6rem, 2vw, 0.8rem);
  }

  .festival-main {
    font-size: clamp(1.3rem, 5vw, 2rem);
    padding-left: 0.5rem;
    white-space: normal;
    word-break: break-word;
  }

  .header-container.scrolled .festival-main {
    font-size: clamp(1rem, 4vw, 1.5rem);
  }

  .header-title {
    flex-shrink: 1;
    min-width: 0;
  }

  .social-icon {
    width: 22px;
    height: 22px;
  }

  /* Social icons grid on very small phones */
  .social-links {
    display: grid;
    grid-template-columns: repeat(2, auto);
    grid-auto-rows: auto;
    gap: 0.5rem 0.75rem;
    justify-content: center;
    justify-items: center;
    align-items: center;
    padding: 0.3rem 0.3rem;
    right: 0;
    transform: none;
    border-radius: 10%;
    margin-right: 10px;
  }

  /* Sekce programu a hostů na velmi malých mobilech */
  .program-section,
  .guests-section {
    height: calc((100vh - 200px) / 2);
    min-height: 240px;
    padding: 1rem 0.6rem;
  }

  .program-content h2,
  .guests-content h2 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
  }

  .section-subtitle {
    gap: 0.3rem;
    padding: 0.35rem 0.8rem;
    font-size: 0.75rem;
  }

  .toggle-indicator,
  .guests-toggle-indicator {
    width: 16px;
    height: 16px;
  }
}

/* Footer - Studio Vize */
.footer-container {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.95) 100%
  );
  padding: 2rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-credit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  text-align: center;
}

.studio-vize-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #fff;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 8px;
}

.studio-vize-link:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

.studio-vize-logo {
  height: 30px;
  width: auto;
  fill: #fff;
  transition: fill 0.3s ease;
}

.studio-vize-link:hover .studio-vize-logo {
  fill: #03c2f5;
}

.studio-vize-link span {
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.5px;
  padding-left: 1rem;
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  margin-left: 1rem;
}

/* Responsive footer */
@media (max-width: 768px) {
  .footer-container {
    padding: 1.5rem 1rem;
  }

  .footer-credit {
    gap: 0.75rem;
    font-size: 0.85rem;
  }

  .studio-vize-logo {
    height: 24px;
  }

  .studio-vize-link span {
    font-size: 0.9rem;
    padding-left: 0.75rem;
    margin-left: 0.75rem;
  }
  .open-subtitle {
    margin-bottom: 15px;
  }

  .hero-content {
    margin-top: -50px;
  }
}

@media (max-width: 480px) {
  .event-separator {
    display: none;
  }

  .footer-container {
    padding: 1.25rem 0.75rem;
  }

  .footer-credit {
    gap: 0.5rem;
    font-size: 0.8rem;
  }

  .studio-vize-logo {
    height: 20px;
  }

  .studio-vize-link {
    gap: 0.5rem;
    padding: 0.4rem 0.8rem;
  }

  .studio-vize-link span {
    font-size: 0.85rem;
    padding-left: 0.6rem;
    margin-left: 0.6rem;
  }
}

@media (max-width: 400px) {
  body.index footer {
    display: none;
  }
}
