.ald_header_wrapper{
   
    width: 100%;
}
.ald_header_container{
    max-width: 1290px;
    margin: 0 auto;
    padding: 30px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.ald_header_list_wrapper{
    list-style: none;
    display: flex;
    gap: 30px;
}

.ald_header_list_item {
    position: relative; 
    padding: 0 5px;
}

.ald_header_list_item > a {
    text-decoration: none;
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 18px;
    color: var(--black);
    cursor: pointer;
    display: inline-block; 
    padding-bottom: 5px; 
    transition: color 0.3s ease; 
}

.ald_header_list_item:hover > a {
    color: var(--acsent);
}

.ald_header_list_item:hover::after {
    content: '';
    position: absolute;
    bottom: -10px; 
    left: 2px; 
    width: 100%; 
    height: 2px;
    background-color: var(--acsent);
    transition: width 0.3s ease; 
}

.ald_header_list_item:not(:hover)::after {
    width: 0; 
}

.burger_btn,
.burger_btn span{
    display: none;
    
}
.ald_header_wrapper.color{
    background-color: var(--bg);
}
.ald_header_img_wrapper{
    display: flex;
}
.ald_header_img_wrapper img{
    width: 100%;
    height: auto;
    object-fit: contain;
}
.burger_btn.open{
    background-color: #E35F5F; 
}
.burger_btn.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
  background-color: white;
}
.burger_btn.open span:nth-child(2) {
  opacity: 0;
}
.burger_btn.open span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
    background-color: white;
}


@media only screen and (max-width: 1024px){
    .ald_header_wrapper{
        padding: 20px;
    }
    .ald_header_container {
        padding: 0;
    }

}
@media only screen and (max-width: 768px){
    .ald_header_img_wrapper{
        width: 60px;
        height: 59px;
    }
    .ald_header_list_wrapper {
        position: fixed;
        top: 0;
        right: -100%; 
        width: 50%;
        height: 100vh;
        background: var(--black);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 20px 20px;
        transition: right 0.3s ease;
        z-index: 920;
        justify-content: center;
    }
    .ald_header_nav.menu_open .ald_header_list_wrapper {
        right: 0; 
    }
    .ald_header_nav::before {
        content: "";
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(0,0,0,0.5);
        z-index: 900;
    }

    .ald_header_nav.menu_open::before {
        display: block;
    }
    .ald_header_list_item {
        padding: 0 5px;
        width: 100%;
        text-align: end;
    }
    
}
@media only screen and (max-width: 768px){
   
    .burger_btn{
        display: flex;
        width: 50px;
        height: 50px;
        background-color: #2b2b2be8; 
        border: none;
        border-radius: 50%;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 6px;
        cursor: pointer;
        padding: 0;
        position: relative;
        z-index: 925;
    }
    .burger_btn span {
        display: block;
        width: 20px;
        height: 2px;
        background-color: #E35F5F; 
        border-radius: 2px;
        transition: 0.3s;
    }
    .ald_header_list_item a{
        font-family: var(--font-family);
        font-weight: 600;
        font-size: 18px;
        color: var(--white);
    }
    .ald_header_img_wrapper{
        width: 50px;
        height: 48px;
    }

}
@media only screen and (max-width: 420px){
    .ald_header_list_wrapper {
        width: 80%;
    }
    .ald_header_wrapper{
        padding: 15px;
    }
   

}