html {
    background-color: #000;
  scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-size: 18px;
    color: #DDD;
    text-align: center;
    text-shadow: 1px 1px 8px rgba(0, 0, 0, 1);
    letter-spacing: 0px;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,1), rgba(0,0,0,0.4), rgba(0,0,0,0.6), rgba(0,0,0,0.7), rgba(0,0,0,0.8)), url('afbeeldingen/BG.jpg');    
    background-position: top left;
    background-repeat: repeat;
    z-index: -999;
    pointer-events: none; 
}

.kleinere-tekst {
    font-size: 0.3em;
}

a {
    text-decoration: none;
    color: #FFF;      
    transition: 0.6s;
}

a:visited {
    color: #FFF;
}

a:hover {
    color: #555; 
}

.background-fixed {
    position: fixed; 
    top: -1%;
    left: -15%;
    width: 100%;
    height: 100%;
    background-image: url('afbeeldingen/logo.png');
    background-position: top;
    background-repeat: no-repeat;
    will-change: transform;
    animation: parallax-move linear both;
    animation-timeline: scroll(root); 
    z-index: -1;
}

@keyframes parallax-move {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-500px); 
  }
}


h1 {
    margin: 0 0 0px 0;
    font-size: 45px;
    letter-spacing: 2px;
}
h2 {
    font-size: 20px;
    color: #BBB;
}
h4 {
    font-size: 1px;
    letter-spacing: 1px;
    color: #111;
    color: rgba(0, 0, 0, 0);
}

.onzichtbaar {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}



/* Pop-up */
.lang-popup {
  display: none; /* Standaard onzichtbaar */
  position: fixed;
  top: 80px;
  right: 80px;
  max-width: 350px;
  background-color: rgba(0, 0, 0, 0.9);
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.9);
  border-radius: 8px;
  padding: 20px;
  z-index: 1000;
}

.lang-popup-content h3 {
  margin-top: 0;
  color: #fff;
}

.lang-popup-content p {
  font-size: 14px;
  color: #fff;
  line-height: 1.4;
}

.lang-popup-buttons {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.btn-popup {
  padding: 8px 15px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 14px;
  cursor: pointer;
  border: none;
}

.btn-popup.primary {
  background-color: #FFF; /* Pas aan naar jouw merkkleur */
  color: #222;
}

.btn-popup.secondary {
  background-color: #222;
  color: #fff;
}




/* Taalknop */
.image-button {
position: absolute;
    right: 20px;
    top: 20px;
  background-color: transparent;
border: 0px;
  cursor: pointer;
z-index: 10;
}

.image-button img {

  width: auto; /* Pas de breedte van je plaatje hier aan */
  height: 20px;
  transition: transform 0.2s; /* Zorgt voor een leuk effect bij eroverheen bewegen */
}

.image-button img:hover {
  transform: scale(1.20); /* Plaatje wordt fractie groter als je erover hoovert */
}
 
/* Taalknop pop-up overlay) */
.modal {
  display: none; /* Standaard onzichtbaar */
  position: fixed; 
  z-index: 2000; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  background-color: rgba(0, 0, 0, 0.3); /* Semi-transparante zwarte achtergrond */
}

/* Taalknop pop-up zelf */
.modal-content {
  background-color: rgba(0, 0, 0, 0.9);
  margin: 10% auto;
  padding: 25px;
  border-radius: 8px;
  width: 50%;
  max-width: 200px;
  position: relative;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  font-family: sans-serif;
}
.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  color: #aaa;
  font-size: 50px;
  font-weight: bold;
  cursor: pointer;
}
.close-btn:hover {
  color: #333;
}






/* Hoofdpagina foto's onder elkaar */
.hoofdpagina-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.tekst-blok-schuin {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(2px);
    padding: 0px;
padding-top: 60px;
padding-bottom: 60px;
    clip-path: polygon(0% 20%, 100% 0%, 100% 80%, 0% 100%);
    margin: 0px auto;
    margin-top: 200px;
    text-align: center;
    z-index: -100;
}


/* ========================================== */
/* KLEEDJES                                   */
/* ========================================== */

.product-kaart a {
    text-decoration: none;
    color: #333;
}

.product-kaart {
    margin-bottom: 70px; /* Samengevoegd met de dubbele declaratie verderop */
    cursor: pointer;
    position: relative;
    background-color: transparent; 
}

.product-kaart img {
    width: 100%;
    height: 500px; 
    object-fit: cover;
    transition: all 0.8s ease-in-out; 
    display: block; 
}

/* ---  schuin afsnijden --- */
.product-kaart:nth-child(odd) img {
    clip-path: polygon(0 0, 100% 20%, 100% 100%, 0 80%);
}

/* Even producten andere kant op gesneden */
.product-kaart:nth-child(even) img {
    clip-path: polygon(0 20%, 100% 0, 100% 80%, 0 100%);
}

/* --- afstand tussen foto's --- */
.product-kaart + .product-kaart {
    margin-top: -120px; 
}
.product-kaart:hover {
    z-index: 20; 
}

.product-kaart:hover img {
    /* Bij een hover wordt de foto weer helemaal recht */
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    transform: scale(1.05); 
    /* Een kleine schaduw om de foto uit het scherm te laten knallen */
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    opacity: 1;
}

.product-kaart h2 {
    position: absolute;
    top: 50%;
    transform: translateY(-10%);
    left: 20px;
    margin: 0;
    margin-top: 15px;
    color: #fff;
    font-size: 32px;
    font-weight: bold;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.9); 
    z-index: 10;
    transition: transform 0.6s ease;
}


/* ========================================== */
/* MOBIELE AANPASSINGEN                       */
/* ========================================== */

@media (max-width: 600px) {

body {
        font-size: 13px;
    }

    h1 {
        font-size: 30px;
    }

    h2 {
        font-size: 20px;
    }

    .product-kaart img {
        height: 350px; /* Foto's minder hoog op mobiel */
    }

    .product-kaart:nth-child(even) img {
        margin-top: 80px; /* Iets minder overlap op mobiel */
    }

    /* Snijvormen iets minder extreem op smalle schermen */
    .product-kaart:nth-child(odd) img {
        clip-path: polygon(0 0, 100% 15%, 100% 100%, 0 85%);
    }
    
    .product-kaart:nth-child(even) img {
        clip-path: polygon(0 15%, 100% 0, 100% 85%, 0 100%);
    }

    .product-kaart h2 {
        font-size: 20px;
        left: 20px;
        bottom: 100px;
        top: auto; /* Reset de top die op desktop stond */
        transform: none; /* Reset de transform op mobiel */
    }
}

/* ========================================== */
/* STIJL VOOR DE POP-UP (MODAL)               */
/* ========================================== */

/* 1. De animaties definiëren */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { 
        transform: translateY(60px); /* Begint 30 pixels lager */
        opacity: 0; 
    }
    to { 
        transform: translateY(0); /* Eindigt op de normale positie */
        opacity: 1; 
    }
}

/* 2. De pop-up achtergrond */
.modal {
    display: none; 
    position: fixed;
    z-index: 3000; 
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); 
    overflow-y: auto; 
    /* Hier passen we de fade-in animatie toe */
    animation: fadeIn 0.9s ease-out;
}

/* 3. Het vak met de foto's */
.modal-inhoud {
    margin: 5% auto; 
    width: 90%;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    gap: 20px; 
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    padding: 30px;
    border-radius: 8px;
    /* Hier passen we de slide-in animatie toe */
    animation: slideIn 0.6s ease-out;
}

.modal-inhoud h2 {
    margin-top: 0;
    text-align: left;
}

.modal-inhoud img {
    width: 100%;
    border-radius: 4px;
}

/* De Sluitknop */
.sluit-knop {
    position: fixed;
    top: 20px;
    right: 40px;
    color: #fff;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 10;
}

.sluit-knop:hover {
    color: #ccc;
}

@media (max-width: 600px) {
    header {
        padding: 20px 10px; /* Minder lege ruimte bovenaan */
    }

    .hoofdpagina-container {
        padding: 0 10px;
    }

    .modal-inhoud {
        width: 100%; /* Gebruik de volle breedte op mobiel */
        margin: 0; 
        padding: 0px; /* Ruimte rondom de foto's in de pop-up */
        border-radius: 0; /* Ronde hoeken */
        gap: 10px; /* AANGEPAST: toegevoegde 'px' zodat dit correct werkt */
    }

    /* De sluitknop iets verplaatsen zodat hij altijd goed bereikbaar is op een smal scherm */
    .sluit-knop {
        top: 10px;
        right: 15px;
        font-size: 40px;
        background-color: rgba(0, 0, 0, 0.5); /* Een subtiel achtergrondje zodat hij altijd leesbaar is */
        border-radius: 50%;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
	z-index: 10;
    }
}

/* ========================================== */
/* CONTACT KNOP & SCHUIFPANEEL                */
/* ========================================== */

/* De vaste knop aan de rechterrand van het scherm */
.contact-knop {
    position: fixed;
    right: 0;
    top: 85%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    border: 0;
    color: white;
    padding: 15px 10px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    writing-mode: vertical-rl; /* Dit zet de tekst magisch verticaal! */
    text-orientation: mixed;
    border-radius: 6px 0 0 6px; /* Alleen de linkerhoeken zijn afgerond */
    z-index: 500; /* Zorgt dat hij boven de productfoto's zweeft */
    transition: background-color 0.2s ease;
}

.contact-knop:hover {
    background-color: #000; /* Wordt iets donkerder bij hover */
}

/* Het contactpaneel zelf */
.contact-panel {
    align: top;
    position: fixed;
    top: 0;
    right: 0;
    width: 350px;
    max-width: 100%; /* Zorgt dat hij op mobiel nooit breder is dan het scherm */
    height: 100%;
    background: rgba(0, 0, 0, 0.8); /* Semi-transparant zwart */
    backdrop-filter: blur(4px);    /* Het 'glassmorphism' effect */
    border: 0px;
    color: black;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.5);
    z-index: 2500;
    
    /* HET GEHEIM: Standaard 100% naar rechts schuiven (dus net buiten het scherm) */
    transform: translateX(100%); 
    transition: transform 0.6s ease-out;
    
    padding: 0px 20px;
    box-sizing: border-box;
}

/* Als het paneel de class 'open' krijgt via JavaScript, schuift hij naar zijn normale positie (0) */
.contact-panel.open {
    transform: translateX(0);
}
.sluit-contact {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 20px;
    font-weight: bold;
    color: #FFF;
    cursor: pointer;
    transition: color 0.2s;
}

.sluit-contact:hover {
    color: #999;
}

/* Styling voor de tekst binnen het paneel */
.contact-inhoud h2 {
    margin-top: 100px;
    font-size: 26px;
    color: #CCC;
    text-align: left;
}

.contact-inhoud p {
    text-align: left;
    color: #FFF;
    line-height: 1.6;
    font-size: 16px;
}

.contact-lijst {

    list-style: none;
    padding: 0;
    margin-top: 0px;
    text-align: left;

}

.contact-lijst li {
    margin: 1px;
    font-size: 16px;
    color: #DDD;
    border-bottom: 1px solid #444; 
    padding: 10px;
    vertical-align: middle;
}

.center {
    vertical-align: middle;
}





footer {
    background-color: rgba(0, 0, 0, 0.5); 
    backdrop-filter: blur(2px);
    text-align: left;
    padding: 70px 40px 20px; 
    margin-top: -150px; 
    position: relative;
    z-index: 30;      
    clip-path: polygon(0 0, 100% 50%, 100% 100%, 0 100%);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start; 
    gap: 10px;
}

/* The Instagram Link */
.insta-link {
    font-size: 18px; 
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    position: relative;
    padding-bottom: 5px;
}

/* animated line */
.insta-link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px; 
    bottom: 0;
    left: 0;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    
    /* The effect starts invisible (scaled to 0) */
    transform: scaleX(0); 
    transform-origin: bottom right;
    transition: transform 0.4s ease-out; /* Smooth animation */
}


.insta-link:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.footer-content p {
    margin: 0;
    font-size: 14px;
    color: #999;
    letter-spacing: 4.1px;
}