/* Main navbar style (desktop view) */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #1d1d20;
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 200px 12px 20px; /* Adjust for desktop view */
}

.navbar-right {
    display: flex;
    align-items: center;
}

.navbar-left {
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.navbar-logo img {
    width: 50px;
    height: auto;
    margin-right: 10px;
}

.navbar-links {
    display: flex;
    align-items: center;
    margin-left: 10px;
}

.navbar .nav-link {
    margin: 0 15px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    padding: 8px 20px;
    border-radius: 25px;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.navbar .nav-link:hover {
    color: #da4fcb;
}

.navbar-signup {
    background-color: #da4fcb;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 500;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-right: 40px; /* Moves button a bit to the left */
}

.navbar-signup:hover {
    background-color: #ffffff;
    color: #da4fcb;
}

/* Hamburger menu style */
.navbar-toggle {
    display: none; /* Initially hidden for desktop */
    font-size: 2rem;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1100; /* Ensure it's above other elements */
}

@media (max-width: 768px) {
    /* Adjust padding for mobile */
    .navbar {
        padding: 12px 20px;
        justify-content: space-between;
    }

    /* Mobile-friendly logo */
    .navbar-logo img {
        width: 40px;
    }

    /* Hide links initially */
    .navbar-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px; /* Make sure it's below the navbar */
        left: 0;
        width: 100%;
        background-color: #1d1d20;
        padding: 10px 0;
        z-index: 1000;
    }

    /* When active, display the links */
    .navbar-links.active {
        display: flex;
    }

    /* Full width for each link on mobile */
    .nav-link {
        margin: 10px 0;
        padding: 10px 20px;
        text-align: center;
        width: 100%;
    }

    /* Show the hamburger menu button */
    .navbar-toggle {
        display: block; /* Visible on mobile */
    }

    /* Adjust button size for mobile */
    .navbar-signup {
        font-size: 0.9rem;
        padding: 6px 16px;
        margin-right: 40px; /* Reset right margin */
        margin-left: -40px; /* Shift it slightly to the left */
    }
}
