div#sidr {
    display: none;
}
.header {
   position:fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    padding: 1.5rem 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;

    z-index: 999;
    transition: box-shadow 0.3s ease, background 0.3s ease;
    box-shadow: none;
}

/* מופעל אחרי שהמשתמש גולל */
.header.scrolled {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.logo {
    height: 40px;
}

.logo img {
    height: 100%;
    object-fit: contain;
    max-width: 175px !important;
}

ul.mega-menu-list.lest.left img.mega-menu-icon {
    width: 55px;
    height: 50px;
    object-fit: contain;
}
ul.mega-menu-list.lest.left a.mega-menu-link {
    background: #00000000;
}

ul.mega-menu-list.lest.left a.mega-menu-link:hover {
    background: #FAF0F6;
}
.nav-menu {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-item {
    position: relative;
    padding: 2rem 0;
    cursor: pointer;
}

.nav-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #000;
    font-family: "Ploni";
    font-size: 19px;
    font-style: normal;
    font-weight: 500;
    line-height: 13.591px;
}

.nav-link.magemenu::after {
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2.5 4.5L6 8L9.5 4.5' stroke='%231F2937' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.3s ease;
}


a.nav-link.magemenu.menudropdown ~ .mega-menu {
    grid-template-columns: repeat(1, 1fr);
    padding: 10px;
    border-radius: 10px;
    background: #FFF;
    box-shadow: 0px 0px 40px 0px rgba(0, 0, 0, 0.15);
    border: 0;
    width: revert;
    min-width: 225.149px;
    text-align: right;
}
a.nav-link.magemenu.menudropdown ~ .mega-menu .mega-menu-link {
    background-color: #00000000;
}
a.nav-link.magemenu.menudropdown ~ .mega-menu .mega-menu-link:hover {
    background-color: #F6F6F6;
}

.nav-item:hover .nav-link::after {
    transform: rotate(180deg);
}

.mega-menu {
    position: absolute;
    top: 100%;
    right: -2rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    min-width: max-content;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    border: 1px solid #E5E7EB;
    margin-top: 0.5rem;
}
.mega-menu::before {
    content: '';
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='13' viewBox='0 0 20 13' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.3809 0.369965L19.9071 12.37H0.85458L10.3809 0.369965Z' fill='white'/%3E%3C/svg%3E");
    width: 22px;
    height: 16px;
    position: absolute;
    top: -12px;
    right: 50%;
    transform: translateX(50%);
}

.nav-item:hover .mega-menu {
    opacity: 1;
    visibility: visible;
}

.mega-menu-section {
    padding: 0;
}

.mega-menu-title {
    margin-bottom: 0.5rem;
    width: 100%;
    display: block;
    color: #000;
    text-align: right;
    font-family: "Ploni";
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
    border-bottom: 1px solid #EDEDED;
    padding-bottom: 10px;
}

.mega-menu-list {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 15px;
    margin: 0 !important;
    
}

ul.mega-menu-list.lest.left {
    gap: 0;
}
ul.mega-menu-list.lest.left .mega-menu-link {
    padding: 5px;
}

.mega-menu-list.lest {
    grid-template-columns: repeat(2, 1fr);
}

.mega-menu-item {
    margin: 0;
}

.mega-menu-link {
    color: #4B5563;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.2s ease;
    padding: 0.75rem;
    border-radius: 8px;

    border-radius: 4px;
background: #F9F9F9;
}

.mega-menu-link:hover {
    border-radius: 4px;
    background: #FAF0F6;
}

.mega-menu-icon {
    width: 32px;
    height: 32px;
    padding: 6px;
    border-radius: 6px;
    background: #F3F4F6;
}

.mega-menu-link:hover .mega-menu-icon {
    background: #fff;
}

.mega-menu-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.mega-menu-text strong {
    color: #000;
    text-align: right;
    font-family: "Ploni";
    font-size: 19px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.mega-menu-text span {
    color: #6B7280;
    font-size: 0.875rem;
}

.contact-btn {
    background: #0565FF;
    text-decoration: none;
    transition: background-color 0.2s ease;
    border-radius: 1000px;
    display: inline-flex
;
    height: 52px;
    padding: 12px 26px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    color: #FFF;
    text-align: right;
    font-family: "Ploni";
    font-size: 19px;
    font-style: normal;
    font-weight: 500;
    line-height: 110%;
}

.contact-btn:hover {
    background: #0451cc;
}

/* Mobile Menu Styles */
.hamburger-menu {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 1000;
    overflow-y: auto;
    flex-direction: column;
    padding: 1rem;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-direction: row-reverse;
}

.mobile-menu-close {
    cursor: pointer;
    border: none;
    background: none;
    width: 24px;
    height: 24px;
    padding: 0;
}

.mobile-menu-items {
    display: flex;
    flex-direction: column;
}

.mobile-menu-item {
    border-bottom: 1px solid #eee;
    padding: 0.5rem 0;

}

.mobile-menu-link {
    color: #000;
    text-decoration: none;
    font-family: "Ploni";
    font-size: 19px;
    font-weight: 500;
}

.mobile-submenu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    transition: transform 0.3s ease;
    float: left;
}

.mobile-submenu-toggle.active {
    transform: rotate(180deg);
}

.mobile-submenu {
    display: block;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.5s ease;
    padding: 0;
}

.mobile-submenu.active {
    max-height: 100vh;
    padding: 1rem 0;
}

.mobile-submenu-item {
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    transition-delay: calc(var(--item-index, 0) * 0.1s);
}

.mobile-submenu.active .mobile-submenu-item {
    opacity: 1;
    transform: translateY(0);
}

.mobile-submenu-link {
    color: #4B5563;
    text-decoration: none;
    font-size: 16px;
    display: block;
}

.mobile-contact-btn {
    display: flex;
    margin-top: 2rem;
    background: #0565FF;
    text-decoration: none;
    border-radius: 1000px;
    height: 52px;
    padding: 12px 26px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    color: #FFF;
    text-align: right;
    font-size: 22px;
    font-style: normal;
    font-weight: 500;
    line-height: 110%;
}

.mobile-menu.active {
    display: flex;
}

/* Media Queries */
@media screen and (max-width: 1300px) {
    .header {
        padding: 1.75rem 2rem;
        display: flex
;
        flex-direction: row-reverse;
    }
    
    .nav-menu, .contact-btn {
        display: none;
    }
    
    .hamburger-menu {
        display: block;
    }
    
    .logo {
        height: 32px;
    }

    .nomagemenu{
        margin-right: 1rem;
    }

    .mega-menu-text strong{
        color: #000;
        text-align: right;
        font-family: "Ploni";
        font-size: 16px;
        font-style: normal;
        font-weight: 500;
        line-height: normal;
    }

    .mobile-submenu-link {
        text-decoration: none;
        display: block;
        color: #000;
        text-align: right;
        font-family: "Ploni";
        font-size: 19px;
        font-style: normal;
        font-weight: 400;
        line-height: 20px;
    }

    .mega-menu-title{
        padding-top: 20px;
    }
} 

a.nav-link:hover {
    color: #000;
}

