body {
    font-family: 'Open Sans', sans-serif;
    background-color: #f9f9f9;
    margin: 0;
    padding: 0;
    color: #333;
    background: url('pozadi.jpg') no-repeat center center fixed;
    background-size: cover;
    background-attachment: fixed;
    opacity: 0.8;
}

header {
    background-color: #fff;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

header h1 {
    margin: 0;
    font-size: 3em;
}

nav {
    margin-top: 10px;
}

nav a {
    margin: 0 15px;
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: 1.2em;
}

nav .icon {
    display: none;
}

.banner {
    background-image: url('banner-image.jpg'); /* replace with your image */
    background-size: cover;
    background-position: center;
    padding: 150px 20px;
    text-align: center;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin-top: 60px;
}

.banner h2 {
    font-size: 2.5em;
}

.content {
    padding: 20px;
    text-align: center;
    font-size: 1.3em;
}

.content section {
    margin: 40px 0;
}

.menu-button {
    background-color: #d147a3; /* Dark pink color */
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: -30px;
}

.gallery {
    padding: 20px;
    text-align: center;
}

.gallery-container {
    display: flex;
    overflow-x: auto;
    padding: 20px 0;
}

.gallery-container img {
    height: 200px;
    margin-right: 10px;
}

.footer {
    background-color: #333;
    color: white;
    padding: 20px;
    text-align: center;
}

.footer a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
}

#scrollToTopBtn {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed/sticky position */
    bottom: 20px; /* Place the button at the bottom of the page */
    right: 30px; /* Place the button 30px from the right */
    z-index: 99; /* Make sure it does not overlap */
    border: none; /* Remove borders */
    outline: none; /* Remove outline */
    background-color: #d147a3; /* Dark pink color */
    color: white; /* Text color */
    cursor: pointer; /* Add a mouse pointer on hover */
    padding: 15px; /* Some padding */
    border-radius: 10px; /* Rounded corners */
    font-size: 18px; /* Increase font size */
}

#scrollToTopBtn:hover {
    background-color: #555; /* Add a dark-grey background on hover */
}

@media screen and (max-width: 600px) {
    nav a:not(:first-child) {
        display: none;
    }
    nav a.icon {
        float: right;
        display: block;
    }
}

@media screen and (max-width: 600px) {
    nav.responsive {position: relative;}
    nav.responsive .icon {
        position: absolute;
        right: 0;
        top: 0;
    }
    nav.responsive a {
        float: none;
        display: block;
        text-align: left;
    }
}


/* Styly pro lightbox */
.lightboxOverlay {
    background-color: rgba(0, 0, 0, 0.85); /* Přidání mírně průhledného pozadí */
}

.lightbox {
    border: 5px solid white; /* Ohraničení kolem obrázku */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); /* Jemný stín kolem obrázku */
}

.lb-nav a.lb-prev, .lb-nav a.lb-next {
    background: rgba(255, 255, 255, 0.7); /* Lehce průhledné pozadí u šipek */
    border-radius: 50%; /* Kulatý tvar šipek */
    transition: background 0.3s ease; /* Hladký přechod barev */
}

.lb-nav a.lb-prev:hover, .lb-nav a.lb-next:hover {
    background: rgba(255, 255, 255, 1); /* Plná barva při najetí */
}

.lb-close {
    background: rgba(255, 255, 255, 0.7); /* Lehce průhledné zavírací tlačítko */
    border-radius: 50%;
    transition: background 0.3s ease;
}

.lb-close:hover {
    background: rgba(255, 255, 255, 1); /* Plná barva při najetí */
}

/* Vylepšení galerie */
.gallery-container {
    display: flex;
    flex-wrap: wrap; /* Zajištění zalamování obrázků na menších zařízeních */
    justify-content: center; /* Centrované obrázky */
    gap: 15px; /* Mezera mezi obrázky */
    margin: 0 auto; /* Vycentrování na stránce */
}

.gallery-container img {
    height: 200px;
    width: auto;
    object-fit: cover; /* Zachování poměru stran s oříznutím */
    border: 2px solid #d147a3; /* Ohraničení ladící s designem stránky */
    border-radius: 10px; /* Kulaté rohy */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Plynulý efekt přechodu */
}

.gallery-container img:hover {
    transform: scale(1.05); /* Mírné zvětšení při najetí */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Jemný stín při najetí */
}




/* Styly navigačních šipek */
.lb-nav a.lb-prev, .lb-nav a.lb-next {
    background-color: rgba(0, 0, 0, 0.6); /* Tmavé průhledné pozadí */
    border-radius: 50%; /* Kulaté šipky */
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none; /* Odstranění podtržení */
    color: white; /* Bílá barva šipky */
    font-size: 20px;
    transition: background-color 0.3s ease;
}

.lb-nav a.lb-prev:hover, .lb-nav a.lb-next:hover {
    background-color: rgba(0, 0, 0, 0.8); /* Zesílené pozadí při najetí */
}

/* Styly zavíracího křížku */
.lb-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: rgba(0, 0, 0, 0.6); /* Tmavé průhledné pozadí */
    color: white; /* Bílá barva křížku */
    border-radius: 50%; /* Kulaté tlačítko */
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: background-color 0.3s ease;
}

.lb-close:hover {
    background-color: rgba(0, 0, 0, 0.8); /* Zesílené pozadí při najetí */
}
