:root {
  --navy: #0f2861;
  --grey-bg: #eff1f2;
  --grey-line: #bfbfbf;
  --text: #222;
  --max-width: 1100px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: #fff;
}

h1, h2, h3, .brand {
  font-family: 'Quicksand', Arial, sans-serif;
  font-weight: 600;
  color: var(--navy);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header / nav */
header.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid #eee;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  letter-spacing: 0.03em;
}
.brand img { height: 48px; width: auto; }

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}
nav.main-nav a {
  font-size: 0.95rem;
  color: var(--text);
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
nav.main-nav a:hover,
nav.main-nav a.active {
  color: var(--navy);
  border-bottom-color: var(--navy);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--navy);
  cursor: pointer;
}

@media (max-width: 720px) {
  nav.main-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid #eee;
    display: none;
  }
  nav.main-nav.open { display: block; }
  nav.main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 16px;
  }
  nav.main-nav li { padding: 10px 0; border-bottom: 1px solid #f1f1f1; }
  .nav-toggle { display: block; }
  header.site-header { position: relative; }
}

/* Page banner (navy bar with title) */
.page-banner {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 70px 24px;
}
.page-banner h1 {
  color: #fff;
  font-size: 2.6rem;
  margin: 0;
  font-weight: 500;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border: 2px solid #fff;
  color: #fff;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  border-radius: 2px;
  transition: background 0.15s, color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.btn:hover { background: #fff; color: var(--navy); transform: translateY(-2px); box-shadow: 0 6px 14px rgba(0,0,0,0.12); }
.btn-navy { border-color: var(--navy); color: var(--navy); }
.btn-navy:hover { background: var(--navy); color: #fff; }

/* Reveal-on-scroll (progressive enhancement, see js/main.js) */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; opacity: 1; transform: none; }
}

.section {
  padding: 60px 24px;
}
.section-center { text-align: center; }

/* Discover section (home page top block) */
.discover {
  position: relative;
  padding: 70px 0 60px;
  overflow: hidden;
}
.discover-bg {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 430px;
  background: var(--navy);
  z-index: 0;
}
.discover-inner { position: relative; z-index: 1; }
.discover h1 {
  color: #fff;
  text-align: center;
  font-size: 2.6rem;
  font-weight: 500;
  margin: 0 0 50px;
}
.discover-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.discover-img-wrap {
  position: relative;
  margin-bottom: 26px;
}
.discover-img-wrap .img-clip {
  overflow: hidden;
  border-radius: 2px;
}
.discover-img-wrap img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.discover-col:hover .img-clip img { transform: scale(1.06); }
.img-btn {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 50%);
  background: #fff;
  border: 1px solid #ddd;
  padding: 11px 22px;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--navy);
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
  transition: background 0.15s, color 0.15s, transform 0.2s, box-shadow 0.2s;
}
.img-btn:hover { background: var(--navy); color: #fff; transform: translate(-50%, 50%) scale(1.05); box-shadow: 0 6px 16px rgba(0,0,0,0.2); }
.discover-col h3 {
  text-align: center;
  margin: 0 0 10px;
  font-size: 1.3rem;
}
.discover-col p {
  text-align: center;
  color: #666;
  margin: 0;
  line-height: 1.5;
}
.discover-grid .discover-col:nth-child(2) { transition-delay: 0.12s; }
.discover-grid .discover-col:nth-child(3) { transition-delay: 0.24s; }

@media (max-width: 820px) {
  .discover-bg { height: 100%; }
  .discover-grid { grid-template-columns: 1fr; gap: 70px; }
  .discover-col h3 { color: #fff; }
  .discover-col p { color: rgba(255,255,255,0.85); }
}

/* Portfolio grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  margin-top: 32px;
}
.portfolio-card {
  border: 1px solid #eee;
  overflow: hidden;
  border-radius: 2px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 28px rgba(15,40,97,0.14);
}
.portfolio-card img { width: 100%; height: 220px; object-fit: cover; transition: transform 0.5s ease; }
.portfolio-card:hover img { transform: scale(1.06); }
.portfolio-card .card-body { padding: 20px; text-align: center; }
.portfolio-card .card-body .year { color: #777; font-size: 0.85rem; margin: 4px 0 16px; }

/* .reveal wraps each .portfolio-card individually so the fade-in transition
   (on the wrapper) never collides with the card's own hover transition. */
.portfolio-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.portfolio-grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.portfolio-grid .reveal:nth-child(4) { transition-delay: 0.24s; }
.portfolio-grid .reveal:nth-child(5) { transition-delay: 0.32s; }

/* Production detail page */
.production-header img {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
}
.production-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 50px 24px;
  line-height: 1.7;
}
.production-body p { margin-bottom: 1.1em; }
.production-body.reveal { transition-delay: 0.15s; }

.production-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin: 24px 0 8px;
}
.production-gallery img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 2px;
  cursor: zoom-in;
  transition: transform 0.25s ease;
}
.production-gallery img:hover { transform: scale(1.04); }

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}
.contact-item {
  padding: 40px 20px;
  text-align: center;
  border-right: 1px solid #eee;
}
.contact-item:last-child { border-right: none; }
.contact-item .icon { font-size: 1.8rem; margin-bottom: 12px; color: var(--navy); }
.contact-item h3 { margin: 0 0 8px; font-size: 1rem; }
.contact-item p, .contact-item a { color: #555; font-size: 0.95rem; }
.contact-item a:hover { color: var(--navy); text-decoration: underline; }

.contact-form {
  max-width: 560px;
  margin: 50px auto 0;
  padding: 0 24px;
}
.contact-form label { display: block; font-size: 0.9rem; margin: 16px 0 6px; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--grey-line);
  border-radius: 2px;
  font-family: inherit;
  font-size: 0.95rem;
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form button {
  margin-top: 24px;
  background: var(--navy);
  color: #fff;
  border: none;
  padding: 12px 32px;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  border-radius: 2px;
  cursor: pointer;
}
.contact-form button:hover { background: #16357f; }
.form-status { margin-top: 16px; font-size: 0.9rem; }
.form-status.ok { color: #1a7a3c; }
.form-status.err { color: #b3261e; }

/* Over ons */
.over-ons-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 24px;
  line-height: 1.8;
}
.over-ons-content img { margin: 0 auto 32px; border-radius: 2px; }

footer.site-footer {
  text-align: center;
  padding: 28px 24px;
  color: #888;
  font-size: 0.85rem;
  border-top: 1px solid #eee;
}
