/* ================================ */
/* DESKTOP PREMIUM NAVBAR STYLES */
/* ================================ */

.premium-navbar-container {
    position: fixed;
    top: 50%;
    left: 100px;
    transform: translateY(-50%);
    z-index: 1000;
    width: 240px;
    transition: all 0.3s ease;
}

.premium-navbar {
    background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(255,255,255,0.9));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(111, 66, 193, 0.2);
    border-radius: 20px;
    padding: 1rem;
    box-shadow: 0 8px 32px rgba(111, 66, 193, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.premium-navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #6f42c1, #9966ff);
}

.premium-navbar:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(111, 66, 193, 0.2);
    border-color: rgba(111, 66, 193, 0.3);
}

/* Navbar Header */
.navbar-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(111, 66, 193, 0.1);
}

.navbar-logo {
    font-size: 1.2rem;
    background: linear-gradient(45deg, #6f42c1, #9966ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-title {
    color: #2c3e50;
    font-weight: 700;
    font-size: 0.9rem;
    margin: 0;
}

/* Navigation Items */
.navbar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-item {
    margin-bottom: 0.5rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    color: #495057;
    text-decoration: none;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    background: rgba(111, 66, 193, 0.08);
    color: #6f42c1;
    text-decoration: none;
    transform: translateX(3px);
}

.nav-link.active {
    background: rgba(111, 66, 193, 0.12);
    color: #6f42c1;
    font-weight: 600;
}

.nav-icon {
    font-size: 1rem;
    width: 18px;
    text-align: center;
}

.nav-text {
    flex: 1;
}

.nav-badge {
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: white;
    font-size: 0.6rem;
    font-weight: 600;
    padding: 0.15rem 0.4rem;
    border-radius: 6px;
    text-transform: uppercase;
}

/* Premium CTA */
.navbar-cta {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(111, 66, 193, 0.1);
}

.premium-upgrade-btn {
    background: linear-gradient(45deg, #6f42c1, #9966ff);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 0.75rem;
    font-weight: 600;
    font-size: 0.8rem;
    width: 100%;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.premium-upgrade-btn:hover {
    background: linear-gradient(45deg, #9966ff, #6f42c1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(111, 66, 193, 0.3);
    color: white;
    text-decoration: none;
}

/* ================================ */
/* MOBILE SIMPLE NAVBAR */
/* ================================ */

.mobile-navbar-container {
    display: none;
}

@media (max-width: 1200px) {
    /* Hide desktop navbar */
    .premium-navbar-container {
        display: none;
    }

    /* Show mobile navbar */
    .mobile-navbar-container {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1050;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        padding: 0.75rem 1rem;
    }

    .mobile-navbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        max-width: 100%;
    }

    .mobile-brand {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        font-weight: 700;
        color: #2c3e50;
        text-decoration: none;
        font-size: 1rem;
    }

    .mobile-brand:hover {
        color: #6f42c1;
        text-decoration: none;
    }

    .mobile-nav-items {
        display: flex;
        align-items: center;
        gap: 1rem;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .mobile-nav-link {
        color: #495057;
        text-decoration: none;
        font-weight: 500;
        font-size: 0.9rem;
        padding: 0.5rem 0.75rem;
        border-radius: 20px;
        transition: all 0.3s ease;
        white-space: nowrap;
    }

    .mobile-nav-link:hover {
        background: rgba(111, 66, 193, 0.1);
        color: #6f42c1;
        text-decoration: none;
    }

    .mobile-nav-link.active {
        background: rgba(111, 66, 193, 0.15);
        color: #6f42c1;
        font-weight: 600;
    }

    .mobile-menu-toggle {
        display: none;
        background: none;
        border: none;
        font-size: 1.5rem;
        color: #495057;
        cursor: pointer;
        padding: 0.25rem;
    }

    /* Add padding to body content */
    body.has-mobile-navbar {
        padding-top: 70px;
    }
}

@media (max-width: 768px) {
    .mobile-navbar-container {
        padding: 0.5rem 0.75rem;
    }

    .mobile-nav-items {
        gap: 0.5rem;
    }

    .mobile-nav-link {
        font-size: 0.8rem;
        padding: 0.4rem 0.6rem;
    }

    body.has-mobile-navbar {
        padding-top: 60px;
    }
}

@media (max-width: 576px) {
    .mobile-nav-items {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    /* Mobile menu dropdown (hidden by default) */
    .mobile-menu-dropdown {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        padding: 1rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    .mobile-menu-dropdown.show {
        display: block;
    }

    .mobile-dropdown-items {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .mobile-dropdown-link {
        display: block;
        color: #495057;
        text-decoration: none;
        font-weight: 500;
        font-size: 0.9rem;
        padding: 0.75rem;
        border-radius: 12px;
        transition: all 0.3s ease;
    }

    .mobile-dropdown-link:hover {
        background: rgba(111, 66, 193, 0.1);
        color: #6f42c1;
        text-decoration: none;
    }

    .mobile-dropdown-link.active {
        background: rgba(111, 66, 193, 0.15);
        color: #6f42c1;
        font-weight: 600;
    }

    body.has-mobile-navbar {
        padding-top: 55px;
    }
}

/* ================================ */
/* ANIMATIONS */
/* ================================ */

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100%) translateY(-50%);
    }
    to {
        opacity: 1;
        transform: translateX(0) translateY(-50%);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.premium-navbar-container {
    animation: slideInLeft 0.6s ease-out;
}

.mobile-navbar-container {
    animation: slideInDown 0.6s ease-out;
}

/* ================================ */
/* ACCESSIBILITY */
/* ================================ */

.premium-navbar:focus-within,
.mobile-navbar:focus-within {
    outline: 2px solid #6f42c1;
    outline-offset: 2px;
}

.nav-link:focus,
.mobile-nav-link:focus,
.mobile-dropdown-link:focus,
.premium-upgrade-btn:focus {
    outline: 2px solid #6f42c1;
    outline-offset: 2px;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    .premium-navbar-container,
    .mobile-navbar-container,
    .premium-navbar,
    .nav-link,
    .mobile-nav-link,
    .premium-upgrade-btn {
        animation: none;
        transition: none;
    }

    .premium-navbar:hover,
    .nav-link:hover,
    .mobile-nav-link:hover,
    .premium-upgrade-btn:hover {
        transform: none;
    }
}