/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 26-jan-2026, 13:23:53
    Author     : chriseneman
*/

/* ELEMENTS */
* {
  box-sizing: border-box;
}

html {
    width:100%;
    margin:0;
    padding: 0;
    overflow-x: hidden;
    font-size: 16px;
    background-color: #E7DCC9;
}
    
body {
    width:100%;
    margin:0;
    padding:0;
    overflow-x: hidden;
    min-height: 100vh;
    display: grid;
    grid-template-rows: auto 1fr auto;
    font-family: 'Playfair Display', serif;
    }

header, footer, main {
    padding: 20px;
    padding-right:40px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}


header, footer {
    width:100vw;
    background-color: #000000;
    color: #E7DCC9;
}

header {
    min-height: 120px;
    align-items: flex-end;
}

footer {
    min-height: 160px;
    align-items: flex-start;
}

main {
    width:50%;
    margin: 0 auto;
    padding-top:40px;
    padding-bottom:60px;
}


a:link, a:visited, a:hover, a:active {
    color:#E7DCC9;
    text-decoration: none;
}

ul {
    list-style-type: none;
    padding-left: 0;
}

.mo_technieken {padding-left:2rem;}



/* CLASSES & ID's */

.mo_header_left {
    display:flex;
    flex-direction: row;
    align-items: center;
}

.mo_logo {
    height:80px;
}

.mo_naambeeld {
    font-size:200%;
    margin-left: 2.5rem;
}

.mo_botmenu {
    padding: 0;
    display:flex;
    flex-direction: column;
    justify-content: flex-start;
}

.mo_botmenu > ul {
    display:flex;
    flex-direction: column;
    align-items: flex-end;
    font-size: 125%;
    padding: 0;
    margin: 0;
}

.mo_botmenu li {margin-bottom:10px;}

.mo_topmenu > ul > li {
    display: inline;
    margin-right: 20px;
    font-size: 125%;
    line-height: 1px;
    text-transform: uppercase;
}

.mo_topmenu > ul > li:last-child {
    background-color: #E7DCC9;
    border-radius: 25px;
    margin-right: 0;
}

.mo_topmenu > ul > li > a {
    line-height: 1px;
}

.mo_topmenu > ul > li:last-child > a {
    color:#000000;
    padding:20px;
}

.inputText {
    font-size:125%;
    min-width: 25vw;
    margin-top: 10px;
}

.inputButton {
    font-size: 125%;
    border-radius: 5px;
    cursor: pointer;
    border:none;
    background-color: black;
    color: #E7DCC9;
    padding:10px;
    margin-top: 20px;
}

.inputArea {
  min-width: 25vw;
  height: 150px;
  padding: 12px 20px;
  box-sizing: border-box;
  border: 1px solid #000;
  border-radius: 4px;
  background-color: #FFFFFF;
  resize: none;
  margin-top: 10px;
  font-size: 125%;
}

.honey {visibility: hidden;}

#introductie > h1 {font-size:200%;}
#masonry > h1 {font-size:200%;}
#contactform > h1 {font-size:200%;}

#introductie > p {font-size:125%;}
#introductie  li {font-size:125%;}





/* ANIMATION HERO */

.slideshow-container {
  position: relative;
  width: 100%;
  height: 75vw;
  overflow: hidden;
  background-color: black;
  margin:0;
  padding:0;
}

/* Common Image Setup */
.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin:0;
  padding:0;
  
  /* Total One-Way Duration: 15s 
     (3s stay + 3s fade) * 2 transitions + 3s end hold
  */
  animation-duration: 15s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate; /* Plays 1->3, then 3->1 */
}

/* --- IMAGE 1 SETTINGS --- */
.img-1 {
  animation-name: anim-1;
  z-index: 3; /* Stays on top initially */
}

@keyframes anim-1 {
  0%, 20% { opacity: 1; } /* Visible 0-3s */
  40%, 100% { opacity: 0; } /* Faded out by 6s, stays out */
}

/* --- IMAGE 2 SETTINGS --- */
.img-2 {
  animation-name: anim-2;
  z-index: 2;
}

@keyframes anim-2 {
  0%, 20% { opacity: 0; } /* Hidden initially */
  40%, 60% { opacity: 1; } /* Visible 6s-9s */
  80%, 100% { opacity: 0; } /* Faded out by 12s */
}

/* --- IMAGE 3 SETTINGS --- */
.img-3 {
  animation-name: anim-3;
  z-index: 1;
}

@keyframes anim-3 {
  0%, 60% { opacity: 0; } /* Hidden until 9s */
  80%, 100% { opacity: 1; } /* Visible 12s-15s */
}






/* MASONRY (stable columns) */
.masonry{
  display: grid;
  width:100%;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr)); /* default desktop */
}

/* items */
.item{
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  cursor: pointer;

  /* plus clean que height fixe */
  aspect-ratio: 1 / 1;
}

.item img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.item:hover img{
  transform: scale(1.50);
}

/* breakpoints (FIX) */

/* grand écran => 4 colonnes */
@media (min-width: 1400px){
  .masonry{
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* tablette => 2 colonnes */
@media (max-width: 1200px){
  .masonry{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* mobile => 1 colonne */
@media (max-width: 600px){
  .masonry{
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}



/* Lightbox */
.lightbox {
  position: fixed;
  display: none;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.lightbox-img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.close, .prev, .next {
  position: fixed;
  font-size: 40px;
  color: white;
  cursor: pointer;
  user-select: none;
  z-index: 1001;
}

.close {
  top: 20px;
  right: 30px;
}

.prev {
  top: 50%;
  left: 30px;
  transform: translateY(-50%);
}

.next {
  top: 50%;
  right: 30px;
  transform: translateY(-50%);
}

/* 
   MOBILE RESPONSIEF (under 1200px) dropdown menu
    */

/* desktop: */
.mo_icon{
  display:none;
  font-size:28px;
  cursor:pointer;
}
#mo_myLinks{
  display:block;
}

/* mobile */
@media (max-width:1200px){

  header{
    position:relative;          
    align-items:center;          
  }

  /* show hamburger */
  .mo_icon{
    display:block;
    padding:10px 12px;
    line-height:1;
  }

  /* menu hidden by default */
  #mo_myLinks{
    display:none;
  }

  /* menu open */
  #mo_myLinks.open{
    display:block;
    position:absolute;          
    top:120px;      
    right:20px;
    left:20px;
    background-color: #000000;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 14px;
    padding: 14px 16px;
    z-index: 4000;
  }

  /* vertical list */
  #mo_myLinks > ul{
    display:flex;
    flex-direction:column;
    gap:12px;
    margin:0;
    padding:0;
    align-items:flex-start;
  }

  #mo_myLinks > ul > li{
    display:block;
    margin-right:0;
    line-height:normal;
  }

  #mo_myLinks > ul > li > a{
    display:block;
    padding:10px 8px;
    line-height:normal;
    width:100%;
  }

  /*  FIX CTA (last item) */
  #mo_myLinks > ul > li:last-child{
    background-color: #E7DCC9;
    border-radius: 999px;
    align-self:flex-start;     /* Geen full widht meer */
  }

  #mo_myLinks > ul > li:last-child > a{
    color: #000000;
    padding:10px 14px;         /* Kleiner dan 20px */
    width:auto;                /*  niet  100% */
  }

  /* page width */
  main{
    width:80%;
  }
}
