/* --- BRAND KLEUREN --- */
:root {
    --bg-dark: #121212;
    --bg-card: #1e1e1e;
    --text-light: #f4f4f4;
    --text-muted: #ccc;
    --brand-gradient: linear-gradient(135deg, #8e2de2, #f9a825);
    --brand-accent: #f9a825; /* Goud/Oranje */
}

/* Algemene Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- CRUCIALE FIX VOOR AFBEELDINGEN --- */
/* Dit zorgt dat afbeeldingen nooit groter zijn dan hun container */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Typografie */
h1, h2, h3 { font-family: 'Oswald', sans-serif; }
a { text-decoration: none; color: white; transition: 0.3s; }

/* Navigatie */
.navbar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 15px 5%; background-color: rgba(18, 18, 18, 0.98);
    position: fixed; width: 100%; z-index: 1000;
    border-bottom: 1px solid #222;
}

.logo-link { display: flex; align-items: center; }
.nav-logo { height: 50px; width: auto; }
.nav-links { display: flex; list-style: none; }
.nav-links li { margin-left: 30px; }
.nav-links a.active, .nav-links a:hover { color: var(--brand-accent); }

/* --- SCROLLING TICKER (PARTNERS MET LOGO'S) --- */
.ticker-section {
    padding: 30px 0;
    background-color: #0e0e0e; 
    border-bottom: 1px solid #222;
    overflow: hidden; 
    position: relative;
    text-align: center;
}

.logo-title {
    color: #ffffff; /* Puur wit */
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem; /* Ietsje groter voor leesbaarheid */
    margin-bottom: 25px; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    opacity: 1; /* Volledig zichtbaar */
    display: inline-block;
    font-weight: 500;
}

.ticker-wrapper {
    width: 100%;
    overflow: hidden;
    /* Fade effect aan de zijkanten */
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.ticker-track {
    display: flex; /* Zorgt dat plaatjes naast elkaar staan */
    width: max-content; /* De breedte past zich aan aan de inhoud */
    gap: 60px; /* Ruimte tussen de logo's */
    animation: scroll-ticker 60s linear infinite; /* 60 seconden loop */
    align-items: center; /* Verticaal centreren */
    padding-left: 60px; /* Start ruimte */
}

/* De Logo's zelf */
.ticker-track img {
    /* GROOTTE */
    height: 100px; 
    width: auto;
    object-fit: contain;
    
    /* HET FILTER: Maakt donkere logo's wit */
    filter: grayscale(100%) invert(1);
    
    /* Mix-blend-mode om zwarte vlakken te verbergen */
    mix-blend-mode: screen; 
    
    /* OUD: opacity: 0.9; -> Dit maakte het grijzig */
    opacity: 1; /* NIEUW: 100% helderheid */
    
    transition: all 0.3s ease;
    cursor: pointer;
    max-width: 250px; 
}

/* Hover effect (JOUW NIEUWE CODE) */
.ticker-track img:hover {
    /* BELANGRIJK: We houden het wit-filter AAN */
    /* We voegen alleen een gouden gloed toe */
    filter: grayscale(100%) invert(1) drop-shadow(0 0 8px rgba(249, 168, 37, 0.6));
    
    opacity: 1;
    transform: scale(1.1); /* Ietsje groter */
}

/* Pauzeer als je eroverheen gaat */
.ticker-wrapper:hover .ticker-track {
    animation-play-state: paused;
}

/* De Animatie */
@keyframes scroll-ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Schuift op tot de helft */
}

/* Mobiele aanpassing */
@media (max-width: 768px) {
    .ticker-track { gap: 40px; }
    .ticker-track img { height: 35px; } /* Iets kleiner op telefoon */
}

/* HERO SECTIE */
.hero {
    height: 100vh; width: 100%; position: relative;
    display: flex; align-items: center; justify-content: center;
    text-align: center; overflow: hidden; background: #000;
}

.video-background {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0; pointer-events: none; overflow: hidden;
}

.video-background iframe {
    width: 100vw; height: 56.25vw; min-height: 100vh; min-width: 177.77vh;
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(1.3); border: none;
}

.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6); z-index: 1;
}

.hero-content { position: relative; z-index: 2; max-width: 800px; padding: 20px; }
.hero h1 { font-size: 4rem; margin-bottom: 20px; text-shadow: 2px 2px 5px rgba(0,0,0,0.8); font-weight: 700; text-transform: uppercase; letter-spacing: 2px;}
.hero p { font-size: 1.3rem; text-shadow: 1px 1px 3px rgba(0,0,0,0.8); font-weight: 300; }

/* Omlijnde Knoppen */
.btn-primary {
    display: inline-block; padding: 13px 38px;
    background: transparent;
    border: 2px solid var(--brand-accent);
    color: var(--brand-accent);
    font-weight: 700; letter-spacing: 1px;
    border-radius: 50px;
    margin-top: 30px; cursor: pointer; font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    background: var(--brand-gradient);
    border-color: transparent;
    color: white;
    box-shadow: 0 6px 20px rgba(249, 168, 37, 0.5);
}

/* Secties Algemeen */
.section-padding { padding: 80px 5%; }
.section-title { font-size: 2.5rem; margin-bottom: 50px; text-align: center; color: var(--brand-accent); text-transform: uppercase; letter-spacing: 2px; }
.container { max-width: 1200px; margin: 0 auto; width: 100%; }

/* PAGINA HEADER (Voor subpagina's) */
.page-header {
    padding: 150px 5% 80px;
    background-color: #000;
    text-align: center;
    border-bottom: 1px solid #222;
}
.page-header h1 { font-size: 3.5rem; color: white; margin-bottom: 15px; text-transform: uppercase; letter-spacing: 2px; }
.page-header p { color: var(--text-muted); font-size: 1.2rem; max-width: 600px; margin: 0 auto; }

/* FILTER KNOPPEN */
.filter-buttons { display: flex; justify-content: center; flex-wrap: wrap; gap: 15px; margin-bottom: 50px; }
.filter-btn {
    padding: 10px 25px; background: transparent; border: 1px solid #444; color: var(--text-muted);
    border-radius: 50px; font-family: 'Inter', sans-serif; font-size: 0.9rem; cursor: pointer; transition: all 0.3s ease;
}
.filter-btn:hover, .filter-btn.active {
    border-color: var(--brand-accent); color: var(--brand-accent); background: rgba(249, 168, 37, 0.1);
}

/* DIENSTEN GRID & CARDS */
.services-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 30px; 
    width: 100%;
}

.service-card { 
    background: var(--bg-card); 
    padding: 0; 
    border-radius: 12px; 
    transition: transform 0.3s, border-color 0.3s; 
    border: 1px solid #333; 
    overflow: hidden; 
    display: flex; flex-direction: column;
    max-width: 100%;
}

.service-card:hover { transform: translateY(-5px); border-color: var(--brand-accent); }

.image-wrapper { width: 100%; aspect-ratio: 16 / 9; overflow: hidden; position: relative; }
.service-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.service-card:hover .service-img { transform: scale(1.05); }

.service-content { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; }
.service-card h3 { margin-bottom: 15px; color: var(--text-light); font-size: 1.5rem; }
.service-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }


/* OVER ONS */
.about-container { display: flex; align-items: center; gap: 50px; }
.about-text { flex: 1; }
.about-image { flex: 1; }
.about-image img { width: 100%; border-radius: 12px; border: 1px solid #333; }
.about-text p { margin-bottom: 20px; color: var(--text-muted); font-size: 1.1rem; }

@media (max-width: 768px) {
    .about-container { flex-direction: column-reverse; }
    .about-text h2 { text-align: center !important; }
}

/* PORTFOLIO GRID */
.portfolio-grid { 
    display: grid; 
    /* Dwingt 2 kolommen af op desktop */
    grid-template-columns: repeat(2, 1fr); 
    gap: 20px; 
    width: 100%;
}

.portfolio-item { 
    position: relative; 
    width: 100%;
    aspect-ratio: 16 / 9; 
    overflow: hidden; 
    border-radius: 8px; 
    cursor: pointer;
    border: 1px solid #333;
}

.portfolio-thumb { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.portfolio-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    transition: background 0.3s; padding: 20px; text-align: center;
}
.portfolio-overlay h3 { margin-top: 15px; font-size: 1.4rem; color: white; opacity: 0; transform: translateY(20px); transition: all 0.3s ease; }
.portfolio-overlay p {
    color: var(--brand-accent); font-size: 0.9rem; font-family: 'Oswald', sans-serif;
    text-transform: uppercase; letter-spacing: 1px; opacity: 0; transform: translateY(20px); transition: all 0.3s ease 0.1s;
}
.play-button {
    width: 50px; height: 50px; background: rgba(255, 255, 255, 0.1);
    border: 2px solid white; border-radius: 50%; position: relative; transition: all 0.3s ease; backdrop-filter: blur(5px); flex-shrink: 0;
}
.play-button::after {
    content: ''; position: absolute; top: 50%; left: 55%; transform: translate(-50%, -50%);
    border-left: 12px solid white; border-top: 8px solid transparent; border-bottom: 8px solid transparent;
}
.portfolio-item:hover .portfolio-thumb { transform: scale(1.1); }
.portfolio-item:hover .portfolio-overlay { background: rgba(0, 0, 0, 0.7); }
.portfolio-item:hover .portfolio-overlay h3,
.portfolio-item:hover .portfolio-overlay p { opacity: 1; transform: translateY(0); }
.portfolio-item:hover .play-button { background: var(--brand-accent); border-color: var(--brand-accent); transform: scale(1.1); }


/* LIGHTBOX (POP-UP) */
.lightbox {
    display: none; position: fixed; z-index: 2000;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    justify-content: center; align-items: center;
}

.lightbox-content { position: relative; width: 90%; max-width: 960px; }
.video-wrapper { position: relative; padding-bottom: 56.25%; height: 0; box-shadow: 0 0 50px rgba(0,0,0,0.8); }
.video-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

.close-lightbox {
    position: absolute; top: -45px; right: 0;
    color: white; font-size: 40px; cursor: pointer; transition: 0.3s; z-index: 2001; line-height: 1;
}
.close-lightbox:hover { color: var(--brand-accent); }

/* Navigatie Pijlen */
.lightbox-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: transparent; border: none; color: white; font-size: 3rem; cursor: pointer; padding: 20px; z-index: 2002; transition: 0.3s; outline: none;
}
.lightbox-nav:hover { color: var(--brand-accent); transform: translateY(-50%) scale(1.1); }
.prev-btn { left: -80px; }
.next-btn { right: -80px; }


/* WERKWIJZE SECTIE */
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; }
.process-step { text-align: center; padding: 20px; }
.step-number { 
    font-size: 3rem; font-family: 'Oswald', sans-serif; font-weight: 700; color: transparent; 
    -webkit-text-stroke: 1px var(--brand-accent); margin-bottom: 15px; opacity: 0.5;
}
.process-step h3 { margin-bottom: 10px; color: white; }
.process-step p { color: var(--text-muted); font-size: 0.9rem; }

/* CONTACT & FOOTER */
.contact-form { 
    display: flex; 
    flex-direction: column; 
    max-width: 600px; 
    margin: 0 auto; 
    width: 100%; 
}

.contact-form label { 
    margin-bottom: 8px; 
    color: var(--text-muted); 
    font-size: 0.9rem; 
    font-weight: 500; 
    text-align: left; 
}

.contact-form input, .contact-form textarea {
    margin-bottom: 25px; 
    padding: 15px; 
    background: var(--bg-card); 
    border: 1px solid #333; 
    border-radius: 6px;
    color: white; 
    font-family: 'Inter', sans-serif; 
    transition: 0.3s; 
    width: 100%; 
}

.contact-form input:focus, .contact-form textarea:focus { 
    outline: none; 
    border-color: var(--brand-accent); 
}

/* Stijl voor de knop in het formulier */
.contact-form button {
    align-self: center; 
    background: transparent;
    border: 2px solid var(--brand-accent);
    color: var(--brand-accent);
    padding: 13px 38px;
    font-weight: 700; letter-spacing: 1px;
    border-radius: 50px; cursor: pointer; font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.contact-form button:hover {
    transform: translateY(-3px);
    background: var(--brand-gradient);
    border-color: transparent;
    color: white;
    box-shadow: 0 6px 20px rgba(249, 168, 37, 0.5);
}

footer { text-align: center; padding: 30px; background: #0a0a0a; color: #777; margin-top: 50px; font-size: 0.9rem;}

/* MOBIEL */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero h1 { font-size: 2.8rem; }
    .nav-logo { height: 40px; }
    .portfolio-grid, .services-grid { grid-template-columns: 1fr; }
    .page-header { padding-top: 120px; }
    .page-header h1 { font-size: 2.5rem; }
    
    /* Lightbox Pijlen op mobiel */
    .prev-btn { left: 0; top: 105%; }
    .next-btn { right: 0; top: 105%; }
    .close-lightbox { top: -40px; right: 0; }
}

/* =========================================
   DEFINITIEVE SPECIFIEKE LOGO AANPASSINGEN (VERSIE 3)
   (Vervang het onderste blokje in je CSS hiermee)
   ========================================= */

/* GROEP 1: Logo's die flink groter moeten (150px) */
.ticker-track img[src*="mfmusic"],
.ticker-track img[src*="kerstmarktbuitenpost"],
.ticker-track img[src*="beunhokfest"],
.ticker-track img[src*="fitveld"] {
    height: 150px !important;
    max-width: none !important; 
}

/* SPECIFIEK: RD Coaching kleiner gemaakt */
.ticker-track img[src*="rdcoaching"] {
     height: 90px !important; /* Kleiner dan de standaard 100px */
     max-width: none !important;
}

/* GROEP 2: AutoSpa moet het grootst */
.ticker-track img[src*="autospahs"] {
    height: 200px !important; 
    max-width: none !important;
    transform: translateY(-10px); 
}

/* GROEP 3: 'Reddingsoperatie' voor origineel wit/lichte logo's */
.ticker-track img[src*="proost.png"],
.ticker-track img[src*="bierproeffestival"] { 
    /* NIEUWE AANPAK: Alleen grijswaarden maken. 
       Omdat ze al wit zijn, NIET inverteren. 
       Een heel klein beetje brightness (1.1) maakt de gekleurde delen lichtgrijs/wit. */
    filter: grayscale(100%) brightness(1.1) !important;
    
    /* Mix-blend-mode MOET op normal staan hier */
    mix-blend-mode: normal !important; 
    opacity: 1 !important;
    height: 130px !important; /* Iets groter voor zichtbaarheid */
}

/* Hover van deze lichte logo's */
.ticker-track img[src*="proost.png"]:hover,
.ticker-track img[src*="bierproeffestival"]:hover {
     /* Bij hover iets feller maken + de gouden gloed */
     filter: grayscale(100%) brightness(1.3) drop-shadow(0 0 8px rgba(249, 168, 37, 0.8)) !important;
     transform: scale(1.1) !important;
}

/* =========================================
   TEAM SECTIE (MARK & STEFAN)
   ========================================= */

.team-member {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 100px; /* Ruimte tussen Mark en Stefan */
}

/* De 'Reverse' class draait de volgorde om voor Stefan */
.team-member.reverse {
    flex-direction: row-reverse;
}

/* --- De Foto's --- */
.team-image {
    flex: 1;
    position: relative;
    max-width: 500px;
}

.team-image img {
    width: 100%;
    border-radius: 8px;
    position: relative;
    z-index: 2;
    filter: grayscale(20%); /* Iets filmischer */
    transition: 0.3s;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.team-image:hover img {
    filter: grayscale(0%);
}

/* Gouden kader achter de foto */
.team-accent {
    position: absolute;
    top: 20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--brand-accent);
    border-radius: 8px;
    z-index: 1;
    transition: 0.3s;
}

/* Bij Stefan moet het kader de andere kant op */
.team-member.reverse .team-accent {
    left: auto;
    right: -20px;
}

/* --- De Tekst --- */
.team-content {
    flex: 1;
}

.team-content h3 {
    font-size: 2.2rem;
    color: white;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.team-content .role {
    display: block;
    color: var(--brand-accent);
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 500;
    letter-spacing: 1px;
}

.team-content p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 25px;
    max-width: 500px;
}

/* Opsomming van skills */
.skill-list {
    list-style: none;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.skill-list li {
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    color: white;
    border: 1px solid #333;
    font-weight: 500;
}

/* --- Mobiel Responsive --- */
@media (max-width: 900px) {
    .team-member, 
    .team-member.reverse {
        flex-direction: column; /* Alles onder elkaar op mobiel */
        gap: 40px;
        margin-bottom: 80px;
    }
    
    .team-image {
        width: 100%;
        max-width: 100%;
    }

    .team-accent, .team-member.reverse .team-accent {
        top: 15px;
        left: 15px;
        right: auto;
    }
}
