/* navigation.css - סגנונות ניווט מרכזיים לפסטיבל באר שירה */
/* ממוקם ב: public/festival/navigation.css */

/* ── הגדרת משתנים גלובליים ── */
:root {
    --teal: #489c90;
    --teal-dark: #2d5a52;
    --coral: #dc5858;
    --bg-light: rgba(255, 255, 255, 0.9);
    --border-radius: 8px;
    --nav-radius: 15px;
    --transition: all 0.3s ease;
}

/* ── ניווט ראשי ── */
.navigation {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: nowrap;
    padding: 20px;
    background: linear-gradient(135deg, rgba(72, 156, 144, 0.1) 0%, rgba(220, 88, 88, 0.1) 100%);
    border-radius: var(--nav-radius);
    border: 2px solid rgba(72, 156, 144, 0.2);
    box-shadow: 0 4px 20px rgba(72, 156, 144, 0.1);
}

/* ── פריטי ניווט ── */
.nav-item {
    color: var(--teal-dark);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 12px 20px;
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: 2px solid rgba(72, 156, 144, 0.3);
    background: var(--bg-light);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    white-space: nowrap;
}

.nav-item:hover {
    background: rgba(72, 156, 144, 0.1);
    border-color: var(--teal);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(72, 156, 144, 0.2);
}

.nav-item.active {
    background: rgba(72, 156, 144, 0.1);
    border-color: var(--teal);
    color: var(--teal-dark);
    font-weight: 500;
}

/* ── לוגו הפסטיבל ── */
.festival-logo {
    background: linear-gradient(135deg, var(--teal) 0%, var(--coral) 50%, var(--teal) 100%) !important;
    color: white !important;
    border: 2px solid var(--teal) !important;
    font-weight: bold !important;
    box-shadow: 0 4px 15px rgba(72, 156, 144, 0.4);
    font-size: 18px !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.festival-logo:hover {
    background: linear-gradient(135deg, var(--coral) 0%, var(--teal) 50%, var(--coral) 100%) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 20px rgba(220, 88, 88, 0.4);
}

/* ── לוגו נייד ── */
.mobile-logo {
    display: none;
    background: linear-gradient(135deg, var(--teal) 0%, var(--coral) 50%, var(--teal) 100%);
    color: white;
    font-size: 18px;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    border: 2px solid var(--teal);
    box-shadow: 0 4px 15px rgba(72, 156, 144, 0.4);
}

/* ── כפתור המבורגר ── */
.mobile-menu-button {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--teal-dark);
    cursor: pointer;
    padding: 8px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.mobile-menu-button:hover {
    background: rgba(72, 156, 144, 0.1);
}

/* ── תפריט נייד ── */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.mobile-menu.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-content {
    background: white;
    border-radius: var(--nav-radius);
    padding: 30px;
    width: 80%;
    max-width: 400px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    position: relative;
}

/* ── פריטי תפריט נייד ── */
.mobile-nav-item {
    display: block;
    color: var(--teal-dark);
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    padding: 15px;
    margin: 10px 0;
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: 2px solid rgba(72, 156, 144, 0.3);
    background: var(--bg-light);
    text-align: center;
}

.mobile-nav-item:hover {
    background: rgba(72, 156, 144, 0.1);
    border-color: var(--teal);
}

.mobile-nav-item.active {
    background: rgba(72, 156, 144, 0.1);
    border-color: var(--teal);
    font-weight: 600;
}

.mobile-nav-item.festival-logo {
    background: linear-gradient(135deg, var(--teal) 0%, var(--coral) 50%, var(--teal) 100%) !important;
    color: white !important;
    border: 2px solid var(--teal) !important;
    font-weight: bold !important;
}

/* ── כפתור סגירה ── */
.close-menu {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    transition: color 0.2s ease;
}

.close-menu:hover {
    color: var(--teal);
}

/* ── עיצוב רספונסיבי ── */
@media (max-width: 768px) {
    .navigation {
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
    }
    
    .nav-item {
        display: none;
    }
    
    .mobile-menu-button {
        display: block;
    }
    
    .mobile-logo {
        display: block;
    }
}

/* ── אנימציות נוספות ── */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.navigation {
    animation: fadeIn 0.3s ease-out;
}

/* ── מצב נגישות ── */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}