        #kontakt{
            background-color: #dae8f1;
            padding: 20px 20px;
            text-align: center;
        }
        body {
            margin: 0;
            font-family: Arial, sans-serif;
        }
        .navbar {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            background: rgba(246, 246, 246, 0.85); /* Lehce průsvitná lišta */
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
            padding: 15px 20px;
            display: flex;
            justify-content: flex-start;
            align-items: center;
            transition: top 0.3s;
            backdrop-filter: blur(7px); /* Efekt rozmazání pozadí */
        }
        .nav-links {
            display: flex;
            gap: 45px;
            margin-left: 50px;
        }
        .nav-links a {
            text-decoration: none;
            color: RGB(37,131,51);
            font-family: Arial, sans-serif;
            font-weight: normal;
        }
        .nav-links a.lang-switch {
            margin-left: auto;
        }
        .hero {
            height: 100vh;
            background: url('pics/main_pic1.jpg') no-repeat center center/cover;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            color: white;
            text-align: center;
            padding: 20px;
        }
        .hero h1, .hero h2, .hero p {
            text-align: center;
        }
        .hero h1 {
            margin: 0;
            font-size: 3rem;
        }
        .hero h2 {
            margin: 0;
            font-size: 1.5rem;
        }
        .hero p {
            font-size: 1.2rem;
            max-width: 520px;
            margin-top: 60px;
            background-color: rgba(0, 0, 0, 0.15); /* přidáno */
            padding: 15px;                         /* přidáno */
            border-radius: 10px;                   /* přidáno */
        }
        .content {
            padding: 70px;
            font-size: 18px;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
             line-height: 1.8;
        }
        .separator{
            padding-top:10px;
            padding-left:10px;
        }
        .content h1 {
            margin: 20;
            font-size: 2.5rem;
            color: rgb(37,131,51);
        }
        .content p {
            max-width: 800px;
            text-align: center;
            margin-bottom: 30px;
        }
	figcaption {
        color: gray;
        font-style: italic;
    }

         .hamburger {
            display: none;
            font-size: 30px;
            background: none;
            border: none;
            cursor: pointer;
            margin-right: 20px;
        }
        .odkaz {
            text-decoration: underline;
            color: rgb(37,131,51);  
        }

  @media (max-width: 600px) {
  #kontakt {
        font-size: 0.9rem !important;
    }
    .hamburger {
        display: block;
        margin-left: auto;
    }
    
.hero {

            padding: 5px;
       }     
    .nav-links {
       display: none;
       position: absolute;
       top: 60px;
       left: 400;
       width: 80%;
       flex-direction: column;
       background-color: rgba(226, 226, 245, 0.85);
       backdrop-filter: blur(5px); /* Efekt rozmazání pozadí */
       padding: 10px 0;
       gap: 10px;
            }
    .nav-links.active {
        display: flex;
    }
    .odkaz {
            text-decoration: underline;
            color: rgb(37,131,51);  
        }
    img[src*="kopr2.png"] {
        height: 25px;
    }
    .nav-links a { 
        font-size: 0.9rem;
        padding: 10px 10px;
        display: block;
        border-bottom: 1px dotted #ccc;
        width: 80%;
        margin: 0 auto;
        text-align: left;
    }
    
   .nav-links a:last-child {
  border-bottom: none;
}
    .content {
            padding: 20px;
            font-size: 16px;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
             line-height: 1.1;
    }
    .hero h1 {
            margin: 0;
            font-size: 2rem;
        }
        .hero h2 {
            margin: 0;
            font-size: 1.3rem;
        }
    .content h1 {
            margin: 16;
            font-size: 2rem;
            color: rgb(37,131,51);
        }
        
        .navbar {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            background: rgba(246, 246, 246, 0.31); /* Lehce průsvitná lišta */
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
            padding: 15px 20px;
            display: flex;
            justify-content: flex-start;
            align-items: center;
            transition: top 0.3s;
            backdrop-filter: blur(2px); /* Efekt rozmazání pozadí */
        }

    }



    

.mobile-menu a {
  display: block;
  padding: 10px;
  border-bottom: 1px solid #ccc;
  width: 90%;
  margin: 0 auto;
  text-align: left;
}

.mobile-menu a:last-child {
  border-bottom: none;
}


#media {
    display: flex;
    flex-direction: column; /* aby media-item byly pod sebou */
    padding: rem;
}
.media-container {
    align-items: flex-start;
}
.media-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    height: 75px;
}

.media-thumb {
    height: auto;
    width: 120px;
    margin-right: 1rem;
    border-radius: 8px;
}
.sponzori-thumb {
    height: auto;
    width: 150px;
    margin-right: 1rem;
    border-radius: 8px;
}
.media-text {
    max-width: 600px;
    text-align: left;
    line-height: 1; 
}
.media-text a {
    text-decoration: none; /* odstraní podtržení */
    color: #333333;
    display: inline-block;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    font-style: italic;
}
.media-text h3 {
    margin-bottom: 0;
}


/* Lightbox background */

#lightboxCaption {
  color: white;
  font-size: 1rem;
  margin-top: 10px;
  text-align: center;
  max-width: 90%;
  font-style: italic;
}
.lightbox-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  flex-direction: column
}
.lightbox-overlay img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
}
.lightbox-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  color: white;
  background: rgba(0,0,0,0.4);
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 10000;
}
.lightbox-arrow.left { left: 20px; }
.lightbox-arrow.right { right: 20px; }
.lightbox-thumb {
  width: 120px;
  margin: 10px;
  cursor: pointer;
  border-radius: 6px;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2rem;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10001;
  transition: transform 0.2s ease;
}
.lightbox-close:hover {
  transform: scale(1.2);
}
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 sloupce stejné šířky */
  gap: 20px;
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
}


.thumbnail-wrapper {
  text-align: center;
  width: 100%; /* zabere plně 1 sloupec v gridu */
}

.lightbox-thumb {
  width: 100%;
  height: auto;
  max-height: 300px;      /* volitelné omezení výšky */
  object-fit: cover;      /* pokud chceš výřezy místo deformace */
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}


.thumb-caption {
  margin-top: 5px;
  font-size: 0.9rem;
  color: #444;
  font-style: italic;
}
.lightbox-thumb:hover {
  transform: scale(1.03);
}