/* =========================================================
   LAURA DEWILDE — CLEAN STYLE SHEET
   Consolidated from the original CSS.
   The visual design is kept the same; duplicate/overridden
   declarations have been removed and responsive rules cleaned up.
   ========================================================= */

/* ---------- Base ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100%;
}

body {
  background: #f3f1ed;
  color: #1b2f52;
  font-family: "Karla", sans-serif;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
}

main {
  width: 100%;
}

/* ---------- Header / navigation ---------- */

header {
  position: sticky;
  top: 0;
  z-index: 1000;

  width: 100%;
  min-height: 0;
  padding: 18px 6vw;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;

  background: rgba(32, 89, 166, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
}

.logo {
  width: 70px;
  height: auto;
  flex-shrink: 0;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: rotate(-4deg) scale(1.05);
}

.topnav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 32px;
  margin-left: auto;
  flex-wrap: nowrap;
}

.topnav .active {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 32px;
  flex-wrap: nowrap;
}

.topnav a {
  position: relative;
  display: block;
  flex-shrink: 0;
  white-space: nowrap;

  color: white;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;

  padding: 8px 0;

  transition:
    color 0.3s ease,
    transform 0.3s ease;
}

.topnav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;

  width: 0;
  height: 2px;

  background: #fafad2;
  transition: width 0.3s ease;
}

.topnav a:hover {
  color: #fafad2;
  transform: translateY(-2px);
}

.topnav a:hover::after {
  width: 100%;
}

/* ---------- General sections ---------- */

section {
  width: min(1100px, 90%);
  margin: 0 auto;
  padding: 100px 0;
}

section h2 {
  position: relative;

  margin: 0 0 55px;

  color: #1757ad;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -1.5px;
  text-align: center;
}

section h2::after {
  content: "";
  display: block;

  width: 55px;
  height: 4px;
  margin: 18px auto 0;

  background: #1757ad;
  border-radius: 20px;
}

/* ---------- Home ---------- */

.home {
  position: relative;

  min-height: 100vh;
  width: 100%;
  padding: 130px 6vw 80px;

  overflow: hidden;
}

.home h1 {
  position: relative;
  z-index: 2;

  max-width: 1200px;
  margin: 0;

  font-family: "Arimo", sans-serif;
  font-size: clamp(50px, 11vw, 100px);
  line-height: 0.82;
  font-weight: 700;
  letter-spacing: -8px;
  text-align: center;

  transform: translateY(50px);
  color: #1757ad;
}

.home p {
  position: absolute;
  z-index: 4;

  right: 20vw;
  bottom: 35vh;

  width: min(360px, 30vw);
  margin: 0;

  font-family: "Karla", sans-serif;
  font-size: 19px;
  line-height: 1.45;
  color: #1757ad;
}

.home-portret {
  position: relative;

  width: 400px;
  height: auto;
  margin: 100px 500px 0 0;

  object-fit: cover;
  filter: grayscale(100%);
}

.home::after {
  content: "2003";

  position: absolute;
  top: 35px;
  right: 45px;

  padding: 12px 35px;

  border: 1.5px solid #1757ad;
  border-radius: 50px;

  color: #1757ad;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 2px;
}

/* ---------- Profile ---------- */

.profile {
  width: 100%;
  max-width: none;
  padding: 120px 6vw;

  background:
    radial-gradient(
      circle at 15% 20%,
      rgba(250, 250, 210, 0.7),
      transparent 30%
    ),
    #e9e8e5;
}

.profile-container {
  position: relative;

  width: min(1000px, 100%);
  min-height: 430px;
  margin: 0 auto;
  padding: 45px;

  display: flex;
  align-items: center;
  gap: 70px;

  background: white;
  border-radius: 35px;
  box-shadow: 0 25px 70px rgba(23, 87, 173, 0.12);

  overflow: hidden;
}

.profile-container::before {
  content: "";

  position: absolute;
  top: -90px;
  right: -90px;

  width: 220px;
  height: 220px;

  background: #fafad2;
  border-radius: 50%;
}

.profile-photo {
  position: relative;
  z-index: 2;
  flex: 0 0 260px;
}

.profile-photo::after {
  content: "";

  position: absolute;
  z-index: -1;
  left: 18px;
  top: 18px;

  width: 100%;
  height: 100%;

  background: #1757ad;
  border-radius: 20px;
}

.profile-photo img {
  width: 260px;
  height: 340px;

  object-fit: cover;
  border-radius: 20px;
  filter: grayscale(100%);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);

  transition:
    filter 0.5s ease,
    transform 0.5s ease;
}

.profile-photo img:hover {
  filter: grayscale(0%);
  transform: translateY(-6px);
}

.profile-info {
  position: relative;
  z-index: 2;
  flex: 1;
}

.profile-info h2 {
  margin: 0 0 30px;

  color: #1757ad;
  font-size: clamp(2rem, 4vw, 3rem);
  text-align: left;
}

.profile-info h2::after {
  margin: 15px 0 0;
}

.profile-info ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.profile-info li {
  position: relative;

  padding: 16px 0 16px 10px;

  border-bottom: 1px solid #e5e5e5;

  color: #444;
  font-size: 18px;
  line-height: 1.5;
}

.profile-info li:last-child {
  border-bottom: none;
}

/* ---------- Projects / cards ---------- */

.projecten {
  width: 90%;
  max-width: 1400px;
  margin: 60px auto 120px;

  display: flex;
  flex-direction: column;
  align-items: center;
}

.projecten h2,
.projecten h3,
.projecten h4,
.projecten h5,
.projecten h6,
.projecten h7,
.projecten h8,
.projecten h9,
.projecten h10,
.projecten h11 {
  margin: 100px 0 25px;

  font-family: "Montserrat", sans-serif;
  font-size: clamp(28px, 4vw, 55px);
  font-weight: 700;
  letter-spacing: -1px;
  text-align: center;
}

.projecten h2::before,
.projecten h3::before,
.projecten h4::before,
.projecten h5::before,
.projecten h6::before,
.projecten h7::before,
.projecten h8::before,
.projecten h9::before,
.projecten h10::before,
.projecten h11::before {
  content: "";
  display: block;

  width: 70px;
  height: 4px;
  margin: 0 auto 15px;

  border-radius: 20px;
}

.projecten p {
  max-width: 850px;
  margin: 0 auto 45px;

  color: grey;
  font-size: 18px;
  line-height: 1.55;
  text-align: center;
}

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

.card {
  position: relative;

  min-height: 190px;
  padding: 30px;

  display: flex;
  flex-direction: column;
  justify-content: center;

  background: white;
  border: 1px solid rgba(23, 87, 173, 0.08);
  border-radius: 22px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);

  overflow: hidden;

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.card::before {
  content: "";

  position: absolute;
  left: 0;
  top: 0;

  width: 5px;
  height: 100%;

  background: #1757ad;

  transform: scaleY(0);
  transform-origin: bottom;

  transition: transform 0.35s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(23, 87, 173, 0.13);
}

.card:hover::before {
  transform: scaleY(1);
}

.card h3 {
  margin: 0 0 15px;

  color: #1757ad;
  font-family: "Montserrat", sans-serif;
  font-size: 1.2rem;
  line-height: 1.3;
}

.card p {
  margin: 5px 0;
  font-size: 16px;
  line-height: 1.5;
}

.studies,
.experience,
.computer-vaardigheden {
  background: #f3f1ed;
}

.computer-vaardigheden .card {
  min-height: 170px;
  align-items: center;
  text-align: center;
}

.computer-vaardigheden .card p {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3px;
  margin-top: 15px;
}

.computer-vaardigheden .card img {
  width: 20px;
  height: 20px;
  object-fit: contain;

  transition: transform 0.25s ease;
}

.computer-vaardigheden .card:hover img {
  transform: scale(1.15) rotate(-5deg);
}

/* ---------- Project media ---------- */

.projecten video {
  display: block;

  width: min(900px, 100%);
  height: auto;
  margin: 30px auto 100px;

  background: #111;
  border-radius: 30px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);

  transition: transform 0.4s ease;
}

.projecten video:hover {
  transform: scale(1.015);
}

.foto {
  width: 100%;
  margin: 30px 0 80px;

  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.foto img {
  width: 100%;
  height: 280px;

  object-fit: cover;
  border-radius: 25px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);

  transition:
    transform 0.4s ease,
    border-radius 0.4s ease,
    filter 0.4s ease;
}

.foto img:nth-child(1) {
  border-radius: 60px 15px 60px 15px;
}

.foto img:nth-child(2) {
  border-radius: 15px 60px 15px 60px;
}

.foto img:nth-child(3) {
  border-radius: 60px 15px 15px 60px;
}

.foto img:nth-child(4) {
  border-radius: 15px 60px 60px 15px;
}

.foto img:hover {
  transform: scale(1.04) rotate(-1deg);
  border-radius: 25px;
  filter: brightness(1.08);
  z-index: 2;
}

.foto video {
  width: 100%;
  height: 280px;
  margin: 0;

  object-fit: cover;
  border-radius: 60px 15px 60px 15px;
}

/* ---------- Gallery ---------- */

.galerij {
  position: relative;

  width: 100%;
  padding: 100px 5%;

  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 45px 20px;

  overflow: hidden;
}

.galerij::before,
.galerij::after {
  content: "";

  position: absolute;
  left: 0;

  width: 100%;
  height: 18px;

  background-image: radial-gradient(circle, #1757ad 5px, transparent 6px);
  background-size: 28px 28px;
}

.galerij::before {
  top: 15px;
}

.galerij::after {
  bottom: 15px;
}

.galerij img {
  width: 100%;
  height: 230px;
  padding: 7px;

  object-fit: cover;

  background: grey;
  border: none;
  border-radius: 2px;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.25);

  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

.galerij img:hover {
  position: relative;
  z-index: 5;

  transform: scale(1.08) rotate(0deg);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.galerij img:nth-child(4n + 1),
.galerij img:nth-child(1),
.galerij img:nth-child(11),
.galerij img:nth-child(21),
.galerij img:nth-child(31) {
  border-top: 5px solid #1757ad;
}

.galerij img:nth-child(even) {
  transform: rotate(1deg);
}

.galerij img:nth-child(odd) {
  transform: rotate(-1deg);
}

/* ---------- Contact ---------- */

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto auto auto auto auto;

  max-width: 1000px;
  margin: 50px auto;
  padding: 2rem;

  column-gap: 50px;
  row-gap: 25px;

  align-items: center;
}

.contact > br {
  display: none;
}

.contact > h2:first-of-type {
  grid-column: 1 / 3;

  margin: 0 0 20px;

  color: #1762b2;
  font-size: 50px;
  font-weight: 300;
  text-align: left;
}

.contact h3 {
  grid-column: 1;

  margin: 0;

  font-size: 25px;
  font-weight: 500;
}

.contact > img {
  grid-column: 2;
  grid-row: 2 / 6;

  width: 100%;
  max-width: 400px;
  height: 400px;

  object-fit: cover;
  border-radius: 30px;

  justify-self: center;
}

.contact p:nth-of-type(1),
.contact p:nth-of-type(2) {
  grid-column: 1;
  margin: 0;
  font-size: 20px;
}

.contact .naam {
  grid-column: 1;

  margin: 30px 0 0;

  font-size: 30px;
  font-weight: 300;
}

.logos {
  grid-column: 1;

  display: flex;
  align-items: center;
  gap: 20px;
}

.logos img {
  width: 40px;
  height: 40px;

  transition: transform 0.3s ease;
}

.logos a:hover img {
  transform: scale(1.15);
}

/* ---------- Footer ---------- */

footer {
  padding: 60px 20px;

  background: #1757ad;
  color: white;

  font-family: "Karla", sans-serif;
  font-size: 15px;
  line-height: 1.8;
  text-align: center;

  border-top: 5px solid #fafad2;
}

footer a {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 42px;
  height: 42px;
  margin: 0 5px 25px;

  background: rgba(255, 255, 255, 0.12);
  border-radius: 50%;

  transition: transform 0.3s ease;
}

footer a:hover {
  background: #fafad2;
  transform: translateY(-5px);
}

footer a img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 900px) {
  header {
    padding: 18px 30px;
  }

  .topnav .active {
    gap: 20px;
    flex-wrap: nowrap;
  }

  .topnav a {
    font-size: 12px;
  }

  .home {
    padding: 140px 30px 50px;
  }

  .home h1 {
    font-size: clamp(65px, 12vw, 120px);
    letter-spacing: -5px;
  }

  .home p {
    right: 30px;
    bottom: 50px;
    width: 300px;
    font-size: 17px;
  }

  .home-portret {
    width: 300px;
    height: 48vh;
  }

  .profile {
    padding: 80px 30px;
  }

  .profile-container {
    gap: 45px;
    padding: 35px;
  }

  .profile-photo {
    flex-basis: 210px;
  }

  .profile-photo img {
    width: 210px;
    height: 290px;
  }

  .grid {
    grid-template-columns: repeat(2, 1fr);
  }

  section {
    padding: 80px 0;
  }

  .foto {
    grid-template-columns: repeat(2, 1fr);
  }

  .projecten p {
    font-size: 16px;
  }

  .galerij {
    grid-template-columns: repeat(3, 1fr);
    gap: 35px 15px;
    padding: 80px 4%;
  }

  .galerij img {
    height: 210px;
  }
}

@media (max-width: 700px) {
  .contact {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .contact > h2:first-of-type {
    grid-column: 1;
    text-align: center;
  }

  .contact h3,
  .contact p:nth-of-type(1),
  .contact p:nth-of-type(2),
  .contact .naam,
  .logos {
    grid-column: 1;
    justify-self: center;
  }

  .contact > img {
    grid-column: 1;
    grid-row: auto;

    width: 300px;
    height: 300px;
  }

  .logos {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  header {
    position: relative;

    flex-direction: column;
    gap: 18px;
    padding: 20px;
  }

  .logo {
    width: 60px;
  }

  .topnav {
    width: 100%;
    justify-content: center;
  }

  .topnav .active {
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 18px;
  }

  .topnav a {
    font-size: 11px;
    letter-spacing: 0.5px;
  }

  .home {
    min-height: calc(100vh - 90px);
    padding: 30px 20px 0;

    display: flex;
    flex-direction: column;
  }

  .home h1 {
    font-size: clamp(40px, 10vw, 50px);
    line-height: 0.85;
    letter-spacing: -4px;
    transform: none;
  }

  .home p {
    position: relative;

    right: auto;
    bottom: auto;

    width: 80%;
    margin: 35px 0 0 auto;

    font-size: 16px;
  }

  .home-portret {
    position: relative;

    width: 75%;
    height: 350px;

    margin: 30px 0 0;
    align-self: flex-start;
  }

  .home::after {
    top: 10px;
    right: 20px;

    padding: 8px 20px;
    font-size: 15px;
  }

  section {
    width: 90%;
    padding: 65px 0;
  }

  section h2 {
    margin-bottom: 40px;
    font-size: 2rem;
  }

  .profile {
    width: 100%;
    padding: 65px 5%;
  }

  .profile-container {
    flex-direction: column;
    gap: 40px;
    padding: 35px 25px;
    border-radius: 25px;
    text-align: center;
  }

  .profile-photo {
    flex-basis: auto;
  }

  .profile-photo img {
    width: 210px;
    height: 275px;
  }

  .profile-photo::after {
    left: 12px;
    top: 12px;
  }

  .profile-info {
    width: 100%;
  }

  .profile-info h2 {
    text-align: center;
    font-size: 2rem;
  }

  .profile-info h2::after {
    margin: 15px auto 0;
  }

  .profile-info li {
    font-size: 16px;
    text-align: left;
  }

  .grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .card {
    min-height: 160px;
    padding: 25px;
  }

  .card h3 {
    font-size: 1.1rem;
  }

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

  .foto img {
    height: 250px;
  }

  .projecten h2,
  .projecten h3,
  .projecten h4,
  .projecten h5,
  .projecten h6,
  .projecten h7,
  .projecten h8,
  .projecten h9,
  .projecten h10,
  .projecten h11 {
    font-size: 30px;
    margin-top: 70px;
  }

  .projecten video {
    margin-bottom: 70px;
  }

  .galerij {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 10px;
    padding: 65px 3%;
  }

  .galerij img {
    height: 180px;
    padding: 5px;
  }

  .galerij::before,
  .galerij::after {
    background-size: 22px 22px;
  }

  footer {
    padding: 45px 20px;
    font-size: 14px;
  }
}

@media (max-width: 400px) {
  .topnav .active {
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px 12px;
  }

  .topnav a {
    font-size: 10px;
  }

  .home {
    padding-left: 15px;
    padding-right: 15px;
  }

  .home h1 {
    font-size: clamp(36px, 10vw, 46px);
  }

  .home p {
    width: 90%;
  }

  .profile-container {
    padding: 25px 18px;
  }

  .profile-photo img {
    width: 180px;
    height: 240px;
  }

  section h2 {
    font-size: 1.7rem;
  }

  .card {
    padding: 22px;
  }

  .galerij {
    grid-template-columns: 1fr;
    padding: 60px 8%;
  }

  .galerij img {
    height: 240px;
  }
}
