﻿.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 14px 0 10px;
    background: linear-gradient(to bottom, rgba(7, 17, 31, 0.92), rgba(7, 17, 31, 0.55));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    height: 72px;
    padding: 0 18px;
    border: 1px solid rgba(255,255,255,0.05);
    background: rgba(7, 17, 31, 0.55);
    box-shadow: var(--shadow);
    border-radius: 22px;
    overflow: visible;
}

.brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}

.brand-logo {
    height: 58px;
    width: auto;
    display: block;
    object-fit: contain;
}

.nav-panel {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-left: auto;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255,255,255,0.06);
}

.nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 16px;
    border-radius: 999px;
    color: var(--text);
    font-family: "Inter", sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: all 0.25s ease;
}

    .nav-link:hover {
        color: #ffffff;
        background: rgba(255,255,255,0.06);
        transform: translateY(-1px);
    }

    .nav-link::after {
        content: "";
        position: absolute;
        left: 14px;
        right: 14px;
        bottom: 7px;
        height: 1px;
        background: linear-gradient(90deg, transparent, var(--gold), transparent);
        opacity: 0;
        transform: scaleX(0.75);
        transition: all 0.25s ease;
    }

    .nav-link:hover::after {
        opacity: 1;
        transform: scaleX(1);
    }

.header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 999px;
    font-family: "Inter", sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #111827;
    background: linear-gradient(135deg, #f3d46b, #d4af37);
    box-shadow: 0 10px 22px rgba(212, 175, 55, 0.22);
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
    white-space: nowrap;
}

    .header-cta:hover {
        transform: translateY(-2px);
        box-shadow: 0 16px 28px rgba(212, 175, 55, 0.30);
        filter: brightness(1.03);
    }

.nav-toggle {
    display: none;
}

.nav-burger {
    display: none;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255,255,255,0.08);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

    .nav-burger span {
        width: 20px;
        height: 2px;
        background: white;
        border-radius: 999px;
        display: block;
    }

@media (max-width: 1024px) {
    .nav-wrapper {
        height: 68px;
        padding: 0 14px;
    }

    .brand-logo {
        height: 48px;
    }

    .site-nav {
        gap: 6px;
    }

    .nav-link {
        padding: 10px 13px;
        font-size: 0.92rem;
    }

    .header-cta {
        padding: 11px 15px;
        font-size: 0.92rem;
    }
}

@media (max-width: 860px) {
    .site-header {
        padding: 14px 0 8px;
    }

    .nav-wrapper {
        position: relative;
        height: 64px;
        border-radius: 18px;
    }

    .nav-burger {
        display: inline-flex;
        margin-left: auto;
    }

    .nav-panel {
        position: absolute;
        top: calc(100% + 12px);
        right: 0;
        left: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 14px;
        border-radius: 20px;
        background: rgba(7, 17, 31, 0.96);
        border: 1px solid rgba(255,255,255,0.06);
        box-shadow: var(--shadow);
    }

    .site-nav {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        border-radius: 16px;
        padding: 8px;
    }

    .nav-link {
        justify-content: flex-start;
        border-radius: 14px;
        padding: 13px 14px;
    }

        .nav-link::after {
            display: none;
        }

    .header-cta {
        width: 100%;
        min-height: 48px;
    }

    .nav-toggle:checked ~ .nav-panel {
        display: flex;
    }
}

@media (max-width: 480px) {
    .nav-wrapper {
        padding: 0 12px;
        height: 60px;
    }

    .brand-logo {
        height: 38px;
    }

    .nav-burger {
        width: 44px;
        height: 44px;
        border-radius: 12px;
    }

    .nav-panel {
        padding: 12px;
        border-radius: 16px;
    }
}
