/* Verbatim <style> block of templates/home/projects.html.twig (Symfony app). */

    .projects-section {
        text-align: center;
        padding: 40px 20px;
        color: #fff;
        background-color: #000000;
    }
    .category-filter {
        margin-bottom: 30px;
    }
    .filter-btn {
        font-family: 'Radwave', sans-serif;
        text-transform: uppercase;
        letter-spacing: 0.1em; /* 10% of the current font size */
        background: none;
        border: 1px solid #000000;
        color: #ffffff;
        padding: 8px 18px;
        margin: 10px;
        cursor: pointer;
        transition: all 0.2s ease;
    }
    .filter-btn.active,
    .filter-btn:hover {
        font-size: larger;
        color: #ffa500;
    }

    .project-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center; /* center each row, incl. an incomplete last row */
        gap: 10px;
    }
    .project-card {
        /* grow to fill complete rows edge-to-edge, but cap width so leftover
           cards on the last row stay a sensible size and sit centered rather
           than dumped against the left edge */
        flex: 1 1 280px;
        max-width: 340px;
        position: relative;
        overflow: hidden;
        border-radius: 4px;
        transition: transform 0.3s ease;
    }
    .project-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .project-card:hover {
        transform: scale(1.03);
    }
    .overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(0,0,0,0.6);
        color: #fff;
        padding: 10px;
        text-align: left;
    }
    .watermark {
        position: absolute;
        bottom: 10px;
        right: 10px;
        opacity: 0.8;
    }
    .watermark img {
        width: 60px;
        height: auto;
    }
    .glightbox-container img {
        max-height: 90vh;
        width: auto;
        object-fit: contain;
    }
    .glightbox-container img {
        max-height: 90vh;
        width: auto;
        object-fit: contain;
    }

