/* Site Navigation Bar */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    height: 56px;
    background: rgba(30, 15, 60, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-family: 'Fredoka', sans-serif;
    box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.nav-brand {
    color: #e8b4f8;
    font-size: 1.25rem;
    font-weight: 600;
    text-decoration: none;
    font-family: 'Baloo 2', cursive;
    white-space: nowrap;
}

.nav-brand:hover {
    color: #fff;
}

.nav-links {
    display: flex;
    gap: 6px;
}

.nav-links a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
}

.nav-links a:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.nav-links a.active {
    background: rgba(168, 85, 247, 0.4);
    color: #fff;
}

/* Hamburger button */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    width: 36px;
    height: 36px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 3px;
    background: #e8b4f8;
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

/* Body padding to account for fixed nav */
body.has-nav {
    padding-top: 56px;
}

/* Mobile responsive */
@media (max-width: 640px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 56px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(30, 15, 60, 0.96);
        padding: 8px 16px 16px;
        gap: 2px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        padding: 10px 14px;
        font-size: 1rem;
    }
}
