/* ===============================
   PROJECTS – EXPERT REDESIGN
================================ */

.projects-section {
    background-color: var(--bs-dark);
    border-top: 1px solid rgba(255,255,255,.1);
    border-bottom: 1px solid rgba(255,255,255,.1);
}

/* FILTER BAR */
.project-filter {
    padding: 1.25rem 1.5rem;
    border-radius: 14px;

    /* Dark glass surface */
    background: rgba(25, 25, 25, 0.85);
    backdrop-filter: blur(10px);

    /* Subtle structure */
    border: 1px solid rgba(255, 255, 255, 0.08);

    /* Depth without heaviness */
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);

    transition: box-shadow .3s ease, transform .3s ease;
}

.project-filter:hover {
    box-shadow:
        0 12px 32px rgba(0, 0, 0, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}


.project-filter .form-label {
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* CARD */
.project-card {
    height: 100%;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    transition: transform .35s ease, box-shadow .35s ease;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,.12);
}

/* IMAGE */
.project-image {
    display: block;
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.project-card:hover img {
    transform: scale(1.05);
}

.project-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    background: var(--bs-secondary);
    color: #fff;
}

/* CONTENT */
.project-content {
    padding: 1.25rem;
}

.project-category {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--bs-primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.project-title {
    font-size: 1.1rem;
    margin: .4rem 0 .6rem;
}

.project-title a {
    color: var(--bs-dark);
    text-decoration: none;
}

.project-title a:hover {
    color: var(--bs-primary);
}

.project-meta {
    font-size: 0.85rem;
    color: #6c757d;
}

.project-meta i {
    margin-right: 4px;
}

/* MOBILE TUNING */
@media (max-width: 575.98px) {
    .project-filter {
        padding: 1rem;
    }

    .project-title {
        font-size: 1rem;
    }
}
