@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=DM+Sans:wght@300;400;500&family=Roboto:wght@300;400;700&display=swap');

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

:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --text: #1c1c1a;
  --text-muted: #8a8680;
  --accent: #1c1c1a;
  --border: #e8e4de;
  --hover: #f0ede8;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
}

/* ---- NAVIGATIE ---- */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 80px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.3s ease, border-color 0.3s ease;
}

nav.scrolled {
  background: rgba(255, 255, 255, 0.5);
  border-bottom-color: transparent;
}

.nav-logo {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.01em;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  z-index: 102;
  position: relative;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 102;
  position: relative;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

body.menu-open { overflow: hidden; }

.nav-links {
  display: flex;
  gap: 48px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-brand {
  display: flex;
  align-self: center;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.nav-brand:hover {
  opacity: 1;
}

.nav-brand img {
  height: 56px;
  width: auto;
  display: block;
  mix-blend-mode: multiply;
}

/* ---- PAGINA WRAPPER ---- */

main {
  padding-top: 72px;
}

/* ---- HERO (alleen homepage) ---- */

.hero {
  padding: 96px 48px 64px;
  max-width: 640px;
}

.hero-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 24px;
}

.hero h1 em {
  font-style: italic;
  color: var(--text-muted);
}

.hero p {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 420px;
  line-height: 1.7;
}

/* ---- FOTO GRID ---- */

.grid-section {
  padding: 96px 96px 96px;
}

.grid-filter {
  display: flex;
  gap: 8px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  background: none;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 6px 18px;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--text);
  border-color: var(--text);
  color: var(--bg);
}

.photo-grid {
  columns: 2;
  column-gap: 24px;
}

@media (max-width: 900px) {
  .photo-grid { columns: 1; }
  nav { padding: 0 40px; }
  .hero { padding: 72px 24px 48px; }
  .grid-section { padding: 72px 48px 72px; }
}

@media (max-width: 768px) {
  .nav-logo { font-size: 18px; }

  .nav-toggle {
    display: flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
  }

  .nav-links {
    position: fixed;
    top: 72px;
    right: 0;
    width: 75vw;
    max-width: 320px;
    height: calc(100% - 72px);
    background: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    padding: 40px;
    z-index: 99;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -4px 0 24px rgba(0,0,0,0.1);
    display: flex;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 98;
  }

  .nav-overlay.open { display: block; }

  nav {
    background: #ffffff;
    z-index: 100;
  }

  .nav-links li {
    list-style: none;
    width: 100%;
    margin-bottom: 8px;
  }

  .nav-links a {
    display: block;
    font-size: 15px;
    letter-spacing: 0.08em;
    padding: 12px 0;
    color: var(--text);
    width: 100%;
  }

  .nav-brand {
    padding: 12px 0;
    display: flex;
  }

  .nav-brand img { height: 40px; }
}

@media (max-width: 560px) {
  .photo-grid { columns: 1; }
}

.photo-item {
  break-inside: avoid;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--border);
  display: block;
  text-decoration: none;
}

.photo-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.photo-item:hover img {
  transform: scale(1.03);
}

.photo-overlay {
  position: absolute;
  inset: 0;
  background: rgba(28, 28, 26, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  transition: background 0.3s ease;
}

.photo-item:hover .photo-overlay {
  background: rgba(28, 28, 26, 0.35);
}

.photo-caption {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: white;
  opacity: 0;
  transform: translateY(6px);
  transition: all 0.3s ease;
}

.photo-item:hover .photo-caption {
  opacity: 1;
  transform: translateY(0);
}

/* ---- PAGINA HEADER (about/contact) ---- */

.page-header {
  padding: 80px 48px 48px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 64px;
}

.page-header h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

/* ---- OVER MIJ ---- */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: 96px 48px 96px;
  max-width: 1100px;
}

@media (max-width: 800px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 72px 24px 72px;
  }
  .page-header { padding: 80px 24px 40px; }
}

.about-image {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: 31% center;
  background: var(--border);
}

.about-content h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 28px;
  line-height: 1.3;
  margin-bottom: 20px;
}

.about-content p {
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.75;
}

.about-content p:last-child {
  margin-bottom: 0;
}

.divider {
  width: 32px;
  height: 1px;
  background: var(--border);
  margin: 28px 0;
}

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}

.stat-item strong {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 300;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-item span {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ---- CONTACT ---- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: 96px 48px 96px;
  max-width: 900px;
}

@media (max-width: 800px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 72px 24px 72px;
  }
}

.contact-intro-label {
  font-family: 'Roboto', sans-serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 8px;
}

.contact-intro-name {
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.contact-direct {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 32px;
}

.contact-direct a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  color: var(--text);
  text-decoration: none;
}

.contact-direct a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-social {
  display: flex;
  gap: 16px;
}

.contact-social a {
  color: var(--text);
  transition: opacity 0.2s ease;
}

.contact-social a:hover {
  opacity: 0.5;
}

.contact-info p {
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 32px;
}

.contact-detail {
  margin-bottom: 20px;
}

.contact-detail label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-detail a,
.contact-detail span {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  color: var(--text);
  text-decoration: none;
}

.contact-detail a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---- FORMULIER ---- */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-group label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 12px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease;
  resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--text);
}

.form-group textarea {
  height: 140px;
}

.btn-submit {
  align-self: flex-start;
  background: var(--text);
  color: var(--bg);
  border: none;
  padding: 14px 32px;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

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

/* ---- FOOTER ---- */

footer {
  border-top: 1px solid var(--border);
  padding: 32px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 560px) {
  footer {
    flex-direction: column;
    gap: 12px;
    padding: 24px;
    text-align: center;
  }
}

footer p {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

footer a {
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.06em;
}

footer a:hover {
  color: var(--text);
}

/* ---- PROJECT PAGES ---- */

.project-grid {
  columns: 2;
  column-gap: 24px;
  padding: 96px 96px 48px;
  overflow: hidden;
}

.project-grid .photo-item:hover img {
  transform: none;
}

.project-grid .photo-item:hover .photo-overlay {
  background: transparent;
}

.project-back {
  padding: 0 96px 96px;
}

.project-back a {
  font-size: 14px;
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s ease;
}

.project-back a:hover {
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .project-grid { columns: 1; padding: 72px 48px 48px; }
  .project-back { padding: 0 48px 72px; }
}

/* ---- ANIMATIES ---- */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero, .page-header {
  animation: fadeUp 0.6s ease both;
}

.grid-section, .about-grid, .contact-grid {
  animation: fadeUp 0.6s ease 0.15s both;
}
