@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400;600;700&family=Lora:ital,wght@0,400;0,500;1,400;1,500&family=Montserrat:wght@300;400;500;600&display=swap');

:root {
  --cream:       #f5ede0;
  --cream-dark:  #ede3d4;
  --red:         #bf3b2f;
  --dark-red:    #8b2b20;
  --brown:       #3a2a1e;
  --mid-brown:   #7a5c4a;
  --light-brown: #a08070;
  --nav-height:  76px;
}

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

body {
  background-color: var(--cream);
  color: var(--brown);
  font-family: 'Lora', serif;
  font-size: 16px;
  line-height: 1.85;
  min-height: 100vh;
}

/* ── NAVBAR ───────────────────────────────────────── */

.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: var(--cream);
  border-bottom: 1px solid rgba(191,59,47,.12);
  display: flex;
  align-items: center;
  padding: 0 clamp(1rem, 4vw, 3rem);
  z-index: 1000;
  gap: 1rem;
}

.navbar-brand { text-decoration: none; flex-shrink: 0; line-height: 1; display: flex; align-items: center; gap: .4rem; }

.navbar-logo-img { height: 44px; width: auto; display: block; mix-blend-mode: multiply; }

.navbar-logo {
  display: block;
  font-family: 'Dancing Script', cursive;
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--red);
}

.navbar-subtitle {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: .55rem;
  font-weight: 500;
  letter-spacing: .28em;
  color: var(--mid-brown);
  text-transform: uppercase;
  margin-left: 3px;
  margin-top: 1px;
}

.navbar-nav {
  display: flex;
  list-style: none;
  gap: clamp(1rem, 2.5vw, 2.5rem);
  flex: 1;
  justify-content: center;
}

.navbar-nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: .82rem;
  font-weight: 400;
  letter-spacing: .04em;
  color: var(--brown);
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
  white-space: nowrap;
}

.navbar-nav a:hover   { color: var(--red); }
.navbar-nav a.active  { color: var(--red); border-bottom-color: var(--red); }

.lang-switcher { display: flex; gap: .25rem; flex-shrink: 0; }

.lang-btn {
  background: none;
  border: none;
  font-family: 'Montserrat', sans-serif;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--light-brown);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 3px;
  transition: color .2s, background .2s;
}
.lang-btn:hover  { color: var(--red); }
.lang-btn.active { color: var(--red); background: rgba(191,59,47,.08); }

/* ── PAGE ILLUSTRATION (fixed, blends into cream) ─────── */

.page-illustration {
  position: fixed;
  top: 0;
  left: 450px;
  width: 100%;
  height: 100vh;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: left bottom;
  z-index: 0;
  pointer-events: none;
  mix-blend-mode: multiply;
  opacity: .5;
}

/* ── PAGE CONTENT (scrolls over illustration) ──────── */

.page-content {
  position: relative;
  z-index: 1;
  padding-top: calc(var(--nav-height) + 3.5rem);
  padding-bottom: 5rem;
  padding-left: clamp(1.5rem, 5vw, 5rem);
  padding-right: clamp(1.5rem, 5vw, 3rem);
  max-width: 700px;
}

/* ── HOME PAGE ─────────────────────────────────────── */

.page-title {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: clamp(1.5rem, 2.5vw, 1.9rem);
  font-weight: 500;
  color: var(--red);
  line-height: 1.45;
  margin-bottom: 2.5rem;
  max-width: 520px;
}

.drop-cap-para {
  margin-bottom: 1.8rem;
  overflow: hidden;
}

.drop-cap-para::first-letter {
  font-family: 'Dancing Script', cursive;
  font-size: 4.4em;
  font-weight: 400;
  color: var(--red);
  float: left;
  line-height: .78;
  margin-right: .06em;
  margin-top: .04em;
}

.read-more-link {
  display: inline-block;
  margin-top: 1rem;
  font-family: 'Dancing Script', cursive;
  font-size: 1.25rem;
  font-style: italic;
  color: var(--red);
  text-decoration: none;
  transition: opacity .2s;
}
.read-more-link:hover { opacity: .7; }

/* ── BOEKEN PAGE ───────────────────────────────────── */

.page-heading {
  font-family: 'Dancing Script', cursive;
  font-size: 2.6rem;
  font-weight: 600;
  color: var(--red);
  margin-bottom: .6rem;
}

.page-intro {
  font-style: italic;
  color: var(--mid-brown);
  font-size: .95rem;
  margin-bottom: 2.5rem;
}

.page-content--wide {
  max-width: calc(100% - 2rem);
}

.books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2.0rem;
}

.book-card {
  background: rgba(255,250,245,.92);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(61,43,31,.09);
  transition: transform .22s ease, box-shadow .22s ease;
}

.book-cover {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: linear-gradient(160deg, #e8d9cc 0%, #d4bfab 50%, #c8b098 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: 1.5rem;
  overflow: hidden;
}

.book-cover--image {
  background: none;
  padding: 0;
}

.book-cover--link {
  display: block;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}

.book-cover--link:hover {
  transform: scale(0.96) translateY(3px);
  box-shadow: inset 0 4px 12px rgba(0,0,0,.18);
}

.book-cover--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.book-cover-placeholder {
  font-family: 'Dancing Script', cursive;
  font-size: 1.05rem;
  color: var(--mid-brown);
  font-style: italic;
  text-align: center;
}

.book-info { padding: 1rem 1.1rem 1.2rem; }

.book-title {
  font-family: 'Dancing Script', cursive;
  font-size: 1.15rem;
  color: var(--red);
  margin-bottom: .4rem;
  line-height: 1.3;
}

.book-title--link {
  text-decoration: none;
  transition: color .2s;
}
.book-title--link:hover { color: var(--dark-red); }


.book-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--mid-brown);
  margin-bottom: .45rem;
}

.book-desc {
  font-size: .83rem;
  color: var(--mid-brown);
  line-height: 1.65;
  margin-bottom: .7rem;
}

.book-price {
  font-family: 'Montserrat', sans-serif;
  font-size: .88rem;
  font-weight: 500;
  color: var(--brown);
}

/* ── COMING SOON ───────────────────────────────────── */

.book-card.coming-soon {
  opacity: .45;
  filter: grayscale(55%);
  pointer-events: none;
}

.coming-soon-badge {
  display: inline-block;
  margin-top: .5rem;
  font-family: 'Montserrat', sans-serif;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--light-brown);
  border: 1px solid rgba(160,128,112,.4);
  border-radius: 3px;
  padding: 3px 8px;
}

.btn-bestel {
  display: inline-block;
  margin-top: .5rem;
  font-family: 'Montserrat', sans-serif;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--red);
  text-decoration: none;
  border-bottom: 1px solid rgba(191,59,47,.4);
  padding-bottom: 1px;
  transition: border-color .2s, color .2s;
}
.btn-bestel:hover { color: var(--dark-red); border-color: var(--dark-red); }

/* ── ORDER FORM ────────────────────────────────────── */

.form-wrapper { max-width: 540px; }

.form-group { margin-bottom: 1.4rem; }

.form-label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--mid-brown);
  margin-bottom: .45rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: .7rem .9rem;
  background: rgba(255,250,245,.92);
  border: 1px solid rgba(160,128,112,.35);
  border-radius: 5px;
  font-family: 'Lora', serif;
  font-size: .9rem;
  color: var(--brown);
  outline: none;
  transition: border-color .2s;
  -webkit-appearance: none;
  appearance: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus { border-color: var(--red); }

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23a08070' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .9rem center;
  padding-right: 2.5rem;
}

.form-textarea { resize: vertical; min-height: 110px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.btn-primary {
  background: var(--red);
  color: #fff;
  border: none;
  padding: .8rem 2.8rem;
  font-family: 'Montserrat', sans-serif;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  transition: background .2s;
  margin-top: .75rem;
}
.btn-primary:hover { background: var(--dark-red); }

.order-unavailable {
  display: none;
  padding: 1rem 1.2rem;
  background: rgba(191,59,47,.07);
  border-left: 3px solid var(--red);
  border-radius: 0 5px 5px 0;
  font-style: italic;
  color: var(--mid-brown);
  margin-bottom: 1rem;
  font-size: .9rem;
}

.form-success {
  display: none;
  padding: 2.5rem 2rem;
  background: rgba(191,59,47,.06);
  border: 1.5px solid rgba(191,59,47,.25);
  border-radius: 12px;
  text-align: center;
  margin-top: 1.5rem;
  animation: success-fade-in .5s ease both;
}

.form-success p {
  font-family: 'Lora', serif;
  font-style: italic;
  color: var(--mid-brown);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: .4rem;
}

.form-success p:first-child {
  font-family: 'Dancing Script', cursive;
  font-size: 1.9rem;
  font-style: normal;
  color: var(--red);
  margin-bottom: .8rem;
}

@keyframes success-fade-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── RECENSIES ─────────────────────────────────────── */

.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 580px;
}

.review-card {
  background: rgba(255,250,245,.9);
  border-left: 3px solid var(--red);
  padding: 1.4rem 1.5rem 1.4rem 1.8rem;
  border-radius: 0 7px 7px 0;
}

.review-stars { color: #c8904a; font-size: .85rem; letter-spacing: .1em; margin-bottom: .6rem; }

.review-quote {
  font-style: italic;
  font-size: .95rem;
  line-height: 1.8;
  color: var(--brown);
  margin-bottom: .9rem;
}

.review-author {
  font-family: 'Dancing Script', cursive;
  font-size: 1.1rem;
  color: var(--red);
}

/* ── REVIEWS TICKER ────────────────────────────────── */

.reviews-ticker {
  overflow: hidden;
  width: 100%;
  margin-bottom: 2rem;
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.reviews-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: ticker-scroll var(--ticker-duration, 28s) linear infinite;
}

.reviews-track:hover { animation-play-state: paused; }

.reviews-ticker .review-card {
  width: 280px;
  flex-shrink: 0;
}

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── REVIEW FORM ────────────────────────────────────── */

.review-form-section {
  margin-top: 3rem;
  max-width: 540px;
}

.review-form-title {
  font-family: 'Dancing Script', cursive;
  font-size: 2rem;
  font-weight: 600;
  color: var(--red);
  margin-bottom: .4rem;
}

.review-form-intro {
  font-style: italic;
  color: var(--mid-brown);
  font-size: .9rem;
  margin-bottom: 1.8rem;
}

.star-picker {
  display: flex;
  gap: .2rem;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.star-picker .star {
  color: #d4b896;
  transition: color .1s, transform .12s;
  user-select: none;
}

.star-picker .star.hover,
.star-picker .star.active {
  color: #c8904a;
  transform: scale(1.15);
}

/* ── CONTACT FOOTER ────────────────────────────────── */

.contact-footer {
  position: relative;
  z-index: 1;
  background: var(--cream-dark);
  border-top: 1px solid rgba(191,59,47,.14);
  padding: 3rem clamp(1.5rem, 5vw, 5rem) 2rem;
}

.contact-grid {
  max-width: 700px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
  align-items: start;
}
.contact-col:not(:first-child) { padding-top: 30px; }

.contact-col h3 {
  font-family: 'Dancing Script', cursive;
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--red);
  margin-bottom: .8rem;
}

.contact-col p,
.contact-col a {
  font-size: .88rem;
  color: var(--mid-brown);
  line-height: 1.85;
  text-decoration: none;
  display: block;
}
.contact-col a:hover { color: var(--red); }

.footer-brand {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .8rem;
}
.footer-brand h3 { margin-bottom: 0; }

.footer-logo {
  width: 100px;
  height: auto;
  mix-blend-mode: multiply;
}

.contact-copy {
  border-top: 1px solid rgba(160,128,112,.2);
  padding-top: 1.2rem;
  font-family: 'Montserrat', sans-serif;
  font-size: .72rem;
  letter-spacing: .06em;
  color: var(--light-brown);
}

/* ── DIVIDER ───────────────────────────────────────── */

.divider {
  border: none;
  border-top: 1px solid rgba(191,59,47,.18);
  margin: 2.5rem 0;
  max-width: 380px;
}

/* ── RESPONSIVE ────────────────────────────────────── */

@media (max-width: 860px) {
  .page-illustration { left: 200px; opacity: .5; }
  .page-content { max-width: 100%; }
}

@media (max-width: 640px) {
  .page-illustration { left: 0; opacity: .5; background-position: right bottom; background-size: 80vw auto; }
  .navbar { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .navbar::-webkit-scrollbar { display: none; }
  .navbar-nav { gap: .8rem; flex-shrink: 0; }
  .navbar-nav a { font-size: .72rem; }
  .lang-switcher { flex-shrink: 0; }
  .navbar-brand { flex-shrink: 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .form-row { grid-template-columns: 1fr; }
}
