@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Lato:wght@300;400;700&display=swap');

:root {
  --yellow:      #E8A020;
  --yellow-dark: #C98510;
  --pink:        #E6007E;
  --blue:        #1A9CD8;
  --blue-light:  #EAF6FB;
  --blue-sky:    #5BC8E8;
  --dark:        #1A1A2E;
  --white:       #FFFFFF;
  --text-muted:  #6B7280;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
}

/* ─── HEADER / NAV ─────────────────────────────── */
header {
  background: var(--dark);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4px 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  flex-wrap: wrap;
}

/* ─── HAMBURGER ──────────────────────────────────── */
.nav-toggle { display: none; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 10;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.nav-toggle:checked ~ .hamburger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle:checked ~ .hamburger span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-toggle:checked ~ .hamburger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.logo img {
  height: 92px;
  width: auto;
  display: block;
  /* makes the black background of the PNG transparent on the dark nav */
  mix-blend-mode: screen;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2.5rem;
}

nav ul a {
  color: #ccc;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}

nav ul a:hover,
nav ul a.active {
  color: var(--yellow);
  border-bottom-color: var(--yellow);
}

/* ─── HERO (Homepage) ──────────────────────────── */
.hero {
  background: linear-gradient(160deg, #0B82BF 0%, #1EA8DC 40%, #5DC2E8 80%, #8FD4EE 100%);
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* subtle sun glow at bottom */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0; height: 220px;
  background: linear-gradient(to top, rgba(232,160,32,0.18), transparent);
  pointer-events: none;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 2rem;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 4rem;
  row-gap: 1.5rem;
  position: relative;
  z-index: 1;
}

/* Desktop: book spans both rows, text row 1, quote row 2 */
.hero-book {
  flex-shrink: 0;
  grid-column: 1;
  grid-row: 1 / 3;
  align-self: start;
}

.hero-text {
  grid-column: 2;
  grid-row: 1;
}

.hero-quote {
  grid-column: 2;
  grid-row: 2;
}

.hero-book img {
  width: 340px;
  max-width: 100%;
  border-radius: 4px;
  box-shadow: 0 30px 70px rgba(0,0,0,0.45), 0 10px 25px rgba(0,0,0,0.25);
  display: block;
}

.hero-text { color: var(--white); }

.hero-tagline {
  font-size: 0.95rem;
  font-weight: 300;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.6rem;
}

.hero-text h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 0.3rem;
}

.hero-subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.88);
  margin-bottom: 1.75rem;
}

.hero-quote {
  background: rgba(255,255,255,0.15);
  border-left: 3px solid var(--yellow);
  padding: 1.1rem 1.4rem;
  border-radius: 0 8px 8px 0;
  margin-bottom: 2rem;
  backdrop-filter: blur(4px);
}

.hero-quote p {
  font-style: italic;
  font-size: 1.1rem;
  color: var(--white);
  line-height: 1.65;
}

.hero-quote .quote-source {
  font-style: normal;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.95);
  font-weight: 700;
  margin-top: 0.5rem;
  display: block;
}

/* ─── BUTTONS ───────────────────────────────────── */
.btn-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  background: var(--yellow);
  color: var(--dark);
  padding: 0.85rem 1.8rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(232,160,32,0.45);
  white-space: nowrap;
}

.btn:hover {
  background: var(--yellow-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(232,160,32,0.55);
}

.btn.coming-soon {
  background: rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.7);
  box-shadow: none;
  cursor: default;
  transform: none;
}

.btn-note {
  margin-top: 0.6rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
  font-style: italic;
}

/* ─── BLURB SECTION ─────────────────────────────── */
.blurb-section {
  background: var(--blue-light);
  padding: 4rem 2rem;
  border-top: 4px solid var(--blue-sky);
}

.blurb-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.blurb-inner .section-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1rem;
}

.blurb-inner p {
  font-size: 1.1rem;
  line-height: 1.85;
  color: #2c4a60;
}

/* ─── PAGE HERO (inner pages) ───────────────────── */
.page-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
  padding: 3.5rem 2rem 3rem;
  text-align: center;
}

.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--white);
  font-weight: 700;
}

.page-hero .underline {
  width: 60px;
  height: 3px;
  background: var(--yellow);
  margin: 0.75rem auto 0;
  border-radius: 2px;
}

/* ─── BIOGRAFIE ──────────────────────────────────── */
.bio-section {
  padding: 4rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: start;
}

.bio-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  margin-bottom: 1.25rem;
  color: var(--dark);
}

.bio-text p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #374151;
}

.bio-book img {
  width: 260px;
  max-width: 100%;
  /* Remove white background from the 3D cover JPG */
  mix-blend-mode: multiply;
  display: block;
}

/* ─── NIEUWS ─────────────────────────────────────── */
.nieuws-section {
  padding: 4rem 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.nieuws-empty {
  text-align: center;
  padding: 5rem 2rem;
}

.nieuws-empty .icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  display: block;
  opacity: 0.4;
}

.nieuws-empty h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.nieuws-empty p { color: var(--text-muted); font-size: 0.97rem; }

.nieuws-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.nieuws-card {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
  background: var(--white);
  border: 1px solid #e5e7eb;
}

.nieuws-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(0,0,0,0.12);
}

.nieuws-card-body { padding: 1.5rem; }

.nieuws-card .tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 0.5rem;
  display: block;
}

.nieuws-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.nieuws-card p { font-size: 0.9rem; color: var(--text-muted); }

/* ─── FOOTER ─────────────────────────────────────── */
footer {
  background: var(--dark);
  color: #9ca3af;
  padding: 3rem 2rem 2rem;
  margin-top: 0;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #374151;
}

.footer-contact h3 {
  color: var(--yellow);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-contact p,
.footer-contact a {
  font-size: 0.88rem;
  line-height: 1.9;
  color: #9ca3af;
  text-decoration: none;
}

.footer-contact a:hover { color: var(--blue-sky); }

.footer-socials {
  margin-top: 1.25rem;
  display: flex;
  gap: 1rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.2s;
  padding: 0.35rem 0.75rem;
  border: 1px solid #374151;
  border-radius: 50px;
}

.social-link:hover {
  color: var(--yellow);
  border-color: var(--yellow);
}

.social-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex-shrink: 0;
}

.footer-brand { text-align: right; }

.footer-brand .logo-lg {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.footer-brand p {
  font-size: 0.82rem;
  color: #6b7280;
  font-style: italic;
}

.footer-bottom {
  max-width: 1100px;
  margin: 1.25rem auto 0;
  font-size: 0.78rem;
  color: #6b7280;
  text-align: center;
}

/* ─── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 768px) {
  .bio-section { grid-template-columns: 1fr; }
  .bio-book { display: flex; justify-content: center; }
  .bio-book img { width: 200px; }

  .footer-inner { grid-template-columns: 1fr; }
  .footer-brand { text-align: left; }
}

@media (max-width: 640px) {
  /* Hero: twee kolommen op mobiel, quote eronder over volle breedte */
  .hero { min-height: unset; }

  .hero-inner {
    grid-template-columns: 130px 1fr;
    grid-template-rows: auto auto;
    column-gap: 1rem;
    row-gap: 1rem;
    padding: 1.75rem 1.25rem 1.4rem;
  }

  .hero-book  { grid-column: 1; grid-row: 1; align-self: start; }
  .hero-text  { grid-column: 2; grid-row: 1; }
  .hero-quote { grid-column: 1 / 3; grid-row: 2; }

  .hero-book img {
    width: 130px;
  }

  .hero-tagline { font-size: 0.75rem; margin-bottom: 0.3rem; }

  .hero-text h1 { font-size: 1.5rem; margin-bottom: 0.2rem; }

  .hero-subtitle { font-size: 0.82rem; margin-bottom: 1rem; }

  .hero-quote {
    padding: 0.75rem 1rem;
    margin-bottom: 1.25rem;
  }

  .hero-quote p { font-size: 0.88rem; }
  .hero-quote .quote-source { font-size: 0.78rem; }

  .btn { padding: 0.7rem 1.2rem; font-size: 0.82rem; }
  .btn-note { font-size: 0.72rem; }

  /* Hamburger nav */
  .hamburger { display: flex; }

  .logo img { height: 58px; }

  nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--dark);
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0 1rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    z-index: 99;
  }

  nav ul li a {
    display: block;
    padding: 0.9rem 2rem;
    font-size: 1rem;
    border-bottom: none;
    letter-spacing: 0.1em;
  }

  .nav-toggle:checked ~ ul {
    display: flex;
  }
}

@media (max-width: 640px) {
  /* Show hamburger, hide regular nav */
  .hamburger { display: flex; }

  .logo img { height: 58px; }

  nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--dark);
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0 1rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    z-index: 99;
  }

  nav ul li a {
    display: block;
    padding: 0.9rem 2rem;
    font-size: 1rem;
    border-bottom: none;
    letter-spacing: 0.1em;
  }

  .nav-toggle:checked ~ ul {
    display: flex;
  }
}
