.navbar {
    background-color: #4679aa;
    padding: 15px 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar .logo img {
    height: 40px;
}

.burger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.burger__line {
    width: 25px;
    height: 3px;
    background-color: #fff;
    transition: all 0.3s ease;
}

.burger.open .burger__line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger.open .burger__line:nth-child(2) {
    opacity: 0;
}

.burger.open .burger__line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Навигация */
.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #ddd;
}

/* Кнопка с номером */
.contact-number {
    display: none;
    text-align: left;
    /* padding-left: 20px; */
}

.contact-number a {
    background-color: #4679aa;
    color: #4679aa;
    /* padding: 10px 20px; */
    border-radius: 20px;
    text-align: left;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s, color 0.3s;
}

.contact-number a:hover {
    background-color: #4679aa;
    color: #fff;
}

/* Стили для мобильных устройств */
@media (max-width: 776px) {
    .burger {
        display: flex;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: fixed;
        left: 0;
        top: 0;
        background-color: #4679aa;
        width: 250px;
        height: 100%;
        padding: 20px;
        z-index: 1000;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-links li {
        margin: 10px 0;
    }

    .contact-number {
        display: block;
        margin-top: 20px;
    }

    .logo {
        order: 2;
        margin-left: auto;
    }

    .burger {
        order: 1;
    }
    .contact-button{
        display: none;
    }
}
