* {
    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; }
.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; }
.navbar a:hover, .active-link { color: #fff !important; }

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

.content-carousel { margin-top: 20px; margin-bottom: 60px; }

.carousel-container {
    position: relative;
    width: 90%;
    max-width: 420px; 
    background: #000;
    display: flex;
    align-items: center;
    overflow: visible;
}

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

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

.carousel-slides img.active { 
    display: block;
    position: absolute; 
    top: 0; 
    left: 0;
    opacity: 1; 
    z-index: 2; 
}

.placeholder { 
    display: block !important;
    position: relative !important; 
    opacity: 0 !important; 
    visibility: hidden; 
    z-index: 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: -50px; } 
.next { right: -50px; }

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

.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;
    text-align: center;
}

.single-img {
    width: 100%;
    max-width: 420px; 
    margin: 0 auto 10px;
    display: block;
}

.img-caption {
    display: block;
    font-size: 11px; 
    font-style: italic;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 60px;
    text-align: center;
}

@media (max-width: 768px) {
    .nav-logo { left: 20px; }
    .navbar ul { gap: 20px; }
    .carousel-outer { margin-top: 120px; }
    .detail-content { padding: 0 25px; }
    .arrow { display: none; } 
}