/************************************
   sekce - cíl společnosti 
*************************************/
#cil{
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    width: 100%;
    margin: 0 auto; 
}

.cil-foto img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin-top: 8em;
    opacity: 0.8; /* Mírná průhlednost pro zjemnění efektu */
    
}

.cil-text {
    text-align: justify;
    margin: 10em 5em 1em 5em;
    width: 100%;
    line-height: 2;
    color: #f0f0f0;
}

.cil-text > h1{
    text-align: center;
    margin-top: 1em;
    color: #ffffff;
    font-size: 2em;
}

/************************
   sekce - o nás 
*************************/

#o-nas{
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    width: 100%;
    margin-top: 10em;
    padding-bottom: 3em;
    background: linear-gradient(to bottom, transparent, black);
}

.o-nas-foto img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 1em;
    border: 2px solid #a7943a; 
    mix-blend-mode: screen; /* Jemnější prolínání s pozadím */
    opacity: 0.5; /* Mírná průhlednost pro zjemnění efektu */
}

.o-nas-foto{
    width: 500px;
    margin-left: 5em;
}

.o-nas-text{
    width: 70%;
    text-align: justify;
    margin: 0em 5em 1em 5em;
    line-height: 2;
    color: #ffffff;
}

.o-nas-text > h2{
    text-align: center;
    color: #ffffff;
    font-size: 3em;
}

/* fotografie se zobrazí při 830px v sekci - o nás*/
.o-nas-foto-responzive img{
    width: 60%;
    object-fit: cover;
    margin: 0 auto;
    display: none;
    border: 2px solid #a7943a; 
}

/************************************
   sekce - etický kodex 
*************************************/
#eticky-kodex{
    width: 100%;
    padding: 3em 0 3em 0;
    background: black;
    background: black;
}

.eticky-kodex-text{
    width: 70%;
    text-align: justify;
    line-height: 2;
    color: #ffffff;
    margin: 0 auto;  
}

.eticky-kodex-text > h2{
    text-align: center;
    color: #ffffff;
    font-size: 3em;
}

.podkategorie-eticky-kodex{
    display: flex;
    flex-wrap: wrap;
    width: 80%;
    gap: 10px;
    flex-direction: row;
    align-items: flex-start;
    margin: 0 auto;
    margin-top: 3em;
}
.podkategorie-eticky-kodex a{
    flex: 1 1 150px; 
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #ffffff;
    padding: 20px; 
    background-color: #a7943a; 
    height: 100px; 
    box-sizing: border-box; 
    text-align: center; 
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.podkategorie-eticky-kodex a:hover {
    transform: scale(1.1); 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
} 

#gdpr, #zasady, #zakaznici-partneri, #instituce, #ochrana-dobreho-jmena, #vzajemne-vztahy, #ochrana{
    text-align: justify;
    margin: 0 auto;
    padding-bottom: 3em;
    width: 70%;
    box-sizing: border-box;
    color: white;
    background: black;
    line-height: 2;
}

#zasady,#zakaznici-partneri, #instituce, #ochrana-dobreho-jmena,#vzajemne-vztahy, #ochrana, #projekty{
    scroll-margin-top: 8em; /* nastavte hodnotu podle potřeby */
}
#kontakt{
     scroll-margin-top: 8em;
}
#o-nas{
     scroll-margin-top: 11em;
}
#eticky-kodex{
     scroll-margin-top: 5em;
}
/************************************
   sekce - projekty a partneři
*************************************/
#projekty {
    position: relative; 
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    margin: 0;    
}

#projekty::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/projekt.jpg');
    background-size: cover;
    background-position: center;
    z-index: -1; 
    filter: brightness(10%); /* Ztmaví obrázek na pozadí */
    opacity: 1; 
}

.projekty-text {
    text-align: justify;
    margin: 2em 0em 2em 0em;
    width: 70%;
    line-height: 2;
    color: #ffffff;
}
.projekty-text > h2 {
    text-align: center;
    color: #ffffff;
    font-size: 3em;
}
