.project-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 28px;
}

main{
    padding-left: 35px;
    padding-right: 35px;
}

.gallery-container{
    padding-top: 40px;
}

.tools-container{
    padding-top: 40px;
    padding-bottom: 50px;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Maakt exact 5 gelijke kolommen */
    gap: 20px; /* Optioneel: ruimte tussen de items */

    padding-left: 15px;
}

.tools{
    text-align: center;
}

.tools img{
    width: 70px;
}

.project-container {
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    color: #1a1a1a;
}

.project-info h1 {
    margin: 0 0 12px 0;
    color: #111111;
    letter-spacing: -0.02em;
}

.project-meta {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.meta-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.meta-icon i {
    font-size: 1.1rem;
    color: #158072;
}

.meta-label {
    display: block;
    color: #797676;
    font-size: 0.85rem;
    margin-bottom: 2px;
}

.meta-value {
    display: block;
    font-weight: 600;
    color: #111111;
    font-size: 0.95rem;
}

/* Knoppengroep container */
.button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

/* Basis CTA Knop */
.cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px; /* Ruimte tussen icoontje en tekst */
    background-color: #111111;
    color: #ffffff;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.875rem;
    letter-spacing: 0.01em;
    border: 1px solid #111111;
    transition: all 0.2s ease;
}

.cta i {
    font-size: 0.875rem;
}

.cta:hover {
    background-color: #333333;
    border-color: #333333;
    transform: translateY(-1px);
}

/* Secundaire Knop (Download Knop met Outline stijl) */
.cta-secondary {
    background-color: transparent;
    color: #111111;
    border: 1px solid #e5e5e5;
}

.cta-secondary:hover {
    background-color: #f5f5f5;
    border-color: #d4d4d4;
    color: #000000;
}


/* ==========================================================
   Project Pages Layout (Desktop & Mobiel)
   ========================================================== */

main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 25px 60px;
}

/* --- BOVENSTE SECTIE: GRID VAN 2 KOLOMMEN OP DESKTOP --- */
@media screen and (min-width: 992px) {
    main {
        display: grid;
        grid-template-columns: 1fr 1.1fr;
        column-gap: 60px;
        row-gap: 40px;
        align-items: start;
    }

    /* Bovenste elementen in de twee kolommen insluiten */
    .project-container {
        grid-column: 1 / 2;
        grid-row: 1;
        max-width: 100%;
    }

    .gallery-container {
        grid-column: 2 / 3;
        grid-row: 1;
        padding-top: 0;
        margin: 0;
    }

    /* Alle volgende secties beslaan de volle breedte */
    main > div:not(.project-container):not(.gallery-container) {
        grid-column: 1 / -1;
    }
}

/* --- PROJECT INFO & METADATA --- */
.project-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    color: #1a1a1a;
}



.project-info p {
    color: #737373;
    line-height: 1.6;
    margin: 0;
}

.project-meta {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 10px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.meta-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.meta-icon i {
    font-size: 1.1rem;
    color: #158072;
}

.meta-label {
    display: block;
    color: #797676;
    font-size: 0.85rem;
}

.meta-value {
    display: block;
    font-weight: 600;
    color: #111111;
    font-size: 0.95rem;
}

/* KNOPPEN */
.button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-top: 10px;
}

.cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #333333;
    color: #ffffff;
    text-decoration: none;
    padding: 10px 22px;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.875rem;
    border: 1px solid #333333;
    transition: all 0.2s ease;
}

.cta:hover {
    background-color: #000000;
    border-color: #000000;
}

.cta-secondary {
    background-color: transparent;
    color: #111111;
    border: 1px solid #e5e5e5;
}

.cta-secondary:hover {
    background-color: #f5f5f5;
    border-color: #d4d4d4;
    color: #000000;
}

/* --- TOOLS & SOFTWARE --- */
.tools-container {
    padding-top: 40px;
    padding-bottom: 30px;
}

/* Flexbox grid om de items strak bij elkaar te houden op desktop */
.tools-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Afstand tussen de icoontjes */
}

.tools {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80px; /* Vaste compacte breedte per tool-item */
}

.tools img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    margin-bottom: 8px;
}

@media screen and (min-width: 600px) {
    .tools-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media screen and (min-width: 992px) {
    .tools-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 30px;
    }
}

.tools {
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.tools img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 8px;
}

.tools h4 {
    color: #111111;
}



/* ===================================
   4. DESKTOP RESPONSIVE (>= 1064px)
   =================================== */
@media screen and (min-width: 1064px) {
    /* projectpages */
    .project-detail {
        max-width: 1200px;
        margin: 0 auto;
        padding: 40px 60px;
        display: grid;
        grid-template-columns: 1fr 1.3fr;
        grid-template-areas:
            "header gallery"
            "info   gallery"
            "tools  tools";
        column-gap: 60px;
        row-gap: 24px;
        align-items: start;
    }

    /* Grid Toewijzing */
    .project-header {
        grid-area: header;
    }

    .project-info {
        grid-area: info;
        margin-bottom: 0;
    }

    /* Header Typografie */
    .project-header h1 {
        margin-bottom: 16px;
    }

    .intro-tekst {
        font-size: 1.05rem;
        line-height: 1.5;
        margin-bottom: 32px;
    }

    /* Info & Downloadknop */
    .project-info {
        gap: 20px;
    }

    .download-container {
        margin-top: 8px;
    }
}