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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f8fffe 0%, #e8f5e8 100%);
    min-height: 100vh;
    padding: 40px 20px;
}

body.map-fullscreen {
    padding: 0;
    overflow: hidden;
}

.header-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100vw;
    height: calc(100vw * (1200/2534));
    background-image: url('../res/bg_2025.jpg');
    background-size: 100% auto;
    background-position: top;
    background-repeat: no-repeat;
    z-index: 0;
    filter: saturate(1.5) contrast(1.1) brightness(1.05);
    -webkit-filter: saturate(1.5) contrast(1.1) brightness(1.25);
    -webkit-mask-image: linear-gradient(to bottom, 
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 00.9) 60%,
        rgba(0, 0, 0, 0) 100%
    );
    mask-image: linear-gradient(to bottom, 
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 0.9) 60%,
        rgba(0, 0, 0, 0) 100%
    );
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.header-bg::before {
    display: none;
}

.header-bg::after {
    display: none;
}

.header-content {
    position: absolute;
    top: calc(50vw * (1200/2534));
    left: 0;
    right: 0;
    width: 100%;
    padding: 20px;
    z-index: 1;
    text-align: center;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.header-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    -webkit-mask-image: radial-gradient(ellipse at center, 
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 0.9) 30%,
        rgba(0, 0, 0, 0.6) 50%,
        rgba(0, 0, 0, 0) 70%,
        rgba(0, 0, 0, 0) 100%
    ) !important;
    mask-image: radial-gradient(ellipse at center, 
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 0.9) 30%,
        rgba(0, 0, 0, 0.6) 50%,
        rgba(0, 0, 0, 0) 70%,
        rgba(0, 0, 0, 0) 100%
    ) !important;
    z-index: -1;
    pointer-events: none;
}

.header-content h1 {
    
    padding-top: 0.4em;
    font-weight: 700;
    position: relative;
 



    font-size: clamp(1rem, 6vw, 5rem); 
    white-space: nowrap;                
    overflow: hidden;                   
    text-overflow: ellipsis;           
    max-width: 100vw;     
}

.header-content h2 {

    margin: 10px 0 0 0;
    font-weight: 400;
    
    font-size: clamp(1rem, 4vw, 2.5rem); 
    white-space: nowrap;                
    overflow: hidden;                   
    text-overflow: ellipsis;           
    max-width: 100vw;     
}

.container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: calc(90vw * (1200/2534) + 80px);
}

/*Ikony odkazů*/
.lnk{
     width: 12px;
    height: 12px;
}

/* Hlavní karty */
.card {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    margin: 80px 0;
    padding: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    height: auto;
    min-height: 500px;
}

.card.expanded {
    min-height: 500px;
    height: auto;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
}

.card-image {
    height: 300px !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    width: 100% !important;
    position: relative !important;
    overflow: hidden !important;
    filter: saturate(1.3) contrast(1.05) brightness(1.02);
    -webkit-filter: saturate(1.3) contrast(1.05) brightness(1.02);
}

/* Loading placeholder pro karty */
.card-image.loading {
    background-color: #e8f5e8;
}

.card::after {
    content: '🏕️';
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2em;
    z-index: -1;
    opacity: 0.3;
}

.card-image.loaded .loading-icon,
.scrollbox-image.loaded .loading-icon {
    display: none;
}

/* Global loading overlay */
.global-loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
    transition: opacity 0.3s ease;
}

.global-loading h2 {
    color: #2d5a3d;
    margin-bottom: 20px;
    font-size: 1.5em;
}

.global-loading .loading-progress {
    background: #e8f5e8;
    border-radius: 10px;
    width: 300px;
    height: 8px;
    overflow: hidden;
    margin-bottom: 15px;
}

.global-loading .loading-bar {
    background: linear-gradient(90deg, #2d5a3d, #4a7c59);
    height: 100%;
    width: 0%;
    transition: width 0.3s ease;
    border-radius: 10px;
}

.global-loading .loading-text {
    color: #666;
    font-size: 0.9em;
}

/* Loaded stav */
.card-image.loaded,
.scrollbox-image.loaded {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.card-image.loaded::before,
.scrollbox-image.loaded::before {
    content: none !important;
}

/* Základní styly pro obrázky */
.card-image,
.scrollbox-image {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    width: 100% !important;
    position: relative !important;
    overflow: hidden !important;
}

.scrollbox-image {
    height: 150px !important;
}

/* Loading placeholder pro karty */
.card-image.loading {
    background: #e8f5e8;
}

.scrollbox-image.loading::before {
    display: none;
}

.card-content {
    padding: 30px;
    height: auto;
    min-height: 200px;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 600;
    color: #2d5a3d;
    margin-bottom: 15px;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    white-space: normal;
    overflow-wrap: break-word;
}

.card-description {
    color: #666;
    line-height: 1.6;
    transition: all 0.3s ease;
    font-size: 1.2em;
    flex: 1;
    padding: 10px 0;
    min-height: 80px;
    height: auto;
    text-align: center;
}

.card.expanded .card-description {
    min-height: 80px;
    height: auto;
    padding: 20px 0;
}

.card.expanded .card-description:nth-child(3) {
    display: none;
}

/* Speciální iframe karta */
.iframe-card {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 300px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 1s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    transform-origin: center center;
    will-change: transform;
}

.iframe-card:hover {
    transform: scale(1.05);
}

.iframe-card iframe {
    width: 100%;
    height: 100%;
    border: none;
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
    flex: 1;
    display: block;
    margin: 0;
    padding: 0;
    line-height: 0;
}

.iframe-card.fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1000;
    border-radius: 0;
    margin: 0;
    padding: 0;
    transform: scale(1);
}

.iframe-card:not(.fullscreen) {
    transform: scale(1);
}

.iframe-card.fullscreen iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: none;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 1s ease;
    z-index: 1;
}

.map-overlay-content {
    text-align: center;
    padding: 20px;
}

.map-overlay-title {
    font-size: 3.5em;
    margin-bottom: 10px;
    color: #2c3e50;
}

.map-overlay-description {
    font-size: 2em;
    color: #34495e;
    margin: 0;
}

.map-close {
    position: absolute;
    top: 20px;
    right: 10px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #e8f5e8;

    border: none;
    font-size: 24px;
    color: #2c3e50;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    transition: background-color 0.3s ease;
}

.map-close:hover {
    background: rgba(255, 255, 255, 1);
}

/* Scrollbox kontejner */
.scrollbox-container {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    margin: 40px 0;
    padding: 0px;
    overflow: hidden;
    
}

.scrollbox::before {
    content: "";
    flex: 0 0 10px; /* šířka "vzdušného" místa */
  }

.scrollbox {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding:  0;
    scrollbar-width: thin;
    scrollbar-color: #a8d5a8 #f0f0f0;
    
}

.scrollbox::after {
    content: "";
    flex: 0 0 20px; /* šířka "vzdušného" místa */
  }

.scrollbox::-webkit-scrollbar {
    height: 8px;
}

.scrollbox::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 4px;
}

.scrollbox::-webkit-scrollbar-thumb {
    background: #a8d5a8;
    border-radius: 4px;
}

.scrollbox-item {
    min-width: 250px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 20px 0px 20px 0px;
}

.scrollbox-item:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.scrollbox-image {
    height: 150px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.scrollbox-image:hover {
    transform: scale(1.00);
}

.scrollbox-content {
    padding: 20px;
}

.scrollbox-title {
    font-size: 1.1em;
    font-weight: 600;
    color: #2d5a3d;
    margin-bottom: 8px;
}

.scrollbox-subtitle {
    font-size: 0.9em;
    color: #666;
    line-height: 1.4;
}

/* Modal okno */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    opacity: 1;
}

.modal-content {
    position: absolute;
    top: 20px;
    left: 20%;
    right: 20%;
    bottom: 20px;
    background: white;
    border-radius: 20px;
    padding: 40px;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal.show .modal-content {
    transform: translateY(0);
    opacity: 1;
}

/* Na mobilech se modální okno roztáhne téměř přes celou šířku */
@media (max-width: 768px) {
    .container {
        padding: 0 10px;
    }
    
    .card {
        min-height: 450px;
    }
    
    .card-content {
        min-height: 180px;
        padding: 20px;
    }
    
    .card-description {
        min-height: 60px;
    }
    
    .card.expanded .card-description {
        min-height: 60px;
    }
    
    .modal-content {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: white;
        padding: 40px;
        overflow-y: auto;
        opacity: 0;
        transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
        border-radius: 0 !important;
        box-shadow: none;
    }

    .iframe-card.fullscreen {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100vw !important;
        height: 100vh !important;
        margin: 0;
        padding: 0;
        transform: none;
        border-radius: 0 !important;
    }

    .iframe-card.fullscreen iframe {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100vw !important;
        height: 100vh !important;
        transform: none;
        border-radius: 0 !important;
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #e8f5e8;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 20px;
    cursor: pointer;
    color: #2d5a3d;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #2d5a3d;
    color: white;
}

.modal-title {
    font-size: 2em;
    color: #2d5a3d;
    margin-bottom: 20px;
    padding-right: 60px;
}

.modal-text {
    color: #666;
    line-height: 1.8;
    font-size: 1.1em;
}

/* 1) Pseudo-element pro přechodový efekt */
    .scrollbox-image {
      position: relative;
      background-size: cover;
      background-position: center;
      overflow: hidden;
    }
    
    .scrollbox-image::after {
      content: '';
      position: absolute;
      inset: 0;
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      opacity: 0;
      transition: opacity 0.6s ease;
      pointer-events: none;
      z-index: 2;
}

/* 2) Třída aktivovaná při hoveru */
.scrollbox-image.image-hovering::after {
opacity: 1;
}

/* 3) Načtěte URL nové verze do CSS proměnné */
.scrollbox-image {
--hover-url: none;
}

.scrollbox-image::after {
background-image: var(--hover-url);
}

/* Animace pro text hover */
.text-animation {
    animation: textFade 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes textFade {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Scrollbox container title */
.scrollbox-container-title {
    color: #2d5a3d;
    margin: 40px;
}

/* Chybějící prvek */
.missing-element {
    background: #fff5f5;
    border: 2px dashed #ff6b6b;
    min-height: 200px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: default;
}

.missing-element:hover {
    transform: none;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.missing-element .card-title {
    color: #ff6b6b;
}

.missing-element .card-description {
    color: #ff8787;
    text-align: center;
}

/* Fullscreen mapa */
.fullscreen-map,
.fullscreen-map-content,
.fullscreen-map-close,
.fullscreen-iframe {
    display: none;
}

.iframe-card.fullscreen .map-overlay {
    pointer-events: none;
}

/* Scrollbox image overlay */
.scrollbox-image {
    position: relative;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.scrollbox-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    z-index: 2;
}

/* Remove hover effect */
.scrollbox-image:hover .scrollbox-image-overlay {
    opacity: 0;
}

.scrollbox-image-overlay-content {
    color: white;
    text-align: center;
    padding: 20px;
    max-width: 90%;
    max-height: 90%;
    overflow-y: auto;
}

.scrollbox-image-overlay-content h3 {
    font-size: 1.4em;
    margin-bottom: 0;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.scrollbox-image-overlay-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.scrollbox-image-overlay-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Mobile styles for overlay */
@media (max-width: 768px) {
    .scrollbox-image-overlay {
        background: rgba(255,255,255, 0.8);
    }

    .scrollbox-image-overlay-content {
        padding: 15px;
    }

    .scrollbox-image-overlay-content h3 {
        font-size: 1.2em;
    }
}
/* --- OPTIMALIZOVANÉ A VIZUÁLNĚ ATRAKTIVNÍ CSS --- */

.animated-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -10;
    background: linear-gradient(270deg, #e9c56a29, #d1f2ffa4, #c4ffcb3a);
    background-size: 800% 800%;
    animation: gradientShift 20s ease infinite;
    pointer-events: none;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 60%, rgba(0, 0, 0, 0.4) 85%, rgba(0, 0, 0, 0) 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 60%, rgba(0, 0, 0, 0.4) 85%, rgba(0, 0, 0, 0) 100%);
  }
  
  @keyframes gradientShift {
    0% {
      background-position: 0% 50%;
    }
    50% {
      background-position: 100% 50%;
    }
    100% {
      background-position: 0% 50%;
    }
  }
  
  .noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -9;
    pointer-events: none;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAACN1PRVAAAADFBMVEUAAAD///+ZmZkWFhZpaWm3BQz0AAAAAXRSTlMAQObYZgAAAHpJREFUGNNjYBgFo2AUDAwM+Pn5GBgYGBhZGZmZ+UFDww6CJgZmZm4gchZ2BgYGIAEwkyGJhYWJheGFgYmJmYGBkY2BjYF1YABkxBQrDGQjPAAD3tQdAHKSl2wAAAABJRU5ErkJggg==');
    opacity: 0.03;
    mix-blend-mode: soft-light;
  }
  
  .parallax-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    
  }
  
  .tree-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    pointer-events: none;
    z-index: -7;
  }

  .layer-front {
    z-index: -2;
  }
  
  .layer-back {
    z-index: -5;
    opacity: 0.3;
  }
  
  .tree {
    position: absolute;
    opacity: 0.3;
    width: 30px;
    aspect-ratio: 1 / 1;
    transform: scale(var(--scale, 1));
    animation: tree-wiggle 6s ease-in-out infinite alternate;
  }
  
  .tree::before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background: forestgreen;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  }
  
  .tree::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 42%;
    width: 15%;
    height: 30%;
    background: #5a3e1b;
  }
  
  @keyframes tree-wiggle {
    0% {
      transform: scale(var(--scale)) rotate(-1deg);
    }
    100% {
      transform: scale(var(--scale)) rotate(1deg);
    }
  }
  
  .layer-fires {
    z-index: -4;
  }
  
  .fire {
    position: absolute;
    width: 44px;
    height: 46px;
    opacity: 0.9;
    
  }

  
  .flame {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 40%, #ff9900, #ff3300 70%);
    clip-path: polygon(
      50% 0%, 60% 20%, 70% 0%, 80% 30%, 65% 45%, 80% 70%,
      60% 75%, 55% 70%, 50% 90%, 45% 70%, 40% 75%, 20% 70%,
      35% 45%, 20% 30%, 30% 0%, 40% 20%
    );
    animation: flicker 1.5s infinite ease-in-out alternate;
    transform-origin: bottom center;
  }
  .fire .log {
    position: absolute;
    bottom: 8px;
    left: 0%;
    width: 50px;
    height: 6px;
    background: #6b3e16;
    border-radius: 2px;
    transform-origin: center center;
   
    opacity: 0.7;
   
  }
  .fire::before,
  .fire::after {
    content: '';
    position: absolute;
    bottom: 10px;
    width: 50px;
    height: 6px;
    background: #914d0e;
    border-radius: 2px;
    
  }
  
  .fire::before {
    transform: rotate(25deg);
    left: -3px;
  }
  
  .fire::after {
    transform: rotate(-25deg);
    right: -3px;
  }
  
  .smoke {
    position: absolute;
    bottom: 36px;
    left: 50%;
    width: 8px;
    height: 80px;
    background: radial-gradient(circle, #aaa8 20%, transparent 70%);
    border-radius: 50%;
    animation: smokeRise 4s linear forwards;
    opacity: 0.35;
    transform: translateX(-50%);
    pointer-events: none;
    z-index: auto;
  }
  
  @keyframes smokeRise {
    0% {
      transform: translateX(var(--wind, 0)) translateY(0) scale(1);
      opacity: 0.35;
    }
    50% {
      transform: translateX(calc(var(--wind, 0) * 1.2)) translateY(-20px) scale(1.3);
      opacity: 0.25;
    }
    100% {
      transform: translateX(calc(var(--wind, 0) * 1.5)) translateY(-50px) scale(1.6);
      opacity: 0;
    }
  }
  
  @keyframes flicker {
    0% {
      transform: scaleY(1);
    }
    100% {
      transform: scaleY(1.1) scaleX(1.02);
    }
  }

.card-more-indicator {
  position: absolute;
  right: 16px;
  bottom: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 1rem;
  color: #888;
  opacity: 0.7;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 2;
}
.card.expanded .card-more-indicator {
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
}
.card:hover .card-more-indicator,
.card:focus-within .card-more-indicator {
  opacity: 1;
  color: #222;
  transform: translateY(-2px) scale(1.08);
}
.card-more-indicator .icon {
  font-size: 1.2em;
  line-height: 1;
}
.card-more-indicator .text {
  font-size: 0.95em;
  letter-spacing: 0.02em;
}
.card-content {
  position: relative; /* nutné pro absolutní pozicování indikátoru */
}
 
/* Horizontální menu */
.top-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
}

.menu-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0 20px;
    gap: 20px;
}

.menu-container::-webkit-scrollbar {
    display: none;
}

.menu-item {
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 20px;
    white-space: nowrap;
    transition: all 0.3s ease;
    font-weight: 500;
    cursor: pointer;
}

.menu-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.menu-item.active {
    background: #2d5a3d;
    color: white;
}

/* Plynulé scrollování */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

.scrollbox-image:hover.loading::before {
    opacity: 0 !important;
}

@media (max-width: 768px) {
  .top-menu {
    display: none !important;
  }
  .card-title {
    font-size: clamp(1.4rem, 3.5vw, 2.2rem);
  }
  .card-description {
    font-size: 1em;
  }
  .card-content {
    font-size: 1em;
  }
  .map-overlay-title {
    font-size: 2.4em;
  }
  .map-overlay-description {
    font-size: 1.4em;
  }
  .map-overlay-content {
    font-size: 0.84em;
  }
}


