/* ===================================================== */
/* NAVBAR */
/* ===================================================== */

.main-navbar {

    position: fixed;

    top: 1rem;
    left: 50%;

    transform:
        translateX(-50%);

    width: calc(100% - 2rem);

    max-width: 1600px;

    padding:
        1rem
        1.5rem;

    display: flex;

    justify-content: space-between;
    align-items: center;

    background:
        rgba(255,255,255,0.12);

    backdrop-filter: blur(18px);

    border:
        1px solid rgba(255,255,255,0.15);

    border-radius: 24px;

    z-index: 999;

    box-shadow:
        0 10px 30px rgba(0,0,0,0.12);

}

.navbar-brand {

    display: flex;

    align-items: center;

    gap: 1rem;

    color: white;

    font-size: 1.8rem;

    font-weight: 900;

}

.navbar-brand img {

    width: 52px;

}

.navbar-actions {

    display: flex;

    gap: 1rem;

    flex-wrap: wrap;

}

/* ===================================================== */
/* NAV BUTTONS */
/* ===================================================== */

.nav-btn {

    display: inline-flex;

    align-items: center;
    justify-content: center;

    border: none;

    cursor: pointer;

    padding:
        1rem
        1.5rem;

    border-radius: 18px;

    font-size: 1rem;

    font-weight: 800;

    text-decoration: none;

    background:
        rgba(255,255,255,0.12);

    color: white;

    transition:
        all 0.25s ease;

}

.nav-btn:hover {

    transform:
        translateY(-2px);

    background:
        rgba(255,255,255,0.22);

}

.primary-btn {

    background: white;

    color:
        var(--color-primary-dark);

}

.primary-btn:hover,
.primary-btn:focus {

    background:
        var(--color-primary-dark);

    color: white;

    outline:
        4px solid rgba(255, 255, 255, 0.55);

    outline-offset: 3px;

}

/* ===================================================== */
/* MENU TOGGLE */
/* ===================================================== */

.menu-toggle {

    display: none;

    border: none;

    background: transparent;

    color: white;

    font-size: 2rem;

    cursor: pointer;

}

@media (max-width: 900px) {

    .menu-toggle {

        display: block;

    }

    .navbar-actions {

        position: absolute;

        top: 110%;

        left: 0;

        width: 100%;

        padding: 1rem;

        border-radius: 24px;

        background:
            rgba(8, 58, 32, 0.96);

        backdrop-filter: blur(20px);

        border:
            1px solid rgba(255, 255, 255, 0.18);

        box-shadow:
            0 16px 36px rgba(0, 0, 0, 0.22);

        flex-direction: column;

        gap: 1rem;

        display: none;

    }

    .navbar-actions.active {

        display: flex;

    }

    .navbar-actions .nav-btn {

        width: 100%;

        background:
            rgba(255, 255, 255, 0.94);

        color:
            var(--color-primary-dark);

    }

    .navbar-actions .nav-btn:hover,
    .navbar-actions .nav-btn:focus {

        background:
            var(--color-primary-dark);

        color: white;

    }

    .navbar-actions .primary-btn {

        background:
            white;

        color:
            var(--color-primary-dark);

        border:
            2px solid rgba(255, 255, 255, 0.72);

        box-shadow:
            inset 0 0 0 2px rgba(0, 101, 47, 0.12);

    }

    .navbar-actions .primary-btn:hover,
    .navbar-actions .primary-btn:focus {

        background:
            var(--color-primary-dark);

        color: white;

    }

}
