/**
 * תפריט מובייל תחתון - Klifa Mobile Navigation
 * 
 * @package Klifa_My_Account_Customizer
 * @since 1.3.0
 */

/* ==================================================
   משתנים CSS
   ================================================== */
:root {
    --klifa-nav-bg: #ffffff;
    --klifa-nav-active: #D4AF37;
    --klifa-nav-text: #666666;
    --klifa-nav-text-active: #1a1a1a;
    --klifa-nav-shadow: 0 -4px 30px rgba(0, 0, 0, 0.08);
    --klifa-nav-height: 70px;
    --klifa-nav-safe-area: env(safe-area-inset-bottom, 0px);
}

/* ==================================================
   תפריט תחתון ראשי
   ================================================== */
.klifa-mobile-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--klifa-nav-bg);
    box-shadow: var(--klifa-nav-shadow);
    padding-bottom: var(--klifa-nav-safe-area);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    direction: rtl;
}

/* הצגה רק במובייל */
@media (max-width: 768px) {
    .klifa-mobile-nav {
        display: block;
    }
    
    /* הוספת רווח תחתון לתוכן */
    body.klifa-has-mobile-nav {
        padding-bottom: calc(var(--klifa-nav-height) + var(--klifa-nav-safe-area));
    }
}

/* ==================================================
   רשימת פריטים
   ================================================== */
.klifa-mobile-nav-items {
    display: flex;
    justify-content: space-around;
    align-items: stretch;
    height: var(--klifa-nav-height);
    max-width: 500px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

/* ==================================================
   פריט בתפריט
   ================================================== */
.klifa-mobile-nav-item {
    flex: 1;
    display: flex;
    justify-content: center;
}

.klifa-mobile-nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
    padding: 8px 4px;
    color: var(--klifa-nav-text);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.klifa-mobile-nav-link:hover,
.klifa-mobile-nav-link:focus {
    color: var(--klifa-nav-text);
    text-decoration: none;
}

/* ==================================================
   אייקון
   ================================================== */
.klifa-mobile-nav-icon {
    position: relative;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.klifa-mobile-nav-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
    transition: all 0.3s ease;
}

.klifa-mobile-nav-icon .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
    line-height: 24px;
}

/* ==================================================
   תווית
   ================================================== */
.klifa-mobile-nav-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 60px;
    transition: all 0.3s ease;
}

/* ==================================================
   מצב פעיל
   ================================================== */
.klifa-mobile-nav-link.active {
    color: var(--klifa-nav-text-active);
}

.klifa-mobile-nav-link.active .klifa-mobile-nav-icon {
    transform: translateY(-2px);
}

.klifa-mobile-nav-link.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: var(--klifa-nav-active);
    border-radius: 0 0 4px 4px;
}

.klifa-mobile-nav-link.active .klifa-mobile-nav-icon svg,
.klifa-mobile-nav-link.active .klifa-mobile-nav-icon .dashicons {
    color: var(--klifa-nav-active);
    fill: var(--klifa-nav-active);
}

/* ==================================================
   Badge עגלת קניות
   ================================================== */
.klifa-mobile-nav-badge {
    position: absolute;
    top: -4px;
    right: -8px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: linear-gradient(135deg, #D4AF37 0%, #B8860B 100%);
    color: white;
    font-size: 10px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.4);
    animation: badge-pop 0.3s ease;
}

.klifa-mobile-nav-badge:empty {
    display: none;
}

@keyframes badge-pop {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* ==================================================
   אנימציות Hover
   ================================================== */
@media (hover: hover) {
    .klifa-mobile-nav-link:hover .klifa-mobile-nav-icon {
        transform: translateY(-3px) scale(1.1);
    }
    
    .klifa-mobile-nav-link:hover {
        color: var(--klifa-nav-active);
    }
}

/* ==================================================
   Ripple Effect
   ================================================== */
.klifa-mobile-nav-link {
    overflow: hidden;
}

.klifa-mobile-nav-link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: radial-gradient(circle, var(--klifa-nav-active) 10%, transparent 10.01%);
    transform: scale(10, 10);
    opacity: 0;
    transition: transform 0.5s, opacity 0.5s;
    pointer-events: none;
}

.klifa-mobile-nav-link:active::after {
    transform: scale(0, 0);
    opacity: 0.2;
    transition: 0s;
}

/* ==================================================
   סגנונות נוספים - Floating Action Button Style
   ================================================== */
.klifa-mobile-nav.style-fab .klifa-mobile-nav-items {
    position: relative;
}

.klifa-mobile-nav.style-fab .klifa-mobile-nav-item.primary {
    position: relative;
    top: -15px;
}

.klifa-mobile-nav.style-fab .klifa-mobile-nav-item.primary .klifa-mobile-nav-link {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #D4AF37 0%, #B8860B 100%);
    color: white;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
    padding: 0;
    gap: 0;
}

.klifa-mobile-nav.style-fab .klifa-mobile-nav-item.primary .klifa-mobile-nav-label {
    display: none;
}

.klifa-mobile-nav.style-fab .klifa-mobile-nav-item.primary .klifa-mobile-nav-icon svg,
.klifa-mobile-nav.style-fab .klifa-mobile-nav-item.primary .klifa-mobile-nav-icon .dashicons {
    color: white;
    fill: white;
    width: 28px;
    height: 28px;
    font-size: 28px;
}

.klifa-mobile-nav.style-fab .klifa-mobile-nav-item.primary .klifa-mobile-nav-link::before {
    display: none;
}

/* ==================================================
   סגנון Pill/Capsule
   ================================================== */
.klifa-mobile-nav.style-pill {
    background: transparent;
    box-shadow: none;
    padding: 12px 16px calc(12px + var(--klifa-nav-safe-area));
    border-top: none;
}

.klifa-mobile-nav.style-pill .klifa-mobile-nav-items {
    background: var(--klifa-nav-bg);
    border-radius: 35px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12);
    height: 60px;
    padding: 0 10px;
}

.klifa-mobile-nav.style-pill .klifa-mobile-nav-link.active::before {
    display: none;
}

.klifa-mobile-nav.style-pill .klifa-mobile-nav-link.active {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(212, 175, 55, 0.08) 100%);
    border-radius: 25px;
    margin: 5px 0;
}

/* ==================================================
   סגנון Minimal
   ================================================== */
.klifa-mobile-nav.style-minimal .klifa-mobile-nav-label {
    display: none;
}

.klifa-mobile-nav.style-minimal .klifa-mobile-nav-items {
    height: 56px;
}

.klifa-mobile-nav.style-minimal .klifa-mobile-nav-icon svg,
.klifa-mobile-nav.style-minimal .klifa-mobile-nav-icon .dashicons {
    width: 26px;
    height: 26px;
    font-size: 26px;
}

/* ==================================================
   סגנון Glassmorphism
   ================================================== */
.klifa-mobile-nav.style-glass {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

/* ==================================================
   Dark Mode Support
   ================================================== */
@media (prefers-color-scheme: dark) {
    .klifa-mobile-nav.auto-dark {
        --klifa-nav-bg: #1a1a1a;
        --klifa-nav-text: #888888;
        --klifa-nav-text-active: #ffffff;
        border-top-color: rgba(255, 255, 255, 0.05);
    }
    
    .klifa-mobile-nav.auto-dark.style-glass {
        background: rgba(26, 26, 26, 0.9);
    }
}

/* ==================================================
   אנימציית כניסה
   ================================================== */
.klifa-mobile-nav {
    animation: slideUpNav 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideUpNav {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ==================================================
   כשיש הודעה מ-WooCommerce
   ================================================== */
.woocommerce-notices-wrapper:not(:empty) ~ .klifa-mobile-nav {
    bottom: calc(var(--klifa-nav-height) + 20px);
}

/* ==================================================
   Landscape Mode
   ================================================== */
@media (max-height: 500px) and (orientation: landscape) {
    .klifa-mobile-nav {
        --klifa-nav-height: 50px;
    }
    
    .klifa-mobile-nav-label {
        display: none;
    }
    
    .klifa-mobile-nav-icon svg,
    .klifa-mobile-nav-icon .dashicons {
        width: 22px;
        height: 22px;
        font-size: 22px;
    }
}

/* ==================================================
   תפריט המבורגר מלא - עיצוב לאתר תכשיטים
   ================================================== */

/* כפתור המבורגר */
.klifa-hamburger-btn {
    display: none;
    position: fixed;
    top: 15px;
    right: 15px;
    z-index: 99998;
    width: 48px;
    height: 48px;
    background: rgba(26, 26, 26, 0.9);
    border: 2px solid #D4AF37;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    padding: 0;
}

@media (max-width: 768px) {
    .klifa-hamburger-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

.klifa-hamburger-btn:hover {
    background: rgba(26, 26, 26, 1);
    border-color: #D4AF37;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
}

.klifa-hamburger-btn.active {
    background: #D4AF37;
    border-color: #D4AF37;
}

.klifa-hamburger-icon {
    width: 24px;
    height: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.klifa-hamburger-icon span {
    display: block;
    width: 100%;
    height: 3px;
    background: #D4AF37;
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.klifa-hamburger-icon span:nth-child(2) {
    width: 70%;
}

.klifa-hamburger-btn:hover .klifa-hamburger-icon span {
    background: #D4AF37;
}

.klifa-hamburger-btn:hover .klifa-hamburger-icon span:nth-child(2) {
    width: 100%;
}

.klifa-hamburger-btn.active .klifa-hamburger-icon span {
    background: #1a1a1a;
}

.klifa-hamburger-btn.active .klifa-hamburger-icon span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.klifa-hamburger-btn.active .klifa-hamburger-icon span:nth-child(2) {
    opacity: 0;
    width: 0;
}

.klifa-hamburger-btn.active .klifa-hamburger-icon span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* Overlay */
.klifa-hamburger-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 99996;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.klifa-hamburger-overlay.active {
    display: block;
    opacity: 1;
}

/* התפריט המלא */
.klifa-hamburger-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 380px;
    height: 100%;
    background: #ffffff;
    z-index: 99997;
    overflow-y: auto;
    overflow-x: hidden;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    direction: rtl;
    box-shadow: -10px 0 50px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .klifa-hamburger-menu {
        display: block;
    }
}

.klifa-hamburger-menu.active {
    right: 0;
}

/* Header של התפריט */
.klifa-hamburger-header {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border-bottom: 3px solid #D4AF37;
}

.klifa-hamburger-logo {
    order: 1;
}

.klifa-hamburger-logo .klifa-menu-logo {
    max-height: 45px;
    width: auto;
}

.klifa-hamburger-logo .klifa-menu-site-name {
    color: #D4AF37;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 1px;
}

.klifa-hamburger-close {
    order: 2;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: white;
}

.klifa-hamburger-close:hover {
    background: #D4AF37;
    transform: rotate(90deg);
}

/* חיפוש */
.klifa-hamburger-search {
    padding: 20px 25px;
    background: #f8f8f8;
    border-bottom: 1px solid #eee;
}

.klifa-hamburger-search-wrapper {
    position: relative;
}

.klifa-hamburger-search-input-wrap {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
    padding: 0 18px;
    gap: 10px;
}

.klifa-hamburger-search-input-wrap:focus-within {
    border-color: #D4AF37;
}

.klifa-hamburger-search-icon {
    color: #D4AF37;
    flex-shrink: 0;
}

.klifa-hamburger-search-input-wrap input {
    flex: 1;
    border: none;
    padding: 14px 0;
    font-size: 15px;
    outline: none;
    background: transparent;
    direction: rtl;
}

/* תוצאות חיפוש בתפריט המבורגר */
.klifa-hamburger-search-results {
    display: none;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    margin-top: 10px;
    overflow: hidden;
    max-height: 40vh;
    overflow-y: auto;
}

.klifa-hamburger-result-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid #f5f5f5;
    transition: background 0.15s ease;
}

.klifa-hamburger-result-item:hover {
    background: #faf7ee;
}

.klifa-hamburger-result-item img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.klifa-hamburger-result-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.klifa-hamburger-result-name {
    font-size: 13px;
    font-weight: 500;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.klifa-hamburger-result-price {
    font-size: 12px;
    color: #888;
}

.klifa-hamburger-result-price .woocommerce-Price-amount {
    color: #D4AF37;
    font-weight: 600;
}

.klifa-hamburger-results-all {
    display: block;
    padding: 12px 15px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: #D4AF37;
    text-decoration: none;
    border-top: 1px solid #eee;
    transition: background 0.15s ease;
}

.klifa-hamburger-results-all:hover {
    background: #faf7ee;
    color: #D4AF37;
}

.klifa-hamburger-no-results {
    padding: 20px 15px;
    text-align: center;
    color: #999;
    font-size: 13px;
}

.klifa-hamburger-search-loading {
    display: flex;
    justify-content: center;
    padding: 20px;
}

.klifa-hamburger-spinner {
    width: 22px;
    height: 22px;
    border: 2px solid #eee;
    border-top-color: #D4AF37;
    border-radius: 50%;
    animation: klifaHamburgerSpin 0.6s linear infinite;
}

@keyframes klifaHamburgerSpin {
    to { transform: rotate(360deg); }
}

/* רשימת התפריט הראשי */
.klifa-hamburger-nav {
    list-style: none;
    margin: 0;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.klifa-hamburger-item {
    position: relative;
}

.klifa-hamburger-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 25px;
    color: #1a1a1a;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-right: 3px solid transparent;
}

.klifa-hamburger-link:hover {
    background: rgba(212, 175, 55, 0.08);
    color: #D4AF37;
    border-right-color: #D4AF37;
    text-decoration: none;
}

.klifa-hamburger-link svg {
    color: #888;
    transition: color 0.3s ease;
}

.klifa-hamburger-link:hover svg {
    color: #D4AF37;
}

/* תת-תפריט */
.klifa-submenu-toggle {
    margin-right: auto;
    margin-left: 0;
    transition: transform 0.3s ease;
}

.klifa-hamburger-item.open .klifa-submenu-toggle {
    transform: rotate(180deg);
}

.klifa-hamburger-submenu {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    background: #f8f8f8;
    transition: max-height 0.3s ease;
}

.klifa-hamburger-item.open .klifa-hamburger-submenu {
    max-height: 500px;
}

.klifa-hamburger-subitem a {
    display: block;
    padding: 12px 25px 12px 50px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    border-right: 2px solid transparent;
}

.klifa-hamburger-subitem a:hover {
    color: #D4AF37;
    background: rgba(212, 175, 55, 0.05);
    border-right-color: #D4AF37;
}

/* קטגוריות */
.klifa-hamburger-categories {
    padding: 20px 25px;
    border-bottom: 1px solid #eee;
}

.klifa-hamburger-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 15px 0;
}

.klifa-hamburger-section-title svg {
    color: #D4AF37;
}

.klifa-category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.klifa-category-item {
    text-align: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.klifa-category-item:hover {
    transform: translateY(-3px);
}

.klifa-category-img {
    width: 60px;
    height: 60px;
    margin: 0 auto 8px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 2px solid #eee;
    transition: border-color 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.klifa-category-item:hover .klifa-category-img {
    border-color: #D4AF37;
}

.klifa-category-name {
    display: block;
    font-size: 11px;
    color: #666;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* קישורים מהירים */
.klifa-hamburger-quick-links {
    display: flex;
    gap: 15px;
    padding: 20px 25px;
    border-bottom: 1px solid #eee;
}

.klifa-quick-link {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px;
    background: #f8f8f8;
    border-radius: 12px;
    text-decoration: none;
    color: #1a1a1a;
    transition: all 0.3s ease;
}

.klifa-quick-link:hover {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0.05) 100%);
    color: #D4AF37;
    text-decoration: none;
}

.klifa-quick-link-icon {
    position: relative;
    color: #D4AF37;
}

.klifa-quick-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: #D4AF37;
    color: white;
    font-size: 10px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    border-radius: 10px;
}

.klifa-quick-link span:last-child {
    font-size: 13px;
    font-weight: 500;
}

/* פוטר התפריט */
.klifa-hamburger-footer {
    padding: 20px 25px;
    background: #f8f8f8;
    margin-top: auto;
}

.klifa-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.klifa-user-info img {
    border-radius: 50%;
    border: 2px solid #D4AF37;
}

.klifa-user-details {
    display: flex;
    flex-direction: column;
}

.klifa-user-name {
    font-weight: 600;
    color: #1a1a1a;
    font-size: 15px;
}

.klifa-logout-link {
    font-size: 13px;
    color: #888;
    text-decoration: none;
}

.klifa-logout-link:hover {
    color: #D4AF37;
}

.klifa-login-btn {
    display: block;
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #D4AF37 0%, #B8860B 100%);
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.klifa-login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
    color: white;
    text-decoration: none;
}

/* רשתות חברתיות */
.klifa-social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.klifa-social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    color: #666;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.klifa-social-link:hover {
    background: #D4AF37;
    color: white;
    transform: translateY(-3px);
}

/* אנימציות */
@keyframes slideInMenu {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.klifa-hamburger-menu.active .klifa-hamburger-item {
    animation: slideInMenu 0.4s ease forwards;
}

.klifa-hamburger-menu.active .klifa-hamburger-item:nth-child(1) { animation-delay: 0.1s; }
.klifa-hamburger-menu.active .klifa-hamburger-item:nth-child(2) { animation-delay: 0.15s; }
.klifa-hamburger-menu.active .klifa-hamburger-item:nth-child(3) { animation-delay: 0.2s; }
.klifa-hamburger-menu.active .klifa-hamburger-item:nth-child(4) { animation-delay: 0.25s; }
.klifa-hamburger-menu.active .klifa-hamburger-item:nth-child(5) { animation-delay: 0.3s; }
.klifa-hamburger-menu.active .klifa-hamburger-item:nth-child(6) { animation-delay: 0.35s; }

/* מצב כהה */
@media (prefers-color-scheme: dark) {
    .klifa-hamburger-menu.auto-dark {
        background: #1a1a1a;
    }
    
    .klifa-hamburger-menu.auto-dark .klifa-hamburger-header {
        background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    }
    
    .klifa-hamburger-menu.auto-dark .klifa-hamburger-search {
        background: #222;
    }
    
    .klifa-hamburger-menu.auto-dark .klifa-search-wrapper {
        background: #333;
    }
    
    .klifa-hamburger-menu.auto-dark .klifa-search-wrapper input {
        color: white;
    }
    
    .klifa-hamburger-menu.auto-dark .klifa-hamburger-link {
        color: #eee;
    }
    
    .klifa-hamburger-menu.auto-dark .klifa-hamburger-submenu {
        background: #222;
    }
    
    .klifa-hamburger-menu.auto-dark .klifa-hamburger-subitem a {
        color: #aaa;
    }
    
    .klifa-hamburger-menu.auto-dark .klifa-quick-link {
        background: #222;
        color: #eee;
    }
    
    .klifa-hamburger-menu.auto-dark .klifa-hamburger-footer {
        background: #222;
    }
    
    .klifa-hamburger-menu.auto-dark .klifa-user-name {
        color: #eee;
    }
    
    .klifa-hamburger-menu.auto-dark .klifa-social-link {
        background: #333;
        color: #aaa;
    }
}
