.site-header {
    width: 100%;
    background-color: var(--primary);
    position: relative;
    z-index: 1000;
}

.navbar {
    width: min(94%, var(--max-width));
    height: var(--nav-height);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}


/* .logo img {
    height: 62px;
    width: auto;
} */

.logo img {
    height: 102px;
    width: auto;
    object-fit: contain;
    transform: translateY(4px);
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 24px;
    list-style: none;
}

.nav-links a {
    position: relative;
    color: var(--white);
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 600;
    white-space: nowrap;
    transition: opacity 0.25s ease;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -9px;
    width: 0;
    height: 2px;
    background-color: var(--white);
    transition: width 0.25s ease;
}

.nav-links a:hover {
    opacity: 0.85;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 8px;
    border: 0;
    background: transparent;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.menu-toggle span {
    display: block;
    width: 27px;
    height: 2px;
    border-radius: 2px;
    background-color: var(--white);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

@media screen and (max-width: 1200px) {
    .navbar {
        width: 92%;
    }

    .nav-links {
        gap: 16px;
    }

    .nav-links a {
        font-size: 0.78rem;
    }
}

@media screen and (max-width: 900px) {
    :root {
        --nav-height: 76px;
    }

    .navbar {
        width: 90%;
    }

    .logo img {
        height: 76px;
    }

    .menu-toggle {
        display: flex;
        z-index: 1002;
    }

    .nav-links {
        position: fixed;
        top: var(--nav-height);
        right: 0;
        width: min(82%, 380px);
        height: calc(100dvh - var(--nav-height));
        padding: 35px 35px 60px;
        background-color: var(--primary);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 0;
        transform: translateX(100%);
        visibility: hidden;
        transition: transform 0.35s ease, visibility 0.35s;
        overflow-y: auto;
        box-shadow: -10px 20px 30px rgba(0, 0, 0, 0.15);
    }

    .nav-links.active {
        transform: translateX(0);
        visibility: visible;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    .nav-links a {
        display: block;
        width: 100%;
        padding: 18px 4px;
        font-size: 0.95rem;
    }

    .nav-links a::after {
        display: none;
    }
}