.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
}



.navContent {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-display);
    text-decoration: none;
    color: var(--foreground);
    transition: transform 0.3s ease;
}

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

.logoIcon {
    font-size: 2rem;
    animation: float 3s ease-in-out infinite;
}

.logoText {
    color: var(--foreground);
}

.navLinks {
    display: none;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 992px) {
    .navLinks {
        display: flex;
    }
}

.navLink {
    color: var(--foreground-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.navLink::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

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

.navLink:hover::after {
    width: 100%;
}

.navActions {
    display: none;
    gap: 1rem;
    align-items: center;
}

@media (min-width: 768px) {
    .navActions {
        display: flex;
    }
}

.loginBtn {
    color: var(--foreground);
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    border-radius: var(--radius-md);
}

.loginBtn:hover {
    background: var(--background-secondary);
}

.mobileMenuBtn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

@media (min-width: 768px) {
    .mobileMenuBtn {
        display: none;
    }
}

.hamburger {
    position: relative;
    width: 24px;
    height: 2px;
    background: var(--foreground);
    transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--foreground);
    transition: all 0.3s ease;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

.hamburger.open {
    background: transparent;
}

.hamburger.open::before {
    top: 0;
    transform: rotate(45deg);
}

.hamburger.open::after {
    bottom: 0;
    transform: rotate(-45deg);
}

.mobileMenu {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem 0;
    animation: fadeIn 0.3s ease-out;
}

@media (min-width: 768px) {
    .mobileMenu {
        display: none;
    }
}

.mobileNavLink {
    color: var(--foreground);
    text-decoration: none;
    font-weight: 500;
    padding: 0.75rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--background-secondary);
}

.mobileNavLink:hover {
    color: var(--primary);
    padding-left: 1rem;
}

.mobileActions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}
.navItem {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.dropdownMenu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--background);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 1rem;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    z-index: 1001;
}

.navItem:hover .dropdownMenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdownItem {
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    color: var(--foreground-secondary);
    text-decoration: none;
    transition: all 0.2s ease;
    display: block;
    white-space: nowrap;
}

.dropdownItem:hover {
    background: var(--background-secondary);
    color: var(--primary);
}
