/* ========== GLOBAL STYLES ========== */



element { max-width: 100vw; overflow-x: hidden; }


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}



body {
  font-family: "Raleway", Arial, sans-serif;
  font-weight: 600;
  background-color: #fff;
  font-optical-sizing: auto;
  color: #222;
  position: relative;
}
/*---------------------------------- FULLpage OVERLAY */


body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("./grunge-texture.jpg");
  background-size: cover;
  background-position: center;
  pointer-events: none;
  mix-blend-mode: multiply;
  opacity: 0.2;
  z-index: -1;   /* <-- Belangrijk! */
  
}

body > * {
  position: relative;
  z-index: 1;
}


li{
    list-style: none;
}

a{
    text-decoration: none;
}







/* Zorg dat de rest van de pagina boven de overlay blijft */
body > * {
  position: relative;
  z-index: 1;
}





    /* NAVIGATION 2  */

.secnav-bar{
    visibility: hidden;
}    
.sec-nav {
    display: flex;
    justify-content: space-evenly;
}

.project-link {
    font-size: 2.3rem;
    font-family: "Yanone Kaffeesatz", sans-serif;
    text-transform: uppercase;
    color: #800000;
    font-weight: 400;
    transition: color 0.3s ease, transform 0.2s ease;
}


.project-link:hover {
  color: #333;
}

.project-nav{
    margin: 1rem;
}

.raleway-font {
  font-family: "Raleway", sans-serif;
  font-optical-sizing: auto;

  font-style: normal;
}


.yanone-kaffeesatz-font {
  font-family: "Yanone Kaffeesatz", sans-serif;
  font-optical-sizing: auto;
  font-weight: 100;
  font-style: normal;
}

h1{
    font-family: Yanone Kaffeesatz;
    text-transform: uppercase;
    font-weight: 500;
    
}
/* ========== HEADER ========== */
.site-header {
  /* background-color: #fff; */
  /* box-shadow: 0 2px 8px rgba(0,0,0,0.1); */
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
  display: block;
  flex-direction: column;
  align-items: center;
}

/* ---------- Top: Logo + Image ---------- */




.brand-section {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;
  gap: 2rem;
  margin: 1%;
}


.logo {
  max-width: 120px;
  max-height: 120px;
  width: auto;
  height: auto;
  margin-left: 3.3rem;
  object-fit: contain;
}

.header-image {
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
    float: none;
}

.landing-box {

  margin: 60px 20px 20px 20px;

  /* padding: 20px; */

}

.logo-mrdean {
  max-width: 120px;
  max-height: 120px;
  /* width: auto;
  height: auto; */
  /* margin-left: 3.3rem; */
  object-fit: contain;
    position: fixed;

}


/* ---------- Primary Nav (Icons) ---------- */



.nav-buttons {
width: 100%;
  list-style: none;
  max-height: fit-content;
  display: flex;
  flex-shrink: 1;
  justify-content: center;
 
  gap: 1rem;
}

/* .nav-btn {
  display: flex;
max-width: 200px;
  justify-content: flex-start;
  align-items: center;
  padding: 0.5rem;
  transition: transform 0.2s ease;
} */

.nav-btn:hover {

  transform: scale(1.05);
}

.nav-btn img {
  max-width: 150px;
  height: 50px;
 
}

/* UNDER CONSTRUCTION */
.construct-img{
opacity: 50%;
max-width: 30%;
transition: opacity 0.4s ease;
}

.construct-img:hover{
  opacity: 100%;
}

/* section design*/ 

.title-courses{
  display: flex;
  justify-content: center;
}

.page-title {
    display: flex;
    font: "oswald";
    background-color: #f2ede46b;
    color: #800000;
    width: 40%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    justify-content: center;
    padding: 1rem;
    border: 1px solid #800000;
    border-radius: 0.3rem;
    margin-bottom: 20px;
    box-shadow: 0 -4px -30px rgba(0,0,0,0.08);
}

.content-section {
  max-width: 1200px;
  margin: auto;

  padding-bottom: 2rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 1.5rem;

}

#links-forms{
  display: flex;
  justify-content: center;
  width: 100%;
}


.card {
    background: #f2ede46b;
    border-radius: 10px;
    overflow: hidden;
  border-left: 4px solid #550000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* justify-content: center; */
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-links{
  width: 80%;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

.card-title {
  margin-top: 0.8rem;
  font-family: "Oswald";
  text-transform: uppercase;
  letter-spacing: 0.1ch;
  color: #660000;
  font-size: 1.2rem;
  font-weight: 400;

}

.card-subtitle {
  margin: 1rem;
  font-family: Yanone Kaffeesatz;
  font-size: 1.8rem;
  font-weight: 500;
  text-transform: none;

}

.card-text {
  margin: 0.75rem 0 1rem;
  color: #555;
}

.card-btn {
  /* display: inline-block; */
  margin: 1rem;
  padding: 0.6rem 1.25rem;
  font-family: Yanone Kaffeesatz;
  font-weight: 500;
  font-size: 1.5em;
  background-color: #800000;
  color: #fff;
  border-radius: 0.3rem;
  text-decoration: none;
  text-align: center;
  transition: background-color, 0.3s ease, color, 0.3s ease;
}




.card-btn:hover {
  background-color: #f2ede4;
  color: #222;
}

.card-btn:focus {
  background-color: #f2ede4;
  color: #222;
}


.card-extra {
  display: none;
  margin-top: 1rem;
  text-align: center;
  color: #555;
}

.card-extra.show {
  display: block;
  margin-top: 1rem;
  animation: fadeIn 0.4s ease forwards;
}

.card-ul{
    display: inline;
    margin: auto;
    list-style: none;
    text-align: center;
    font-family: Raleway;
    font-size: large;
}

.card-li{
    background-color: rgba(255, 255, 255, 0.5);
max-width: 90%;
font-size: 1rem;
padding: 10px;
margin: auto;
margin-bottom: 10px;
margin-top: 10px;
border: 2px solid #800000;
border-radius: 0.2rem;
}

.list-item{
  margin: 0.2rem;
  text-align: left;
}


/* Contactform */

.card-text{
  display: flex;
  flex-direction: column;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Contacts Location */

/* --- Map Section Styling --- */

.map-container {
  width: 90%;
  max-width: 1200px;
  background: #f2ede441;
  border: 1px solid #550000;
  border-radius: 16px;
  box-shadow: 0 6px 25px rgba(0,0,0,0.15);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.map-container:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.map-heading {
  font-family: 'Oswald', sans-serif;
  font-size: 1.5rem;
  color: #111111b4;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 1.5rem 2rem 0.5rem 2rem;
 
}

.map-description {
  font-family: 'Raleway', sans-serif;
  font-size: 1rem;
  color: #333;
  padding: 0 2rem 1rem 2rem;
}

.map-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  
  filter: grayscale(80%) contrast(95%);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 4px;
  filter: grayscale(80%) contrast(95%);
  transition: filter 0.4s ease;
}

.map-frame iframe:hover {
  filter: grayscale(0%) contrast(100%);
}

/* email Links in text */
p a{
  text-decoration: none;
  color: #660000;
  
}


/* Responsiviteit */
@media screen and (max-width: 768px) {
  .map-heading {
    font-size: 1.6rem;
  }
  .map-description {
    font-size: 0.9rem;
  }
}

/* --- About Section --- */
.about-section {
  /* background: #fff; */
  color: #111;
  display: flex;
  justify-content: center;
  /* padding: 1.5rem 1rem; */
}

.about-container {
  /* width: 90%; */
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  gap: 3rem;

}

/* Header */
.about-header {
  text-align: center;
}

.about-title {
  font-family: 'Oswald', sans-serif;
  font-size: 2.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #111;
}


.about-subtitle {
  font-family: 'Raleway', sans-serif;
  font-size: 1rem;
  color: #550000;
  letter-spacing: 1px;
  margin-top: 0.5rem;
}

/* ------------------About Content------------------ */
.about-content {
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.about-image img {
  width: 300px;
  border-radius: 8px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  filter: grayscale(100%) contrast(90%);
  transition: filter 0.4s ease;
}

.cta-section img {
  width: 500px;
  border-radius: 8px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  filter: grayscale(100%) contrast(90%);
  transition: filter 0.4s ease;


}


.about-image, img:hover {
  filter: grayscale(0%) contrast(100%);
}
.cta-image, img:hover {
  filter: grayscale(0%) contrast(100%);
}

  /*  Rollover image styles  */
  .figure {
    position: relative;
    width: 360px; /* can be omitted for a regular non-lazy image */
    max-width: 100%;
    
  }
  .figure img.image-hover {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    object-fit: contain;
    opacity: 0;
    transition: opacity .2s;
  }
  .figure:hover img.image-hover {
    opacity: 1;
  }
.about-text {
  flex: 1;
  font-family: 'Raleway', sans-serif;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #333;
}

/* ------------------CV Section---------------- */




.cv-section {
  border-top: 2px solid #550000;
  padding-top: 2rem;
    position: relative;
}
.info-section {
  border-bottom: 2px solid #550000;
  padding-bottom: 2rem;
  padding-top: 2rem;
    position: relative;
    max-width: 40%;

}

.cv-heading {
  font-family: 'Oswald', sans-serif;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  color: #111;
  text-transform: uppercase;
  letter-spacing: 1px;
  width: 200px;
  margin: auto;
}

.cv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.courses-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
}

/* CV Item Base */
.cv-item {
  background: #f2ede46b;
  border-radius: 10px;
  display: flex;
  align-items: center;
  padding: 1.5rem;
  position: relative;
  border-left: 4px solid #550000;
  overflow: hidden;
  min-height: 300px; /* fixed height to prevent layout shift */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.cv-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
  height: 520px;
}

/* Icon Section */
.cv-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  margin-right: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}


.cv-icon img {
  width: 36px;
  height: 36px;
  opacity: 0.85;
}

/* Content */
.cv-content {
  flex: 1;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.cv-role {
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  color: #111;
  margin-bottom: 0.2rem;
}

.cv-company {
  font-family: 'Raleway', sans-serif;
  color: #550000;
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
}

/* Text Layers */
.cv-short,
.cv-long {
  font-family: 'Raleway', sans-serif;
  font-size: 0.9rem;
  color: #333;
  line-height: 1.4;
  position: absolute;
  left: 0;
  right: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
  will-change: opacity, transform;
  
}

/* Position short + long properly */
.cv-short {
  top: 3.5rem;
  opacity: 1;
  transform: translateY(0);
  z-index: 2;
}

.cv-long {
  top: 3.5rem;
  opacity: 0;
  transform: translateY(20px);
  z-index: 1;
}

/* Hover state: swap visibility */
.cv-item:hover .cv-short {
  opacity: 0;
  transform: translateY(-20px);
  z-index: 1;
}

.cv-item:hover .cv-long {
  opacity: 1;
  transform: translateY(0);
  z-index: 2;

}


/* RESPONSIVE */
@media screen and (max-width: 768px) {
  .cv-grid {
    grid-template-columns: 1fr;
  }

  .cv-item {
    height: auto;
    flex-direction: column;
    align-items: flex-start;
  }

  .cv-icon {
    margin-bottom: 0.5rem;
  }
.info-section {
 max-width: 70%;

}
  /* Op mobiel: toon beide teksten onder elkaar zonder hover */
  .cv-short,
  .cv-long {
    position: static;
    opacity: 1;
    transform: none;
    z-index: auto;
  }
  .about-title{
    font-size: 1.5rem;
  }


}

/* CTA */
.cta-section {
    border-top: 2px solid #550000;
  padding-top: 2rem;
  align-items: center;
  display: flex;
}

.cta-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-left: 2rem;
}

.cta-section p {
  font-family: 'Raleway', sans-serif;
  font-size: 1rem;
  margin: 1rem;
  text-align: center;

}



.cta-btn {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  color: #fff;
  background-color: #550000;
  padding: 0.8rem 1.8rem;
  border-radius: 4px;
  text-decoration: none;
  letter-spacing: 1px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta-btn:hover {
  background-color: #7b0000;
  transform: translateY(-2px);
}

/* Responsief */
@media screen and (max-width: 768px) {
  .cv-grid {
    grid-template-columns: 1fr;
  }

  .about-content {
    flex-direction: column;
  }

  .about-image img {
    width: 100%;
    max-width: 350px;
  }
  
  .info-section {
 max-width: 100%;

}
.about-container {
  width: 90%;}
}


/* ------------------------ Tools Section -------------------------- --- */
/* --- Tools Section --- */
.tools-section {
  /* background: #fff; */
  padding: 1rem 1rem;
  margin-bottom: 8rem;
  max-width: 900px;
  display: flex;
  justify-content: center;
}

.tools-container {
  max-width: 1200px;
  width: 100%;
  text-align: center;
}

.tools-title {
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  text-align: center;
  text-transform: uppercase;
  color: #111;
  letter-spacing: 2px;
  margin: 0.5rem;
}

#title-plus {
    color: #00000080;
}

.tools-subtitle {
  font-family: 'Raleway', sans-serif;
  font-size: 1rem;
  color: #00000075;
  margin-bottom: 3rem;
}

/* Grid Layout */
.tools-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  perspective: 100px;
}

/* Compact Flip Card */
.tool-card {
  width: 140px;
  height: 160px;
  position: relative;
  perspective: 1000px;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}


.tool-card:hover {
  transform: scale(1.15);
  z-index: 5;
}

/* Flip mechanism */
.tool-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.8s ease;
}

.tool-card:hover .tool-inner {
  transform: rotateY(180deg);
}

.tool-front,
.tool-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
  background: #f2ede46b;
  border: 2px solid transparent;
  transition: all 0.2s ease;
}


.tool-front:hover {
  border-color: #550000;
}

.tool-back {
  background: #55000065;
  color: #fff;
  transform: rotateY(180deg);
  padding: 0.6rem;
  font-family: 'Raleway', sans-serif;
  font-size: 0.75rem;
  line-height: 1.4;
}


 #plus-card {
background: #ad36361c;
}

/* Icon */
.tool-icon {
  width: 45px;
  height: 45px;
  margin-bottom: 0.5rem;
}



.tool-card:hover .tool-icon {
  filter: grayscale(0%) contrast(100%);
}


/* Dots for proficiency */
.proficiency {
  display: flex;
  padding-top: 1rem;
  gap: 0.4rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #4444447e;
  transition: background 0.2s ease;
}

.dot.active {
  background: #550000; /* dark red accent */
}

.tool-card:hover .dot.active {
  background: #550000; /* lighter red when hovered */
}


/* Responsief */
@media screen and (max-width: 768px) {
  .tool-card {
    width: 120px;
    height: 140px;
  }

  /* Verwijder hover effect */
  .tool-card:hover .tool-inner {
    /* transform: none; */
  }

  /* Mobiele tap flip */
  .tool-card.flipped .tool-inner {
    transform: rotateY(180deg);
  }

  .tool-card {
    cursor: pointer;
  }
}

/* ---------------- LANDING PAGE ---------------- */

.landing-hero {
  width: 100%;
  height: 100vh;
  /* background: #fff; witte achtergrond */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* ---------- HERO IMAGE + CROSSFADE ---------- */

.hero-image-container {
position: absolute;
  max-width: 200px;

}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: opacity 1.5s ease;
}

.hero-image.hover { opacity: 0; }
.hero-image-container:hover .hover { opacity: 1; }
.hero-image-container:hover .main { opacity: 0; }

/* ---------- HORIZONTAL ROW ---------- */

.landing-row {
  display: flex;
  align-items: center;
  gap: 3rem;
}

/* ---------- LOGO REVEAL ---------- */

.landing-logo {
  width: 110px;
  opacity: 0;
  transform: scale(0.98);
  animation: fadePop 1.2s ease forwards 1.2s;

}
.landing-logo-lines {
  position: absolute;
 margin-top: 37px;
margin-left: 20px;
  width: 330px;
  opacity: 0;
  mix-blend-mode: multiply;
  z-index: -20;
  transform: scale(1.03);
  animation: fadePop 1s ease forwards 1s;

}



/* ---------- WORD LINKS ---------- */

.landing-link {
  font-family: 'Oswald', sans-serif;
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(0,0,0,0.55);
  position: relative;
  opacity: 0;
  /* transform: translateY(10px); */
 animation: fadePop 1.8s ease forwards 2.8s;
}

/* Same underline line animation as your main nav */
.landing-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: #550000;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
  opacity: 0.4;
}

.landing-link:hover::after {
  transform: scaleX(1);
  opacity: 1;
}

.landing-link:hover {
  color: #550000;
}


/* ---------- REVEAL TIMING ---------- */

/* .landing-link:nth-child(4) { animation-delay: 1.3s; } */
/* .landing-link:nth-child(4) { animation-delay: 1.45s; }
.landing-link:nth-child(4) { animation-delay: 1.6s; }
.landing-link:nth-child(4) { animation-delay: 1.75s; } */

/* ---------- ANIMATIONS ---------- */

@keyframes fadePop {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes linkReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- RESPONSIVE ---------- */

@media screen and (max-width: 768px) {
  .landing-row {
    flex-direction: column;
    gap: 1.4rem;
  }

  .landing-logo {
    width: 90px;
  }

  .landing-link {
    font-size: 1.1rem;
  }

  .hero-image-container {
    width: 70vw;
    max-width: none;
  }
  .landing-logo-lines {
    margin-top: -40px;
  margin-left: 15px;
  width: 280px;
}
}




/* ---------- Responsive Design ---------- */
/* TABLETVIEW */
@media screen and (max-width: 1024px) {
.content-section{
  margin-top: 50px;
  margin-left: 10px;
  margin-right: 10px;
}

.page-title {
    display: flex;
    width: 80%;
    justify-content: center;
    padding: .4rem;
    border-radius: 0.2rem;
    margin-bottom: 10px;
    box-shadow: 0 -4px -30px rgba(0,0,0,0.08);
}

  .about-section {
  padding-top: 2.5rem;
  }  

}
@media screen and (max-width: 768px) {
.content-section{
  margin-top: 40px;
}

.cta-section {
  display: block;
 min-width: 300px;
}

.cta-box { 
  padding-left: 0;
}

.cta-section img {
  Margin-left: 12%;
}


/* 
  .logo, .header-image {
    height: 60px;
  } */

  .nav-buttons {
    flex-wrap: wrap;
    /* gap: 0.2rem; */
  }

  .project-links {
    gap: 0.5rem;
    font-size: 0.9rem;
  }
}


.card-image {
    width: 100%;
    height: 238px;
    object-fit: cover;
    border-radius: 0.2rem;
    margin-bottom: 1rem;
}

@media screen and (max-width:768px) {
  .cta-section img {
  Margin-left: 0;
}
}




@media screen and (max-width: 600px) {
.content-section{
  margin-top: 6px;
}

.cta-section img {
  Margin-left: 2%;
}