/* 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;
}

/* Odkazy bez podtržení a bez výchozí modré barvy prohlížeče */
a {
  text-decoration: none;
  color: inherit;
}

/* ===================== Main Navigation ===================== */
.main-navigation {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  padding: 15px 0;
  border-bottom: 1px solid rgba(3, 194, 245, 0.2);
}

.main-navigation .nav-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-navigation .nav-menu li a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 8px 16px;
  border-radius: 4px;
  transition: all 0.3s ease;
  position: relative;
}

.main-navigation .nav-menu li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: #03c2f5;
  transition: width 0.3s ease;
}

.main-navigation .nav-menu li a:hover {
  color: #03c2f5;
}

.main-navigation .nav-menu li a:hover::after {
  width: 80%;
}

/* Hamburger button */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 12px;
  z-index: 1001;
  width: 50px;
  height: 50px;
  position: relative;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.hamburger-line:nth-child(1) {
  top: 14px;
}

.hamburger-line:nth-child(2) {
  top: 24px;
}

.hamburger-line:nth-child(3) {
  top: 34px;
}

/* Hamburger animation when open */
.nav-hamburger.is-active .hamburger-line:nth-child(1) {
  top: 24px;
  transform: translateX(-50%) rotate(45deg);
}

.nav-hamburger.is-active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.is-active .hamburger-line:nth-child(3) {
  top: 24px;
  transform: translateX(-50%) rotate(-45deg);
}

/* Mobile navigation row - hidden on desktop */
.mobile-nav-row {
  display: none;
}

.mobile-social {
  display: none;
}

@media (max-width: 900px) {
  /* Hide desktop social links in header */
  .desktop-social {
    display: none !important;
  }

  /* Hide hamburger in header on mobile - we use the one in navigation */
  .header-hamburger {
    display: none !important;
  }

  /* Mobile navigation row - social icons left, hamburger right */
  .mobile-nav-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 10px 15px;
    overflow: visible;
  }
  
  .main-navigation {
    overflow: visible;
  }

  /* Show mobile social icons in navigation bar */
  .mobile-social {
    display: flex;
    align-items: center;
    gap: 15px;
  }

  .mobile-social .social-link {
    color: #fff;
    padding: 8px;
  }

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

  /* Show hamburger in navigation row */
  .mobile-hamburger {
    display: block;
    position: relative;
    width: 50px;
    height: 50px;
    flex-shrink: 0;
  }

  .main-navigation {
    position: relative;
  }

  .main-navigation .nav-menu {
    display: none;
    flex-direction: column;
    gap: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    padding: 0;
    border-top: 1px solid rgba(3, 194, 245, 0.2);
  }

  .main-navigation .nav-menu.is-open {
    display: flex;
  }

  .main-navigation .nav-menu li {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .main-navigation .nav-menu li a {
    display: block;
    padding: 15px 20px;
    font-size: 14px;
  }

  .main-navigation .nav-menu li a::after {
    display: none;
  }
}

/* ===================== 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: 10px;
  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;
  margin: 0;
  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.5rem;
  margin-bottom: 0.5rem;
  color: #ffffff;
  opacity: 0.95;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.open-title {
  font-size: clamp(4rem, 12vw, 9rem);
  font-weight: 700;
  margin-bottom: 1.6rem;
  color: #03c2f5;
  text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.6);
  line-height: 0.95;
  text-transform: uppercase;
}

.hero-tagline {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  margin-bottom: 1.8rem;
  color: #ffffff;
  opacity: 0.9;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
  font-weight: 400;
  letter-spacing: 0.02em;
  max-width: 100%;
  line-height: 1.5;
  white-space: nowrap;
}

.event-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 2rem;
  font-size: clamp(1.3rem, 3vw, 2rem);
  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: 400;
  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;
}

/* Landing page - bottom section s tlačítkem a QR kódem */
.landing-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  width: 100%;
}

.landing-left {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 2rem;
}

.landing-right {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 2rem;
}

.qr-code {
  width: clamp(150px, 20vw, 218px);
  height: auto;
  object-fit: contain;
  border-radius: 4px;
}

.preparing-button {
  text-transform: none;
  cursor: default;
  animation: none;
  padding: 1.6rem 3.5rem;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  letter-spacing: 0.03em;
  font-weight: 600;
}

.preparing-button:hover {
  transform: none;
  box-shadow: 0 4px 20px rgba(3, 194, 245, 0.5);
}

.preparing-button:disabled {
  opacity: 1;
  cursor: default;
}

.ticket-info {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-right: 6rem;
  gap: 0.6rem;
  color: #ffffff;
  font-size: clamp(0.9rem, 1.5vw, 2.5rem);
  font-weight: 400;
  font-style: italic;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  flex-wrap: wrap;
  margin-top: 0.5rem;
  width: 100%;
}

.fox-ticket-logo {
  height: clamp(22px, 3vw, 32px);
  width: auto;
  object-fit: contain;
}

.ticket-link {
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease;
  display: inline-block;
}

.ticket-link:hover {
  transform: scale(1.15);
}

/* Responzivní úpravy pro landing page */
@media (max-width: 768px) {
  .landing-bottom {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }
  
  .landing-left,
  .landing-right {
    justify-content: center;
  }
  
  .qr-code {
    width: 130px;
    margin-right: 0;
  }
  
  .ticket-info {
    font-size: 0.95rem;
    justify-content: center;
    margin-right: 0;
  }
  
  .fox-ticket-logo {
    height: 24px;
  }
  
  .open-subtitle {
    font-size: 1.4rem;
  }
}

/* Sociální ikony na landing page - fixed na pravém okraji */
.landing-social {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 0;
  z-index: 100;
}

.landing-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  color: #ffffff;
  transition: all 0.3s ease;
  text-decoration: none;
}

.landing-social-link:first-child {
  border-radius: 8px 0 0 0;
}

.landing-social-link:last-child {
  border-radius: 0 0 0 8px;
}

.landing-social-link:hover {
  background: #03c2f5;
  padding-left: 10px;
}

.landing-social-link i,
.landing-social-link svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 768px) {
  .landing-social {
    top: 50%;
    left: auto;
    right: 0;
    transform: translateY(100%);
    flex-direction: column;
  }
  
  .landing-social-link {
    width: 45px;
    height: 45px;
  }
  
  .landing-social-link:first-child {
    border-radius: 8px 0 0 0;
  }
  
  .landing-social-link:last-child {
    border-radius: 0 0 0 8px;
  }
  
  .landing-social-link:hover {
    width: 50px;
  }
}

/*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("../images/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("../images/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;
  margin-top: 10px;
  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;
}
/* Při otevření programu povol zobrazit obsah mimo původní výšku wrapperu */
.program-guests.mode-program {
  overflow: visible;
}
.program-guests.mode-guests .guests-section {
  width: 100%;
}
.program-guests.mode-guests .program-section {
  width: 0;
  opacity: 0;
  pointer-events: none;
}
/* Při otevření hostů povol zobrazit obsah mimo původní výšku wrapperu */
.program-guests.mode-guests {
  overflow: visible;
}

/* 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("../images/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("../images/background/ZH26 POZADÍ OBRAZOVKA 4608X1152.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: auto;
  width: 100%;
  overflow: visible;
}

.program-section.open .program-details {
  max-height: none;
  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: capitalize;
  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);
}

/* Bílé zvýraznění pro všechny modré (doprovodné) položky – celý řádek */
.program-item:has(.break) {
  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("../images/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("../images/background/ZH26 POZADÍ OBRAZOVKA 4608X1152.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: auto;
  width: 100%;
  overflow: visible;
}

.guests-section.open .guests-details {
  max-height: none;
  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;
  position: relative;
}

.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 */
}

/* Čas hosta uvnitř textového bloku (desktop) */
.guests-details .guest-info::before {
  content: attr(data-time);
  position: absolute;
  top: 10px;
  right: 14px;
  color: #03c2f5;
  font-weight: 900;
  font-size: 2rem;
  line-height: 1;
  pointer-events: none;
  opacity: 0.2;
}
.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: 200px;
    max-height: 220px;
    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;
  }

  /* Při otevření hostů roztáhni sekci na plnou výšku obsahu */
  .program-guests.mode-guests .guests-section,
  .guests-section.open,
  .program-guests.mode-program .program-section,
  .program-section.open {
    height: auto !important;
    min-height: 0;
    max-height: none;
    overflow: visible;
  }
  .guests-section.open .guests-details {
    max-height: none;
  }

  .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;
  }

  /* Zákaz desktopového badge s časem i při vyšší specificitě na mobilech */
  .guests-details .guest-info::before {
    content: none !important;
  }

  .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: attr(data-time);
    top: 6px;
    right: 6px;
    font-size: 0.85rem;
    padding: 5px 8px;
  }

  /* 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("../images/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);
}

.extras-note {
  margin: 0.75rem auto 0;
  max-width: 1200px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  text-align: center;
}

.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;
}

@media (max-width: 768px) {
  .section-heading,
  h2.section-heading {
    font-size: 1.5rem !important;
    margin-bottom: 2rem;
  }
}

@media (max-width: 480px) {
  .section-heading,
  h2.section-heading {
    font-size: 1.2rem !important;
    margin-bottom: 1.5rem;
  }
}

.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;
  text-transform: uppercase;
}

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

@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;
  }
}

@media (max-width: 768px) {
  .gallery-prev,
  .gallery-next {
    display: none;
  }
  
  .gallery-view {
    border-radius: 8px;
  }
  
  .gallery-image {
    border-radius: 8px;
  }
}

/* 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("../images/background/nature-7720825_1280.jpg");
  background-size: cover;
  background-position: center;
  padding: 4rem 1rem;
  padding-top: 5rem;
  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-gift a {
  color: #03c2f5;
  text-decoration: underline;
}
.info-gift a:hover {
  color: #00b4d8;
  text-decoration: none;
}

.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;
  }
}

@media (max-width: 768px) {
  .info-block.info-venue {
    text-align: center;
  }
  .about-description {
    text-align: center;
  }
  .about-description p {
    text-align: center;
  }
  
  /* Zmenšení odsazení mezi sekcemi na mobilech */
  .extras-bg {
    padding: 2rem 1rem;
    padding-bottom: 0;
  }
  
  .year-2024 {
    padding: 3rem 1rem;
  }
  
  .info-section {
    padding: 2.5rem 1rem;
  }
  
  .info-grid {
    gap: 1.5rem;
  }
  
  .info-section > .section-heading:last-of-type {
    margin-top: 2rem;
  }
  
  .partners-wrapper {
    margin-top: 1rem;
  }
}

/* O nás – popis festivalu */
.about-description {
  margin-bottom: 2rem;
}

.about-description p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1rem;
}

.about-description p:last-child {
  margin-bottom: 0;
}

/* Podnadpis v sekci O nás */
.info-subtitle {
  color: #03c2f5;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  margin-top: 1.5rem;
}

/* ===================== Galerie Carousel ===================== */
.festival-gallery-section {
  max-width: 1000px;
  margin: 3rem auto;
  padding: 0 1rem;
}

.gallery-title {
  color: #03c2f5;
  text-transform: uppercase;
  font-size: 1.3rem;
  letter-spacing: 0.08em;
  margin-bottom: 2rem;
  text-align: center;
}

.gallery-carousel {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
}

.carousel-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.carousel-btn:hover {
  background: rgba(3, 194, 245, 0.3);
  border-color: #03c2f5;
}

.carousel-track-container {
  flex: 1;
  overflow: hidden;
  border-radius: 12px;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-slide {
  min-width: 100%;
  opacity: 0.3;
  transform: scale(0.85);
  transition: all 0.5s ease;
}

.carousel-slide.active {
  opacity: 1;
  transform: scale(1);
}

.carousel-slide img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 1.5rem;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dot:hover {
  background: rgba(255, 255, 255, 0.5);
}

.carousel-dot.active {
  background: #03c2f5;
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .carousel-btn {
    display: none;
  }
  
  .carousel-slide img {
    height: 250px;
  }
  
  .gallery-carousel {
    gap: 0;
  }
  
  .carousel-track-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  
  .carousel-track-container::-webkit-scrollbar {
    display: none;
  }
  
  .carousel-slide {
    scroll-snap-align: center;
    min-width: 100%;
  }
  
  .festival-gallery-section {
    padding: 0 0.5rem;
    margin: 1.5rem auto;
  }
  
  .gallery-title {
    margin-bottom: 1rem;
  }
}

/* Tým festivalu – dvousloupcové rozložení */
.team-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 1.5rem;
}

.team-content {
  flex: 1;
}

.team-photo {
  flex: 1;
}

.team-photo img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
  .team-section {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .team-photo {
    order: -1;
  }

  .team-content {
    text-align: center;
  }

  .info-team-list {
    text-align: center;
  }
}

/* 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: #ffffff;
  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: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
  align-items: center;
  justify-content: center;
}

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

.partner-item a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  transition: transform 0.25s ease;
}

.partner-item a:hover {
  transform: translateY(-4px) scale(1.06);
}

.partner-item a:hover .partner-logo {
  filter: drop-shadow(0 4px 14px rgba(3, 194, 245, 0.45));
}

.partner-item a:hover .partner-name {
  color: #03c2f5;
}

.partner-logo {
  width: 90px;
  max-width: 100%;
  height: auto;
  filter: none;
  transition: filter 0.25s ease;
}

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

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

@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 {
    gap: 1.5rem 1rem;
  }

  .partner-logo {
    width: 55px;
  }

  /*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(1rem, 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.7rem, 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: 180px;
    max-height: 200px;
    padding: 1rem 0.6rem;
  }

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

  /* Zajisti plnou výšku obsahu i na velmi malých mobilech po otevření hostů */
  .program-guests.mode-guests .guests-section,
  .guests-section.open,
  .program-guests.mode-program .program-section,
  .program-section.open {
    height: auto !important;
    min-height: 0;
    max-height: none;
    overflow: visible;
  }
  .guests-section.open .guests-details {
    max-height: none;
  }

  .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;
  }
}

/* ===================== Předchozí ročníky - sekce na hlavní stránce ===================== */
.rocniky-section {
  padding: 4rem 1rem;
  background: transparent;
}

@media (max-width: 768px) {
  .rocniky-section {
    padding: 0.5rem 1rem 1rem;
  }
}

.rocniky-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.rocnik-card {
  display: block;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.rocnik-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(3, 194, 245, 0.2);
  border-color: rgba(3, 194, 245, 0.4);
}

.rocnik-card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.rocnik-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.rocnik-card:hover .rocnik-card-image img {
  transform: scale(1.1);
}

.rocnik-card-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #03b3e3, #0077b6);
  display: flex;
  align-items: center;
  justify-content: center;
}

.rocnik-card-year-big {
  font-size: 4rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.3);
}

.rocnik-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.rocnik-card:hover .rocnik-card-overlay {
  opacity: 1;
}

.rocnik-card-cta {
  background: linear-gradient(135deg, #03b3e3, #00a3cf);
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

.rocnik-card-content {
  padding: 1.5rem;
}

.rocnik-card-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: #fff;
}

.rocnik-card-datum {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.rocnik-card-stats {
  display: flex;
  gap: 1.5rem;
}

.rocnik-stat {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

.rocnik-stat svg {
  width: 16px;
  height: 16px;
}

/* ===================== Stránka ročníku (single-rocnik) ===================== */
.rocnik-page {
  background: #000;
  color: #fff;
  min-height: 100vh;
}

.rocnik-hero {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  padding: 6rem 1rem 4rem;
}

.rocnik-hero-content {
  max-width: 800px;
}

.rocnik-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.rocnik-year {
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 900;
  color: #03b3e3;
  line-height: 1;
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .rocnik-hero {
    min-height: 25vh;
    padding: 3rem 1rem 1.5rem;
  }
  
  .rocnik-title {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    margin-bottom: 0.5rem;
  }
  
  .rocnik-year {
    font-size: clamp(2.5rem, 8vw, 5rem);
    margin-bottom: 1rem;
  }
  
  .rocnik-meta {
    gap: 1rem;
    font-size: 0.95rem;
  }
}

.rocnik-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
}

.rocnik-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.rocnik-meta svg {
  width: 20px;
  height: 20px;
  color: #03b3e3;
}

.rocnik-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.rocnik-section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  text-align: center;
  margin: 0 0 2.5rem;
  color: #fff;
}

/* Popis ročníku */
.rocnik-description {
  padding: 4rem 0;
  background: rgba(255, 255, 255, 0.02);
}

.rocnik-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
}

.rocnik-content p {
  margin-bottom: 1.5rem;
}

/* Video */
.rocnik-video {
  padding: 4rem 0;
}

.rocnik-video-wrapper {
  position: relative;
  width: 100%;
  max-width: 800px;
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.rocnik-video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Hosté ročníku */
.rocnik-hoste {
  padding: 4rem 0;
  background: rgba(255, 255, 255, 0.02);
}

.rocnik-hoste-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.rocnik-host-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rocnik-host-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.rocnik-host-photo {
  height: 280px;
  overflow: hidden;
}

.rocnik-host-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.rocnik-host-info {
  padding: 1.5rem;
}

.rocnik-host-name {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: #fff;
}

.rocnik-host-topic {
  color: #03b3e3;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.rocnik-host-bio {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

/* Fotogalerie */
.rocnik-gallery {
  padding: 4rem 0;
}

.rocnik-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.5rem;
}

.rocnik-gallery-item {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rocnik-gallery-item:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.rocnik-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.rocnik-gallery-load-more {
  text-align: center;
  margin-top: 2rem;
}

.rocnik-load-more-btn {
  background: linear-gradient(135deg, #03b3e3, #00a3cf);
  color: #fff;
  border: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rocnik-load-more-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(3, 194, 245, 0.4);
}

.rocnik-load-more-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.gallery-count {
  opacity: 0.7;
  font-weight: 400;
}

/* Zpět */
.rocnik-back {
  padding: 3rem 0 5rem;
  text-align: center;
}

.rocnik-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 1rem;
  padding: 0.8rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  transition: all 0.3s ease;
}

.rocnik-back-btn:hover {
  color: #fff;
  border-color: #03b3e3;
  background: rgba(3, 194, 245, 0.1);
}

.rocnik-back-btn svg {
  width: 18px;
  height: 18px;
}

/* Responsive - tablet */
@media (max-width: 992px) {
  .rocnik-hoste-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .rocnik-host-photo {
    height: 220px;
  }
}

/* Responsive - mobile */
@media (max-width: 600px) {
  .rocniky-grid {
    grid-template-columns: 1fr;
    padding: 0;
  }
  
  .rocnik-gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  }
  
  .rocnik-gallery {
    padding: 1.5rem 0;
  }
  
  .rocnik-hoste-grid {
    grid-template-columns: 1fr;
  }
  
  .rocnik-hoste {
    padding: 1rem 0;
  }
  
  .rocnik-hoste .rocnik-section-title {
    margin-bottom: 1rem;
  }
  
  .rocnik-back {
    padding: 1.5rem 0 2rem;
  }
  
  .rocnik-host-photo {
    height: 300px;
  }
  
  .rocnik-meta {
    flex-direction: column;
    gap: 1rem;
  }
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 1));
  color: #fff;
  margin-top: 0;
}

.footer-main {
  padding: 4rem 2rem 3rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  gap: 3rem;
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-heading {
  font-size: 1.3rem;
  font-weight: 700;
  color: #03c2f5;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Footer navigace */
.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu li {
  margin-bottom: 0.8rem;
}

.footer-menu a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.footer-menu a:hover {
  color: #03c2f5;
}

/* Footer kontakty */
.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
}

.footer-contact-list li i,
.footer-contact-list li svg {
  width: 20px;
  height: 20px;
  color: #03c2f5;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-list a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact-list a:hover {
  color: #03c2f5;
}

/* Footer sociální sítě */
.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #fff;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: #03c2f5;
  transform: translateY(-3px);
}

.footer-social a i,
.footer-social a svg {
  width: 20px;
  height: 20px;
}

/* Footer mapa */
.footer-map-link {
  display: block;
  text-decoration: none;
}

.footer-map-preview {
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.footer-map-preview iframe {
  display: block;
  pointer-events: none;
}

.footer-map-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #03c2f5;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.footer-map-cta:hover {
  color: #fff;
}

.footer-map-cta i,
.footer-map-cta svg {
  width: 18px;
  height: 18px;
}

/* Footer bottom */
.footer-bottom {
  background: rgba(0, 0, 0, 0.5);
  padding: 1.5rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom .footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-credit {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-credit .studio-vize-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-credit .studio-vize-link:hover {
  color: #03c2f5;
}

.footer-credit .studio-vize-logo {
  width: 24px;
  height: auto;
}

.footer-credit .studio-vize-logo .cls-1 {
  fill: currentColor;
}

.footer-copyright {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Footer responsive */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  
  .footer-map {
    grid-column: span 2;
  }
}

@media (max-width: 600px) {
  .footer-main {
    padding: 2rem 1rem 1.5rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .footer-heading {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
  }
  
  .footer-menu a {
    font-size: 0.95rem;
  }
  
  .footer-menu li {
    margin-bottom: 0.5rem;
  }
  
  .footer-contact-list li {
    font-size: 0.95rem;
    margin-bottom: 0.6rem;
  }
  
  .footer-map {
    grid-column: span 1;
  }
  
  .footer-bottom {
    padding: 1rem 1rem;
  }
  
  .footer-bottom .footer-container {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-credit {
    flex-direction: column;
    font-size: 0.85rem;
  }
  
  .footer-copyright {
    font-size: 0.8rem;
  }
}
