/* 🎨 Unified Navigation System */
/* Єдина навігація для всього проекту n8n-creator.space */

/* Hide old Bootstrap navbar */
.navbar.navbar-expand-lg {
    display: none !important;
}

.nav-menu {
    display: none !important;
}

.nav-container {
    background: rgba(34, 38, 58, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(102, 126, 234, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
    margin-bottom: 2rem;
}

.nav-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

.nav-bar {
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem 0;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(102, 126, 234, 0.3) transparent;
}

.nav-bar::-webkit-scrollbar {
    height: 4px;
}

.nav-bar::-webkit-scrollbar-thumb {
    background: rgba(102, 126, 234, 0.3);
    border-radius: 2px;
}

/* Top navigation links - higher specificity to override Bootstrap nav-pills */
.nav-container .nav-bar .nav-link {
    color: rgba(226, 232, 240, 0.7);
    text-decoration: none;
    padding: 0.625rem 1.25rem;
    border-radius: 8px;
    font-weight: 400 !important;
    font-size: 0.9375rem;
    transition: all 0.2s ease;
    white-space: nowrap;
    border: 1px solid transparent;
}

.nav-container .nav-bar .nav-link:hover {
    background: rgba(102, 126, 234, 0.15);
    color: #e5e7eb;
    border-color: rgba(102, 126, 234, 0.3);
}

.nav-container .nav-bar .nav-link.active {
    background: linear-gradient(135deg, #667eea, #764ba2) !important;
    color: white !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .nav-wrapper {
        padding: 0 0.75rem;
    }

    .nav-link {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
}

/* Dark theme compatibility */
body {
    --nav-bg: rgba(34, 38, 58, 0.95);
    --nav-border: rgba(102, 126, 234, 0.2);
    --nav-text: rgba(226, 232, 240, 0.7);
    --nav-text-hover: #e5e7eb;
    --nav-active-bg: linear-gradient(135deg, #667eea, #764ba2);
}
