/* Projects Page Styles */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    padding: 20px 0;
}

.project-card {
    background: #fff;
    border: 1px solid rgba(32, 32, 32, 0.05);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    height: 100%;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.project-image {
    height: 160px;
    background-color: #f6f6f6;
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid rgba(32, 32, 32, 0.05);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-image.no-image::after {
    content: 'No Image';
    font-size: 14px;
    font-weight: 500;
}

.project-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.project-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
}

.project-title a {
    color: inherit;
    text-decoration: none;
}

.project-title a:hover {
    color: #1abc9c;
}

.project-stars {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: #666;
    background: #f6f6f6;
    padding: 2px 8px;
    border-radius: 12px;
    white-space: nowrap;
    margin-left: 8px;
}

.project-stars svg {
    width: 14px;
    height: 14px;
    margin-right: 4px;
    fill: #f1c40f;
}

.project-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
}

.project-meta {
    margin-top: auto;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.project-tag {
    font-size: 12px;
    color: #555;
    background: #f0f0f0;
    padding: 4px 10px;
    border-radius: 4px;
}

.project-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(32, 32, 32, 0.05);
    padding-top: 12px;
    font-size: 12px;
}

.project-status {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 500;
}

.project-status.public {
    background: #e8f5e9;
    color: #2e7d32;
}

.project-status.private {
    background: #fff3e0;
    color: #ef6c00;
}

.project-links a {
    color: #1abc9c;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

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

@media (max-width: 576px) {
    .project-grid {
        grid-template-columns: 1fr;
    }
}
