/* ══════════════════════════════════════════
   Webezier – כותרת האתר (includes/header.php)
   תפריט עליון · מגירת מובייל · חיפוש במסך מלא
══════════════════════════════════════════ */
:root {
    --brand: #6b46c1;
}

body { font-family: 'Heebo', sans-serif; }

@keyframes marquee-move {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.animate-marquee { animation: marquee-move 60s linear infinite; }
.animate-marquee:hover { animation-play-state: paused; }

.glass-nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

.mega-menu-container {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 1001 !important;
    background: white;
}

.header-master-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2000;
}

@keyframes onboard-pulse {
    0% { box-shadow: 0 0 0 0 rgba(107, 70, 193, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(107, 70, 193, 0); }
    100% { box-shadow: 0 0 0 0 rgba(107, 70, 193, 0); }
}
.pulse-highlight {
    animation: onboard-pulse 2s infinite;
    border-radius: 12px;
}

/* שכבות: overlay של המגירה < המגירה < חיפוש (4000). ממוקד - לא משפיע על אלמנטים אחרים */
#drawer-overlay { z-index: 2500; }
#mobile-drawer  { z-index: 3000; }

/* Mobile Submenu Toggle */
.mobile-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}
.mobile-submenu.open {
    max-height: 500px;
}

/* מצב נבחר בניווט מקלדת ברשימות autocomplete */
.autocomplete-list [aria-selected="true"] { background-color: #f3e8ff; }

@media (prefers-reduced-motion: reduce) {
    .animate-marquee, .pulse-highlight { animation: none; }
    .mobile-submenu, #mobile-drawer, #search-overlay, #drawer-overlay { transition: none !important; }
}
