body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #333;
    margin: 0;
    padding: 0;
    background-color: #f2f2f2;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='1' cy='1' r='1' fill='%23d9d9d9' fill-opacity='0.6'/%3E%3C/svg%3E");
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

a:hover {
    text-decoration: underline;
    opacity: 0.8;
}

.nav-links {
    list-style: none;
    padding: 0;
}

.nav-links li {
    margin-bottom: 6px;
}

.nav-links li a {
    font-size: 14px;
    color: #666;
    display: inline-block;
    transition: color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.nav-links li a:hover {
    color: #000;
    opacity: 1;
    transform: scale(1.05);
    text-decoration: none;
}

/* --- LAYOUT: MAIN CONTENT (RIGHT) --- */
main {
    margin-left: 280px;
    padding: 40px;
    max-width: 2500px;
    box-sizing: border-box;
}

/* --- PROJECT GRID --- */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
    gap: 40px;
}

.project-item {
    display: block;
    cursor: pointer;
}

.project-thumbnail {
    width: 100%;
    aspect-ratio: 4 / 3;
    background-color: #f0f0f0;
    object-fit: cover;
    object-position: bottom;
    margin-bottom: 10px;
    display: block;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.project-item:hover .project-thumbnail {
    transform: scale(1.02);
    opacity: 0.9;
}

.project-title {
    font-size: 18px;
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
}

/* --- SIDEBAR --- */
aside {
    position: fixed;
    top: 0;
    left: 0;
    width: 200px;
    height: 100vh;
    padding: 40px;
    overflow-y: auto;
    text-align: center;
    background-color: rgba(242, 242, 242, 0.95);
    backdrop-filter: blur(5px);
    border-right: 1px solid #e0e0e0;
    box-shadow: 2px 0 15px rgba(0, 0, 0, 0.03);
}

aside h1 {
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    line-height: 1.3;
    margin-bottom: 40px;
}

.nav-section {
    margin-bottom: 35px;
}

.nav-section h3 {
    font-size: 11px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 12px;
}

.project-title-large {
    font-weight: bold;
    margin-bottom: 20px;
}

.project-description {
    font-size: 16px;
    line-height: 1.6;
    max-width: 800px;
    margin-bottom: 40px;
}

.media-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.project-image {
    width: 100%;
    height: auto;
    display: block;
}

/* --- MOBILE --- */
@media (max-width: 768px) {
    aside {
        position: static;
        width: auto;
        height: auto;
        padding: 20px;
    }

    main {
        margin-left: 0;
        padding: 20px;
    }

    .project-grid {
        grid-template-columns: 1fr;
    }
}
