/*ALGEMENE DINGEN*/
* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background-color: #f9fafc;
  color: #222;
  height: 100%;
  scroll-behavior: smooth;
}

/*LAYOUT STRUCTUUR*/
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
  width: 90%;
  max-width: 1100px;
  margin: 100px auto;
  background-color: #fff;
  padding: 60px 80px;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}


.intro {
  text-align: center;
}

.intro h2 {
  font-size: 34px;
  margin-bottom: 20px;
  color: #0b2545;
}

.intro p {
  font-size: 18px;
  color: #444;
  width: 70%;
  margin: 0 auto;
  line-height: 1.7;
}

/*OVER MIJ*/
.about {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  flex-wrap: wrap;
}

.profile-photo {
  width: 35%;
  max-width: 350px;
  border-radius: 50%;
  border: 4px solid #4da3ff;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

.bio {
  width: 55%;
}

.bio h2 {
  font-size: 28px;
  color: #0b2545;
}

.bio p {
  font-size: 17px;
  color: #444;
  line-height: 1.7;
}

/*HOBBIES*/
.hobbies {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 40px;
  flex-wrap: wrap;
}

.hobby-card {
  background: #f9fafc;
  border: 1px solid #ddd;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  width: 47%;
  min-width: 250px;
  padding: 30px 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hobby-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.hobby-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
  background-color: #f5f5f5; 
  border-radius: 8px;
}

.hobby-card h3 {
  font-size: 20px;
  color: #0b2545;
}

.hobby-card p {
  font-size: 15px;
  color: #555;
}

/*CV PAGINA*/
.cv-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
  width: 90%;
  max-width: 1200px;
  background: #fff;
  padding: 40px 60px;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.cv-left, .cv-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cv-left h2 {
  font-size: 30px;
  color: #0b2545;
  margin-bottom: 20px;
}

.cv-left h3 {
  color: #0b2545;
  border-left: 4px solid #4da3ff;
  padding-left: 10px;
  margin-bottom: 10px;
  font-size: 20px;
}

.cv-left ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 30px;
}

.cv-left li {
  font-size: 16px;
  margin-bottom: 8px;
}

.cv-right img,
.cv-photo {
  width: 100%;
  max-width: 380px;
  border-radius: 10px;
  border: 1px solid #ccc;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

#purplebar {
  background-color: rgb(139, 3, 174) !important;
}

#greenbar {
  background-color: rgb(22, 120, 48) !important;
}

#owlhouseSkills { 
  width: 320px;
}

.owl-dots {
  text-align: center;
  margin-top: 10px;
  white-space: nowrap;
  justify-content: center;
}

.owl-nav button {
  background: rgba(0,0,0,0.5);
  color: black !important;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  pointer-events: auto;
}

.owl-nav button:hover {
  background: rgba(0,0,0,0.8);
}
.owl-carousel {
  position:relative;
}

@media (max-width: 600px) {
  #owlhouseSkills {
    width: 250px;
  }
  .cardSize {
    width: 250px;
  }
}

@media screen and (max-width: 950px) {
  .cv-layout {
    grid-template-columns: 1fr;
    padding: 40px 20px;
  }

  .cv-right {
    justify-content: center;
    margin-top: 30px;
    width: 100%;
  }

  .cv-right img {
    max-width: 90%;
  }
}

/*HET CONTACT */
.contact-form {
  max-width: 500px;
  margin: 0 auto;
  background: #fdfdfd;
  padding: 35px 40px;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.contact-form label {
  display: block;
  font-weight: 600;
  color: #0b2545;
  margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 18px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
  transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #4da3ff;
  outline: none;
}

.textArea {
  field-sizing: content; 
  resize: vertical;
}

.center {
  text-align: center;
}

.send-button {
  background-color: #0b2545;
  color: white;
  border: none;
  padding: 14px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 6px;
  width: 100%;
  font-weight: 600;
  transition: background-color 0.2s ease;
} 

.send-button:hover {
  background-color: #12376e;
}

/*DE FOOTER*/
footer {
  background-color: #0b2545;
  color: white;
  text-align: center;
  padding: 20px 5%;
  font-size: 14px;
  margin-top: auto;
}

footer p {
  margin: 5px 0;
}
footer a:hover {
  text-decoration: underline;
}

/*RESPONSIVE*/
@media screen and (max-width: 768px) {
  main {
    padding: 40px 30px;
  }

  .about {
    flex-direction: column;
    text-align: center;
  }

  .profile-photo {
    width: 60%;
  }

  .bio {
    width: 100%;
  }

}

/*HERO SECTIE*/
.hero {
  width: 100%;
  height: 60%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  box-sizing: border-box;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(70%);
  position: relative;
  background-position: center;
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
}

.hero-text h2 {
  font-size: 36px;
  margin-bottom: 10px;
  font-weight: 600;
}

.hero-text p {
  font-size: 18px;
  width: 80%;
  margin: 0 auto;
}

/*BLOKKEN OP HOMEPAGINA*/
.home-content {
  background-color: #fff;
  padding: 60px 5%;
  text-align: center;
}

.info-blokken {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 40px;
  flex-wrap: wrap;
}

.blok {
  background: #f9fafc;
  border: 1px solid #ddd;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  width: 47%;
  min-width: 250px;
  padding: 30px 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blok:hover {
  transform: translateY(-6px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.blok h3 {
  color: #0b2545;
  margin-bottom: 10px;
}

.blok p {
  color: #555;
  margin-bottom: 20px;
}

.blok-btn {
  background-color: #0b2545;
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.2s ease;
}

.blok-btn:hover {
  background-color: #12376e;
}

@media screen and (max-width: 900px) {
  .info-blokken {
    flex-direction: column;
    gap: 25px;
  }

  .blok {
    width: 80%;
    margin: 0 auto;
  }
}

.carousel .carousel-item {
  height: 750px;
}

.carousel .carousel-item img {
  height: 750px;
  width: 425px;
  object-fit: contain;
}

.tekstSlider {
  color: white;
}

.carousel-control-prev-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E") !important;
}

.carousel-control-next-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E") !important;
}

.nav-bg {
  background-color: #0b2545 !important
}