/* STL Viewer Styles */
.stl-viewer-container {
    position: relative;
    width: 100%;
    height: 400px;
    margin-bottom: 40px;
    background: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
}

.stl-viewer {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
}

/* Project Page Styles */
.project-page {
    padding-top: 100px;
    background: #f8f9fa;
}

.project-header {
    text-align: center;
    margin-bottom: 50px;
}

.project-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.project-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    color: #666;
}

.project-content {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Project Description */
.project-description h2 {
    color: var(--primary-color);
    margin: 30px 0 15px;
}

.project-description p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.tech-stack, .features {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.tech-stack li, .features li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.tech-stack li::before, .features li::before {
    content: '•';
    color: var(--secondary-color);
    position: absolute;
    left: 0;
}

/* Project Links */
.project-links {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: var(--secondary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.project-link:hover {
    background: #0873c4;
}

/* Model Status */
.model-status {
    text-align: center;
    padding: 10px;
    margin: -10px 0 20px 0;
    color: var(--secondary-color);
    font-size: 0.9rem;
    font-style: italic;
}

.model-status.hidden {
    display: none;
}

.model-status.success {
    color: #28a745;
}

.model-status.error {
    color: #dc3545;
}

/* Responsive Design */
@media (max-width: 768px) {
    .project-page {
        padding-top: 80px;
    }

    .project-header {
        margin-bottom: 30px;
        padding: 0 15px;
    }

    .project-header h1 {
        font-size: 2rem;
        margin-bottom: 10px;
    }

    .project-meta {
        flex-direction: column;
        gap: 5px;
    }

    .project-content {
        padding: 20px;
        margin: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .stl-viewer-container {
        height: 300px;
        margin-bottom: 20px;
        border-radius: 8px;
    }

    .project-description h2 {
        font-size: 1.5rem;
        margin: 25px 0 15px;
    }

    .project-description p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .tech-stack li, 
    .features li {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }

    .project-links {
        flex-direction: column;
        gap: 10px;
    }

    .project-link {
        width: 100%;
        justify-content: center;
        padding: 12px;
        font-size: 0.95rem;
    }
}

/* Small Screens */
@media (max-width: 480px) {
    .project-header h1 {
        font-size: 1.8rem;
    }

    .project-content {
        padding: 15px;
    }

    .stl-viewer-container {
        height: 250px;
    }

    .project-description h2 {
        font-size: 1.4rem;
    }

    .project-link {
        padding: 10px;
        font-size: 0.9rem;
    }

    .model-status {
        font-size: 0.85rem;
    }
} 