* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html, body {
    overflow-x: hidden;
}
html {
    scroll-behavior: smooth;
}

body {
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont;
    background: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* HEADER */

header {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 10;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo strong {
    letter-spacing: 0.15em;
    font-weight: 700;
    font-size: 0.95rem;
}

nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
}

nav a {
    color: var(--text-muted);
    font-weight: 500;
}

nav a:hover {
    color: var(--text-main);
}

/* FOOTER */

.site-footer {
    background: #0a0c0f;
    padding: 2rem 0;
    text-align: center;
    margin-top: 4rem;
}

.site-footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

/* BURGER MENU */

.burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-main);
    margin: 5px 0;
}

/* MOBILE NAV */

@media (max-width: 768px) {
    .burger {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--bg-main);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: right 0.3s ease;
        z-index: 9;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.5rem;
    }
}
