/* BASIS */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(118deg, #CAA9FC 5.42%, #9465DD 29.32%, #7852B7 48.53%, #6E4DAA 61.76%, #58418C 94.2%);
  color: black;
}

.site-header {
  background: linear-gradient(90deg, #A9EBAF 0%, #85D18C 25%, #6FBA76 49.52%, #60AA67 74.52%, #618965 100%);
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav {
  display: flex;
  gap: 20px;
}

.logo,
nav a {
  color: black;
  text-decoration: none;
  font-weight: bold;
}

.logo:hover,
nav a:hover {
  opacity: 0.6;
}

/* Gradient tekst (logo en titels) */
.logo-style {
  background: linear-gradient(90deg, #06d0eb, #2b44e7, #051774);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.naam-style,
.title-style,
.gradient-title {
  background: linear-gradient(90deg, #0857d7, #0f24b1, #051774);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

footer {
  padding: 12px 0 16px;
}

footer p {
  font-size: 11px;
  text-align: center;
}

/* Glas kaarten gedeeld door projecten, vaardigheden en contact */
.project-card,
.skill-card,
.contact-card {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
}


/* PAGINA HOME */

.page-home main {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 40px 20px;
}

.intro {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
}

.intro-text {
  display: flex;
  flex-direction: column;
  gap: 50px;
  flex: 1.3;
}

.intro-text h1 {
  font-size: 40px;
  line-height: 1.2;
}

.intro-text h2 {
  font-size: 32px;
}

.intro-text h3 {
  font-size: 24px;
}

.intro-text p {
  font-size: 20px;
  line-height: 1.5;
}

.opleiding-style {
  background: linear-gradient(160deg, #85D18C 25%, #6FBA76 51%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.about {
  margin-top: 10px;
  max-width: 680px;
}

.intro-image {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 40px;
  padding-right: 100px;
}

.profile-img {
  width: 75%;
  object-fit: cover;
  border-radius: 50%;
  border: 18px solid transparent;
  background:
    radial-gradient(96.58% 18.11% at 80.09% 64.02%, transparent 0%, rgba(108, 178, 115, 0.20) 100%),
    radial-gradient(93.77% 91.14% at 12.68% 23.39%, #ABF0B1 0%, #59995F 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
}

.latest-project {
  width: 400px;
  padding: 16px 20px;
  background: linear-gradient(90deg, #0857d729, #0f25b12f, #061d8e25);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 14px;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.latest-project h4 {
  margin: 0 0 8px 0;
  font-size: 18px;
}

.latest-project p {
  font-size: 15px;
  line-height: 1.4;
  margin-bottom: 12px;
}

.project-link {
  font-weight: bold;
  color: #000;
  text-decoration: none;
}

.project-link:hover {
  text-decoration: underline;
}


/* PAGINA: PROJECTEN */

.projects-container {
  flex: 1;
  width: 95%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 10px;
}

.projects-container .intro-section {
  text-align: center;
  margin-bottom: 40px;
}

.projects-container .intro-section h1 {
  font-size: 38px;
  margin: 25px 0 10px;
}

.projects-container .intro-section p {
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.5;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.project-card {
  border-radius: 16px;
  padding: 25px;
  justify-content: space-between;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card-content h2 {
  margin-bottom: 8px;
  font-size: 22px;
}

.card-content p {
  font-size: 14px;
  line-height: 1.4;
  margin: 14px 0;
  opacity: 0.9;
}

.card-preview {
  width: 100%;
  height: 180px;
  margin: 15px 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-buttons {
  display: flex;
  gap: 10px;
  width: 100%;
}

.project-btn {
  flex: 1;
  display: inline-block;
  text-align: center;
  background-color: #51b55d;
  color: white;
  text-decoration: none;
  padding: 12px 10px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 14px;
  transition: background-color 0.2s ease, transform 0.15s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.project-btn:hover {
  background-color: #3b9946;
  transform: translateY(-2px);
}


/* PAGINA: VAARDIGHEDEN */

.page-skills {
  height: 100vh;
  justify-content: space-between;
}

.skills-container {
  flex: 1;
  width: 95%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.skills-container .intro-section {
  text-align: center;
  margin-bottom: 25px;
}

.skills-container .intro-section p {
  font-size: 17px;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.4;
}

.gradient-title {
  font-size: 38px;
  margin-bottom: 8px;
  display: inline-block;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.skill-card {
  border-radius: 16px;
  padding: 26px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.skill-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card-header h2 {
  margin-bottom: 8px;
  font-size: 23px;
}

.skill-card p {
  font-size: 15px;
  line-height: 1.4;
  opacity: 0.9;
  margin-bottom: 16px;
}

.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.skill-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #387040 0%, #1e4223 100%);
  color: white;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.skill-tag i {
  font-size: 16px;
}

.skill-tag.highlight {
  background: linear-gradient(135deg, #2e5933 0%, #15331a 100%);
  border: 1px solid #85D18C;
}

.skill-tag.learning {
  background: linear-gradient(135deg, rgba(30, 30, 30, 0.8) 0%, rgba(0, 0, 0, 0.9) 100%);
  border: 1px dashed rgba(255, 255, 255, 0.6);
}


/* PAGINA: CONTACT (contact.html) */

.page-contact main {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
}

.contact-container {
  max-width: 1100px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-header h1 {
  font-size: 38px;
  margin-bottom: 6px;
}

.contact-header p {
  font-size: 18px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}

.contact-card {
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 14px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  padding: 28px;
  gap: 20px;
}

.contact-card h2 {
  font-size: 24px;
}

.info-label {
  font-size: 14px;
  opacity: 0.85;
  display: block;
  margin-bottom: 4px;
}

.email-link {
  font-size: 18px;
  font-weight: bold;
  color: #000;
  text-decoration: underline;
}

.socials h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.social-list {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.social-list a {
  color: #000;
  font-weight: bold;
  text-decoration: none;
}

.social-list a:hover {
  text-decoration: underline;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  padding: 12px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 10px;
  font: inherit;
  outline: none;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

input:focus,
textarea:focus {
  background: #fff;
  border-color: #0857d7;
  box-shadow: 0 0 0 3px rgba(8, 87, 215, 0.25);
}

.btn-submit {
  padding: 12px;
  background: linear-gradient(90deg, #A9EBAF 0%, #60AA67 100%);
  color: #000;
  border: none;
  border-radius: 10px;
  font-weight: bold;
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn-submit:hover {
  opacity: 0.85;
}


/* RESPONSIVE */

@media screen and (max-width: 950px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 850px) {
  .page-skills {
    height: auto;
  }

  .skills-grid {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 768px) {
  /* Overal */
  .site-header {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  /* Home */
  .intro-text h1 {
    font-size: 32px;
  }

  .intro-text h2 {
    font-size: 26px;
  }

  .intro-text p {
    font-size: 16px;
  }

  .intro {
    flex-direction: column-reverse;
    gap: 40px;
  }

  .intro-text {
    gap: 25px;
    text-align: center;
  }

  .intro-image {
    align-items: center;
    padding-right: 0;
    width: 100%;
  }

  .profile-img {
    width: 60%;
    border-width: 10px;
  }

  .latest-project {
    width: 100%;
    max-width: 100%;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}

@media screen and (max-width: 650px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .projects-container .intro-section h1 {
    font-size: 32px;
  }

  .card-buttons {
    flex-direction: column;
  }

  .gradient-title {
    font-size: 30px;
  }
}

@media screen and (max-height: 800px) {
  .page-skills {
    height: auto;
  }
}
