* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
    background-color: #000;
    color: #fff;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: scroll; 
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, transparent 100%);
}

.nav-logo {
    position: absolute;
    left: 40px;
    display: flex;
    align-items: center;
    transition: opacity 0.3s;
}

.nav-logo img {
    height: 35px;
    width: auto;
}

.navbar ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 50px;
}

.navbar a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.navbar a:hover, 
.active-link {
    color: #fff !important;
}


.work-container {
    max-width: 1100px;
    margin: 140px auto 100px;
    padding: 0 40px;
}

.project-item {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-bottom: 150px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
}

.project-item.reverse {
    flex-direction: row-reverse;
}

.project-image {
    flex: 1.2;
    overflow: hidden;
    background-color: #111;
    cursor: pointer;
    aspect-ratio: 3 / 2.2;
}

.project-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.project-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center 20%;
    transition: transform 0.6s ease;
}

.project-image:hover img {
    transform: scale(1.05);
}

.project-info {
    flex: 1;
}

.project-link {
    text-decoration: none;
    color: inherit;
    display: inline-block;
}

.project {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 25px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: opacity 0.3s ease;
}

.project-link:hover .project {
    opacity: 0.7;
}

.project-description {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
    text-align: left; 
}

.divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 120px;
    width: 100%;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .project-item, .project-item.reverse {
        flex-direction: column;
        gap: 30px;
    }
    .nav-logo { left: 20px; }
    .navbar ul { gap: 20px; }
    .project-image {
        aspect-ratio: 4 / 3;
    }
    .project { font-size: 20px; }
}