/* Navbar Styles */
.main-navbar {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    width: calc(100% - 60px);
    max-width: 1000px;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 32px;
    /* background: linear-gradient(90deg,
            rgba(0, 0, 0, 0.9) 0%,
            rgba(30, 30, 40, 0.85) 25%,
            rgba(40, 40, 50, 0.8) 50%,
            rgba(30, 30, 40, 0.85) 75%,
            rgba(0, 0, 0, 0.9) 100%); */
    border-radius: 20px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 2px 8px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Brand Section */
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* .brand-logo {
    width: 32px;
    height: 32px;
} */

.brand-text {
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

/* Navigation Links */
.navbar-nav {
    display: flex;
    flex-direction: row !important;
    color: white;
    align-items: center;
    gap: 40px;
    flex: 1;
    justify-content: center;
    margin: 0 40px;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 8px 0;
    transition: all 0.3s ease;
}

/* Active and Hover States */
.nav-link.active::after,
.nav-link:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #8FC31F;
    border-radius: 1px;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

.nav-link:hover {
    color: rgba(255, 255, 255, 0.9);
}

/* Login Button */
.navbar-actions {
    flex-shrink: 0;
}

.login-button {
    display: inline-block;
    padding: 10px 24px;
    background: #8FC31F;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.login-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #8FC31F;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 25px;
    color: white;
}

.login-button:hover::before {
    
    color: white;
}

.login-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 1px 1px #8FC31F;
    color: white;
    opacity: 1;
}

.login-button span {
    position: relative;
    z-index: 1;
}

.profile-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #8FC31F;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.profile-button:hover {
    box-shadow: 0 1px 1px #8FC31F;
    text-decoration: none;
    color: white;
}

.profile-icon {
    width: 20px;
    height: 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .main-navbar {
        width: calc(100% - 40px);
        top: 20px;
    }

    .navbar-container {
        padding: 14px 24px;
    }

    .navbar-nav {
        gap: 30px;
        margin: 0 30px;
    }
}

@media (max-width: 768px) {
    .main-navbar {
        width: calc(100% - 20px);
        top: 15px;
    }

    .navbar-container {
        padding: 12px 20px;
    }

    .navbar-nav {
        gap: 20px;
        margin: 0 20px;
    }

    .brand-text {
        font-size: 1.1rem;
    }

    .nav-link {
        font-size: 0.9rem;
    }

    .login-button {
        padding: 8px 18px;
        font-size: 0.85rem;
    }
}

@media (max-width: 640px) {
    .navbar-nav {
        display: none;
    }

    .navbar-container {
        justify-content: space-between;
    }
}