/* Navbar Styles */
.navbar {
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.navbar-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 16px 0;
    position: relative;
}

.navbar-brand {
    display: flex;
    align-items: center;
    grid-column: 1;
}

.navbar-logo {
    height: 38.5px;
    width: auto;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    justify-self: center;
    grid-column: 2;
}

.nav-link {
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s ease;
    text-decoration: none;
}

.nav-link:hover {
    color: var(--primary-color);
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dropdown-arrow {
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 8px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 300px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 12px 0;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-group {
    padding: 0;
}

.nav-dropdown-label {
    padding: 8px 20px 6px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.nav-dropdown-link {
    display: block;
    padding: 8px 20px;
    color: var(--text-primary);
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-dropdown-link:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
}

.nav-dropdown-divider {
    height: 1px;
    background-color: var(--border-color);
    margin: 8px 0;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    justify-self: end;
    grid-column: 3;
}

.navbar-signin {
    font-weight: 500;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    margin: 3px 0;
    transition: all 0.3s ease;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    flex-direction: column;
    padding: 16px 0;
    gap: 16px;
}

.mobile-nav-link {
    color: var(--text-primary);
    font-weight: 500;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

@media (max-width: 968px) {
    .navbar-menu {
        display: none;
    }
    
    .navbar-actions {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
        grid-column: 3;
        justify-self: end;
    }
    
    .mobile-menu.active {
        display: flex;
    }
}

