/* Project Pages Styling */
.project-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--terminal-green);
}

.project-header h1 {
    margin: 0;
    color: var(--terminal-green);
    font-family: 'VT323', monospace;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.8rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.project-author {
    color: var(--terminal-text);
}

.project-author a {
    color: var(--terminal-cyan);
    text-decoration: none;
}

.project-author a:hover {
    text-decoration: underline;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.project-tag {
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--terminal-green);
    color: var(--terminal-green);
    font-size: 0.85rem;
    padding: 0.2rem 0.6rem;
    border-radius: 3px;
}

.project-section {
    margin-bottom: 2.5rem;
}

.project-section h2 {
    color: var(--terminal-green);
    font-family: 'VT323', monospace;
    margin-bottom: 1rem;
    padding-left: 0.5rem;
    border-left: 4px solid var(--terminal-green);
}

.project-content {
    padding: 0 1rem;
    line-height: 1.6;
}

.project-content h3 {
    color: var(--terminal-yellow);
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}

.code-example {
    margin: 1.5rem 0;
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--terminal-green);
    border-radius: 4px;
    overflow: hidden;
}

.code-example-title {
    background-color: rgba(0, 100, 0, 0.3);
    border-bottom: 1px solid var(--terminal-green);
    padding: 0.5rem 1rem;
    color: var(--terminal-green);
    font-weight: bold;
    font-family: 'Source Code Pro', monospace;
}

.code-example pre {
    margin: 0;
    padding: 1rem;
    overflow-x: auto;
    font-family: 'Source Code Pro', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Syntax Highlighting */
.keyword {
    color: var(--terminal-magenta);
}

.function {
    color: var(--terminal-yellow);
}

.string {
    color: var(--terminal-green);
}

.comment {
    color: var(--terminal-dim);
    font-style: italic;
}

.learning-points {
    list-style-type: square;
    padding-left: 1.5rem;
}

.learning-points li {
    margin-bottom: 0.8rem;
}

.return-link {
    margin-top: 2rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .project-meta {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .code-example pre {
        font-size: 0.8rem;
    }
}
