/* ============================================
   Project Detail Page
   ============================================ */

.project-detail {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 24px;
    position: relative;
    z-index: 1;
}

.project-detail .project-header {
    margin-bottom: 32px;
}

.project-detail h1 {
    font-size: 2rem;
    margin-bottom: 12px;
}

.project-meta {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.project-hero-image {
    width: 100%;
    border-radius: 8px;
    border: 1px solid var(--border-subtle);
    margin-bottom: 32px;
}

.project-content {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-primary);
}

.project-content h2 {
    margin-top: 32px;
    margin-bottom: 12px;
}

.project-content h3 {
    margin-top: 24px;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.project-content p {
    margin-bottom: 16px;
}

.project-content a {
    color: var(--neon-blue);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.project-content img {
    max-width: 100%;
    border-radius: 6px;
    margin: 16px 0;
}

.project-content code {
    background: rgba(0, 212, 255, 0.08);
    color: var(--neon-blue);
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.9em;
}

.project-content blockquote {
    border-left: 3px solid var(--accent-gold);
    padding-left: 16px;
    margin: 16px 0;
    color: var(--text-secondary);
    font-style: italic;
}

.project-technologies {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border-subtle);
}

.project-technologies h3 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

/* Related projects */
.related-projects {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border-subtle);
}

.related-projects h2 {
    margin-bottom: 20px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.related-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 16px;
    transition: border-color 0.3s;
}

.related-card:hover {
    border-color: var(--accent-gold-dim);
}

.related-card h4 {
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.related-card h4 a {
    color: var(--text-primary);
}

.related-card h4 a:hover {
    color: var(--neon-blue);
}

.related-card .year {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .project-detail h1 {
        font-size: 1.6rem;
    }
}
