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

body {
  font-family: 'DM Sans', Arial, sans-serif;
  background: #f5f5f5;
  color: #111;
  padding: 40px;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 80px;
}

.logo {
  font-family: Av, Arial, sans-serif;
  font-size: 20px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  color: #111;
  transition: opacity 0.3s ease;
}

.logo:hover {
  opacity: 0.5;
}

nav a {
  text-decoration: none;
  color: #111;
  margin-left: 30px;
  font-size: 13px;
  text-transform: capitalize;
  letter-spacing: 1px;
  transition: opacity 0.3s ease;
}

nav a:hover {
  opacity: 0.5;
}

/* Grid layout */
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 60px 40px;
}

.project a {
  display: block;
  overflow: hidden;
}

.project img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease, opacity 0.3s ease;
}

.project img:hover {
  transform: scale(1.02);
  opacity: 0.9;
  cursor: pointer;
}

.project p {
  margin-top: 12px;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #555;
}

/* About & Contact */
.text-page {
  max-width: 600px;
  line-height: 1.8;
  font-size: 14px;
}

.text-page h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 30px;
}

.text-page p {
  margin-bottom: 20px;
}

/* About layout */
/* About layout */
.about-layout {
  display: flex;
  align-items: flex-start;
  gap: 80px;
  max-width: 1000px;
  margin: 0 auto;
}

.about-image {
  flex-shrink: 0;
}

.about-image img {
  width: 280px;
  height: 380px;
  object-fit: cover;
  display: block;
}

.about-text {
  flex: 1;
  padding-top: 8px;
}

.about-label {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #999;
  display: block;
  margin-bottom: 16px;
}

.about-name {
  font-family: Arial;
  font-size: 42px;
  font-weight: 300;
  letter-spacing: 1px;
  margin-bottom: 8px;
  line-height: 1.1;
}

.about-role {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 40px;
}

.about-body p {
  font-size: 13px;
  line-height: 1.9;
  color: #444;
  margin-bottom: 20px;
  max-width: 520px;
}

.about-commission {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #111;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid #ddd;
}

/* Mobiel about */
@media (max-width: 768px) {
  .about-layout {
    flex-direction: column;
    gap: 40px;
  }

  .about-image img {
    width: 100%;
    height: 400px;
  }

  .about-name {
    font-size: 32px;
  }
}

.about-text {
  flex: 1;
  max-width: 600px;
}

.about-image {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
}

.about-image img {
  width: 200px;
  height: auto;
}

/* Three images (projectpagina) */
.three-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.three-images img {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.three-images img:hover {
  opacity: 0.85;
}

/* Contact links */
.contact-link {
  color: #111;
  text-decoration: none;
  letter-spacing: 1px;
  transition: opacity 0.3s ease;
}

.contact-link:hover {
  opacity: 0.5;
}

/* Lightbox */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.lightbox-overlay.active {
  display: flex;
}

.lightbox-overlay img {
  max-width: 80vw;
  max-height: 85vh;
  object-fit: contain;
}

.lightbox-overlay .close-btn {
  position: fixed;
  top: 24px;
  right: 32px;
  font-size: 32px;
  color: white;
  cursor: pointer;
  user-select: none;
}

.prev-btn, .next-btn {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  color: white;
  cursor: pointer;
  user-select: none;
  padding: 10px 20px;
  transition: opacity 0.2s ease;
}

.prev-btn:hover, .next-btn:hover {
  opacity: 0.5;
}

.prev-btn { left: 24px; }
.next-btn { right: 24px; }

/* Mobiel */
@media (max-width: 768px) {
  body {
    padding: 24px;
  }

  header {
    margin-bottom: 40px;
  }

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

  .about-layout {
    flex-direction: column;
  }

  .three-images {
    grid-template-columns: 1fr;
  }
}
/* Project pagina */
.project-page {
  max-width: 960px;
  margin: 0 auto;
}

.project-images {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 700px;
  margin: 0 auto;
}

.project-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px auto;
  gap: 20px;
}

.project-meta {
  min-width: unset;
}

.project-description {
  font-size: 13px;
  line-height: 1.9;
  color: #444;
  max-width: 520px;
  padding-top: 0;
}

.project-meta {
  min-width: 160px;
}

.back-link {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #999;
  text-decoration: none;
  margin-bottom: 20px;
  transition: color 0.3s ease;
}

.back-link:hover {
  color: #111;
}

.project-title {
  font-family: Av, Arial, sans-serif;
  font-size: 36px;
  font-weight: 300;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.project-year {
  font-size: 11px;
  letter-spacing: 2px;
  color: #999;
  text-transform: uppercase;
}

.project-description {
  font-size: 13px;
  line-height: 1.9;
  color: #444;
  max-width: 520px;
  padding-top: 48px;
}

.project-images {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.image-large img {
  width: 100%;
  height: auto;
  display: block;
}

.image-grid-two {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.image-grid-two img {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.3s ease;
}

.image-large img,
.image-grid-two img {
  transition: opacity 0.3s ease;
}

.image-large img:hover,
.image-grid-two img:hover {
  opacity: 0.85;
  cursor: pointer;
}

/* Mobiel project pagina */
@media (max-width: 768px) {
  .project-intro {
    flex-direction: column;
    gap: 24px;
  }

  .project-description {
    padding-top: 0;
  }

  .image-grid-two {
    grid-template-columns: 1fr;
  }
}
