/* =========================
   Algemeen
   ========================= */
body {
    font-family: Arial, sans-serif;
    background: #fff;
    margin: 0;
    padding: 0;
}

/* =========================
   Header
   ========================= */
.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 60px; /* consistent op alle pagina's */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    z-index: 1000;
}

.header-left {
    flex: 0 0 auto; /* vaste breedte links */
}

.header-left a {
    color: #000;
    letter-spacing: 2px;
    font-size: 17px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.header-left a:hover,
.header-left a.active {
    color: #FFD700; /* geel */
}

.header-right {
    flex: 0 0 250px; /* vaste breedte rechts */
    display: flex;
    justify-content: flex-end;
}

.header-right a {
    color: #bbb;
    font-size: 15px; /* één lettergrootte kleiner */
    margin-left: 30px;
    letter-spacing: 1px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.header-right a:hover {
    color: #000;
}

/* =========================
   Filterknoppen
   ========================= */
.filter-buttons {
    text-align: center;
    margin: 100px 0 20px 0;
}

.filter-buttons button {
    background: none;
    border: none;
    font-size: 17px;
    padding: 10px 20px;
    cursor: pointer;
    color: #bbb;
    transition: color 0.3s ease;
}

.filter-buttons button.active,
.filter-buttons button:hover {
    color: #000;
}

/* =========================
   Indexpagina thumbnails
   ========================= */
.projects-container {
    display: grid;
    grid-template-columns: repeat(5, 200px);
    gap: 40px 25px; 
    padding: 60px;
    justify-content: start; /* geen centrering bij filter */
    max-width: calc(5*200px + 4*25px);
    margin: 0 auto;
}

.project {
    position: relative;
    overflow: visible;
    cursor: pointer;
    transition: transform 0.6s ease-in-out, opacity 0.6s ease-in-out;
}

.project img {
    width: 100%;
    max-width: 180px;
    display: block;
    filter: grayscale(100%);
    transition: filter 0.4s ease;
    margin: 0 auto;
}

.project:hover img {
    filter: grayscale(0%);
}

.project-name {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 12px;
    color: #FFD700; /* geel */
    font-size: 13px;
    font-weight: normal;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
    white-space: nowrap;
}

.project:hover .project-name {
    opacity: 1;
}

.project.hidden {
    opacity: 0;
    transform: scale(0.95);
    pointer-events: none;
}

/* =========================
   Projectpagina layout
   ========================= */
.project-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 60px;
    max-width: 1400px;
    margin: 120px auto 0 auto;
    padding: 60px 20px;
}

/* Project info */
.project-info {
    position: sticky;
    top: 100px;
    font-family: Arial, sans-serif;
    flex: 0 0 250px;
}

.project-title {
    font-weight: normal;
    color: #888;
    letter-spacing: 1px;
    font-size: 15px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.project-meta div {
    margin-bottom: 4px;
    font-weight: normal;
    font-size: 14px;
    line-height: 1.3;
    color: #888;
}

.project-meta span {
    color: #000;
    margin-left: 6px;
}

/* Project gallery */
.project-gallery {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    margin: 0 auto;
    max-width: 100%;
}

.project-gallery img {
    width: 60%;
    height: auto;
    display: block;
    margin: 0 auto;
}
