/*
 *  Copyright (c) 2026 Stefan Crkvenjakov
 *  Username: stefan
 *  GitHub: https://github.com/ElStefanos
 *
 * File: header.css
 * Created: 30/08/2026, 16:23
 *
 * This file is part of the Advanced-Web-Tools-Framework project.
 * All rights reserved.
 *
 */

.header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 0.9rem 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(251, 251, 253, 0.75);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.header-logo-container {
    display: flex;
    align-items: center;
}

.header-logo {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--text-primary);
    text-decoration: none;
    display: inline-block;
    transition: color var(--transition-speed) var(--transition-ease);
}

.header-logo:focus-visible {
    color: var(--accent-color);
}

.header-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.75rem;
}

.header-nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 400;
    padding: 0.25rem 0;
    transition: color var(--transition-speed) var(--transition-ease);
}

.header-nav-link:hover,
.header-nav-link:focus-visible {
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .header {
        padding: 0.85rem 5%;
        flex-direction: column;
        gap: 0.65rem;
    }

    .header-nav {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .header-nav-link {
        font-size: 0.8rem;
    }
}
.header-nav-link[aria-current="page"] { color: var(--accent-color); }
@media (min-width: 769px) and (max-width: 1100px) { .header { padding-inline: 5%; } .header-nav { gap: 1rem; } }
