.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.project-card {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(24, 17, 0, 0.08);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    min-height: 350px;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(24, 17, 0, 0.12);
}

.project-card.placeholder {
    opacity: 0.5;
}

.project-card h2 {
    font-size: 28px;
    color: #181100;
    margin: 0 0 15px 0;
    font-weight: 200;
}

.project-card p {
    font-size: 16px;
    color: #181100;
    line-height: 1.6;
    margin-bottom: 20px;
    width: 100%;
    flex-grow: 1;
}

.tags {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.tag {
    background-color: #F5F5EE;
    color: #181100;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 14px;
}

.card-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: auto;
}

.btn-github {
    background-color: #F5F5EE;
    color: #181100;
    border: 1px solid #181100;
}

/* Tablet: 2 columns */
@media screen and (max-width: 1100px) {
    .project-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Mobile: 1 column */
@media screen and (max-width: 768px) {
    .project-grid {
        grid-template-columns: 1fr !important;
    }

    .project-card {
        min-height: auto;
    }
}
