﻿/* ==========================
   NAVBAR
========================== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--color-black);
    padding: 15px 20px;
    position: relative;
}

.logo img {
    width: 100px;
    height: auto;
}

.nav-links {
    display: flex;
    gap: 100px;
    margin-right: 20px;
}

    .nav-links a {
        font-size: var(--xxmedium-size);
        color: var(--color-white);
        font-family: var(--font-inter);
        text-decoration: none;
        transition: color 0.3s;
        cursor: default;
    }

        .nav-links a:hover {
            color: grey;
        }

.hamburger {
    display: none;
    font-size: var(--xxlarge-size);
    color: var(--color-white);
}

/* ==========================
   MOBILE NAV (Matches Image Exactly)
========================== */
@media (max-width: 500px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 50px;
        right: 20px;
        background-color: #F2F1FF;
        border-radius: 3px;
        width: 50%;
        height: auto;
        overflow: hidden;
        z-index: 999;
        gap: 5px;
        transition: all 0.3s ease-in-out;
    }

        .nav-links.active {
            display: flex;
        }

        .nav-links a {
            display: block;
            width: 100%;
            padding: 12px 0;
            font-size: var(--xsmall-size);
            color: #000000;
            background-color: #F2F1FF;
            font-weight: 500;
            text-align: center;
            text-decoration: none;
            border-bottom: 1px solid #e0e0e0;
            cursor: default;
        }

            .nav-links a:first-child {
                background-color: #3F0C96;
                color: #fff;
                font-weight: 500;
                border-bottom: none;
            }

            /* Hover/Focus state */
            .nav-links a:hover {
                background-color: #3F0C96;
                color: #ffffff;
                cursor: default;
            }

    .hamburger {
        display: block;
        font-size: 28px;
        color: #ffffff;
        z-index: 1000;
    }
}

