/* Navigation Menu Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

nav {
    background: #2c3e50;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.nav-list {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 24px;
    color: #ecf0f1;
    text-decoration: none;
    transition: background 0.3s ease;
}

.nav-link:hover {
    background: #34495e;
}

.nav-link.active {
    background: #3498db;
}

.icon {
    font-size: 20px;
}

.nav-text {
    font-size: 14px;
    font-weight: 500;
}

/* Desktop: Horizontal menu with text */
@media (min-width: 769px) {
    nav {
        position: sticky;
        top: 0;
        z-index: 100;
    }

    .nav-list {
        flex-direction: row;
    }
}

/* Mobile: Vertical menu, icons only */
@media (max-width: 768px) {
    nav {
        position: fixed;
        left: 0;
        top: 0;
        height: 100vh;
        width: 60px;
        z-index: 100;
    }

    .nav-list {
        flex-direction: column;
        height: 100%;
        padding: 10px 0;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        flex-direction: column;
        justify-content: center;
        padding: 16px 8px;
        gap: 4px;
    }

    .nav-text {
        display: none;
    }

    .icon {
        font-size: 24px;
    }

    /* Add padding to body content so it's not hidden behind nav */
    body {
        padding-left: 60px;
    }
}