/* ==========================================
   1. Basisinstellingen & Typografie
   ========================================== */
   * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #111;
    background-color: #fff;
    /* Geen padding meer op de body, zodat elementen 100% breed kunnen worden */
}

/* Container om de inhoud in de navigatie en main netjes gecentreerd te houden */
nav, main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

/* Navigatie */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

nav a {
    font-size: 1.2rem;
    text-decoration: none;
    color: #111;
    font-weight: 500;
}

nav .nav-links a {
    margin-left: 2rem;
}

/* ==========================================
   Header over 100% breedte met Gradient/Kleur
   ========================================== */
header {
    width: 100%; /* 100% breedte van het scherm */
    padding: 5rem 2rem; /* Boven/onder ruimte (5rem) en links/rechts ruimte (2rem) */
    margin-bottom: 3rem;
    
    /* OPTIE 1: Effen kleur (haal // weg om te gebruiken) */
    /* background-color: #f4f4f4; */

    /* OPTIE 2: Subtiele moderne gradient van paars naar blauw */
    background: linear-gradient(45deg, #ec008c, #25408f);
    color: #ffffff; /* Tekstkleur wit maken voor goed contrast */
}

/* Zorg dat de inhoud van de header netjes mee-schaalt */
header h1, header .project-description {
    max-width: 1400px;
    margin: 0 auto;
}

h1 {
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.1;
}

/* ==========================================
   2. Homepagina: Projecten Grid
   ========================================== */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 2.5rem;
}

.thumbnail-card {
    text-decoration: none;
    color: inherit;
    display: block;
}

.thumbnail-img {
    width: 100%;
    aspect-ratio: 4/3;
    background-color: #e5e5e5;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 1rem;
    transition: opacity 0.3s ease;
}

.thumbnail-card:hover .thumbnail-img {
    opacity: 0.85;
}

.thumbnail-card h2 {
    font-size: 1.5rem;
    font-weight: 600;
}

.thumbnail-card p {
    font-size: 1rem;
    color: #666;
    margin-top: 0.2rem;
}

/* ==========================================
   3. Projectpagina's
   ========================================== */
.project-description {
    font-size: 1.4rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9); /* Licht transparant wit op een donkere/kleurige header */
    margin-top: 1rem;
}

.media-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.media-container img, 
.media-container video {
    width: 100%;
    height: auto;
    border-radius: 4px;
    background-color: #e5e5e5;
}

.back-link {
    display: inline-block;
    margin-top: 4rem;
    font-size: 1.2rem;
    color: #111;
    text-decoration: none;
    font-weight: 600;
}

/* ==========================================
   4. Contactpagina
   ========================================== */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.contact-item {
    font-size: 2rem;
    line-height: 1.3;
}

.contact-item span {
    display: block;
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.3rem;
}

.contact-item a {
    color: #111;
    text-decoration: none;
    border-bottom: 2px solid #111;
}

.contact-item a:hover {
    opacity: 0.6;
}

/* ==========================================
   5. Responsive instellingen (Mobiel)
   ========================================== */
@media (max-width: 768px) {
    header {
        padding: 3rem 1.5rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    .project-description {
        font-size: 1.1rem;
    }

    .contact-item {
        font-size: 1.4rem;
    }
}