.project-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0 35px;
    flex-wrap: wrap;
    gap: 20px;
}

/* Zoekveld */
.search-box {
    position: relative;
    width: 260px;
}

.search-box input {
    width: 100%;
    padding: 10px 14px 10px 36px;
    border-radius: 8px;
    border: 1px solid #cdd3dd;
    font-size: 14px;
}

.search-box .icon {
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    opacity: 0.5;
}

/* Filterknoppen */
.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
	 color:black;
}

.filter-btn {
    border: 1px solid #d6d9e1;
    background: #fff;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
	  color: black;
    transition: all .25s;
}

.filter-btn.active {
    background: #ff7f2a;
    border-color: #ff7f2a;
    color: #fff;
}

.filter-btn:hover {
    border-color: #ff7f2a;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* max 3 per rij */
    gap: 28px;
    padding: 10px 0;
    font-family: "Inter", sans-serif;
}

/* Responsief voor tablets */
@media (max-width: 1100px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsief voor mobiel */
@media (max-width: 700px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

.project-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 18px rgba(0,0,0,0.08);
    transition: transform .25s ease, box-shadow .25s ease;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 26px rgba(0,0,0,0.12);
}

.project-image {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #1e1e1e;
    color: #fff;
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 6px;
}

.project-tag.featured {
    background: #ff7d31;
}

.project-content {
    padding: 16px 18px 22px;
}

.project-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}

.project-location {
    margin: 6px 0 10px;
    font-size: 14px;
    opacity: .7;
}

.project-text {
    font-size: 14px;
    margin-bottom: 14px;
}

.project-meta span {
    display: block;
    font-size: 13px;
    margin-bottom: 4px;
}

.project-popup {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    display: none;
    z-index: 9999;
    justify-content: center;
    align-items: flex-start;
    overflow-y: auto;
}

.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
}

.popup-content {
    background: #fff;
    width: 90%;
    max-width: 1100px;
    margin: 50px auto;
    padding: 40px;
    border-radius: 12px;
    position: relative;
    animation: popupFade .3s ease;
}

@keyframes popupFade {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.popup-close {
    position: absolute;
    top: 18px;
    right: 18px;
    border: none;
    background: #fff;
    font-size: 22px;
    cursor: pointer;
}

.popup-header h2 {
    margin: 0;
}

.popup-header .popup-category {
    color: #ff7f2a;
    font-weight: 600;
}

.popup-body {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 25px;
    margin: 25px 0;
}

.popup-main-image img {
    width: 100%;
    border-radius: 8px;
}

.popup-details {
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 10px;
}

.popup-details ul {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.popup-section {
    margin-top: 35px;
}

.popup-section ul {
    list-style: disc;
    padding-left: 20px;
}

.popup-gallery img {
    width: 150px;
    height: 110px;
    object-fit: cover;
    border-radius: 6px;
    margin-right: 10px;
}
