/* Projects page — inherits the shared design system */
@import url('main.css');

/* Individual project detail pages (generated from projects.json) */
.project-detail {
    max-width: 900px;
    margin: 0 auto;
    padding: 1rem 0 2rem;
}

.project-header {
    text-align: center;
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.project-header h1 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--ink);
}

.project-category {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--accent-soft);
    color: var(--accent-dark);
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 600;
}

.project-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.project-description h2,
.project-skills h2 {
    color: var(--ink);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.project-description p {
    line-height: 1.8;
    font-size: 1.05rem;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag {
    display: inline-block;
    padding: 0.4rem 0.9rem;
    background: var(--bg-alt);
    color: var(--ink-2);
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    font-size: 0.88rem;
    transition: all 0.2s ease;
}

.skill-tag:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.project-navigation {
    text-align: center;
    padding: 1rem 0 2rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.7rem;
    background: var(--surface);
    border: 1px solid var(--line);
    color: var(--ink);
    text-decoration: none;
    border-radius: var(--radius-pill);
    font-weight: 600;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
}

.back-link:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Responsive design */
@media (max-width: 768px) {
    .project-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .project-header h1 {
        font-size: 1.8rem;
    }

    .project-detail {
        padding: 0.5rem 0 1.5rem;
    }
}
