* {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}
html {
    scroll-behavior: smooth;
}
.header{
    min-height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url(../images/ustavu.webp);
    background-position: center;
    background-size: cover;
    position: relative;
}
nav{
    display: flex;
    padding: 1% 6%;
    justify-content: space-between;
    align-items: center;
}
nav img{
    width: 180px;

}
.nav-links{
    flex: 1;
    text-align: right;
}
.nav-links ul li{
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}
.nav-links ul li a{
    color: #fff;
    text-decoration: none;
    font-size: 24px;
}
.nav-links ul li::after{
    content: '';
    width: 0%;
    height: 2px;
    background: #e7b039;
    display: block;
    margin: auto;
    transition: 0.5s;
}
.nav-links ul li:hover::after{
    width: 100%;
}
/* mobile */
.nav-mobile {
    position: absolute;
    background: #e7b039;
    height: 100vh;
    width: 200px;
    top: 0;
    right: 0;
    display: none;
    text-align: left;
    z-index: 2;
    transition: 1s;
}
.nav-mobile ul li{
    list-style: none;
    display: block;
    padding: 8px 12px;
    position: relative;
}
.nav-mobile ul{
    padding: 30px;
}
.nav-mobile ul li a{
    color: #242424;
    border-bottom: solid 1px #242424;
    text-decoration: none;
    font-size: 20px;
}
/* mobile */
.text-box{
    width: 90%;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
}
.text-box h1{
    font-size: 80px;
}
.text-box p{
    margin: 10px 0 40px;
    font-size: 20px;
    color: #fff;
}
.hero-btn{
    display: inline-block;
    text-decoration: none;
    color: #fff;
    border: 1px solid #fff;
    padding: 12px 34px;
    font-size: 20px;
    background: transparent;
    position: relative;
    cursor: pointer;
}
.hero-btn:hover{
    border: 1px solid #e7b039;
    background: #e7b039;
    transition: 1s;
}
nav .fa{
    display: none;
}

@media(max-width: 700px){
    .text-box h1{
        font-size: 30px;
    }
    .text-box p{
        font-size: 16px;
    }
    .hero-btn{
        font-size: 16px;
    }
    .nav-links {
        display: none;
    }
    nav .fa{
        display: block;
        color: #fff;
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
    }
    nav .fa-times{
        color: #242424;
    }
    nav img{
        width: 100px;
        margin-top: 10px;
    }
}

/*----- o nás -----*/

.onas{
    width: 80%;
    max-width: 1280px;
    margin: auto;
    text-align: center;
    padding-top: 100px;
}
h1{
    font-size: 40px;
    font-weight: 600;
}
p{
    color: #777;
    font-size: 20px;
    font-weight: 300;
    line-height: 22px;
    padding: 10px;
}

@media(max-width: 700px){
    h1{
        font-size: 30px;
    }
    p{
        font-size: 16px;
    }
}

/*----- služby -----*/

.sluzby{
    width: 80%;
    max-width: 1280px;
    margin: auto;
    text-align: center;
    padding-top: 100px;
}
.sluzby-row{
    margin: 3%;
    display: flex;
    justify-content: space-between;
}
.sluzby-row2{
    margin: 3%;
    display: flex;
    justify-content: center;
}
.sluzby-btn{
    text-align: center;
    font-weight: 600;
    font-size: 25px;
    text-decoration: none;
    margin: 10px 0;
    margin-bottom: 5%;
    padding: 30px 12px;
    color: #242424;
    flex-basis: 31%;
    background: #e7b039;
    border-radius: 10px;
    box-sizing: border-box;
    transition: 0.5s;
}
.sluzby-btn:hover{
    box-shadow: 0 0 20px 0px rgba(0,0,0,0.2);
}

@media(max-width: 1024px){
    .sluzby-row{
        flex-direction: column;
    }
    .sluzby-row2{
        flex-direction: column;
    }
}

/*----- galerie -----*/

.galerie{
    width: 100%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
    background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url(../images/ustavu.webp);
    background-position: center;
    background-size: cover;
}
.galerie h1{
    color: #fff;
    font-size: 40px;
    font-weight: 600;
}
.container-gallery{
    max-width: 100%;
    display: flex;
    justify-content: center;
}
.image-gallery{
    max-width: 1280px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-top: 4rem;
    margin-bottom: 8rem;
}
.image-gallery img {
    max-width: 100%;
    aspect-ratio: 4/3;
    padding: 0.5rem;
    object-fit: cover;
}

@media(max-width: 700px){
    .galerie h1{
        font-size: 30px;
    }
    .image-gallery{
        flex-direction: column;
    }
    .image-gallery img{
        max-width: 80%;
    }
}

/*----- kontakt -----*/

.kontakt{
    width: 80%;
    max-width: 1280px;
    margin: auto;
    text-align: center;
    padding-top: 50px;
}
.kontakt-row{
    margin: 3%;
    display: flex;
    justify-content: space-between;
}
.kontakt-col{
    flex: auto;
    width: auto;
    border-radius: 10px;
    margin-bottom: 5%;
    padding: 20px 12px;
    box-sizing: border-box;
}
.kontakt-udaje{
    max-width: 380px;
    background: #e7b039;
    transition: 0.5s;
    text-align: left;
}
.kontakt-udaje:hover{
    box-shadow: 0 0 20px 0px rgba(0,0,0,0.2);
}
.kontakt-udaje ul li{
    list-style: none;
    display: inline-block;
    padding: 20px 0px;
    position: relative;
}
.kontakt-udaje .fa-solid{
    display: block;
    color: #242424;
    margin: 20px;
    margin-top: 0px;
    margin-right: 0px;
    font-size: 50px;
}
.kontakt-udaje h1{
    text-align: left;
    padding: 20px 20px;
    color: #242424;
}
.kontakt-udaje h3{
    text-align: left;
    padding: 20px 0px;
    font-size: 20px;
    color: #242424;
    margin: 0%;
    margin-left: 20px;
}
.kontakt-udaje a{
    color: #242424;
    font-size: 20px;
    font-weight: 300;
    line-height: 22px;
    padding: 0px;
    text-decoration: none;
}
.kontakt-udaje p{
    color: #242424;
    font-size: 20px;
    font-weight: 300;
    line-height: 22px;
    padding: 20px;
    text-decoration: none;
}
.kontakt-map {
    overflow: hidden;
    height: 100%;
    max-height: 444px;
}
.kontakt-map iframe {
    width: 100%;
    height: 100%;
    aspect-ratio: 1/1;
}
@media(max-width: 1024px){
    .kontakt-row{
        flex-direction: column;
    }
    .kontakt-udaje {
        max-width: none;
    }
    .kontakt-udaje a{
        font-size: 16px;
    }
    .kontakt-udaje p{
        font-size: 16px;
    }
}

/*----- footer -----*/

.footer{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background: #242424;
}
.footer-content {
    width: 80%;
    max-width: 1280px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 35%;
}
.socials{
    text-align: center;
}
.socials ul li{
    list-style: none;
    display: inline-block;
    padding: 20px 12px;
    position: relative;
}
.socials ul li a{
    color: #fff;
    text-decoration: none;
    font-size: 30px;
}
.provozovatel {
    padding: 10px 0px;
    max-width: 40%;
}
.provozovatel p {
    color: white;
    line-height: 1.5;
}
@media(max-width: 700px) {
    .footer-content {
        flex-direction: column-reverse;
    }
    .socials ul li {
        padding-top: 0px;
    }
    .provozovatel {
        max-width: none;
    }
}