/*----------------------------------------------------------------------------------------
* File : Projects Page CSS File
* Purpose : Styling for the light-themed portfolio projects grid
*---------------------------------------------------------------------------------------- */

.projects-section {
    background-color: #ffffff;
    padding: 80px 0;
    color: #333333;
    font-family: 'Inter', sans-serif;
}

.projects-section .section-title h2 {
    color: #111111;
    margin-bottom: 15px;
}

.projects-section .section-title p {
    color: #666666;
    max-width: 600px;
    margin: 0 auto;
}

/* Projects grid and cards */
.projects-grid {
    transition: all 0.5s ease;
}

.project-card-wrapper {
    margin-bottom: 30px;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Hide animation class for filtering */
.project-card-wrapper.filtered-out {
    display: none;
    opacity: 0;
    transform: scale(0.8);
}

.project-card {
    background: #ffffff;
    border: 2px solid var(--accent-color, #6c9e23);
    border-radius: 16px;
    padding: 16px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(108, 158, 35, 0.05);
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: #82c024;
    box-shadow: 0 12px 30px rgba(108, 158, 35, 0.2);
}

.project-image-wrapper {
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 20px;
    position: relative;
    background: #f8f9fa;
}

.project-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.project-card:hover .project-image-wrapper img {
    transform: scale(1.06);
}

.project-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 0 4px 4px 4px;
}

.project-title {
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    color: #111111;
    margin-bottom: 6px;
    font-family: 'Sora', sans-serif;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.project-meta {
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #777777;
    margin-bottom: 15px;
    font-weight: 600;
}

.project-desc {
    font-size: 14px;
    line-height: 1.6;
    color: #555555;
    margin-bottom: 24px;
}

.project-inquire {
    margin-top: auto;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: #111111;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease, gap 0.2s ease;
    text-decoration: none;
    align-self: flex-start;
}

.project-inquire i {
    font-size: 12px;
    transition: transform 0.2s ease;
}

.project-inquire:hover {
    color: #6c9e23;
}

.project-inquire:hover i {
    transform: translateX(4px);
}
