/*
 * VVV Projecten Grid – Base Styles
 * Door Ruud Seelen / enVisual
 *
 * Lettertypes, kleuren en afstanden worden via de Divi Builder module ingesteld.
 * Dit bestand bevat alleen de structurele basis.
 */

/* ===== Grid layout (defaults, overridden by Divi module) ===== */
.vvv-projecten-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
}

/* ===== Card ===== */
.vvv-project-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 12px 20px -6px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vvv-project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 28px -6px rgba(0, 0, 0, 0.18);
}

/* ===== Afbeelding ===== */
.vvv-project-image {
    position: relative;
    height: 300px;
    overflow: hidden;
    background: #e8e8e8;
}

.vvv-project-overlay-link {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.vvv-project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(10, 1, 1, 0.14) 0%, rgba(10, 2, 2, 0) 100%);
    z-index: 1;
    pointer-events: none;
}

.vvv-project-thumb,
.vvv-project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.vvv-project-no-image {
    width: 100%;
    height: 100%;
    background: #d5d5d5;
}

/* ===== Content ===== */
.vvv-project-content {
    padding: 20px;
    flex: 1;
}

/* ===== Categorie label ===== */
.vvv-project-category a {
    color: #F9E14B;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.5px;
}

.vvv-project-category a:hover {
    opacity: 0.8;
}

/* ===== Titel ===== */
.vvv-project-title {
    font-size: 20px;
    font-weight: 700;
    color: #15022A;
    margin: 8px 0 10px;
    line-height: 1.3;
}

.vvv-project-title a {
    color: inherit;
    text-decoration: none;
}

.vvv-project-title a:hover {
    color: #F9E14B;
}

/* ===== Samenvatting ===== */
.vvv-project-excerpt {
    font-size: 16px;
    color: #000;
    line-height: 1.6;
}

/* ===== Lees verder ===== */
.vvv-project-footer {
    padding: 0 20px 20px;
}

.vvv-project-readmore {
    display: inline-block;
    font-size: 16px;
    font-weight: 500;
    color: #000;
    text-decoration: none;
    transition: color 0.2s ease;
}

.vvv-project-readmore:hover {
    color: #F9E14B;
}

.vvv-project-readmore .vvv-arrow {
    margin-left: 6px;
    transition: margin-left 0.2s ease;
}

.vvv-project-readmore:hover .vvv-arrow {
    margin-left: 10px;
}

/* ===== Responsive: tablet ===== */
@media (max-width: 980px) {
    .vvv-projecten-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px;
    }
}

/* ===== Responsive: mobiel ===== */
@media (max-width: 600px) {
    .vvv-projecten-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    .vvv-project-image {
        height: 220px;
    }
}
