/* NAVBAR */
.navbar{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

    padding: 60px 7%;
}

.navbar__brand{
    font-size: 18px;
    font-weight: 600;
    color: var(--navbarBrand);
}

.navbar__brand span{
    font-weight: 900;
}

.navbar__links > ul {
    display: flex;
    flex-direction: row;
    align-items: center;
}


.navbar__links li{
    margin: 0 18px;
    list-style: none;
}

.navbar__links li:nth-last-child(1){
    margin-left: 20px;
}

.navbar__links a{
    color: var(--navbarLink);
    font-weight: 600;
    font-size: 15px;
    transition: .2s;
}

.navbar__links a:hover{
    opacity: 0.6;
    transition: .2s;
}

.navbar__btn{
    border: 2px solid var(--navbarBtn);
    border-radius: 23px;
    padding: 16px 40px;
    cursor: pointer;
    transition: .5s;
}

.navbar__btn:hover{
    border: 2px solid var(--navbarBtnHover);
    transition: .5s;
}

.navbar__menu{
    display: none;
}

@media only screen and (max-width: 1100px) {
    .navbar{
        padding: 35px 7%;
    }

    .navbar__menu line{
        stroke: var(--navbarHamburger);
    }

    .navbar__links{
        display: none;
    }

    .navbar__links--active {
        z-index: 999;
        position: absolute;
        display: block;
        margin-top: 280px;
        background-color: var(--background);
        border-bottom: 2px solid var(--navbarMobileBorder);
        width: calc(100% - 58px);
        padding: 20px 0;
        border-radius: 0 0 15px 15px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    }
    

    .navbar__links ul{
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .navbar__links li{
        margin: 10px 18px 0 0;
        list-style: none;
    }

    .navbar__links li:nth-last-child(1){
        margin-left: 0;
        margin-top: 40px;
    }

    .navbar__menu{
        display: block;
    }
}

.dropdown {
    position: relative;
}

.dropdown > a {
    color: var(--text);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    padding: 12px 16px;
}

.dropdown-content {
    display: none;
    flex-direction: column;
    position: absolute;
    background-color: var(--background);
    min-width: 200px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
    z-index: 10;
    border-radius: 10px;
    margin-top: 10px;
    top: 100%;
    padding: 10px 0;
    list-style: none;
}



.dropdown-content li {
    width: 80%;
}

.dropdown-content a {
    color: var(--text);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-weight: 600;
}

.dropdown-content a:hover {
    background-color: #292929;
    border-radius: 10px;
}

.dropdown:hover .dropdown-content {
    display: flex;
}

@media only screen and (max-width: 1100px) {
    .dropdown-content {
        display: none !important;
        position: static;
        background-color: transparent;
        box-shadow: none;
        padding: 0;
        margin-top: 0;
    }

    .dropdown.show .dropdown-content {
        display: flex !important;
        flex-direction: column;
    }

    .dropdown:hover .dropdown-content {
        display: none !important;
    }
}

.mobile__services {
    display: none;
}

@media only screen and (max-width: 1100px) {
    .dropdown {
        display: none; /* ukrywamy dropdown */
    }

    .mobile__services {
        display: block;
        padding: 10px 20px;
    }

    .mobile__services ul {
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding: 0;
        margin-top: 10px;
    }

    .mobile__services li {
        list-style: none;
    }

    .mobile__services a {
        color: var(--text);
        text-decoration: none;
        font-weight: 600;
        padding: 8px 0;
        display: block;
    }

    .mobile__services a:hover {
        opacity: 0.7;
    }
}



