/* =========================================================
   HEADER
========================================================= */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--dark-2);
    box-shadow: 0 -10px 40px rgb(0, 0, 0);
}

.header-inner {
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo {
    display: inline-flex;
    align-items: center;
    color: white;
    border: 2px solid var(--primary-dark);
    border-radius: 50%;
    padding: 8px;
}

.logo-img {
    height: 40px;
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

.main-nav a {
    transition:
        color 0.2s ease,
        opacity 0.2s ease;
}

.main-nav a:hover {
    color: white;
}

/* Current page / active section */
.main-nav > a:not(.nav-button) {
    position: relative;
    padding: 8px 0;
}

.main-nav > a:not(.nav-button)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    border-radius: 999px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}

.main-nav > a.active {
    color: white;
}

.main-nav > a.active::after {
    transform: scaleX(1);
}

.nav-button {
    background: var(--primary-color);
    padding: 11px 18px;
    border-radius: 8px;
    color: white !important;
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.3);
}

/* Mobile menu */

.mobile-menu-button {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.mobile-menu-button span {
    display: block;
    width: 23px;
    height: 2px;
    margin: 5px auto;
    background: white;
}
