/*
 * Vajo Projecten – Plugin Stylesheet
 * Version: 1.0.0
 */

/* ================================================================
   Wrapper
   ================================================================ */
.vajo-projecten-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    font-family: inherit;
}

/* ================================================================
   Filter tabs
   ================================================================ */
.vajo-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
		justify-content: center;
}

.vajo-filter-btn {
    display: inline-block;
    padding: 9px 22px;
    border-radius: 30px;
    background: #efefef;
    color: #333;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    line-height: 1.4;
}

.vajo-filter-btn:hover {
    border-color: #40b572;
    color: #4caf50;
    text-decoration: none;
}

.vajo-filter-btn.active {
    background: #40b572;
    border-color: #40b572;
    color: #fff;
}

/* ================================================================
   Projecten grid
   ================================================================ */
.vajo-projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

@media (max-width: 900px) {
    .vajo-projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 580px) {
    .vajo-projects-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================================================
   Project card
   ================================================================ */
.vajo-project-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .07);
    transition: transform 0.25s, box-shadow 0.25s;
}

.vajo-project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .12);
}

/* Afbeelding */
.vajo-project-card__thumb {
    position: relative;
    display: block;
    width: 100%;
    padding-top: 65%;
    overflow: hidden;
    background: #eee;
    text-decoration: none;
}

.vajo-project-card__thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}

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

/* Placeholder zonder afbeelding */
.vajo-project-card__no-img {
    position: absolute;
    inset: 0;
    background: #ddd;
    display: block;
}

/* Categorie badge */
.vajo-project-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(255, 255, 255, .92);
    color: #40b572;
    font-size: 16px;
		border:1px solid #40b572;
    font-weight: 500;
    letter-spacing: .4px;
    padding: 5px 20px;
    border-radius: 20px;
    text-transform: none;
}

/* Body */
.vajo-project-card__body {
    padding: 18px 20px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
		justify-content: space-between;
}

.vajo-project-card__title {
    font-size: 22px;
    font-weight: 700;
    color: #000;
    margin: 0 0 8px;
    line-height: 1.35;
		font-family: inherit;
}

.vajo-project-card__title a {
    color: inherit;
    text-decoration: none;
}

.vajo-project-card__title a:hover {
    color: #4caf50;
}

.vajo-project-card__excerpt {
    font-size: 18px;
    color: #666;
    line-height: 1.55;
    margin: 0 0 16px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.vajo-project-card__link {
    display: inline-block;
    font-size: 20px;
    font-weight: 600;
    color: #40b572;
    text-decoration: none;
    transition: color 0.2s;
		font-family: 'PT Serif';
}

.vajo-project-card__link::after {
    content: ' >';
}

.vajo-project-card__link:hover {
    color: #388e3c;
    text-decoration: none;
}

/* Geen resultaten */
.vajo-no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #888;
    font-size: 15px;
}

/* ================================================================
   Paginatie
   ================================================================ */
.vajo-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.vajo-pagination a,
.vajo-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border: 2px solid #d0d0d0;
    color: #333;
    background: #fff;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    line-height: 1;
}

.vajo-pagination a:hover {
    border-color: #4caf50;
    color: #4caf50;
    text-decoration: none;
}

.vajo-pagination .current {
    background: #4caf50;
    border-color: #4caf50;
    color: #fff;
}

.vajo-pagination .dots {
    border-color: transparent;
    background: transparent;
    cursor: default;
}
