@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@200..1000&display=swap');

*
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body
{
    background-color: #fff;
    font-family: 'Cairo', sans-serif;
    font-weight: inherit;
    overflow-x: hidden;
}

a
{
    text-decoration: none;
}

/** Navbar **/
header
{
    position: fixed;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    z-index: 1000;
    top: 0px;
    height: 80px;
    width: 100%;
    background-color: #fff;
    gap: 1em;
    box-shadow: 0 1px 5px 0 rgba(0,0,0);
}

.mobile-menu
{
    display: none;
}

#mobile-dropdown
{
    opacity: 0;
    visibility: hidden;
    list-style: none;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 4;
    width: 100%;
    top: 4.7em;
    right: -2000px;
    background-color: rgba(0, 0, 0, 0.7);
    transition: all 0.6s ease-in-out;
    padding: 2em;
    gap: 2em;
}

#mobile-dropdown.open
{
    opacity: 1;
    visibility: visible;
    right: 0;


}

@keyframes mobilemenuopen {
    0%
    {
        transform: translateX(100%);
    }
    100%
    {
        transform: translateX(0);
    }
}


#mobile-dropdown a
{
    color: #00adef;
}

.navigation-container
{
    display: flex;
    align-items: center;
    font-size: 1.2em;
}

.nav-item
{
    position: relative;
}

.nav-item a
{
    color: rgba(0,0,0,.6);
    transition: color .3s ease-in-out;
}

.nav-item a:hover
{
    color: rgba(0,0,0)
}

.nav-btns
{
    display: flex;
    gap: 1.7em;
    list-style-type: none;
    white-space: nowrap;
}



.nav-item.active a
{
    color: #00adef;
}

.logo
{
    position: absolute;
    left: 0;
    margin-left: 3em;
    top: 4px;
}

.right-logo
{
    animation: right_logo 1.5s ease-in-out forwards;
}

.left-logo
{
    animation: left_logo 1.5s ease-in-out forwards;
}

@keyframes left_logo {
    0%{
        transform: translateX(-35%);
    }
    100%
    {
        transform: translateX(0%);
    }    
}

@keyframes right_logo {

    0%
    {
        transform: translateX(-10%);
    }
    100%
    {
        transform: translateX(-102%);
    }
    
}

/** Navbar Dropdowmenu **/
.dropdown-navigation
{
    display: none;
    list-style: none;
}

.nav-item:hover .dropdown-navigation
{
    display: block;
    position: absolute;
    top: 2em;
    background-color: #ffff;
    border: 1px solid #ccc;
    padding: 10px 0 10px 16px;
    width: 105%;
    margin-left: -10px;
}

/** Language dropdownmenu **/
.language-switcher {
    position: relative;
    display: inline-block;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-right: 20px;
}

.language-option {
    display: flex;
    align-items: center;
    padding: 10px 0px 10px 15px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.language-option img {
    margin-right: 10px;
}

.language-option span {
    font-size: 16px;
}

.language-option:hover {
    background-color: #f0f0f0;
}

.language-option.active {
    background-color: #fbfafa;
    font-weight: bold;
}

.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    border: 1px solid #ccc;
    border-top: none;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    width: 100%;
    border-radius: 5px;
}

.dropdown-option {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dropdown-option img {
    margin-right: 10px;
}

.dropdown-option span {
    font-size: 16px;
}

.dropdown-option:hover {
    background-color: #cecdcd;
}

.language-switcher:hover .dropdown {
    display: block;
}

/* * Hero container * */
.hero-container
{
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    width: 100%;
    height: 70vh;
    background-image: url("../img/new-background.jpeg");
    background-size: cover;
}

.hero-container::before
{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Poloprůhledná černá barva */
    z-index: 1;
}


.hero-container > *
{
    z-index: 2;
}

.hero-content
{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-container .hero-content h1
{
    font-size: 3em;
    text-align: center;
}

.hero-container .hero-content p
{
    font-size: 1.2em;
}

/* * HERO - Contact container */

.hero-contact
{
    display: flex;
    gap: 2em;
    align-items: end;
    font-weight: 900;
    justify-content: center;
    margin-left: 25em;
    z-index: 5;
}

.hero-contact a
{
    font-size: 1.4em;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 0px 0px 5px black;
}

.contact-container
{
    width: 235px;
    height: 60px;
    background-color: #00adef;
    box-shadow: 5px 5px 5px 0px rgba(0,0,0,0.75);
}

.section-divider
{

    position: absolute;
    bottom: 0px;
    width: 100%;
    z-index: 3;
    transform: rotateX(180deg)
}

/* * About us * */
.aboutus 
{
    margin: 2em 0 0 3em;
    margin-left: 3em;
    max-width: 80em;
    padding: 10px;
    position: relative;
}

.aboutus .title
{
    font-size: 1.5em;
}

.aboutus .content
{
    display: flex;
    flex-direction: column;
    gap: 1em;
    font-size: 1.1em;
    margin-left: 2em;

}

.btn-container
{
    font-size: 1.5em;
    color: #fff;
    display: flex;
    font-weight: 700;
    align-items: center;
    justify-content: center;
    text-shadow: 0px 0px 5px black;
    background-color: #00adef;
}
.aboutus .btn-container
{
    width: 270px;
}

/* * Nabídka služeb * */
.services
{
    position: relative;
    overflow-x: hidden;
    padding-top: 15vh;
}

.services > div:not(.divider)
{
    background-color: #d7d7d7;
}

.services .divider
{
    position: absolute;
    top: 0;
    left: 0;
    width: 120%;
    height: auto;
    z-index: 2;
}

.services .text-container {
    display: flex;
    flex-direction: column;
    padding: 50px;
    position: relative;
    z-index: 2;
    font-size: 1.5em;
}

.services .buttons
{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    flex-wrap: wrap;
    gap: 4em;
}

.btn-box
{
    position: relative;
    top: 0;
    background-image: url("../img/services-container2.png");
    height: 200px;
    width: 315px;
    background-repeat: no-repeat;
    background-position: center bottom !important;
    display: flex;
    justify-content: center;
    align-items: self-end;
    flex-direction: column;
    padding: 65px;
    color: black;
    transition: all .3s ease-in-out;
    z-index: 3;
}

.btn-box:hover
{
    transform: scale(1.05);
}

.btn-box img
{
    position: absolute;
    top: 45px;
    left: 45px;
    height: 75px;
}

.btn-box span
{
    max-width: min-content;
    font-weight: 600;
    font-size: 1.6em;
}

/* * Footer * */
.top-footer
{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding-top: 10em;
    padding-bottom: 2em;
    background-color: #d7d7d7;
    background-blend-mode: lighten;
}
.top-footer .content-container
{
    display: flex;
    clear: both;
    padding: 2em;
    gap: 4em;
    max-width: 820px;
    justify-content: space-evenly;
    width: 70%;
    background-color: rgb(240, 240, 240);
    box-shadow: 0px 0px 5px 2px rgba(0,0,0,0.5);
}

.top-footer > div:nth-child(1) > div:nth-child(1)
{
    display: flex;
    flex-direction: column;
    gap: 2em;
}

.top-footer .title
{
    color: #00adef;
    text-align: center;
    font-size: 1.6em;
    font-weight: 800;
}

.top-footer .headoffice
{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 1.2em;
    font-weight: 600;
    gap: 0.5em;
}

.top-footer .headoffice::before
{
    content: '';
    display: block;
    width: 48px;
    height: 48px;
    background: url("../img/building-solid.svg") center center no-repeat;
}

.top-footer .person::before
{
    content: '';
    display: block;
    width: 48px;
    height: 48px;
    background: url("../img/user.svg") center center no-repeat;
}

.top-footer .person
{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 1.2em;
    font-weight: 600;
    gap: 0.5em;
    margin-top: 1.3em;
}

footer
{
    position: relative;
}

.bottom-footer
{
    position: relative;
    width: 100%;
    height: 100%;
    bottom: 0;
}

.bottom-footer .content-container
{
    height: 45px;
    background-color: #d7d7d7;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

@media (max-width: 1560px)
{
    .nav-btns
    {
        display: none;
    }
    .mobile-menu
    {
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

@media (max-width: 1320px)
{
    .hero-contact
    {
        margin-left: 0;
    }
}

@media (max-width: 890px)
{
    .top-footer .content-container
    {
        flex-direction: column;
    }
}

@media (max-width: 690px)
{
    .services .buttons
    {
        flex-direction: column;
        height: auto;
    }

}

@media (max-width: 510px) {
    header
    {
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .navigation-container
    {
        display: none;
    }

    .logo
    {
        margin: 0;
        width: 170px;
    }

    .hero-content
    {
        font-size: 0.8em;
        text-align: center;
        margin: 5em auto 0 auto;
        width: 90%;
    }

    .hero-container
    {
        height: 130vh;
        background-size: auto 100%;
        background-repeat: no-repeat;
        background-position: center;
    }

    .hero-contact
    {
        flex-direction: column;
        align-items: center;
        margin-top: 2em;
    }

    .aboutus
    {
        margin-left: 0;
    }

    .services
    {
        padding-top: 5vh;
    }



    .services .buttons
    {
        height: fit-content;
        flex-wrap: wrap;
        padding-bottom: 5em;
    }

    .services .text-container
    {
        flex-wrap: wrap;
        align-items: baseline;
    }
    
    .hero-contact
    {
        margin-right: 0;
        margin-top: 3em;
    }
    .hero-container
    {
        height: 118vh;
    }

    .right-logo
    {
        position: absolute;
    }
    .bottom-footer .content-container
    {
        flex-direction: column;
        height: auto;
        font-size: 0.8em;
    }

    .language-switcher
    {
        display: none;
    }

    header
    {
        justify-content: flex-end;
    }

    .mobile-menu
    {
        margin-right: 2em;
    }
    
    .section-divider
    {
        margin-top: 10em;
    }
}

@media (max-width: 390px)
{
    .hero-container
    {
        height: 190vh;
    }
}

@media (max-width: 330px)
{
    .btn-box
    {
        height: 177px;
        width: 280px;
        display: flex;
        background-size: 100% 100%;
        align-items: self-end;
    }
    .btn-box span
    {
        max-width: min-content;
        margin-right: -0.7em;
        font-size: 1.3em;
    }
}