/* ============================================
   PROJECT.CSS - Project Pages Specific Styles
   Yeyang Liu Portfolio
   ============================================ */

/* Main content layout for project pages */
main {
    max-width: 900px;
    margin: 0 auto;
    padding: 8rem 2rem 4rem;
}

/* Project Header */
.project-header {
    margin-bottom: 3rem;
}

.project-header .badge {
    padding: 0.4rem 1rem;
    font-size: 0.9rem;
}

.project-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.project-header h1 span {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Project Meta Info */
.project-meta {
    display: flex;
    gap: 2rem;
    color: var(--text-secondary);
    flex-wrap: wrap;
}

.project-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.project-meta a {
    color: var(--accent);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.project-meta a:hover {
    opacity: 0.8;
}

/* Modules Grid (for Virtual Patient) */
.modules-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 1rem 0;
}

.module-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
}

.module-card h4 {
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.module-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
}

/* Architecture Diagram */
.architecture-diagram {
    background: var(--bg-secondary);
    border-radius: 8px;
    padding: 1rem;
    overflow-x: auto;
}

.architecture-diagram pre {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.4;
}

/* Responsive */
@media (max-width: 768px) {
    main {
        padding: 6rem 1.5rem 3rem;
    }
    
    .project-header h1 {
        font-size: 2rem;
    }
    
    .project-meta {
        gap: 1rem;
    }
    
    .modules-grid {
        grid-template-columns: 1fr;
    }
}

/* Content Section Subheadings */
.content-section h3 {
    font-size: 1.2rem;
    margin: 1.5rem 0 0.75rem;
    color: var(--text-primary);
}

/* Pipeline Steps */
.pipeline-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.step-number {
    background: var(--gradient-1);
    color: var(--bg-primary);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
}

.step-content h4 {
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.step-content p {
    margin: 0;
    font-size: 0.95rem;
}
