* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: #e9ecef;
  background-color: #0a0c10;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.example::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.example {
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
nav {
  background: rgba(18, 20, 25, 0.95);
  backdrop-filter: blur(10px);
  color: #e9ecef;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  border-bottom: 2px solid #1e2228;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-content h1 {
  font-size: 1.8rem;
  font-weight: 700;
  background: linear-gradient(45deg, #ff3e3e, #ff8f3e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav ul li a {
  color: #e9ecef;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

nav ul li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(45deg, #ff3e3e, #ff8f3e);
  transition: width 0.3s ease;
}

nav ul li a:hover::after {
  width: 100%;
}

/* Sections */
section {
  padding: 120px 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

#home {
  background: linear-gradient(
      135deg,
      rgba(30, 34, 40, 0.95),
      rgba(18, 20, 25, 0.95)
    ),
    url("https://source.unsplash.com/random/1920x1080?dark,industrial")
      no-repeat center center/cover;
  color: #e9ecef;
  text-align: center;
  position: relative;
  overflow: hidden;
}

#home::before {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M54.627 0l.83.828-1.415 1.415L51.8 0h2.827zM5.373 0l-.83.828L5.96 2.243 8.2 0H5.374zM48.97 0l3.657 3.657-1.414 1.414L46.143 0h2.828zM11.03 0L7.372 3.657 8.787 5.07 13.857 0H11.03zm32.284 0L49.8 6.485 48.384 7.9l-7.9-7.9h2.83zM16.686 0L10.2 6.485 11.616 7.9l7.9-7.9h-2.83zM22.344 0L13.858 8.485 15.272 9.9l7.9-7.9h-.828zm5.656 0L19.515 8.485 17.343 10.657 28 0h-2.83zM32.656 0L26.172 6.485 24 8.657 34.657 0h-2zM44.97 0L40.5 4.472 36.03 0h8.94zM12.807 0L9.5 3.308 6.193 0h6.614zM48.743 0L42.5 6.243 36.257 0h12.486zM15.964 0L9.5 6.464 3.036 0h12.928zM3.964 0L.5 3.464l-.5.536V0h3.964zM59.5 3.464L56.036 0H60v.536l-.5 2.928z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
  opacity: 0.5;
  animation: slide 60s linear infinite;
  z-index: 1;
}

@keyframes slide {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(-50%, -50%);
  }
}

#home .container {
  position: relative;
  z-index: 2;
}

#home h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  letter-spacing: -1px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  text-transform: uppercase;
}

#home p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: rgba(233, 236, 239, 0.9);
  font-weight: 300;
}

.cta-button {
  padding: 1.2rem 3rem;
  font-size: 1.1rem;
  background: linear-gradient(45deg, #ff3e3e, #ff8f3e);
  color: #fff;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  box-shadow: 0 4px 15px rgba(255, 62, 62, 0.3);
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 62, 62, 0.4);
}

/* Over sectie layout */
.over-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: stretch; /* Zorgt ervoor dat beide kolommen even hoog worden */
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  gap: 30px;
}

.over-container {
  flex: 1 1 60%;
  min-width: 280px;
  max-width: 800px;
}

.over-container h2 {
  font-size: 2.5rem;
}

.CV-button {
  display: inline-block;
  background: linear-gradient(to right, #ff4b2b, #ff914d);
  color: white;
  text-decoration: none;
  font-weight: bold;
  padding: 10px 20px;
  border-radius: 5px;
  transform: skewX(-10deg);
  transition: all 0.3s ease;
  text-align: center;
}

.CV-button:hover {
  background: linear-gradient(to right, #ff914d, #ff4b2b);
  transform: skewX(-10deg) scale(1.05);
}

/* Rechterkolom met afbeelding */
.over-image-container {
  flex: 1 1 35%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.over-image {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Houdt de verhouding goed terwijl de container gevuld wordt */
  border-radius: 16px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}



/* Projects */
#projects {
  background: #12141a;
}

.projects-container {
  min-width: 1500px;
  margin: 0 auto;
  padding: 0 20px;
}

#projects h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #e9ecef;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 2px;
}

#projects h2::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background: linear-gradient(45deg, #ff3e3e, #ff8f3e);
  margin: 1rem auto;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
}

.project-card {
  background: #1e2228;
  max-width: 500px;
  padding: 2rem;
  padding-bottom: 3rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - 15px),
    calc(100% - 15px) 100%,
    0 100%
  );
  border: 1px solid #2a2e35;
}

.project-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(45deg, #ff3e3e, #ff8f3e);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.project-card:hover {
  transform: translateY(-10px);
  border-color: #ff3e3e;
}

.project-card:hover::before {
  transform: scaleX(1);
}

.project-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #e9ecef;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.project-card p {
  color: #9ca3af;
  line-height: 1.6;
}

.project-card a {
  background: linear-gradient(45deg, #ff3e3e, #ff8f3e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: underline;
  position: absolute;
  bottom: 5%;
  left: 10%;
}

/* Contact Form */
#contact {
  background: #0a0c10;
  color: #e9ecef;
  padding: 3rem 0;
}

.contact-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 2000px;
  margin: 0 auto;
  padding: 0 20px;
}

#contact h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #e9ecef;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Flexbox layout for contact form and info */
.contact-content {
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: flex-start;
  max-width: 1200px;
}

.contact-info {
  flex: 1;
  max-width: 500px;
}

.contact-info h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.contact-info p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.contact-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-info ul li {
  font-size: 1rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-info ul li a {
  text-decoration: underline;
  color: white;
}

/* Form styles */
#contact-form {
  flex: 1.5;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: #1e2228;
  padding: 2rem;
  clip-path: polygon(
    15px 0,
    100% 0,
    100% calc(100% - 15px),
    calc(100% - 15px) 100%,
    0 100%,
    0 15px
  );
  border: 1px solid #2a2e35;
}

#contact-form input,
#contact-form textarea {
  padding: 1rem;
  background: #12141a;
  border: 1px solid #2a2e35;
  color: #e9ecef;
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: "Poppins", sans-serif;
}

#contact-form input:focus,
#contact-form textarea:focus {
  outline: none;
  border-color: #ff3e3e;
  box-shadow: 0 0 0 3px rgba(255, 62, 62, 0.1);
}

#contact-form textarea {
  height: 150px;
  resize: vertical;
}

#contact-form button {
  padding: 1rem;
  background: linear-gradient(45deg, #ff3e3e, #ff8f3e);
  color: white;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}

#contact-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 62, 62, 0.3);
}

@media only screen and (max-width: 1024px) {
  .projects-container {
    min-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
  }

  #projects h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #e9ecef;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 2px;
  }

  #projects h2::after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background: linear-gradient(45deg, #ff3e3e, #ff8f3e);
    margin: 1rem auto;
  }

  .project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
  }
}

@media only screen and (max-width: 450px) {
  .nav-content {
    flex-direction: column;
  }

  nav ul {
    gap: 0;
  }

  nav ul li a {
    padding: 0.5rem 0.8rem;
    font-size: 0.9rem;
  }

  #home h2 {
    font-size: 2rem;
  }

  #home p {
    font-size: 1.3rem;
  }

  .over-container h2 {
    font-size: 2rem;
  }

  #projects h2{
    font-size: 2rem;
  }

  .contact-container h2{
    font-size: 2rem;
  }

  .cta-button {
    padding: 0.8rem 1.3rem;
    font-size: 0.8rem;
  }

  .projects-container {
    min-width: 300px;
  }


}

@media only screen and (max-width: 400px) {
  nav ul li a {
    padding: 0.5rem 0.6rem;
    font-size: 0.8rem;
  }

  #home h2 {
    font-size: 2rem;
  }

  #home p {
    font-size: 1.3rem;
  }

  .over-container h2 {
    font-size: 2rem;
  }

  #projects h2{
    font-size: 2rem;
  }

  .contact-container h2{
    font-size: 2rem;
  }
}