/* BASE STYLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    color: #1a1a1a;
    line-height: 1.6;
    background: white;
    font-size: 1.1rem;
}

/* NAVIGATION */
nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1.3rem 0;
}

.nav-container {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-identity {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-avatar {
    width: 35px;
    height: 35px;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nav-name {
    display: flex;
    align-items: center;
}

.nav-name img {
    height: 38px;
    width: auto;
    display: block;
    transform: translateY(1px);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: #666;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.1rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #1a1a1a;
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: #1a1a1a;
}

.nav-links a:hover::after {
    width: 100%;
}

/* HAMBURGER MENU */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #1a1a1a;
    transition: all 0.3s ease;
    position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: #1a1a1a;
    transition: all 0.3s ease;
}

.nav-toggle span::before {
    top: -7px;
}

.nav-toggle span::after {
    top: 7px;
}

/* Hamburger animation when active */
.nav-toggle.active span {
    background: transparent;
}

.nav-toggle.active span::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle.active span::after {
    top: 0;
    transform: rotate(-45deg);
}

/* MAIN CONTAINER */
main {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 2rem 4rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    nav {
        padding: 1rem 0;
    }

    .nav-container {
        padding: 0 1.5rem;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: right 0.3s ease;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    }

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

    .nav-links a {
        font-size: 1.25rem;
        letter-spacing: 0.15rem;
    }

    .nav-links a::after {
        bottom: -6px;
    }

    /* Overlay when menu is open */
    .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.3);
        z-index: 999;
    }

    .nav-overlay.active {
        display: block;
    }

    main {
        padding: 0 1.5rem 3rem;
    }
}

@media (max-width: 480px) {
    .nav-links {
        width: 80%;
    }

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