/* v. 1.00 - 13 June 2026 */
/* Built with PioneerAIO, framework by Gabriele Gobbo · https://www.pioneeraio.it */

/* ─── TOP NAV ─────────────────────────────────────── */
.topnav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--bg);
    border-bottom: 1px solid var(--lime);
}

.topnav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0.9rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.topnav-brand {
    font-family: 'Inter', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--lime);
    text-decoration: none;
    line-height: 1;
    transition: opacity 0.2s;
}

.topnav-brand:hover { opacity: 0.85; }

.topnav-links {
    display: flex;
    align-items: center;
    gap: 1.8rem;
}

.topnav-links a {
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text);
    text-decoration: none;
    transition: color 0.2s;
}

.topnav-links a:hover,
.topnav-links a:focus-visible {
    color: var(--lime);
    outline: none;
}

.topnav-links a[aria-current="page"] {
    color: var(--lime);
}

.topnav-toggle { display: none; }
.topnav-burger { display: none; }

@media (max-width: 720px) {
    .topnav-inner {
        position: relative;
        gap: 0.9rem;
    }
    .topnav-burger {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 26px;
        height: 18px;
        cursor: pointer;
        z-index: 51;
    }
    .topnav-burger span {
        display: block;
        width: 100%;
        height: 2px;
        background: var(--lime);
        transition: transform 0.25s, opacity 0.25s;
        transform-origin: center;
    }
    .topnav-toggle:checked ~ .topnav-burger span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .topnav-toggle:checked ~ .topnav-burger span:nth-child(2) { opacity: 0; }
    .topnav-toggle:checked ~ .topnav-burger span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    .topnav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg);
        border-bottom: 1px solid var(--lime);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
        padding: 0 2rem;
    }
    .topnav-toggle:checked ~ .topnav-links {
        max-height: 340px;
        padding: 0.4rem 2rem 1.2rem;
    }
    .topnav-links a {
        padding: 0.95rem 0;
        border-bottom: 1px solid var(--border);
        font-size: 1rem;
    }
    .topnav-links a:last-child { border-bottom: none; }
    .topnav-brand { font-size: 1.2rem; }
}

/* ─── FOOTER ──────────────────────────────────────── */
.footer {
    border-top: 1px solid var(--border);
    padding: 3rem 0 2rem;
    text-align: center;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem 0;
    margin-bottom: 1.2rem;
}

.footer-links a {
    font-size: 0.82rem;
    color: var(--text-3);
    text-decoration: none;
    transition: color 0.2s;
    white-space: nowrap;
    padding: 0 0.875rem;
    border-right: 1px solid var(--border);
    line-height: 1;
}

.footer-links a:last-child { border-right: none; }

.footer-links a[aria-current="page"] {
    color: var(--lime);
}

.footer-links a:hover    { color: var(--lime); }
.footer-links a:visited  { color: var(--text-3); }
.footer-links a:active   { color: var(--text-3); }

.footer-flag {
    font-size: 0.95rem;
}

.footer-social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.8rem;
    margin-bottom: 1.5rem;
}

.footer-social a {
    color: var(--text-3);
    font-size: 1.15rem;
    line-height: 1;
    text-decoration: none;
    transition: color 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.footer-social a:hover    { color: var(--lime); }
.footer-social a:visited  { color: var(--text-3); }
.footer-social a:active   { color: var(--text-3); }

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
}

.footer-copy {
    font-size: 0.78rem;
    color: var(--text-3);
    margin: 0;
}
