﻿/* ============================================
   TOP NAVIGATION BAR - COMPLETE STYLES
   ============================================ */

.top-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

    .top-navbar.scrolled {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 16px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Brand */
.navbar-brand {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

    .logo-link:hover {
        transform: scale(1.05);
    }

.logo {
    height: 48px;
    width: auto;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #0D9EFF 0%, #FFB344 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Desktop Menu */
.desktop-menu {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    text-decoration: none;
    color: #2B2B2B;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

    .nav-item::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%) scaleX(0);
        width: 80%;
        height: 3px;
        background: linear-gradient(90deg, #0D9EFF 0%, #FFB344 100%);
        transition: transform 0.3s ease;
    }

    .nav-item:hover,
    .nav-item.active {
        color: #0D9EFF;
        background: rgba(13, 158, 255, 0.1);
    }

        .nav-item.active::after {
            transform: translateX(-50%) scaleX(1);
        }

.nav-icon {
    font-size: 1.2rem;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    padding: 8px;
    color: #2B2B2B;
    transition: color 0.3s ease;
}

    .mobile-menu-toggle:hover {
        color: #0D9EFF;
    }

/* Mobile Menu Dropdown */
.mobile-menu {
    display: none;
    flex-direction: column;
    background: white;
    border-top: 1px solid #E8E8E8;
    padding: 16px 0;
}

.mobile-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    text-decoration: none;
    color: #2B2B2B;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

    .mobile-nav-item:hover {
        background: rgba(13, 158, 255, 0.1);
        border-left-color: #0D9EFF;
        color: #0D9EFF;
    }

/* Responsive */
@media (max-width: 768px) {
    .navbar-container {
        padding: 12px 20px;
    }

    .logo {
        height: 40px;
    }

    .brand-name {
        font-size: 1.25rem;
    }

    .desktop-menu {
        display: none;
    }

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

    .mobile-menu {
        display: flex;
    }
}

/* Add padding to body to account for fixed navbar */
body {
    padding-top: 80px;
}
