/* Rozsviť tmu - Globální styly */

/* Definice barev */
:root {
  --primary-yellow: #FFD700;
  --primary-white: #FFFFFF;
  --primary-black: #000000;
  --primary-gray: #666666;
  --accent-red: #DC143C;
  --light-gray: #F5F5F5;
  --dark-gray: #333333;
  --border-gray: #DDDDDD;
}

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

body {
  font-family: 'Montserrat', Arial, sans-serif;
  line-height: 1.6;
  color: var(--primary-black);
  background-color: var(--primary-white);
}

/* Kontejnery */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-fluid {
  width: 100%;
  padding: 0 20px;
}

/* Header */
body:not(.page-festival) header {
  background-color: var(--primary-black);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.67rem 0;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--primary-yellow);
  text-decoration: none;
}

/* Navigace */
body:not(.page-festival) nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

body:not(.page-festival) nav a {
  text-decoration: none;
  color: var(--primary-white);
  font-weight: 500;
  transition: color 0.3s ease;
}

body:not(.page-festival) nav a:hover,
body:not(.page-festival) nav a.active {
  color: var(--primary-yellow);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--primary-yellow);
  transition: 0.3s;
}

/* Banner */
.banner {
  background-color: var(--primary-yellow);
  color: var(--primary-black);
  padding: 2rem 0;
  text-align: center;
  margin-top: 40px;
}

.banner-image {
  padding: 0;
  background: none;
}

.banner-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.banner-image img {
  width: 100%;
  height: auto;
  display: block;
}

.banner h1 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.banner p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* Hlavní obsah */
body:not(.page-festival) main {
  padding-top: 2rem;
  min-height: calc(100vh - 160px);
}

/* Sekce */
.section {
  padding: 2rem 0;
}

.section:first-of-type {
  padding-top: 0;
}

.section:nth-child(even) {
  background-color: var(--light-gray);
}

.section h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  margin-top: 0;
  padding-top: 0;
  text-align: center;
  color: var(--primary-black);
}

.section h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--dark-gray);
}

.section p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--primary-gray);
  line-height: 1.8;
}

/* Grid systém */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Karty */
.card {
  background: var(--primary-white);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

/* Tlačítka */
.btn {
  display: inline-block;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  color: var(--primary-black);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #E6C200 0%, #FF8C00 100%);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--primary-black);
  color: var(--primary-white);
}

.btn-secondary:hover {
  background-color: var(--dark-gray);
}

.btn-accent {
  background-color: var(--accent-red);
  color: var(--primary-white);
}

.btn-accent:hover {
  background-color: #B91C1C;
}

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

.btn-outline:hover {
  background-color: var(--primary-black);
  color: var(--primary-white);
}

.btn-outline.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* Call-to-action */
.cta {
  background-color: var(--primary-yellow);
  padding: 3rem 0;
  text-align: center;
}

.cta h2 {
  margin-bottom: 1rem;
  color: var(--primary-black);
}

.cta p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--dark-gray);
}

/* Formuláře */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--dark-gray);
}

.form-control {
  width: 100%;
  padding: 12px;
  border: 2px solid var(--border-gray);
  border-radius: 5px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-yellow);
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Mapa placeholder */
.map-container {
  height: 500px;
  background-color: var(--light-gray);
  border: 2px solid var(--border-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  margin: 2rem 0;
  position: relative;
  overflow: hidden;
}

.map-placeholder {
  text-align: center;
  color: var(--primary-gray);
}

/* Interaktivní mapa České republiky */
.czech-map {
  width: 100%;
  height: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.czech-map svg {
  width: 100%;
  height: 100%;
  cursor: grab;
}

.czech-map svg:active {
  cursor: grabbing;
}

/* Styly pro čistou mapu */
.czech-border {
  fill: white;
  stroke: var(--primary-yellow);
  stroke-width: 4;
  transition: all 0.3s ease;
}

.czech-border:hover {
  stroke: #E6C200;
}

/* Piny měst */
.city-pin {
  fill: var(--accent-red);
  stroke: var(--primary-white);
  stroke-width: 2;
  cursor: pointer;
  transition: all 0.3s ease;
  filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.3));
}

.city-pin.active {
  fill: var(--primary-yellow);
  transform: scale(1.3);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* Dialog pro informace o městě */
.city-dialog {
  position: absolute;
  background: var(--primary-white);
  border: 2px solid var(--primary-yellow);
  border-radius: 8px;
  padding: 1rem;
  min-width: 250px;
  max-width: 350px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  z-index: 1000;
  display: none;
  font-size: 0.9rem;
}

.city-dialog.show {
  display: block;
  animation: dialogFadeIn 0.3s ease;
}

@keyframes dialogFadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.city-dialog h3 {
  margin: 0 0 0.5rem 0;
  color: var(--primary-black);
  font-size: 1.2rem;
}

.city-dialog .city-date {
  color: var(--accent-red);
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.city-dialog .city-info {
  color: var(--primary-gray);
  margin-bottom: 1rem;
  line-height: 1.4;
}

.city-dialog .city-status {
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: bold;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.city-status.confirmed {
  background-color: #22c55e;
  color: white;
}

.city-status.planning {
  background-color: var(--primary-yellow);
  color: var(--primary-black);
}

.city-status.interested {
  background-color: #3b82f6;
  color: white;
}

.city-dialog .close-btn {
  position: absolute;
  top: 0.5rem;
  right: 0.8rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary-gray);
  padding: 0;
  line-height: 1;
}

.city-dialog .close-btn:hover {
  color: var(--accent-red);
}

.city-description {
  margin: 1rem 0;
  padding: 0.8rem;
  background-color: var(--light-gray);
  border-radius: 5px;
  font-size: 0.9rem;
  line-height: 1.4;
}

.dialog-actions {
  margin-top: 1rem;
  text-align: center;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

/* Responzivní úpravy pro mapu */
@media (max-width: 768px) {
  .map-container {
    height: 400px;
  }
  
  .city-dialog {
    min-width: 200px;
    max-width: 280px;
    font-size: 0.8rem;
  }
}

/* Social media */
.social-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin: 2rem 0;
}

.social-link {
  display: inline-flex;
  width: 50px;
  height: 50px;
  background-color: var(--primary-black);
  color: var(--primary-white);
  text-decoration: none;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 1.5rem;
}

.social-link:hover {
  background-color: var(--primary-yellow);
  color: var(--primary-black);
  transform: scale(1.1);
}

.social-link.facebook:hover {
  background-color: #1877F2;
  color: white;
}

.social-link.instagram:hover {
  background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
  color: white;
}

.social-link.youtube:hover {
  background-color: #FF0000;
  color: white;
}

.social-link.linkedin:hover {
  background-color: #0077B5;
  color: white;
}

.social-link.whatsapp:hover {
  background-color: #25D366;
  color: white;
}

/* SVG ikony pro social media */
.social-link svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* FAQ */
.faq-item {
  margin-bottom: 1rem;
  border: 1px solid var(--border-gray);
  border-radius: 5px;
  overflow: hidden;
}

.faq-question {
  background-color: var(--light-gray);
  padding: 1rem;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question:hover {
  background-color: var(--primary-yellow);
}

.faq-answer {
  padding: 1rem;
  display: none;
  background-color: var(--primary-white);
}

.faq-answer.active {
  display: block;
}

/* Footer */
body:not(.page-festival) footer {
  background-color: var(--primary-black);
  color: var(--primary-white);
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 1rem;
}

.footer-section h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: var(--primary-yellow);
}

.footer-section a {
  color: var(--primary-white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--primary-yellow);
}

.footer-bottom {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid var(--dark-gray);
  color: var(--primary-gray);
}

/* Vize section styles */
.vize-flex {
  display: flex;
  gap: 2rem;
}

.vize-main {
  flex: 2;
}

.vize-quote {
  flex: 1;
  background-image: url('../images/Vers01.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 300px;
}

/* Zapojené církve styles */
.churches-section {
  background-color: var(--primary-yellow);
  padding: 2rem 0;
}

.churches-section h2 {
  margin-bottom: 1rem;
}

.churches-section .text-center {
  margin-bottom: 1.5rem;
}

.churches-section .register-cta {
  margin-top: 1.5rem;
}

.church-card {
  padding: 1rem;
}

.church-card h4 {
  margin-bottom: 0.5rem;
}

/* Reuse the universal list-yellow-bullets class */
.church-list {
  list-style: none;
  padding-left: 1.5rem;
}

.church-list li {
  position: relative;
  margin-bottom: 0.3rem;
}

.church-list li .bullet-yellow,
.church-list-item .bullet-yellow {
  position: absolute;
  left: -1.2rem;
  color: var(--primary-yellow);
  font-size: 1.2rem;
  line-height: 1;
}

/* Požadavky styles - reuse list-yellow-bullets-lg */
.requirements-list {
  list-style: none;
  padding-left: 2rem;
}

.requirements-list li {
  position: relative;
  margin-bottom: 0.5rem;
}

.requirements-list li .bullet-yellow {
  position: absolute;
  left: -1.5rem;
  color: var(--primary-yellow);
  font-size: 1.5rem;
  line-height: 1;
}

/* Event card styles */
.event-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.event-card-header {
  background-color: var(--primary-black);
  color: var(--primary-yellow);
  padding: 0.75rem 1.5rem;
}

.event-card-header h3 {
  margin-bottom: 0;
  color: var(--primary-yellow);
  font-size: 1.3rem;
}

.event-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.event-card-body p {
  margin-bottom: 0.5rem;
}

.event-card-body .event-location {
  flex-grow: 1;
  margin-bottom: 0.5rem;
}

.event-card-body .btn {
  width: 100%;
}

.event-placeholder {
  background-color: #f5f5f5;
  border: 2px dashed #ccc;
}

.event-placeholder p {
  font-style: italic;
  color: #666;
}

/* Podpora section styles */
.podpora-flex {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.podpora-main {
  flex: 3;
  text-align: center;
}

.podpora-main h2 {
  margin-top: 0;
}

.podpora-qr {
  flex: 1;
  text-align: center;
}

.podpora-qr img {
  max-width: 200px;
  width: 100%;
  height: auto;
  margin: 0 auto;
  display: block;
}

/* Responzivní design */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  nav ul {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--primary-black);
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease;
  }

  nav ul.active {
    display: flex;
    max-height: 500px;
    opacity: 1;
  }

  nav ul a {
    color: var(--primary-white);
  }

  nav ul a:hover,
  nav ul a.active {
    color: var(--primary-yellow);
  }

  .banner h1 {
    font-size: 2rem;
  }

  .banner p {
    font-size: 1rem;
  }

  .vize-flex {
    flex-direction: column !important;
  }

  .vize-main {
    flex: 1 !important;
  }

  .vize-quote {
    flex: 1 !important;
  }

  .one2one-container {
    display: flex !important;
    flex-direction: column !important;
  }

  .one2one-list {
    order: 1 !important;
  }

  .one2one-detail {
    order: 2 !important;
  }

  .one2one-info-section {
    order: 0;
  }

  .one2one-info-flex {
    flex-direction: column !important;
  }

  .one2one-info-image {
    flex: 1 !important;
  }

  .one2one-info-text {
    flex: 1 !important;
  }

  .podpora-flex {
    flex-direction: column !important;
  }

  .podpora-main {
    flex: 1 !important;
  }

  .podpora-qr {
    flex: 1 !important;
  }

  .section h2 {
    font-size: 2rem;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .social-links {
    flex-wrap: wrap;
  }

  .container {
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .banner h1 {
    font-size: 1.5rem;
  }

  .card {
    padding: 1rem;
  }

  .btn {
    width: 100%;
    margin-bottom: 1rem;
  }
}

/* Animace */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease;
}

/* Utility třídy */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

.hidden {
  display: none;
}

.visible {
  display: block;
}


/* ============================================
   FESTIVAL PAGE (.page-festival)
   pred-akci.html – Rozsviť tmu 2026
   ============================================ */

/* Festival CSS Variables */
.page-festival {
    --color-dark: #222430;
    --color-yellow: #FFD500;
    --color-red: #E30613;
    --color-orange: #F7941D;
    --color-paper: #F5F2ED;
    --color-white: #FFFFFF;
    font-family: 'Archivo', sans-serif;
    background-color: var(--color-dark);
    color: var(--color-dark);
    line-height: 1.6;
    max-width: 960px;
    margin: 0 auto;
}

/* Skip link (a11y) */
.fest-skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--color-dark);
    color: var(--color-white);
    padding: 8px 16px;
    z-index: 10000;
    font-size: 0.875rem;
}
.fest-skip-link:focus {
    top: 0;
}

/* --- HEADER --- */
.fest-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--color-dark);
    height: 60px;
}
.fest-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.fest-header-logo {
    font-family: 'DM Sans', sans-serif;
    font-weight: 900;
    font-size: 1.25rem;
    color: var(--color-yellow);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}
.fest-nav {
    display: none;
}
.fest-nav-list {
    display: flex;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.fest-nav-list a {
    color: var(--color-white);
    text-decoration: none;
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.3s;
}
.fest-nav-list a:hover {
    color: var(--color-yellow);
}

/* Burger */
.fest-burger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.fest-burger span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--color-red);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}
.fest-burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}
.fest-burger.active span:nth-child(2) {
    opacity: 0;
}
.fest-burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* Mobile menu overlay */
.fest-mobile-menu {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-dark);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}
.fest-mobile-menu.active {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.fest-mobile-menu nav {
    width: 100%;
    text-align: center;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}
.fest-mobile-menu nav ul {
    position: static !important;
    max-height: none !important;
    overflow: visible !important;
    opacity: 1 !important;
    flex-direction: column !important;
    display: block !important;
    background: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}
.fest-mobile-menu ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    text-align: center;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}
.fest-mobile-menu li {
    margin-bottom: 32px;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}
.fest-mobile-menu a {
    color: #ffffff !important;
    text-decoration: none;
    font-family: 'DM Sans', sans-serif;
    font-weight: 900;
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}
.fest-mobile-menu a:hover {
    color: var(--color-yellow) !important;
}

/* --- HERO --- */
.fest-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background-color: var(--color-paper);
    background-image: url('../images/pozadi-papir-cisty.jpeg');
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: top center;
    padding: 5vh 20px 4vh;
}
.fest-hero-cloud {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 750px;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}
.fest-hero-cloud img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}
.fest-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
/* ========================================
   HERO INTRO ANIMACE
   ======================================== */
@keyframes heroTitleIn {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroLogoPopup {
    0%   { transform: translateY(0) scale(1); }
    30%  { transform: translateY(-20px) scale(1.07); }
    50%  { transform: translateY(0) scale(1); }
    65%  { transform: translateY(-9px) scale(1.03); }
    78%  { transform: translateY(0) scale(1); }
    88%  { transform: translateY(-3px) scale(1.01); }
    100% { transform: translateY(0) scale(1); }
}

.fest-hero-logo {
    display: block;
    margin: 60px auto 10px;
    width: 161px;
    height: auto;
    filter: brightness(0) invert(1);
    animation: heroLogoPopup 0.9s ease-out 0.7s both;
}
.fest-hero-title {
    font-family: 'DM Sans', sans-serif;
    font-weight: 950;
    font-size: clamp(6.5rem, 26vw, 10rem);
    text-transform: uppercase;
    color: var(--color-dark);
    line-height: 0.9;
    margin-top: 32px;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    width: 100%;
    text-align: center;
    -webkit-text-stroke: 2px var(--color-dark);
    animation: heroTitleIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}
.fest-hero-date {
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    font-size: clamp(2.24rem, 8.8vw, 3.5rem);
    text-transform: uppercase;
    color: var(--color-dark);
    margin-bottom: 4px;
}
.fest-hero-slogan {
    font-family: 'DM Sans', sans-serif;
    font-weight: 800;
    font-size: clamp(2.24rem, 8.8vw, 3.5rem);
    text-transform: uppercase;
    color: var(--color-dark);
    line-height: 1.1;
    min-height: unset;
    transition: opacity 0.5s;
}
.fest-hero-slogan.fade-out {
    opacity: 0;
}
.fest-hero-free {
    font-family: 'DM Sans', sans-serif;
    font-weight: 900;
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    color: var(--color-red);
    text-transform: uppercase;
    margin-top: 16px;
    letter-spacing: 0.12em;
}
.fest-hero-social {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 12px;
    margin-bottom: 12px;
}
.fest-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    transition: transform 0.3s, background 0.3s;
}
.fest-social-icon svg {
    fill: var(--color-red);
    width: 28px;
    height: 28px;
    transition: fill 0.3s;
}
.fest-social-icon:hover {
    transform: scale(1.15);
}
.fest-social-icon:hover svg {
    fill: var(--color-orange);
}

/* --- KDE HRAJEME --- */
.fest-cities {
    background: var(--color-yellow);
    padding: 30px 20px 60px;
    min-height: 100vh;
}
.fest-cities-inner {
    max-width: 1200px;
    margin: 0 auto;
}
a.fest-cities-pin {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 32px;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}
.fest-cities-pin img {
    width: 80px;
    height: auto;
}
.fest-cities-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-dark);
    text-transform: uppercase;
}
.fest-cities-date {
    display: inline;
    font-size: 0.75em;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-red);
}
.fest-cities-subtitle {
    display: block;
    font-family: 'Archivo', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--color-dark);
    text-transform: none;
    margin-top: 4px;
}
.fest-cities-layout {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Map */
.fest-map-container {
    display: none;
}
.fest-map-wrapper {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}
.fest-map-img {
    width: 100%;
    height: auto;
}
.fest-map-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    font-family: 'DM Sans', sans-serif;
    font-weight: 900;
    font-size: clamp(1rem, 2vw, 1.5rem);
    text-transform: uppercase;
    color: var(--color-dark);
    line-height: 1.3;
    pointer-events: none;
}
.fest-map-text strong {
    color: var(--color-red);
}

/* Map pins */
.fest-map-pin {
    position: absolute;
    transform: translate(-50%, -50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.fest-pin-dot {
    display: block;
    width: 32px;
    height: 32px;
    background: url('../images/ikona-pin-cerveny.svg') center/contain no-repeat;
    transition: transform 0.3s;
}
.fest-map-pin:hover .fest-pin-dot,
.fest-map-pin.active .fest-pin-dot {
    transform: scale(1.3);
}
.fest-pin-label {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #ccc;
    color: var(--color-dark);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 3px;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
    pointer-events: none;
}
.fest-map-pin:hover .fest-pin-label,
.fest-map-pin.active .fest-pin-label {
    background: var(--color-dark);
    color: var(--color-white);
}

/* City list */
.fest-city-list {
    width: 100%;
}
.fest-city-item {
    border-bottom: 1px solid rgba(34, 36, 48, 0.15);
}
.fest-city-header {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 16px 8px;
    background: none;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-align: left;
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    color: var(--color-dark);
    letter-spacing: 0.02em;
    transition: background 0.2s, padding-left 0.2s;
}
.fest-city-header:hover {
    background: rgba(34, 36, 48, 0.1);
    padding-left: 16px;
}
.fest-city-special-date {
    color: var(--color-red);
    font-weight: 700;
    font-size: 0.85em;
}
.fest-city-toggle {
    height: 24px;
    color: var(--color-red);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    flex-shrink: 0;
    transition: transform 0.3s;
}
.fest-city-item.active .fest-city-toggle {
    transform: rotate(45deg);
}
.fest-city-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 0 0 36px;
}
.fest-city-item.active .fest-city-content {
    max-height: 200px;
    padding: 0 0 16px 36px;
}
.fest-city-content p {
    font-size: 0.95rem;
    margin-bottom: 4px;
    color: var(--color-dark);
    opacity: 0.85;
}

/* --- DETAIL MĚSTA --- */
.fest-city-detail {
    display: block;
    flex: 0;
    max-width: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateX(16px);
    transition: flex 1s ease, max-width 1s ease, opacity 1s ease, transform 1s ease;
    min-width: 0;
    position: relative;
    background: var(--color-dark);
    color: var(--color-white);
    border-radius: 8px;
    padding: 16px;
    pointer-events: none;
}
.fest-detail-close {
    display: none;
    position: absolute;
    top: 8px;
    right: 8px;
    background: none;
    border: none;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
    cursor: pointer;
    width: 32px;
    height: 32px;
    line-height: 1;
    border-radius: 50%;
    transition: background 0.2s;
}
.fest-detail-close:hover {
    background: rgba(255, 255, 255, 0.15);
}
.fest-detail-back {
    display: none;
    background: none;
    border: none;
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-red);
    cursor: pointer;
    padding: 8px 0;
    margin-bottom: 12px;
    transition: opacity 0.2s;
}
.fest-detail-back:hover {
    opacity: 0.7;
}
.fest-detail-content {
    padding: 0 8px;
}
.fest-detail-content h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--color-white);
    margin-bottom: 4px;
}
.fest-detail-content .fest-detail-meta {
    font-family: 'Archivo', sans-serif;
    font-size: 0.95rem;
    color: var(--color-white);
    opacity: 0.7;
    margin-bottom: 20px;
}
.fest-detail-coming-soon {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    font-style: italic;
    margin-top: 8px;
}
.fest-detail-day {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--color-white);
    margin: 24px 0 8px;
    padding-bottom: 6px;
    border-bottom: 2px solid var(--color-red);
}
.fest-detail-day:first-of-type {
    margin-top: 16px;
}
.fest-detail-daily {
    font-family: 'Archivo', sans-serif;
    font-size: 0.9rem;
    color: var(--color-white);
    background: rgba(255,255,255,0.1);
    border-left: 3px solid var(--color-red);
    padding: 8px 12px;
    margin-bottom: 16px;
    border-radius: 0 4px 4px 0;
}
.fest-detail-daily-label {
    font-weight: 700;
    margin-right: 6px;
    color: var(--color-red);
}
.fest-detail-venue {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-white);
    opacity: 1;
    margin-bottom: 16px;
}
.fest-detail-venue a {
    color: var(--color-white);
    text-decoration: underline;
}
.fest-detail-program {
    list-style: none;
    padding: 0;
    margin: 0;
}
.fest-detail-program li {
    display: flex;
    gap: 10px;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.fest-detail-program li:last-child {
    border-bottom: none;
}
.fest-detail-time {
    font-family: 'DM Sans', sans-serif;
    font-weight: 800;
    font-size: 0.85rem;
    color: var(--color-red);
    flex-shrink: 0;
    min-width: 40px;
}
.fest-detail-info h4 {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--color-white);
    margin-bottom: 0;
    line-height: 1.2;
}
.fest-detail-info p {
    font-size: 0.9rem;
    color: var(--color-white);
    opacity: 0.7;
}

/* Mobil: city-active stav */
@media (max-width: 767px) {
    .fest-cities-layout {
        flex-direction: column;
    }
    .fest-cities-layout.city-active .fest-city-list {
        width: 100%;
        margin-bottom: 0;
    }
    .fest-cities-layout.city-active .fest-city-item {
        display: none;
    }
    .fest-cities-layout.city-active .fest-city-item.active {
        display: block;
    }
    .fest-cities-layout.city-active .fest-city-item.active .fest-city-header {
        display: none;
    }
    .fest-cities-layout.city-active .fest-city-item.active .fest-city-content {
        display: none;
    }
    .fest-cities-layout.city-active .fest-city-detail {
        position: static;
        width: 100%;
        max-width: 100%;
        flex: none;
        opacity: 1;
        transform: translateX(0);
        pointer-events: auto;
    }
    .fest-cities-layout.city-active .fest-detail-back {
        display: block;
    }
}

/* --- POPIS FESTIVALU --- */
.fest-about {
    background-color: var(--color-paper);
    background-image: url('../images/pozadi-papir-mackany.jpeg');
    background-size: cover;
    padding: 20px 20px 80px;
}
.fest-about-inner {
    max-width: 800px;
    margin: 0 auto;
}
.fest-section-link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}
.fest-section-title {
    font-family: 'DM Sans', sans-serif;
    font-weight: 900;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    text-transform: uppercase;
    color: var(--color-dark);
    margin-bottom: 12px;
    text-align: center;
}
.fest-about-intro {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 10px;
    text-align: center;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}
.fest-program-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin: 20px 0;
}
.fest-program-item h3 {
    font-family: 'DM Sans', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--color-dark);
    margin-bottom: 4px;
}
.fest-program-item p {
    font-size: 0.95rem;
    line-height: 1.4;
    color: var(--color-dark);
    opacity: 0.85;
}
.fest-why {
    margin-top: 24px;
}
.fest-why-list {
    list-style: none;
    padding: 0;
    max-width: 600px;
    margin: 0 auto;
}
.fest-why-list li {
    font-size: 0.95rem;
    padding: 6px 0;
    border-bottom: 1px solid rgba(34, 36, 48, 0.1);
    line-height: 1.4;
}
.fest-why-list li:last-child {
    border-bottom: none;
}

/* --- FOTKY + RODINNÝ FESTIVAL --- */
.fest-photo-carousel {
    display: block;
    position: relative;
    height: 100vh;
    min-height: 300px;
    overflow: hidden;
    cursor: pointer;
}
.fest-photo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1);
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
    transform: translateX(5%);
}
.fest-photo.active {
    opacity: 1;
    transform: translateX(0);
}
.fest-divider-yellow {
    height: 4px;
    background: var(--color-yellow);
}
.fest-festival-bottom {
    background: linear-gradient(135deg, #FFE717, #F7941D, #E30613);
    padding: 0 20px 8px;
    text-align: center;
    position: relative;
    overflow: visible;
    margin-top: -50px;
}
.fest-festival-header {
    position: relative;
    display: inline-block;
    margin-top: 60px;
    margin-bottom: 4px;
}
.fest-festival-logo {
    display: block;
    width: 180px;
    height: auto;
    filter: brightness(0) invert(1);
}
.fest-festival-mascot {
    position: absolute;
    right: -110px;
    top: 20px;
    width: 80px;
    height: auto;
}
.fest-festival-motto {
    font-family: 'DM Sans', sans-serif;
    font-weight: 800;
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    color: var(--color-white);
    margin: 0 0 4px;
    transition: opacity 0.5s;
}
.fest-festival-motto.fade-out {
    opacity: 0;
}
.fest-festival-flags {
    width: 100%;
    max-width: 500px;
    height: auto;
    margin: 0 auto;
    display: block;
    animation: festFlagSway 3s ease-in-out infinite alternate;
}
@keyframes festFlagSway {
    0% { transform: rotate(-0.5deg); }
    100% { transform: rotate(0.5deg); }
}

/* --- FOOTER --- */
.fest-footer {
    background: var(--color-dark);
    color: var(--color-white);
    padding: 20px 20px 32px;
}
.fest-footer-inner {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.fest-footer-social {
    display: flex;
    gap: 16px;
}
.fest-footer .fest-social-icon svg {
    fill: var(--color-white);
}
.fest-footer .fest-social-icon:hover svg {
    fill: var(--color-yellow);
}
.fest-footer-contact {
    font-size: 0.85rem;
    opacity: 0.85;
}
.fest-footer-contact p {
    margin: 0;
}
.fest-footer-contact a {
    color: var(--color-yellow);
    text-decoration: none;
    font-weight: 700;
}
.fest-footer-contact a:hover {
    text-decoration: underline;
}
.fest-footer-partners {
    margin-top: 4px;
}
.fest-footer-partners a {
    color: var(--color-yellow);
    text-decoration: none;
}
.fest-footer-partners a:hover {
    text-decoration: underline;
}
.fest-footer-qr {
    display: flex;
    align-items: center;
    gap: 8px;
}
.fest-footer-qr img {
    width: 50px;
    height: 50px;
}
.fest-footer-qr a {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--color-yellow);
    text-decoration: none;
}
.fest-footer-qr a:hover {
    text-decoration: underline;
}
.fest-footer-closing {
    width: 100%;
    text-align: center;
    font-style: italic;
    font-size: 0.95rem;
    opacity: 0.8;
    margin: 8px 0 0;
    line-height: 1.6;
}
.fest-footer-bottom {
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 20px;
    font-size: 0.8rem;
    opacity: 0.5;
    display: flex;
    justify-content: flex-end;
    gap: 24px;
    flex-wrap: wrap;
}
.fest-footer-church-link {
    color: var(--color-white);
    text-decoration: none;
    opacity: 0.7;
}
.fest-footer-church-link:hover {
    opacity: 1;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .page-festival .fest-footer-inner {
        flex-direction: column;
        text-align: center;
    }
    .page-festival .fest-footer-social {
        justify-content: center;
    }
    .page-festival .fest-footer-qr {
        justify-content: center;
    }
    .page-festival .fest-footer-bottom {
        justify-content: center;
    }
    .page-festival .fest-hero {
        min-height: 100vh;
    }
    .page-festival .fest-festival-motto {
        font-size: 1.3rem;
        line-height: 1.4;
    }
}

/* --- SCROLL ANIMATIONS --- */
.fest-fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fest-fade-in.fest-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- RESPONSIVE: TABLET --- */
@media (min-width: 768px) and (max-width: 1023px) {
    .page-festival .fest-cities-pin img {
        width: 100px;
    }
    .page-festival .fest-program-grid {
        grid-template-columns: 1fr 1fr;
    }
    .page-festival .fest-hero-logo {
        width: 227px;
    }
    /* Tablet: stejný design jako mobil - zmizí seznam měst, zobrazí se jen detail */
    .page-festival .fest-cities-layout {
        flex-direction: column;
    }
    /* Skryjeme seznam měst když je aktivní město */
    .page-festival .fest-cities-layout.city-active .fest-city-list {
        display: none !important;
    }
    /* Zobrazíme detail na celou šířku */
    .page-festival .fest-cities-layout.city-active .fest-city-detail {
        position: static !important;
        width: 100% !important;
        max-width: none !important;
        flex: none !important;
        opacity: 1 !important;
        transform: translateX(0) !important;
        pointer-events: auto !important;
        margin-top: 0;
    }
    /* Zobrazíme tlačítko Zpět */
    .page-festival .fest-cities-layout.city-active .fest-detail-back {
        display: block !important;
    }
    /* Skryjeme tlačítko zavřít (×) */
    .page-festival .fest-cities-layout.city-active .fest-detail-close {
        display: none !important;
    }
}

/* --- RESPONSIVE: DESKTOP --- */
@media (min-width: 1024px) {
    .page-festival .fest-header {
        height: 64px;
    }
    .page-festival .fest-header-logo {
        color: var(--color-white);
        font-size: 1rem;
    }
    .page-festival .fest-header-logo::after {
        content: '.cz';
    }
    .page-festival .fest-nav {
        display: block;
    }
    .page-festival .fest-burger {
        display: none;
    }
    .page-festival .fest-hero {
        padding: 0 40px 20px;
    }
    .page-festival .fest-hero-logo {
        width: 259px;
    }
    .page-festival .fest-hero-cloud {
        max-width: 100%;
    }
    .page-festival .fest-cities-layout {
        flex-direction: row;
        align-items: flex-start;
    }
    .page-festival .fest-map-container {
        display: block;
        width: 50%;
        min-width: 0;
        overflow: hidden;
        opacity: 1;
        transform-origin: left center;
        transition: width 1s ease, opacity 0.6s ease, transform 1s ease;
    }
    .page-festival .fest-city-list {
        flex: 0 0 320px;
    }
    /* Desktop: detail připraven na zobrazení i v neaktivním stavu */
    .page-festival .fest-city-detail {
        display: block;
    }
    /* Desktop: city-active stav - zobrazí detail vpravo */
    .page-festival .fest-cities-layout.city-active .fest-map-container {
        width: 0;
        opacity: 0;
        overflow: hidden;
    }
    .page-festival .fest-cities-layout.city-active .fest-city-list {
        flex: 0 0 260px;
    }
    .page-festival .fest-cities-layout.city-active .fest-city-detail {
        flex: 1 1 auto;
        max-width: none;
        opacity: 1;
        transform: translateX(0);
        overflow-y: auto;
        max-height: 600px;
        pointer-events: auto;
    }
    .page-festival .fest-cities-layout.city-active .fest-detail-close {
        display: block;
    }
    .page-festival .fest-cities-layout.city-active .fest-detail-back {
        display: none;
    }
    .page-festival .fest-cities-layout.city-active .fest-city-item {
        display: block;
    }
    .page-festival .fest-cities-layout.city-active .fest-city-item.active .fest-city-content {
        display: none;
    }
    .page-festival .fest-cities-layout.city-active .fest-city-item.active .fest-city-header {
        background: var(--color-dark);
        color: var(--color-white);
        border-radius: 4px;
        padding-left: 8px;
    }
    .page-festival .fest-cities-layout.city-active .fest-city-item.active .fest-city-header .fest-city-toggle {
        color: var(--color-white);
    }
    .page-festival .fest-cities-layout.city-active .fest-city-special-date {
        font-size: 0.5em;
    }
    .page-festival .fest-cities-layout.city-active .fest-city-item.active .fest-city-special-date {
        color: var(--color-yellow);
    }
    .page-festival .fest-festival-bottom {
        padding: 0 40px 8px;
    }
    .page-festival .fest-festival-logo {
        width: 280px;
    }
    .page-festival .fest-festival-mascot {
        width: 100px;
        margin-top: -30px;
    }
}

/* --- RESPONSIVE: SMALL MOBILE --- */
@media (max-width: 480px) {
    .page-festival .fest-hero-title {
        font-size: 4rem;
    }
    .page-festival .fest-hero-date {
        font-size: 1.75rem;
    }
    .page-festival .fest-hero-slogan {
        font-size: 1.6rem;
    }
    .page-festival .fest-city-header {
        font-size: 0.95rem;
    }
    .page-festival .fest-photo-carousel {
        height: 100vh;
    }
}

/* === END FESTIVAL PAGE === */

/* === PRINT STYLES === */
@media print {
    /* Zachování barev a pozadí */
    * {
        -webkit-print-color-adjust: exact !important;
        color-adjust: exact !important;
        print-color-adjust: exact !important;
    }
    
    /* Základní nastavení stránky */
    @page {
        margin: 1cm;
        size: A4;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        background: white !important;
    }
    
    /* Zachování barev a gradientů */
    .hero,
    .section,
    .card,
    .btn,
    .map-container,
    .czech-border {
        background: inherit !important;
        color: inherit !important;
        border: inherit !important;
    }
    
    /* Skrytí navigace a interaktivních prvků */
    nav,
    .btn,
    .city-dialog,
    header nav,
    footer,
    .scroll-to-top {
        display: none !important;
    }
    
    /* Úprava layoutu pro tisk */
    .container {
        max-width: 100% !important;
        padding: 0 !important;
    }
    
    .grid {
        display: block !important;
    }
    
    .grid > * {
        width: 100% !important;
        margin-bottom: 1rem !important;
        page-break-inside: avoid;
    }
    
    /* Zachování map a grafiky */
    .czech-map svg {
        width: 100% !important;
        height: auto !important;
        max-height: 400px !important;
    }
    
    .city-pin {
        fill: #dc2626 !important;
        stroke: white !important;
    }
    
    /* Zachování typografie */
    h1, h2, h3, h4, h5, h6 {
        color: var(--text-dark) !important;
        page-break-after: avoid;
    }
    
    /* Zachování barev textu */
    .text-white {
        color: #1f2937 !important;
    }
    
    /* Lepší zalomení stránek */
    .section,
    .card {
        page-break-inside: avoid;
        margin-bottom: 1rem !important;
    }
    
    /* Zachování obrázků a ikon */
    img,
    svg {
        max-width: 100% !important;
        height: auto !important;
    }
    
    /* Zachování rozložení pro důležité prvky */
    .hero h1 {
        font-size: 24pt !important;
        margin-bottom: 1rem !important;
    }
    
    .stats-grid {
        display: flex !important;
        justify-content: space-around !important;
    }
    
    /* Zachování tabulek */
    table {
        width: 100% !important;
        border-collapse: collapse !important;
    }
    
    td, th {
        padding: 0.5rem !important;
        border: 1px solid #ccc !important;
    }
    
    /* Odkazy - zobrazení URL */
    a[href]:after {
        content: " (" attr(href) ")";
        font-size: 10pt;
        color: #666;
    }
    
    /* Skrytí URL pro interní odkazy */
    a[href^="#"]:after,
    a[href^="mailto:"]:after,
    a[href^="tel:"]:after {
        content: "";
    }
}

/* Kalendář - Záložky */
.calendar-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--border-gray);
  margin-bottom: 2rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.calendar-tab {
  flex: 1;
  min-width: 150px;
  padding: 1rem 2rem;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-gray);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.calendar-tab:hover {
  color: var(--primary-black);
  background: var(--light-gray);
}

.calendar-tab.active {
  color: var(--primary-black);
  border-bottom-color: var(--primary-yellow);
  background: transparent;
}

.calendar-tab-content {
  display: none;
  animation: fadeIn 0.3s ease-in;
}

.calendar-tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* One2One Layout */
.one2one-info-section {
  margin-top: 2rem;
}

.one2one-section-wrapper {
  background-color: var(--light-gray);
}

.one2one-info-flex {
  display: flex;
  gap: 2rem;
  align-items: stretch;
}

.one2one-info-image {
  flex: 1;
}

.one2one-info-text {
  flex: 2;
}

.one2one-container {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.one2one-list {
  flex: 1;
  background: var(--light-gray);
  border-radius: 8px;
  padding: 0;
  max-height: 500px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-yellow) var(--light-gray);
}

.one2one-detail {
  flex: 2;
  background: white;
  border: 1px solid var(--border-gray);
  border-radius: 8px;
  padding: 2rem;
  min-height: 400px;
}

.one2one-list::-webkit-scrollbar {
  width: 8px;
}

.one2one-list::-webkit-scrollbar-track {
  background: var(--light-gray);
  border-radius: 4px;
}

.one2one-list::-webkit-scrollbar-thumb {
  background: var(--primary-yellow);
  border-radius: 4px;
}

.one2one-list::-webkit-scrollbar-thumb:hover {
  background: #E6C200;
}

.one2one-list h3 {
  margin-bottom: 0.75rem;
  margin-top: 0;
  color: var(--primary-black);
  font-size: 1.1rem;
}

.one2one-item {
  background: white;
  border: 2px solid transparent;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.one2one-item:hover {
  border-color: var(--primary-yellow);
}

.one2one-item.active {
  border-color: var(--primary-yellow);
  background: #fffef0;
  font-weight: bold;
}

.one2one-date {
  font-weight: bold;
  color: var(--primary-black);
  margin-bottom: 0.25rem;
}

.one2one-location {
  color: var(--primary-gray);
  font-size: 0.9rem;
}

.one2one-detail {
  background: white;
  border: 1px solid var(--border-gray);
  border-radius: 8px;
  padding: 1.5rem;
  min-height: 300px;
}

.one2one-detail-content {
  display: none;
}

.one2one-detail-content.active {
  display: block;
}

.one2one-detail h3 {
  color: var(--primary-black);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.one2one-detail p {
  margin-bottom: 0.25rem;
}

.one2one-detail .btn {
  display: inline-block;
  margin-right: 1rem;
}

/* Responsive Kalendář */
@media (max-width: 768px) {
  .calendar-tabs {
    flex-direction: column;
  }
  
  .calendar-tab {
    border-bottom: 1px solid var(--border-gray);
    border-left: 3px solid transparent;
  }
  
  .calendar-tab.active {
    border-bottom-color: var(--border-gray);
    border-left-color: var(--primary-yellow);
  }
  
  .one2one-container {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
    grid-template-rows: none !important;
    gap: 1.5rem;
  }
  
  .one2one-detail {
    grid-column: auto !important;
    grid-row: auto !important;
    order: 2 !important;
    min-height: auto;
  }
  
  .one2one-list {
    grid-column: auto !important;
    grid-row: auto !important;
    max-height: 300px;
    order: 1 !important;
  }
  
  .one2one-item:hover {
    transform: none;
  }
}

@media (max-width: 480px) {
  .calendar-tab {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }
  
  .one2one-list {
    padding: 1rem;
  }
  
  .one2one-item {
    padding: 0.75rem;
  }
  
  .one2one-detail {
    padding: 1.5rem;
  }
  
  .one2one-detail h3 {
    font-size: 1.2rem;
  }
}
/* Loading spinner */
.loading-spinner {
  text-align: center;
  padding: 2rem;
  color: var(--primary-gray);
  font-style: italic;
}

.loading-spinner::after {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid var(--light-gray);
  border-top-color: var(--primary-yellow);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-left: 10px;
  vertical-align: middle;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Banner image specific styles */
.banner-full-width {
  padding: 0;
  background: none;
}

.banner-full-width-wrapper {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.banner-full-width img {
  width: 100%;
  height: auto;
  display: block;
}

/* Background image card */
.card-bg-image {
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 300px;
}

/* Yellow section background */
.section-yellow {
  background-color: var(--primary-yellow);
  padding: 2rem 0;
}

/* Bullet list with yellow bullets */
.list-yellow-bullets {
  list-style: none;
  padding-left: 1.5rem;
}

.list-yellow-bullets li {
  position: relative;
  margin-bottom: 0.3rem;
}

.list-yellow-bullets li::before {
  content: '●';
  position: absolute;
  left: -1.2rem;
  color: var(--primary-yellow);
  font-size: 1.2rem;
  line-height: 1;
}

/* Large bullet list (for requirements section) */
.list-yellow-bullets-lg {
  list-style: none;
  padding-left: 2rem;
}

.list-yellow-bullets-lg li {
  position: relative;
  margin-bottom: 0.5rem;
}

.list-yellow-bullets-lg li::before {
  content: '●';
  position: absolute;
  left: -1.5rem;
  color: var(--primary-yellow);
  font-size: 1.5rem;
  line-height: 1;
}

/* Card with minimal padding */
.card-compact {
  padding: 1rem;
}

/* Remove duplicated .one2one-detail empty definition */

/* Cities Accordion Styles */
.cities-accordion {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.city-item {
  background-color: var(--primary-white);
  border: 1px solid var(--border-gray);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.city-item.negotiating {
  background-color: #DDDDDD;
}

.city-item.negotiating .city-header {
  padding: 0 1rem;
  min-height: 80px;
}

.city-item.negotiating h4 {
  padding-left: 0.75rem;
}

.city-item:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.city-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1rem 0 0;
  cursor: pointer;
  user-select: none;
}

.city-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.city-icon {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
}

.city-header h4 {
  margin: 0;
  color: var(--primary-black);
  font-size: 1.2rem;
}

.city-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-yellow);
  transition: transform 0.3s ease;
}

.city-item.active .city-toggle {
  transform: rotate(45deg);
}

.city-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.city-item.active .city-content {
  max-height: 1000px;
  padding: 0 1.5rem 1.5rem 1.5rem;
}

.city-content .church-list {
  list-style: none;
  padding: 0;
  padding-left: 1.5rem;
  margin: 0;
}

.city-content .church-list-item {
  padding: 0.25rem 0;
}

@media (max-width: 1024px) {
  .cities-accordion {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .cities-accordion {
    grid-template-columns: 1fr;
  }
  
  .city-header {
    padding: 1rem;
  }
  
  .city-header h4 {
    font-size: 1.1rem;
  }
}
