
@media (min-width: 641px) and (max-width: 1023px) {
    .contact_section .row{
        flex-direction: column;
    }
    .contact_section .col-md-5{
        width: 100%;
        padding-right: 0;
    }
    .contact_section .col-md-7{
        margin-top: 20px;
        width: 100%;
    }
    .contact_form .d-flex{
        flex-direction: column;
    }
    .grid__footer{
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (max-width: 640px) {
    .grid__footer{
        grid-template-columns: repeat(1, 1fr);
    }
    .navbar__menu .container{
        flex-direction: column;
        padding: 0 15px;
    }
    .header_logo{
        width: 70%;
        object-fit: contain;
    }
    .navbar__toogle{
        width: 30%;
    }
    .main-logo{
        display: flex;
        width: 100%;
        justify-content: space-between;
        align-items: center;
    }
    .logo_footer a{
        text-align: center;
    }
}

.navbar__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.navbar__toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    transition: all 0.3s ease;
}

@media (max-width: 1360px) {
    .navbar__toggle {
        display: flex;
    }

    .navbar__menu__items {
        display: none;
        flex-direction: column;
        gap: 10px;
        padding: 1rem 0;
    }

    .navbar__menu__items.active {
        display: flex;
    }
    .navbar__menu .container{
        flex-direction: column;
        padding: 0 15px;
    }
    .header_logo{
        width: 70%;
        object-fit: contain;
    }
    .navbar__toogle{
        width: 30%;
    }
    .main-logo{
        display: flex;
        width: 100%;
        justify-content: space-between;
        align-items: center;
    }
}

/* Overlay */
.navbar__overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(1, 34, 6, 0.93);
    z-index: 9;
    transition: opacity 0.3s ease;
}

/* Arată overlay-ul când meniul e activ */
.navbar__overlay.active {
    display: block;
}

/* Meniu mobil */
@media (max-width: 1360px) {
    .navbar__menu__items {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: transparent;
        z-index: 10;
        flex-direction: column;
        padding: 1rem;
    }

    .navbar__menu__items.active {
        display: flex;
    }

    .navbar__menu__items ul{
        flex-direction: column;
        gap: 10px;
    }
}
