/* =========================
   Algemeen
========================= */
html {
    overflow-x: hidden;
    overflow-y: scroll;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #fff;
    color: #333;
}

/* =========================
   Header
========================= */
.site-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 3%;
    padding-right: 3%;
    padding-top: 25px;
    padding-bottom: 15px;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 2500;
    box-sizing: border-box;
}

.header-left img {
    height: 40px;
    width: auto;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.main-nav {
    display: flex;
    gap: 25px;
}

.main-nav a {
    text-decoration: none;
    color: #888;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.04em;
    transition: color 0.3s ease;
}

.main-nav a.active,
.main-nav a:hover {
    color: #000;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 18px;
    height: 12px;
    cursor: pointer;
    position: relative;
    z-index: 2001;
}

.hamburger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: #000;
    transition: all 0.3s ease;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.hamburger span:nth-child(3) { bottom: 0; }

.hamburger.active span:nth-child(1) { transform: rotate(45deg); top: 50%; }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg); top: 50%; bottom: auto; }

/* =========================
   Overlay menu
========================= */
.overlay {
    position: fixed;
    inset: 0;
    background: #fff;
    display: none;
    flex-direction: column;
    z-index: 1500;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.overlay.show {
    display: flex;
    opacity: 1;
    pointer-events: auto;
}

.overlay-inner {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.overlay-header {
    position: absolute;
    top: 25px;
    left: 3%;
}

.overlay-header img {
    height: 40px;
}

.overlay-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.overlay-menu a {
    font-size: 16px;
    color: #888;
    text-decoration: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.overlay-menu a.show {
    opacity: 1;
    transform: translateY(0);
}

.overlay-menu a:hover,
.overlay-menu a.active {
    color: #000;
}

/* =========================
   Nieuws Middendeel aangepast
========================= */
.news-list {
    max-width: 900px;
    margin: 60px auto 0; /* marge tov header */
    padding: 0 3%;
    display: flex;
    flex-direction: column;
    gap: 150px; /* ruimte tussen items */
    box-sizing: border-box;
}

.news-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90%;          /* standaard voor grote schermen */
    max-width: 500px;    /* optioneel voor extra brede schermen */
    margin: 0 auto;
    text-align: left;
    gap: 6px;
    position: relative;  /* voor plusje overlay */
    box-sizing: border-box;
}

.news-media {
    width: 100%;          /* volgt container breedte */
    aspect-ratio: 1 / 1;
    overflow: hidden;
    position: relative;
}

/* Alleen cursor pointer op het plusje, niet op de video zelf */
.news-media img,
.news-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: default; /* muis blijft standaard */
    transition: filter 0.3s ease;
}

/* Plusje gecentreerd op video */
.news-expand {
    font-size: 60px; /* groter plusje */
    font-weight: 300;
    color: #fff; /* wit */
    background: none;
    border: none;
    cursor: pointer; /* alleen hier pointer */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
    line-height: 1;
    width: auto;
    padding: 0;
    transition: transform 0.2s ease;
}

.news-expand:hover {
    color: #ddd;
}

.news-expand.open {
    transform: translate(-50%, -50%) rotate(45deg);
}

/* Header met titel links en datum rechts: uitgelijnd met video */
.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;       /* volgt container */
    margin: 0 0 24px 0; /* ruimte tussen video en header */
    padding: 0;
    box-sizing: border-box;
}


.news-extra p {
    margin: 0 0 8px 0;
}

/* Titel van het nieuwsitem */
.news-title {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 300;
    font-size: 17px;
    color: #000;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0px;
    flex: 1;
}

/* Datum van het nieuwsitem */
.news-date {
    font-family: Arial, sans-serif;
    font-weight: 500;
    font-size: 12px;
    color: #888;
    white-space: nowrap;
    margin: 0px;
    text-align: right;
    letter-spacing: 0.4px;
}

/* Extra tekst uitklappen, uitgelijnd met video, met consistente afstand */
.news-extra {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    width: 100%;             /* volgt container */
    margin: 0 0 0 0;      /* ruimte tussen header en tekst */
    box-sizing: border-box;
    font-family: Helvetica, Arial, sans-serif;
    font-weight: 300;
    font-size: 11px;
    line-height: 1.4;
    letter-spacing: 0.5px;
    color: #888;
}

/* =========================
   Responsive tweaks
========================= */
@media (max-width: 1400px) {
    .news-item { width: 80%; }
    .news-media { width: 100%; }
    .news-list { gap: 60px; }
}

@media (max-width: 1023px) {
    .main-nav { display: none; }
    .hamburger { display: flex; }

    .news-item { width: 85%; }
    .news-media { width: 100%; }
    .news-list { gap: 50px; }
}

@media (max-width: 767px) {
    .news-item { width: 90%; }
    .news-media { width: 100%; }
    .news-list { gap: 40px; }
}

/* =========================
   Footer
========================= */
.site-footer {
    padding: 60px 0 50px;
    background: #fff;
    color: #888;
    font-size: 10px;
    text-align: center;
}

.footer-inner {
    max-width: 1000px; /* zelfde als project-grid */
    margin: 0 auto;
    padding: 0 3%;
    box-sizing: border-box;
}

/* Subtiele lijn */
.footer-divider {
    width: 100%;
    height: 1px;
    background: #e0e0e0;
    margin-bottom: 40px;
}

/* Inhoud */
.footer-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

/* Adres */
.footer-info p {
    margin: 0;
    line-height: 1.6;
}

/* E-mail */
.footer-link {
    color: #888;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #000;
}

/* Instagram icoon */
.footer-icon {
    display: inline-flex;
    align-items: center;
    color: #888;
}

.footer-icon svg {
    width: 14px;
    height: 14px;
    fill: #999;
    transition: fill 0.3s ease;
}

.footer-icon:hover svg {
    fill: #000;
}

/* Copyright */
.footer-copy {
    margin-top: 10px;
    font-size: 10px;
    color: #888;
}

/* =========================
   Responsive Breakpoints
========================= */
/* Breder dan 1400px – standaard al 90% of max-width 500px */

@media (max-width: 1400px) {
    .news-item { width: 80%; }
    .news-media { width: 100%; } /* volgt container */
    .news-list { gap: 60px; }
}

@media (max-width: 1023px) {
    .main-nav { display: none; }
    .hamburger { display: flex; }

    .news-item { width: 85%; }
    .news-media { width: 100%; }
    .news-list { gap: 50px; }
}

@media (max-width: 767px) {
    .news-item { width: 90%; }
    .news-media { width: 100%; }
    .news-list { gap: 40px; }
}

