/* Project Navigation Styles */
.project-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.nav-button {
    display: inline-flex;
    align-items: center;
    padding: 10px 15px;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 14px;
    background-color: #f5f5f5;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.nav-button:hover {
    background-color: #e87a5d;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.nav-button .fas {
    margin: 0 8px;
}

.nav-button.prev-project .fas {
    margin-right: 8px;
    margin-left: 0;
}

.nav-button.next-project .fas {
    margin-left: 8px;
    margin-right: 0;
}

.nav-button.home-button {
    padding: 10px;
    border-radius: 50%;
    height: 38px;
    width: 38px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-button.home-button .fas {
    margin: 0;
}

/* Project detail page styles */
.project-detail-page {
    padding: 20px;
}

.project-detail-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* 3D Viewer specific styles */
#viewer-3d {
    width: 100%;
    height: 500px;
    background-color: #2a2a2a;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Project gallery styles */
.project-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.project-gallery a {
    flex: 1 0 calc(25% - 15px);
    min-width: 200px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.project-gallery a:hover {
    transform: translateY(-5px);
}

.project-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Project info sidebar styles */
.project-info-sidebar {
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    border-top: 4px solid #e87a5d;
}

.project-info-sidebar h1 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #333;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.project-meta {
    margin-bottom: 20px;
}

.meta-item {
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
}

.meta-item strong {
    font-weight: 600;
    color: #555;
}

.project-description {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.8;
    margin-bottom: 25px;
    color: #444;
}

.project-description p {
    margin-top: 0;
    font-size: 15px;
}

/* Media queries for responsive layout */
@media (min-width: 768px) {
    .project-detail-container {
        flex-direction: row;
    }
    
    .project-media {
        flex: 2;
    }
    
    .project-info-sidebar {
        flex: 1;
        position: sticky;
        top: 30px;
        max-height: calc(100vh - 60px);
        overflow-y: auto;
        align-self: flex-start;
    }
}
