*{
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}
html, body {
    scroll-behavior: smooth;
}
body{
    background: black;
    color: #fff;
}

/* ------------ Homepage ------------ */
#header{
    width: 100%;
    height: 60vh;
    background-image: url(../images/achtergrond.gif);
    background-size: cover;
    background-position: center;
}

.container{
    padding: 0;
}

.header-padding{
    padding-top: 50px;
    position: fixed;
    top: 1.9%;
}

nav {
    width: 100%;
    height: 85px; 
    padding: 10px 10%; 
    display: flex;
    align-items: center;
    background-color: #001a1c;
}



nav ul li{
    display: inline-block;
    list-style: none;
    margin: 0px 20px;
}

nav ul li a{
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: bold;
    position: relative;
    
}

nav ul li a::after{
    content: '';
    width: 0;
    height: 3px;
    background: #00d2d2;
    position: absolute;
    left: 0;
    bottom: -6px;
    transition: 0.5s;
}

nav ul li a:hover::after{
    width: 100%;
}

.header-text{
    margin-top: 5%; 
    font-size: 20px;
    text-align: center;
}

.header-text p{
    padding-top: 3%;
    font-weight: lighter;
    letter-spacing: 23px;
}

.header-text h1{
    font-size: 70px;
    margin-top: 20px;
}

.header-text h1 span {
    font-weight: 900;
}

span.where {
    color: #00d2d2; 
}

span.meets {
    color: #00ffff;
}

/* ----------- Blauwe header   --------- */

#top-menu{
    position: fixed;
    top: 0;
    width: 100%;
    height: 18px;
    background-color: #00d2d2;
    z-index: 999;
}

.top-menu-links {
    list-style: none;
    margin: 0;
    margin-right: 210px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.top-menu-links li {
    margin-left: 30px; 
}

.top-menu-links li a {
    text-decoration: none;
    color: #000; 
}

/* ----------- Work at cnc-gear knop --- */

.box{
    text-align: center;
    margin-top: 20px;
    margin-right: 220px;
}
.button{
    font-size: 1em;
    padding: 15px 35px;
    color: #001a1c;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease-out;
    background: #00d2d2;
    border-radius: 10px;
    display: inline-block;
}
.overlay{
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin-top: 100px;
    background: rgba(0, 0, 0, 0.8);
    transition: opacity 250ms;
    visibility: hidden;
    opacity: 0;
}

.overlay:target{
    visibility: visible;
    opacity: 1;
}

.wrapper{
    margin: 70px auto;
    padding: 20px;
    background: #e7e7e7;
    border-radius: 5px;
    width: 30%;
    position: relative;
    transition: all 2s ease-in-out;
}

.wrapper h2{
    margin-top: 0;
    text-align: center;
    color: #333;
}
.content h4{
    padding-top: 20px;
    text-align: center;
    color: #333;
}

.centered-mail {
    text-align: center;
    padding-top: 20px; /* Adjust the padding as needed */
}

.centered-mail a {
    text-decoration: none; /* Remove underline */
    color: #00d2d2;
}

.tel-mail{
    margin-left: 30px;
    text-decoration: none; /* Remove underline */
    color: #00d2d2;
}
.content p{
    padding-top: 20px;
    text-align: center;
    color: #333;
}

.wrapper .close{
    position: absolute;
    top: 20px;
    right: 30px;
    transition: all 200ms;
    font-size: 30px;
    font-weight: bold;
    text-decoration: none;
    color: #333;
}

.wrapper .content{
    max-height: 30%;
    overflow: auto;
}




/* ----------- Keuze knoppen   --------- */

.buttons.container ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center; 
   
}

.buttons.container ul li {
    margin-top: 30px;
    margin-right: 100px; 
     text-align: center;
}

.buttons.container ul li:last-child {
    margin-right: 0; 
}

.buttons.container ul li a {
    text-decoration: none;
    color: #fff;
}

.buttons.container ul li img {
    width: 75px;
}

.buttons.container span{
    font-weight: bold;
}

/* ----------- Missie en Visie --------- */

.section {
    padding: 50px 0;
    background-color: #f9f9f9; 
    color: #000; 
}

.text-center {
    text-align: center;
}

.section h2 {
    font-size: 50px; 
    margin-bottom: 30px; 
}

.section .lead {
    font-size: 20px; 
    margin-bottom: 20px; 
    color: #4e5463;
}

.section .lead span{
    font-size: 30px;
    color:#2e2b2b;
}

.row {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 50px;
}

.col {
    margin: 20px; 
    text-align: center;
}

.image-container {
    margin-right: 20; 
}

.image-container:last-child {
    margin-right: 20; 
}

.col img {
    width: 80px; 
    margin-right: 10px;
}

.col p {
    font-size: 18px; 
    font-weight: bold; 
}

/* ------------ News tab  ------------ */

.newstitle{
    display: flex;
    justify-content: center;
    background-color: #f9f9f9;
    color: black;
    font-size: 20px;
    padding-top: 80px;
    margin-bottom: -50px;
}

#News{
    display: flex;
    gap: 20px;
    padding: 100px;
    margin: auto;
    justify-content: center;
}
.card{
    display: flex;
    flex-direction: column;
    background-color: white;
    max-width: 400px;
    box-shadow: 7px 7px 25px 1px rgba(0,0,0,0.06);
    border-radius: 5px;
}

.card img{
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    min-height: 220px;
    max-height: 220px;
    background-color: black;
}

.card h4, .card div{
    padding: 10px;
}

.publishbydate{
    display: flex;
    align-items: center;
    color: #a5a1a1;
}

.publishbydate p{
    margin: 0px;
    font-size: 14px;
}

.publishbydate span{
    padding: 0px 10px;
}

.description{
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    margin: 0;
}

.card a{
    color: inherit;
    text-decoration: none;
}


/* ------------ Contact    ------------ */

.contact-left{
    flex-basis: 35%;
    padding-left: 250px;
    padding-bottom: 180px;
    padding-top: 60px;
}

.contact-right{
    flex-basis: 60%;
    padding-right: 150px;
}

.contact-left p{
    margin-top: 30px;
}

.contact-left p i{
    color:#00d2d2;
    margin-right: 15px;
    font-size: 25px;
}

.row-1 {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 50px;
}


.social-icons{
    margin-top: 30px;
}

.social-icons a{
    text-decoration: none;
    font-size: 30px;
    margin-right: 15px;
    color: #ababab;
    display: inline-block;
    transition: transform 0.5s;
}

.social-icons a:hover{
    color: #00d2d2;
    transform: translateY(-5px);
}

.btn.btn2{
    display: inline-block;
}

.contact-right form{
    padding-top: 30px;
    width: 100%;
    padding-left: 150px;
}
form input, form textarea{
    width: 100%;
    border: 0;
    outline: none;
    background: #262626;
    padding: 10px;
    margin: 10px;
    color: #fff;
    font-size: 18px;
    border-radius: 6px;
}

form .btn2{
    padding: 15px 50px;
    font-size: 18px;
    margin-top: 20px;
    cursor: pointer;
    margin-left: 365px;
    background-color: rgb(8, 8, 8);
}

.btn{
    display: block;
    margin: 50px auto;
    width: fit-content;
    border: 1px solid #00ffff;
    padding: 14px 50px;
    border-radius: 6px;
    text-decoration: none;
    color: #fff;
    transition: background 0.5s;
}
.btn:hover{
    background: #00ffff;
}
.copyright{
    width: 100%;
    text-align: center;
    padding: 25px 0;
    background: #001a1c;
    font-weight: 300;
    margin-top: 20px;
}



/* Nieuwe landingspagina */

/* ====== Landing met 2 keuzes ====== */
.landing-header img { height: 48px; }
.choice-title {
  text-align: center; font-size: clamp(2rem, 3vw + 1rem, 3rem); margin: 1rem 0 0.25rem;
}
.choice-subtitle {
  text-align: center; opacity: .8; margin-bottom: 2rem;
}
.choice-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1rem, 2.5vw, 2rem);
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 50px;
}
.choice-card {
  display: grid;
  gap: 1rem;
  background: #0f172a;         
  color: #e7e7e7;
  border-radius: 1.25rem;
  padding: clamp(1rem, 2.5vw, 2rem);
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  transition: transform .2s ease, box-shadow .2s ease;
  border: 1px solid rgba(255,255,255,.08);
}
.choice-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,.35);
}
.choice-card h2 {
  margin: 0; font-size: 1.4rem; letter-spacing: .5px;
}
.choice-card p {
  margin: 0 0 .5rem; opacity: .9; line-height: 1.5;
}
.choice-icon {
  display: grid; place-items: center;
  height: 96px; width: 96px; border-radius: 20px;
  background: rgba(255,255,255,.05);
  overflow: hidden;
}
.choice-icon img { width: 64px; height: 64px; object-fit: contain; }
.button-like {
  justify-self: start;
  background: #00e0e6; color: #0b1324; font-weight: 700;
  padding: .6rem 1rem; border-radius: .75rem;
  transition: filter .2s ease;
}
.choice-card:hover .button-like { filter: brightness(1.05); }
.landing-footer { padding: 2rem 0; text-align: center; opacity: .8; }


@media (min-width: 992px) {
  nav { justify-content: space-between; }
}

/* Icon default hidden */
nav .fas { display: none; }

/* ===================== */
/* Phone screen (≤ 667px) */
/* ===================== */
@media only screen and (max-width: 667px){

  /* Header achtergrond */
  #header { background-image: url(../images/achtergrond.gif); }

  .wrapper{ width: 350px; }

  /* Sticky nav */
  nav.header-padding{
    top: 0;
    margin-top: 18px;
  }

  /* Hero-tekst kleiner/strakker */
  .header-text{
    margin-top: 20%;
    font-size: 16px;
    text-align: center;
  }
  .header-text p{
    font-size: 11px;          /* bovenregel (FROM …) */
    letter-spacing: 8px;       /* minder uit elkaar op mobiel */
    padding-top: 75px;
  }
  .header-text h1{
    margin-top: 18px;
    font-size: 30px;           /* Your needs our systems */
    line-height: 1.15;
  }

  /* Hamburger tonen */
  nav .fas{
    display: block;
    font-size: 25px;
  }

  /* Buttons list verbergen op mobiel (oude sectie) */
  .buttons.container ul { display: none; }

  /* Container stacking */
  .container { flex-direction: column; }

  .logo-container {
    margin-right: 40px;
    margin-left: -40px;
  }

  /* --- Nieuws / overige bestaande layout --- */
  .image-container{ width: 70px; margin-left: 20px; }
  .col img{ width: 97px; padding-right: 20px; }
  .col p{
    font-size: 11px;
    text-align: center;
    margin: 0; padding: 0;
    display: flex; justify-content: center;
  }

  #News{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .card{
    flex-basis: calc(100% - 40px);
    max-width: calc(100% + 150px);
    margin: 10px;
    margin-left: -73px;
  }

  .section{ flex-direction: column; }
  .sub-title{ font-size: 40px; }
  .about-col-1, .about-col-2{ flex-basis: 100%; }
  .about-col-1{ margin-bottom: 30px; }
  .about-col-2{ font-size: 14px; }
  .tab-links{ font-size: 16px; margin-right: 20px; }

  .contact-left, .contact-right{ flex-basis: 100%; }
  .contact-left, .contact-right{ padding: 0; }
  .row-1{ flex-direction: column; }
  .contact-left{ margin-top: 50px; }
  .contact-right form{
    padding-left: 25px;
    margin-left: 5px;
  }
  form .btn2{ margin-left: 0; }
  .copyright{ font-size: 14px; }

  .contact-left{ padding-top: 30px; padding-bottom: 30px; }
  .contact-right form{ padding-left: 0; margin-left: 0; }
  .row{ flex-direction: column; margin-right: 12px; }
  .btn.btn2{ margin-left: 10px; margin-right: auto; }

  /* ============================== */
  /* Nieuwe landing (2 logo-keuzes) */
  /* ============================== */
  .landing-logos { padding-top: 8px; }
  .logo-row{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;     /* naast elkaar */
    gap: 12px;
    flex-wrap: nowrap;       /* niet onder elkaar */
  }
  .logo-card{
    padding: 10px;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    color: #fff;
    transition: transform .15s ease, background-color .2s ease;
  }
  .logo-card:hover{
    transform: translateY(-3px);
    background-color: rgba(255,255,255,0.08);
  }
  .logo-card img{
    width: 112px;            /* kleiner zodat ze passen */
    height: 112px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
  }
  .logo-caption{
    font-size: .95rem;
    margin-top: 8px;
    font-weight: 700;
    letter-spacing: .3px;
  }

} /* end @media 667px */


/* Hele smalle schermen (failsafe ≤ 380px) */
@media (max-width: 380px){
  .logo-row{ gap: 8px; }
  .logo-card img{ width: 100px; height: 100px; }
  .logo-caption{ font-size: .9rem; }
}

/* Mobiel menu (slide-in) */
@media (max-width: 667px){
  /* toon hamburger */
  nav .fas{ display:block; font-size:25px; }

  /* het echte menu is #sidemenu */
  #sidemenu{
    position: fixed;
    top: 0;
    right: -220px;          /* verstopt buiten beeld */
    width: 220px;
    height: 100vh;
    padding-top: 60px;
    background: #00d2d2;
    z-index: 1001;          /* boven je top bar (999) */
    transition: right .5s ease;
  }
  #sidemenu li{
    display:block;
    margin:25px;
  }
  #sidemenu .fas{          /* het kruisje binnen het menu */
    position:absolute;
    top:20px; left:20px;
    cursor:pointer;
  }
}




/* --- CAD/CAM producten overzichtelijk in 2x2 blokken op mobiel --- */
@media only screen and (max-width: 667px){
  .buttons.container ul {
    display:flex;                        /* ruimte tussen de tegels */
    margin: 20px auto;
    padding: 0;
    max-width: 400px;                      /* netjes gecentreerd */
  }

  .buttons.container ul li {
    background: rgba(255,255,255,0.05);    /* lichte achtergrond */
    border-radius: 12px;
    text-align: center;
    padding: 12px;
    transition: background .2s ease;
    margin-right: 10px;
  }
  .buttons.container ul li:hover {
    background: rgba(255,255,255,0.12);
  }

  .buttons.container ul li img {
    width: 64px;
    margin-bottom: 8px;
  }

  .buttons.container ul li span {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    display: block;
  }
}

@media only screen and (max-width: 667px){
  #missievisie p.lead {
    text-align: left !important;  /* links uitlijnen */
    padding-left: 15px;            /* beetje ruimte van de muur */
    padding-right: 15px
  }
}
