body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-around;
    background: #333;
    color: #fff;
    padding: 1rem 0;
    text-align: center;
}

nav ul {
    list-style: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 10px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
}

section {
    padding: 2rem;
    margin: 1rem auto;
    max-width: 800px;
}

footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    position: relative;
    bottom: 0;
    width: 100%;
}
@media (max-width: 600px) {
    nav ul li {
        display: block;
        margin: 5px 0;
    }

    footer {
        position: static;
    }
}
/* Styl pro navigační menu */
nav ul {
    list-style: none;
    padding: 0;
    text-align: center;
    background-color: #333;
    margin: 0;
}

nav ul li {
    display: inline-block;
}

nav ul li a {
    display: block;
    padding: 15px 20px;
    color: #fff;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
}

/* Efekt při najetí myší */
nav ul li a:hover {
    background-color: #555;
    color: #fff;
}

/* Styl pro aktivní položku */
nav ul li a.active {
    background-color: #007bff;
    color: #fff;
}
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}
body {
    padding-top: 60px; 
}


#uvod {
    max-width: 1200px; 
    margin: 100px auto 20px; 
    padding: 20px; 
    background-color: #f9f9f9; 
    border-radius: 8px; 
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
#uvod h2 {
    color: #333; 
    font-size: 2.5em; 
    text-align: center; 
    margin-bottom: 20px; 
}

#uvod p {
    color: #666; 
    font-size: 1.2em;
    line-height: 1.6;
    text-align: justify; 
    margin-bottom: 15px; 
}

#onas {
    max-width: 1200px;
    margin: 100px auto 20px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#onas h2 {
    color: #333;
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 20px;
}

#onas p {
    color: #666;
    font-size: 1.2em;
    line-height: 1.6;
}

#akce {
    max-width: 1200px;
    margin: 100px auto 20px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#akce h2 {
    color: #333;
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 20px;
}

#akce p {
    color: #666;
    font-size: 1.2em;
    line-height: 1.6;
    text-align: justify;
    margin-bottom: 15px;
}


.download-button {
    display: inline-block;
    padding: 10px 20px;
    margin: 20px 0;
    background-color: #007BFF;
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-size: 1.2em;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.download-button:hover {
    background-color: #0056b3;
}

.button-container {
    text-align: center; /* Horizontální zarovnání na střed */
    margin: 20px 0; /* Horní a spodní odsazení */
}

#kontakt {
    max-width: 800px;
    margin: 50px auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

#kontakt h2 {
    color: #333;
    font-size: 2.5em;
    margin-bottom: 20px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
}

.contact-info p {
    color: #666;
    font-size: 1.2em;
    margin: 5px 0;
}

.contact-info a {
    color: #007BFF;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

#galerie {
    max-width: 1200px;
    margin: 100px auto 20px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#galerie h2 {
    color: #333;
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 20px;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.gallery-item {
    width: calc(33.333% - 20px);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    background-color: #fff;
    transition: transform 0.3s;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}

.desc {
    padding: 15px;
    text-align: center;
    color: #666;
    font-size: 1.1em;
}

@media (max-width: 768px) {
    .gallery-item {
        width: calc(50% - 20px);
    }
}

@media (max-width: 480px) {
    .gallery-item {
        width: 100%;
    }
}

/* Lightbox container */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}

.lightbox-content {
    position: relative;
    margin: auto;
    top: 50%;
    transform: translateY(-50%);
    max-width: 80%;
}

.lightbox-slide {
    display: none;
}

.lightbox-slide img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
}

.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.3s;
    user-select: none;
}

.prev {
    left: 0;
}

.next {
    right: 0;
}

.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}
/* Skrytí menu a tlačítka na větších obrazovkách */
.menu-toggle {
    display: none;
}

.menu {
    display: flex;
    list-style: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 10px;
}

/* Stylování pro mobilní zařízení */
@media (max-width: 600px) {
    .menu-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 2rem;
        color: #fff;
        cursor: pointer;
        position: absolute;
        top: 35px;
        left: 15px;
        z-index: 2000;
    }

    .menu {
        display: none;
        flex-direction: column;
        background-color: #333;
        position: absolute;
        top: 80px; 
        left: 0;
        width: 100%;
        padding: 0;
        z-index: 1000;
    }

    .menu li {
        text-align: center;
        margin: 0;
    }

    .menu li a {
        display: block;
        padding: 15px 0;
        color: #fff;
        text-decoration: none;
    }

    .menu li a:hover {
        background-color: #555;
    }

    .menu.show {
        display: block;
    }
}

nav {
    display: flex;
    justify-content: center; /* Zarovnání na střed */
    align-items: center;

}
#mapa {
    max-width: 800px;
    margin: 50px auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

#mapa h2 {
    color: #333;
    font-size: 2.5em;
    margin-bottom: 20px;
}

.map-container {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
}
header img.logo {
    max-height: 60px; /* Nastavte maximální výšku loga podle potřeby */
    margin-left: 20px; /* Odsazení od levého okraje */
}