/* Davoud Perzische Tapijten - Amsterdam
   Ontwerp: de pagina is opgebouwd als een tapijt.
   Een rand, een veld, een medaillon. Geweven scheidingen tussen secties. */

:root {
  --indigo: #1E276E;
  --indigo-deep: #12183F;
  --wool: #F6F5F0;
  --paper: #FFFFFF;
  --ink: #23222A;
  --ink-soft: #5A5860;
  --madder: #9E3B2B;
  --saffron: #C99544;
  --line: #E4E1D8;
  --font-display: 'Marcellus', serif;
  --font-body: 'Mulish', sans-serif;
  --maxw: 1180px;
  --radius: 2px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--wool);
  -webkit-font-smoothing: antialiased;
}

img, video { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; }

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

/* ---------- Geweven rand: het signatuur element ---------- */
.weave {
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='14' viewBox='0 0 28 14'%3E%3Crect width='28' height='14' fill='%231E276E'/%3E%3Cpath d='M14 1 L20 7 L14 13 L8 7 Z' fill='%23C99544'/%3E%3Cpath d='M14 4.5 L16.5 7 L14 9.5 L11.5 7 Z' fill='%23F6F5F0'/%3E%3Cpath d='M0 1 L3 7 L0 13 Z M28 1 L25 7 L28 13 Z' fill='%239E3B2B'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 28px 14px;
}

/* ---------- Typografie ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.15; color: var(--ink); }

h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); letter-spacing: 0.01em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.35rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--madder);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '';
  width: 9px; height: 9px;
  background: var(--saffron);
  transform: rotate(45deg);
  flex-shrink: 0;
}
.eyebrow-plain::before { display: none; }

.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 62ch; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
}
.site-header.scrolled {
  background: rgba(246, 245, 240, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
  padding: 12px 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { display: flex; align-items: center; gap: 13px; text-decoration: none; }
.logo svg { width: 42px; height: 42px; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-name {
  font-family: var(--font-display);
  font-size: 1.32rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  transition: color 0.35s ease;
}
.logo-sub {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--saffron);
}
.site-header.scrolled .logo-name, .site-header.solid .logo-name { color: var(--indigo); }

/* Logo kleuren wisselen mee met de achtergrond */
.site-header .lg-ster { fill: #F6F5F0; transition: fill 0.35s ease; }
.site-header .lg-ring { fill: var(--saffron); }
.site-header .lg-ruit { fill: var(--indigo-deep); transition: fill 0.35s ease; }
.site-header .lg-hart { fill: var(--madder); }
.site-header.scrolled .lg-ster { fill: var(--indigo); }
.site-header.scrolled .lg-ruit { fill: var(--wool); }

.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav a {
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  color: rgba(255,255,255,0.92);
  transition: color 0.25s ease;
  position: relative;
}
.main-nav a:not(.btn)::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 2px;
  background: var(--saffron);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.main-nav a:not(.btn):hover::after, .main-nav a:not(.btn):focus-visible::after { transform: scaleX(1); }
.site-header.scrolled .main-nav a:not(.btn) { color: var(--ink); }

/* ---------- Taalschakelaar ---------- */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.lang-switch a {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-decoration: none;
  color: rgba(255,255,255,0.65);
  padding: 5px 7px;
  border-radius: var(--radius);
  transition: color 0.25s ease;
}
.lang-switch a + a { position: relative; }
.lang-switch a + a::before {
  content: '';
  position: absolute;
  left: -4px; top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 4px; height: 4px;
  background: var(--saffron);
}
.lang-switch a:hover { color: #fff; }
.lang-switch .lang-active { color: var(--saffron); }
.site-header.scrolled .lang-switch a { color: var(--ink-soft); }
.site-header.scrolled .lang-switch a:hover { color: var(--ink); }
.site-header.scrolled .lang-switch .lang-active { color: var(--madder); }

/* ---------- Knoppen ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--madder); color: #fff !important; }
.btn-primary:hover { background: #8A3325; }
.btn-ghost { border-color: rgba(255,255,255,0.5); color: #fff !important; }
.btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: #fff; }
.btn-dark { background: var(--indigo); color: #fff !important; }
.btn-dark:hover { background: var(--indigo-deep); }
.btn-outline { border-color: var(--indigo); color: var(--indigo) !important; }
.btn-outline:hover { background: var(--indigo); color: #fff !important; }
.site-header.scrolled .btn-ghost { border-color: var(--indigo); color: var(--indigo) !important; }
.site-header.scrolled .btn-ghost:hover { background: var(--indigo); color: #fff !important; }

/* ---------- Mobiel menu ---------- */
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
  z-index: 110;
}
.nav-toggle span {
  display: block;
  width: 26px; height: 2px;
  background: #fff;
  margin: 6px 0;
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
}
.site-header.scrolled .nav-toggle span, .nav-open .nav-toggle span { background: var(--indigo); }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
  background: var(--indigo-deep);
}
.hero video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18,24,63,0.62) 0%, rgba(18,24,63,0.38) 42%, rgba(18,24,63,0.9) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 24px 90px;
  max-width: var(--maxw);
  margin: 0 auto;
  width: 100%;
}
.hero .eyebrow { color: var(--saffron); }
.hero .eyebrow::before { background: #fff; }
.hero h1 { color: #fff; max-width: 15ch; margin-bottom: 22px; }
.hero p { font-size: 1.18rem; max-width: 54ch; color: rgba(255,255,255,0.88); margin-bottom: 36px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Kenmerken strip ---------- */
.marks { background: var(--indigo); color: #fff; padding: 44px 0; }
.marks-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.mark { position: relative; }
.mark + .mark::before {
  content: '';
  position: absolute;
  left: -12px; top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 6px; height: 6px;
  background: var(--saffron);
  opacity: 0.65;
}
.mark strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.03em;
  color: var(--saffron);
}
.mark span { font-size: 0.86rem; color: rgba(255,255,255,0.78); }

/* ---------- Secties ---------- */
.section { padding: 110px 0; }
.section.alt + .section, .section + .section.alt { border-top: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 60px; }
.section-head h2 { margin-bottom: 18px; }
.alt { background: var(--paper); }

/* ---------- Collectie ---------- */
.collection-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
}
.collection-card {
  background: var(--paper);
  padding: 42px 34px;
  transition: background 0.3s ease;
  position: relative;
  overflow: hidden;
}
.collection-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--saffron);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.collection-card:hover { background: var(--wool); }
.collection-card:hover::before { transform: scaleX(1); }
.card-gul { width: 34px; height: 34px; margin-bottom: 22px; }
.collection-card h3 { margin-bottom: 10px; }
.collection-card p { font-size: 0.97rem; color: var(--ink-soft); margin-bottom: 16px; }
.card-regions {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--madder);
}
.collection-note {
  margin-top: 34px;
  color: var(--ink-soft);
  font-size: 0.98rem;
  max-width: 62ch;
}

/* ---------- Verhaal ---------- */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.story-img {
  position: relative;
  margin-right: 18px;
  margin-bottom: 18px;
}
.story-img img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 18px 18px 0 var(--indigo);
}
.story-body h2 { margin-bottom: 22px; }
.story-body p { color: var(--ink-soft); margin-bottom: 18px; }
.story-body p strong { color: var(--ink); }
.story-sign {
  margin-top: 28px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--indigo);
}

/* ---------- Diensten ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 64px;
}
.service {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 22px;
  align-items: start;
}
.service-mark {
  width: 52px; height: 52px;
  background: var(--indigo);
  display: grid;
  place-items: center;
  border-radius: var(--radius);
}
.service-mark svg { width: 26px; height: 26px; }
.service h3 { margin-bottom: 8px; }
.service p { color: var(--ink-soft); font-size: 0.98rem; }

/* ---------- Wereldwijd ---------- */
.world { background: var(--indigo-deep); color: #fff; position: relative; overflow: hidden; }
.world::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cpath d='M28 8 L44 28 L28 48 L12 28 Z' fill='none' stroke='%23FFFFFF' stroke-width='1.5'/%3E%3C/svg%3E");
  background-size: 56px 56px;
}
.world .container { position: relative; z-index: 2; }
.world h2, .world h3 { color: #fff; }
.world .eyebrow { color: var(--saffron); }
.world .eyebrow::before { background: #fff; }
.world .lead { color: rgba(255,255,255,0.82); }
.world-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
  margin-top: 56px;
}
.world-item h3 { font-size: 1.2rem; margin-bottom: 10px; }
.world-item p { font-size: 0.96rem; color: rgba(255,255,255,0.75); }
.world-item .num {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--saffron);
  display: block;
  margin-bottom: 14px;
  letter-spacing: 0.15em;
}

/* ---------- Galerij ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.gallery-grid figure { position: relative; overflow: hidden; border-radius: var(--radius); }
.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-grid figure:hover img { transform: scale(1.045); }
.gallery-grid figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 40px 18px 14px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(18,24,63,0.85));
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 800px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 40px 24px 0;
  font-family: var(--font-display);
  font-size: 1.18rem;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '';
  position: absolute;
  right: 6px; top: 50%;
  width: 11px; height: 11px;
  border-right: 2px solid var(--madder);
  border-bottom: 2px solid var(--madder);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.3s ease;
}
.faq-item[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq-item div { padding: 0 0 26px; color: var(--ink-soft); max-width: 68ch; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 64px;
  align-items: start;
}
.contact-block { margin-bottom: 32px; }
.contact-block h3 {
  font-size: 0.82rem;
  font-family: var(--font-body);
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--madder);
  margin-bottom: 12px;
}
.contact-block p, .contact-block a { color: var(--ink); text-decoration: none; }
.contact-block a:hover { color: var(--madder); }
.contact-tel { font-family: var(--font-display); font-size: 1.5rem; display: block; }
.hours-table { width: 100%; border-collapse: collapse; max-width: 380px; }
.hours-table td { padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 0.97rem; }
.hours-table td:last-child { text-align: right; color: var(--ink-soft); }
.map-frame {
  width: 100%;
  aspect-ratio: 4 / 3.2;
  border: 0;
  border-radius: var(--radius);
  box-shadow: 0 0 0 1px var(--line);
}
.contact-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--indigo-deep); color: rgba(255,255,255,0.72); padding: 64px 0 36px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.site-footer .logo-name { color: #fff; }
.site-footer h3 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { text-decoration: none; font-size: 0.95rem; }
.site-footer a:hover { color: var(--saffron); }
.footer-note { max-width: 46ch; font-size: 0.92rem; margin-top: 18px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.14);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.85rem;
}
.footer-bottom a { color: var(--saffron); text-decoration: none; }
.footer-bottom a:hover { text-decoration: underline; }

/* ---------- WhatsApp knop ---------- */
.whatsapp-fab {
  position: fixed;
  right: 22px;
  bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  z-index: 90;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 22px rgba(18, 24, 63, 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.whatsapp-fab svg { width: 30px; height: 30px; }
.whatsapp-fab:hover, .whatsapp-fab:focus-visible {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 28px rgba(18, 24, 63, 0.34);
}

/* ---------- Reveal animaties ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover { transform: none; }
  .gallery-grid figure:hover img { transform: none; }
  .whatsapp-fab:hover, .whatsapp-fab:focus-visible { transform: none; }
}

:focus-visible { outline: 3px solid var(--saffron); outline-offset: 3px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .collection-grid { grid-template-columns: repeat(2, 1fr); }
  .story-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .story-img { margin-right: 12px; margin-bottom: 12px; }
  .story-img img { box-shadow: 12px 12px 0 var(--indigo); }
  .world-grid, .gallery-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .section { padding: 78px 0; }
  .mark + .mark::before { display: none; }
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed;
    inset: 0;
    background: var(--wool);
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
  }
  .nav-open .main-nav { transform: none; }
  .main-nav a:not(.btn) { color: var(--ink) !important; font-size: 1.3rem; }
  .lang-switch a { font-size: 1rem !important; }
  .marks-grid { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .collection-grid, .world-grid, .gallery-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-content { padding-bottom: 70px; }
}
