* {
    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;
}

.carousel-outer {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 140px; 
}

.carousel-container {
    position: relative;
    width: 90%;
    max-width: 550px; 
    height: 65vh; 
    background: #000;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.carousel-slides {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-slides img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.carousel-slides img.active {
    opacity: 1;
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    padding: 15px;
    opacity: 0.4;
    transition: 0.3s;
}

.arrow:hover { opacity: 1; }
.prev { left: 10px; }
.next { right: 10px; }

.carousel-outer {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 140px;
}

.carousel-container {
    width: 90%;
    max-width: 650px;
    height: 55vh; 
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

.main-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; 
    display: block;
}

.detail-content {
    max-width: 650px; 
    margin: 60px auto 100px; 
    padding: 0 40px;
    text-align: center;
}

.project-title {
    font-size: 22px; 
    font-weight: 500;
    letter-spacing: 3px; 
    margin-bottom: 50px;
    text-transform: uppercase;
    line-height: 1.5;
}

.main-description {
    font-size: 13px; 
    line-height: 2; 
    color: rgba(255, 255, 255, 0.8);
    text-align: justify; 
    margin-bottom: 30px;
    letter-spacing: 0.3px;
}

.section-label {
    font-size: 14px;
    letter-spacing: 3px;
    margin: 100px 0 40px;
    color: #fff;
    text-transform: uppercase;
    display: block;
}

.single-img {
    width: 100%;
    max-width: 650px;
    height: auto;
    margin: 0 auto 20px;
    display: block;
}

.image-grid, 
.detail-view-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.image-grid img, 
.detail-view-grid img {
    width: 100%;
    aspect-ratio: 1 / 1; 
    object-fit: cover; 
    display: block;
}

@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; }
}