


 header {
    height: 80px;
    position: fixed;
    box-shadow: 0 5px 15px -5px #00000089;
    background-color: #ffffff;
    z-index: 9999;
    width: 100%;
}


.nav-bar {
    max-width: 1050px;
    width: 95%;
    display: flex;
    align-items: center;
    height: 100%;
    margin: 0 auto;
}

.nav-logo {
    width: 65px;
    height: auto;
}

.nav-logo img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nav-list {
    font-family: 'PT sans';
    font-weight: 400;
    font-size: 16px;
    gap: 30px; /* Изменено с 15% на фиксированное значение */
    margin: 0;
    padding: 0;
}



.socials {
    max-width: 165px;
    gap: 20px;
    display: flex;
    align-items: center;
}


.socials-item {
    width: 41px;
    height: 41px;
    border-radius: 50%;
    display: block;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 23px;
    transition: all 0.35s ease;
}

.socials-item:hover {
    transform: scale(0.9);
}

.socials-item:nth-child(1) {
    background-color: green;
    background-image: url(../assets/images/icon_whatsapp.png);
    box-shadow: 0 0 15px 5px green;
    
}

.socials-item:nth-child(2)  {
    background-color: rgb(0, 87, 128);
    background-image: url(../assets/images/icons-telegram.png);
    box-shadow: 0 0 15px 5px rgb(0, 87, 128);
}


@media screen and (max-width: 767px) {
    .nav-bar {
        width: 100%;
        padding: 0 15px;
        justify-content: space-between;
    }

    .header-burger {
        display: block;
        position: relative;
        width: 35px;
        height: 22px;
        margin-left: auto;
        z-index: 5;

    }

    .header-burger::before,
    .header-burger::after {
        content: '';
        background-color: black;
        position: absolute;
        width: 100%;
        height: 3px;
        left: 0;
        border-radius: 2px;
        transition: all 0.35s ease 0s;
    }

    .header-burger span {
        content: '';
        position: absolute;
        background-color: black;
        width: 75%;
        height: 3px;
        left: 0;
        top: 9px;
        border-radius: 2px;
        transition: all 0.35s ease 0s;
    }

    .header-burger::before {
        top: 0;
    }

    .header-burger::after {
        bottom: 0;
    }

    .header-burger.active::before {
        transform: rotate(45deg);
        top: 10px;
        
    }

    .header-burger.active span {

        transform: translateX(30%);
        opacity: 0;
    }

    .header-burger.active::after {
        transform: rotate(-45deg);
        bottom: 9px;
        
    }

    header {
        position: fixed;
        height: 65px;
        z-index: 1000;
    }

    .menu-list {
        position: fixed;
        right: 0;
        left: 0;
        top: 64.3px;
        width: 100%;
        height: 60%;
        background-color: #ffffff;
        flex-direction: column;
        z-index: 2;
        align-items: center;
        padding-top: 47px;
        transform: scaleY(0);
        transform-origin: top;
        transition: all 0.45s ease 0s;
    }

    .menu-list li {
        font-size: 24px;
    }
    
    .menu-list.active {
        right: 0; 
        left: 0;
        transform: scaleY(1);
        box-shadow: 3px 0 5px #575d58c0;
        border-radius: 0 0 15px 15px;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        font-size: 22px;
        font-weight: 700;
        gap: 25px;
    }
}

@media screen and (min-width: 768px) {
    .header-burger {
        display: none;
    }
    
    .menu-list {
        display: flex;
        align-items: center;
        margin-left: auto;
        gap: 30px; /* Уменьшено с 79px */
    }
    
    .menu-list.active {
        right: auto !important; /* Отменяет fixed позиционирование для десктопа */
    }
}

.menu-list {
    display: flex;
    align-items: center;
    gap: 30px; /* Уменьшено с 79px */
}

.menu-list li {
    font-family: 'WDX';
    font-weight: 800;
    font-size: 21px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #333; /* Изменено с var(--txt-white) на обычный цвет */
    position: relative;
    list-style: none;
}

.menu-list li a {
    text-decoration: none;
    color: inherit;
}

.menu-list li::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 105%;
    height: 2px;
    background-color: #333; /* Изменено с #ffffff на обычный цвет */
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.menu-list li:hover::after {
    transform: scaleX(1);
}