:root {
    --navbar-height: 60px;
}

/* Navbar Base */
#top-navbar {
    width: 100%;
    background: #0f0f1c;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo a {
    text-decoration: none;
}

.logo a img {
    position: relative;
    margin-top: -5px;
    margin-bottom: -5px;
    max-height: 35px;
}

/* Navigation Links */
.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-links a {
    color: #ccc;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s ease;
}

.nav-links a:hover {
    color: #fff;
}

.nav-links .btn {
    padding: 0.4rem 0.8rem;
    background: #b088ff;
    color: #0f0f1c;
    border-radius: 0.4rem;
    font-weight: bold;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    color: #fff;
    cursor: pointer;
}

/* Dropdown Container */
.dropdown-link {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #2a2a40;
    flex-direction: column;
    min-width: 180px;
    border-radius: 8px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.dropdown-content a {
    padding: 10px 16px;
    white-space: nowrap;
    color: white;
    text-decoration: none;
}

.dropdown-content a:hover {
    background-color: #38385c;
}

/* Optional: show class toggled by JS */
.dropdown-content.show {
    display: flex;
}


/* Mobile Styles */
@media (max-width: 900px) {
    .nav-links {
        position: absolute;
        top: 70px;
        right: 0;
        background: #1a1a2e;
        flex-direction: column;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links.active {
        max-height: 500px;
        padding: 1rem 2rem;
    }

    .hamburger {
        display: block;
    }
}