/* --- Styles for the main projects overview page --- */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    width: 100%;
    margin-top: 30px;
}

.project-summary-card {
    background-color: #2a2a2e;
    border: 2px solid #3a3a3e;
    border-radius: 8px;
    padding: 25px;
    text-align: left;
    text-decoration: none;
    color: #f0f0f0;
    transition: transform 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}

.project-summary-card:hover {
    transform: translateY(-5px);
    border-color: #c3073f;
}

.summary-title {
    color: #c3073f;
    font-size: 24px;
    margin: 0 0 10px 0;
}

.summary-description {
    font-size: 16px;
    line-height: 1.6;
    flex-grow: 1;
    color: #b0b0b0;
}

.summary-link {
    color: rgb(207, 159, 36);
    font-weight: bold;
    align-self: flex-end;
    margin-top: 15px;
}


/* --- Styles for the detailed project page --- */
.project-card-full {
    background-color: #2a2a2e;
    border-left: 5px solid #c3073f;
    padding: 25px 30px;
    margin-top: 10px;
    text-align: left;
    width: 100%;
    max-width: 900px;
    border-radius: 0 8px 8px 0;
}

.project-title {
    color: #c3073f;
    font-size: 32px;
    margin-top: 0;
    margin-bottom: 5px;
}

.project-subtitle {
    color: rgb(207, 159, 36);
    font-size: 16px;
    font-style: italic;
    margin-top: 0;
    margin-bottom: 20px;
}

.project-description {
    color: #f0f0f0;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.project-section h3 {
    color: rgb(207, 159, 36);
    font-size: 22px;
    border-bottom: 2px solid #c3073f;
    padding-bottom: 5px;
    margin-top: 30px;
    margin-bottom: 15px;
}

.project-section ul {
    list-style-position: inside;
    padding-left: 0;
    color: #f0f0f0;
}

.project-section li {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 8px;
}
