body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background: linear-gradient(rgba(255, 166, 0, 0.526), rgb(255, 0, 68));
    position: relative;

}
body::before {
    content: "";
    position: fixed;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/hore2.jpg') center/cover no-repeat;
    opacity: 0.5; 
    z-index: -1; 
    
}


/* Styl pro hlavní navigaci */
header nav {
    background-color: #252525f5;
    color: #fff;
    padding: 10px 0;
    text-align: center;
}

header nav h1 {
    margin: 0;
    padding: 0;
    font-size: 300%;
    text-shadow: 0px 0px 10px rgb(255, 115, 0);
}

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

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

header nav ul li a {
    color: #fff;
    text-decoration: none;
}
header nav ul li a:hover {
    color: orange;
    text-shadow: 0px 0px 10px red;
}

/*Jednotlivé sekce*/

.columns {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    background-color: rgba(60, 60, 60, 0.9);
    color: aliceblue;
    border-radius: 5px;
    margin: 10px;
    margin-top: 600px;
}

.column {
    width: 30%;
    padding: 10px;
}


.center {
    display: flex;
    flex-direction: column;
    align-items: flex-start; 
    text-align: left;
}

section {
    display: flex;
    justify-content: space-between; 
    align-items: center; 
    padding: 20px;
    margin: 10px;
    background-color: rgba(60, 60, 60, 0.9);
    border-radius: 5px;
    color: aliceblue;

}

.text-content {
    display: flex;
    flex-direction: column; 
}

.section-img {
    width: 40%; 
    max-width: 250px; 
    border-radius: 5px;
    margin-left: 20px;

}

.kapela {
    width: 60%; 
    max-width: 1000px; 
    border-radius: 5px;
    margin-left: 20px;

}


section > p, section > ul, section > address {
    width: 55%; 
}

section strong a {
    text-decoration: none;
    color: aliceblue;
}

section strong a:hover {
    color: orange;
    text-shadow: 0px 0px 10px red;
}

address a {
    color: orange;
}

address a:hover {
    text-shadow: 0px 0px 10px red;
}

#projekt a {
    color: orange;
}

#projekt strong a {
    color: aliceblue;
}

#projekt a:hover {
    text-shadow: 0px 0px 10px red;
    color: orange;
}

/* Media Query pro mobilní zobrazení */
@media (max-width: 768px) {
    header nav ul li {
        display: block;
        margin: 10px 0;
    }
    
    .columns {
        flex-direction: column; 
        text-align: center;
    }

    .column {
        width: 100%; 
        margin-bottom: 20px; 
    }
    
    section {
        flex-direction: column;
        align-items: flex-start; 
        text-align: left; 
    }

    .section-img {
        width: 100%; 
        max-width: 100%; 
        margin-left: 0; 
        margin-top: 20px; 

    }

    .kapela {
        width: 100%; 
        max-width: 100%; 
        margin-left: 0; 
        margin-top: 20px; 

    }

    section > p, section > ul, section > address {
        width: 100%; 
    }
}

/* Animace pro vyjíždění prvků */
@keyframes slide-in {
    from {
        transform: translateX(-100%); 
        opacity: 0; 
    }
    to {
        transform: translateX(0); 
        opacity: 1; 
    }
}

/* Třída pro animaci */
.slide-in {
    animation: slide-in 0.5s forwards; 
    opacity: 0; 
}