

/* =========================================
   🔸 Global Reset
============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family:'redhat';
  color: #e5bc00;
  background: #0d0d0d;
  line-height: 1.6;
  overflow-x: hidden;
}

/* =========================================
   🔸 Font Declarations
============================================ */
@font-face {
    font-family: 'redhat';
    src: url('fonts/RedHatDisplay-VariableFont_wght.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}


@font-face {
    font-family: 'BBH';
    src: url('fonts/BBHSansHegarty-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* =========================================
   🔸 Header and Navigation
============================================ */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}
h1{
  font-family: "BBH";
  color: #e5bc00;
}
h2{
    font-family: "BBH";
  color: #e5bc00;
    margin-top: 2em;
    font-size: xxx-large;
}
ul li {
  font-size: xx-large;
  font-family: "BBH";
}
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  font-weight: 500;
}

nav img {
  width: 10rem;
  height: auto;
}

.logo {
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.1em;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: #e5bc00;
  font-weight: 700;
  transition: opacity 0.3s ease;
  font-size: .7em;
}

.nav-links a:hover {
  opacity: 0.6;
}

/* =========================================
   🔸 Hero Section / Video Background
============================================ */
.video-bg {
  position: relative;
  width: 100%;
  /* hoogte van de hero-sectie: bijvoorbeeld 100vh of een vaste waarde */
  height: 100vh;  
  overflow: hidden;
}

.video-bg video {
  position: absolute;
  top: 50%;
  left: 50%;
  /* FIX: min-width en min-height teruggezet om vulling op desktop te garanderen */
  min-width: 100%;
  min-height: 100%;
  width: auto; 
  height: auto; 
  transform: translate(-50%, -50%);
  object-fit: cover;
  object-position: center center;
}
/* =========================================
   🔸 About Section (Image/Text Layout)
============================================ */
.about-new-style {
    /* Zorgt voor de grijze achtergrond */
    color: #0d0d0d; /* Zwarte tekst */
    padding: 5rem 0; /* Padding boven en onder */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.content-container {
    display: flex;
    flex-direction: row;
    align-items: stretch; /* BELANGRIJK: Zorgt dat items even hoog zijn */
    max-width: 75rem; /* Max breedte van de hele sectie */
    width: 90%;
    gap: 0; /* Geen gap meer */
    background: #111; /* Witte achtergrond voor de innerlijke boxen */
    border-radius: 0em 0em 0em 0em;
}

.info-text-box {
    flex: 1; /* Beide krijgen evenveel ruimte */
    background: #111;
    border: none; /* Geen border meer */
    padding: 4rem 3rem 4rem 4rem; /* Padding aan de binnenkant */
    border-radius: 0;
    display: flex; /* Maakt de interne uitlijning mogelijk */
    flex-direction: column;
    justify-content: flex-start;
}

/* Heading styles */
.info-text-box h1 {
    font-size: clamp(2.5rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-align: left; /* Links uitlijnen */
    position: relative;
}

.heading-underline {
    display: block;
    position: relative;
    width: 100%;
    padding-bottom: 2rem; /* Ruimte onder de lijn */
}

.bio-text {
    font-family:'redhat';
    font-size: clamp(1rem, 1.15vw, 1.15rem); 
    line-height: 1.8;
    margin-bottom: 1.5625rem;
    text-align: left; /* Links uitlijnen */
    color: #e5bc00; /* Iets lichtere tekstkleur */
}

/* Image Box Container */
.info-image-box {
    flex: 1; /* Beide helften even breed */
    position: relative;
    overflow: hidden;
    /* Dit creëert de rode rand aan de boven- en rechterkant */
}

/* Image Box Corner Detail */
.info-image-box::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-bottom: 4rem solid #fff; /* Hoogte van de witte driehoek */
    border-left: 4rem solid transparent; /* Breedte van de driehoek */
    transform: translateX(100%);
}
.bio-text a {
  padding: 0.7em;
  background-color: #e5bc00;
  text-decoration: none;
  color: black;
}

/* Image Style */
.info-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* BELANGRIJK: Zorgt dat de afbeelding het hele vlak vult */
    display: block;
}

/* =========================================
   🔸 Contact Links
============================================ */

/* Container voor de email link */
.contact-email-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3125rem;
}

/* Link element zelf */
.contact-email-link a {
    text-decoration: none;
    font-weight: 500;
    color: #e5bc00; /* Zorgt dat de link de juiste kleur heeft */
    font-size: x-large;
}

.contact-email-link p {
    margin: 0;
    font-size: 0.95rem;
}

.contact-email-link i {
    font-size: 2rem;
    color: #e5bc00;
    margin-bottom: 0.3125rem;
}

.contact-email-link a:hover {
    text-decoration: underline;
}

/* =========================================
   🔸 Logos / Partners Grid (3 Items)
============================================ */
/* Logos Section Alignment */
.logos-section-inline {
    width: 100%;
    display: flex;
    justify-content: center;
    /* Extra ruimte boven de grid, zodat deze los staat van de info-box */
    padding: 3rem 2rem 0; /* Aangepast voor meer ruimte onder de About-sectie */
}

/* Logos Grid Structure */
.logos-grid-small {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 60rem; /* Max breedte van de grid */
    width: 100%;
    overflow: hidden; 
}

.grid-item-small {
    display: flex;
    flex-direction: column; /* Zorgt dat de tekst onder het logo kan */
    justify-content: center;
    min-height: 8rem; 
    background: #111111; /* Donkere achtergrond */
    transition: background 0.3s ease;
    margin:1em;
}

/* Remove right border for the last item */
.logos-grid-small > .grid-item-small:last-child {
    border-right: none;
}

/* Grid Item Link Styling */
.grid-item-small a {
    color: #e5bc00; /* Standaard de gele kleur */
    font-size: 3.5rem; 
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none; /* Geen onderstreping */
}

/* Grid Item Image Style */
.grid-item-small a img{
    display: block;
    width: 80%; /* Logo neemt 80% van de ruimte in */
    max-width: 150px;
    height: auto;
    transition: opacity 0.3s ease;
}
video{
  height: 100vh;
}

.grid-item-small a:hover {
    transform: none; /* Geen scale-effect op de hele link, alleen op de content */
}

.grid-item-small a:hover img {
    opacity: 0.8; /* Dim het logo een beetje bij hover */
}

/* =========================================
   🔸 Work Section (Large Project Posters)
============================================ */
.work2 {
  padding: 5rem rem;
  display: flex;
  justify-content: center;
}

.work2 .flex {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  /* Aangepast: Maak de sectie kleiner op grote schermen (80% van max 120rem) */
  width: 80%;
  max-width: 96rem; /* 80% van 120rem is 96rem */
  margin: 0 auto;
}

.work2 .card {
  width: 100%;
}

.work2 .card img {
    /* Reset naar een normale, gecentreerde afbeeldingstijl */
    width: 100%;
    border-radius: 0em 0em 0em 0em; /* Gebruikt je eigen radius-stijl */
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.work2 .card img:hover {
  transform: scale(1.01);
}

/* =========================================
   🔸 Work Section (3x2 Grid Thumbnails)
============================================ */
.work {
  display: flex;
  justify-content: center;
  padding: 4rem 2rem;
}

.work .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  /* Aangepast: Maak de sectie kleiner op grote schermen (80% van max 120rem) */
  width: 84%;
  max-width: 96rem; /* 80% van 120rem is 96rem */
  margin: 0 auto;
}

.work .card img {
  width: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  height: 100%;
}

.work .card img:hover {
  transform: scale(1.05);
}

/* =========================================
   🔸 Algemene Voorwaarden (General Terms)
============================================ */

.algemene-voorwaarden{
  display: flex;
  justify-content: center;
}

.algemene-voorwaarden a {
  padding: 1.3em;
  background-color: #e5bc00;
  text-decoration: none;
  color: black;
}

.algemene-voorwaarden .bio-text {
    font-family: 'redhat';
    font-size: clamp(1rem, 1.15vw, 1.15rem);
    line-height: 1.8;
    margin-bottom: 3.5rem;
    text-align: left;
    color: #e5bc00;
    max-width: 75%;
}

.flex h2{
  margin-top: 1em;
}

/* =========================================
   🔸 Footer
============================================ */
footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.9rem;
  color:#e5bc00;
  font-weight: 900;
}
/* =========================================
   🔸 Hamburger Menu
============================================ */

.menu-icon {
  display: none;
  position: relative;
  width: 2rem;
  height: 1.5rem;
  cursor: pointer;
}

.menu-icon span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 0.2rem;
  background: #e5bc00;
  transition: all 0.3s ease;
}

#menu-toggle {
  display: none;
}

/* Position of the three lines */
.menu-icon span:nth-child(1) {
  top: 0;
}

.menu-icon span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.menu-icon span:nth-child(3) {
  bottom: 0;
}

/* Checked state (X icon) */
#menu-toggle:checked + .menu-icon span:nth-child(1) {
  top: 50%;
  transform: rotate(45deg);
}

#menu-toggle:checked + .menu-icon span:nth-child(2) {
  opacity: 0;
}

#menu-toggle:checked + .menu-icon span:nth-child(3) {
  top: 50%;
  transform: rotate(-45deg);
}

/* Keyframes (unused by final mobile nav implementation, but kept) */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100%); /* Start buiten beeld links */
    }
    to {
        opacity: 1;
        transform: translateX(0); /* Eindpositie, volledig zichtbaar */
    }
}

@keyframes slideOutLeft {
    from {
        opacity: 1;
        transform: translateX(0); /* Startpositie, volledig zichtbaar */
    }
    to {
        opacity: 0;
        transform: translateX(-100%); /* Eindpositie, schuift naar links uit beeld */
    }
}


/* =========================================
   🔸 Responsive Styles
============================================ */

/* --- Small Phones (max-width: 450px) --- */
@media (max-width: 28.125rem) {

  .info-text-box h1 {
    font-size: clamp(2.5rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-align: left;
    position: relative;
    font-size: 2.1em;
  }
  h2 {
    font-family: "BBH";
    color: #e5bc00;
    margin-top: 2em;
      font-size: 2.1em;
  }

}

/* --- Tablets and Small Desktops (max-width: 1200px) --- */
@media (max-width: 75rem) {
    /* Image Box */
    .info-image-box img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* BELANGRIJK: Zorgt dat de afbeelding het hele vlak vult */
        display: block;
        border-radius: 0;
    }
  
    /* About Section Layout Change to Column */
    .content-container {
        flex-direction: column;
        gap: 0; /* Geen gap */
        max-width: 100%; 
    }
    .about-new-style {
        padding: 3rem 0; 
    }
    
    .info-text-box {
        padding: 2rem; 
    }
    
    .info-image-box {
        width: 100%;
        max-width: 100%; 
        min-height: 20rem; /* Vaste hoogte op mobiel */
        flex: none;
        border: none; /* Geen rode rand op mobiel */
    }
    
    .info-image-box::after {
        content: none; /* Geen hoek op mobiel */
    }
    
    .heading-underline::before {
        bottom: 1.5rem;
    }
    
    /* Logos Grid Alignment */
    .logos-section-inline {
        width: 100%;
        display: flex;
        justify-content: center;
        /* Extra ruimte boven de grid, zodat deze los staat van de info-box */
        padding: 2rem 2rem 0; 
    }

    .info-image-box {
        flex: none;
    }
    
    .bio-text {
        font-size: 1.1rem; 
    }
    
    /* Work Sections */
    .work2 .card img {
        width: 100%;
    }

    .work .grid {
        gap: 1.5rem;
        grid-template-columns: repeat(2, 1fr);
    }
    /* Work Sections Full Width */
    .work2 .flex,
     .grid {
        width: 90%; /* Zorgt voor 90% breedte op tablet */
        max-width: 100%;
    }
    .work{
      width: 100%;
    }

    .work .grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        width: 97%;
        max-width: 96rem; 
        margin: 0 auto;
    }
  
}

/* --- Phones (max-width: 768px) --- */
@media (max-width: 48rem) {
    /* Navigatie (hamburger menu) */
    .menu-icon {
        display: flex;
    }
    video{
      height: 100vh;
    }
h2 {
  font-family: "BBH";
  color: #e5bc00;
  margin-top: 2em;
}
    /* Mobile Navigation Menu */
    .nav-links {
        /* Basisinstellingen */
        position: absolute;
        top: 0;
        left: 0;
        flex-direction: column;
        background: #111;
        width: 80%;
        text-align: left;
        padding: 3.5rem;
        box-shadow: 0 1rem 3rem rgba(0,0,0,0.4);
        height: 100vh;
        max-width: 40vh;

        /* Animatie Fix: Beginpositie */
        transform: translateX(-100%); /* Start buiten beeld */
        opacity: 0; /* Onzichtbaar */
        display: flex; /* Blijft op flex staan, belangrijk voor de animatie! */
        pointer-events: none; /* Niet klikbaar als hij onzichtbaar is */
        transition: opacity 0.5s ease-in, transform 0.5s ease-in; /* Zorgt voor de sluit-animatie */
    }


    .nav-links li + li {
        margin-top: 1rem;
    }

    /* OPENEN ANIMATIE (Inschuiven) */
    #menu-toggle:checked ~ .nav-links {
        /* Zodra ingecheckt, direct naar de 'open' positie en maak klikbaar */
        transform: translateX(0); /* Schuif in beeld */
        opacity: 1; /* Wordt zichtbaar */
        pointer-events: all; /* Maak klikbaar */
    }
    
    /* Work Sections */
    .work2 .flex,
    .work .grid {
        width: 95%;
        max-width: none;
    }

    .work2 .card img,
    .work .card img {
        width: 100%;
    }

    .work, .work2 {
        padding: 1rem 1rem;
    }

    /* About Section */
    .about-new-style {
        padding: 3rem 0; /* Aangepast naar 0 laterale padding */
        max-width: 100%;
        padding-bottom: 0em;
    }
    
    .info-text-box {
        padding: 1.5rem 1rem; 
        border: none; 
    }
    
    .info-image-box {
        min-height: 15rem; /* Vaste hoogte op mobiel */
    }
    
    /* Logos Grid (3 Items) */
    .logos-grid-small {
        grid-template-columns: 1fr;
        max-width: 95%;

    }

    .grid-item-small {
        min-height: 5rem; /* Maakt het vakje kleiner */
        border-right: none;
    }

    /* Remove bottom border for the very last item */
    .logos-grid-small > .grid-item-small:last-child {
        border-bottom: none;
    }
    
    .grid-item-small a {
        font-size: 2rem; /* VERKLEIND: Icoongrootte is nu kleiner */

    }

    .grid-item-small a img {
        display: flex;
        justify-content: center;
        width: 50%;
    }
}
.grid-item-small a img{
  display: flex;
  justify-content: center;
  width: 80%;
}

/* --- Mobile Video Background Specific Style (max-width: 767px) --- */
@media (max-width: 767px) {
    /* Deze block is nu overbodig geworden na de fix in de algemene CSS */
}