body {
    background-image: url('../media/wallpaper.png'); 
    background-size: cover;
    background-position: center;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
    font-family: 'monocraft', sans-serif;
    cursor: url('../media/cursor2.png'), default; 
}

#project-detail-window {
    width: 90%;
    max-width: 1100px;
    background-color: #c3b9d6; 
    border: 4px solid;
    border-color: #ffffff #6b5a8e #6b5a8e #ffffff; 
    box-shadow: 15px 15px 0px rgba(0,0,0,0.4);
    transform: scale(1.02); 
    transform-origin: center;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.window-header {
    background-color: #6b5a8e;
    padding: 8px 15px;
    display: flex;
    align-items: center;
    color: white;
    border-bottom: 2px solid #120939;
}

.detail-layout {
    display: flex;
    gap: 15px;
    padding: 20px;
    background-color: #97a8be; 
    height: auto;
}

.large-preview {
    width: 100%;
    max-height: 500px;
    object-fit: contain;
    border: 3px solid;
    border-color: #6b5a8e #ffffff #ffffff #6b5a8e; 
    image-rendering: pixelated; 
}
.specs-sidebar {
    flex: 1;
    min-width: 275px;
    background: #a496b9; 
    border: 3px solid;
    border-color: #6b5a8e #ffffff #ffffff #6b5a8e; 
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.gallery-view {
    flex: 3;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

 .mini-grid img {
    border: 3px solid;
    border-color: #6b5a8e #ffffff #ffffff #6b5a8e; 
    image-rendering: pixelated;
    background-color: #000;
}
.specs-sidebar img {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
}
.specs-sidebar h3 {
    margin-top: 0;
    color: #1a1a7e;
    border-bottom: 2px solid #6b5a8e;
    padding-bottom: 10px;
}

.specs-sidebar p {
    font-size: 12px;
    color: #120939;
    margin: 10px 0;
}

.specs-sidebar strong {
    color: #4b808a;
}

.gallery-view {
    flex: 3;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.large-preview {
    width: 100%;
    border: 2px solid #6b5a8e;
    image-rendering: pixelated;
    background: #000;
}

.mini-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
}

.mini-grid img {
    width: 100%;
    border: 2px solid #6b5a8e;
    image-rendering: pixelated;
}

.nav-btn {
    background: transparent;
    border: 1px solid white;
    color: white;
    padding: 2px 8px;
    font-family: 'monocraft', sans-serif;
    font-size: 10px;
}

.close-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #c3b9d6; 
    color: #1a1a7e; 
    border: 2px solid;
    border-color: #ffffff #6b5a8e #6b5a8e #ffffff; 
    text-decoration: none;
    font-family: 'monocraft', sans-serif;
    font-size: 11px;
    font-weight: bold;
    padding: 2px 8px;
    margin-left: auto;
    cursor: url('../media/cursor.png'), pointer !important;
    transition: all 0.1s;
}

.close-link:hover {
    background-color: #b5a8cc;
    border-color: #6b5a8e #ffffff #ffffff #6b5a8e;
    transform: translate(1px, 1px);
}

.close-link span {
    line-height: 1;
}

.description {
    font-size: 12px;
    line-height: 1.4;
    color: #120939;
    margin: 15px 0;
    text-align: center;
    max-width: 260px;
}

.specs-metadata {
    font-size: 9px;
    color: #0f3036;
    text-transform: uppercase;
    list-style: none;
    padding: 0;
    margin-top: 10px;
    border-top: 1px dashed #6b5a8e;
    padding-top: 10px;
}
.specs-sidebar {
    background: #a496b9; 
    border: 3px solid;
    border-color: #6b5a8e #ffffff #ffffff #6b5a8e; /* 3D Inset effect */
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.description {
    font-size: 10.5px;
    line-height: 1.6;
    color: #120939;
    text-align: center;
    max-width: 280px; /* Kept narrow for the 10% larger window */
}