/* =====================================================================
   style.css  —  Het complete ontwerp van Dalia's Wardrobe
   ---------------------------------------------------------------------
   Opgebouwd in blokken:
     1. Kleuren & variabelen      5. Header / navigatie
     2. Basis / reset             6. Footer
     3. Typografie & knoppen      7. Home-pagina
     4. Layout-hulpmiddelen       8. Shop & product
                                  9. Winkelwagen, contact, about
                                 10. Responsive (mobiel)
   ===================================================================== */

/* ---------- 1. Kleuren & variabelen ---------- */
:root {
  --cream:      #F6F1E9;   /* warme achtergrond          */
  --cream-deep: #EDE4D6;   /* iets donkerder zand        */
  --espresso:   #2E2621;   /* bijna-zwart bruin (tekst)  */
  --taupe:      #8A7B6A;   /* zachte grijsbruine tekst   */
  --gold:       #A98B5B;   /* accent (goud/brons)        */
  --gold-soft:  #C9B58E;
  --line:       #DED3C3;   /* lijntjes / randen          */
  --white:      #FFFFFF;

  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans:  "Jost", "Century Gothic", "Segoe UI", system-ui, sans-serif;

  --maxw: 1240px;
  --radius: 2px;
}

/* ---------- 2. Basis / reset ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--espresso);
  background: var(--cream);
  line-height: 1.65;
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- 3. Typografie & knoppen ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0.01em;
}

.eyebrow {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--gold);
}

.section-title { font-size: clamp(2rem, 4vw, 3.2rem); }
.section-sub   { color: var(--taupe); margin-top: 0.6rem; font-size: 1.05rem; }

.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  padding: 1rem 2.4rem;
  border: 1px solid var(--espresso);
  background: var(--espresso);
  color: var(--cream);
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn:hover { background: transparent; color: var(--espresso); }

.btn-outline {
  background: transparent;
  color: var(--espresso);
}
.btn-outline:hover { background: var(--espresso); color: var(--cream); }

.btn-light { border-color: var(--cream); background: var(--cream); color: var(--espresso); }
.btn-light:hover { background: transparent; color: var(--cream); }

.btn:disabled,
.btn[disabled] { opacity: 0.4; cursor: not-allowed; }

.link-underline {
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
}

/* ---------- 4. Layout-hulpmiddelen ---------- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 2rem; }
.section   { padding: 6rem 0; }
.center    { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

/* ---------- 5. Header / navigatie ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 241, 233, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.brand span { color: var(--gold); }

.nav-links { display: flex; gap: 2.2rem; align-items: center; }
.nav-links a {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--espresso);
  padding: 0.4rem 0;
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute; left: 0; bottom: -2px;
  width: 0; height: 1px; background: var(--gold);
  transition: width 0.3s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-right { display: flex; align-items: center; gap: 1.4rem; }

.lang-toggle {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  display: inline-flex;
}
.lang-toggle button {
  border: none; background: transparent; cursor: pointer;
  padding: 0.35rem 0.7rem; color: var(--taupe);
  font-family: var(--font-sans); letter-spacing: 0.1em;
}
.lang-toggle button.active { background: var(--espresso); color: var(--cream); }

.cart-link { position: relative; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.16em; }
.cart-count {
  position: absolute; top: -10px; right: -14px;
  background: var(--gold); color: var(--white);
  font-size: 0.62rem; min-width: 17px; height: 17px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-sans);
}

.nav-toggle { display: none; background: none; border: none; cursor: pointer; font-size: 1.4rem; }

/* ---------- 6. Footer ---------- */
.site-footer {
  background: var(--espresso);
  color: var(--cream-deep);
  padding: 4.5rem 0 2rem;
  margin-top: 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 2.5rem;
}
.site-footer .brand { color: var(--cream); margin-bottom: 1rem; display: inline-block; }
.site-footer h4 {
  font-family: var(--font-sans); font-size: 0.78rem; text-transform: uppercase;
  letter-spacing: 0.2em; color: var(--gold-soft); margin-bottom: 1.1rem; font-weight: 400;
}
.site-footer a { color: var(--cream-deep); font-size: 0.92rem; }
.site-footer a:hover { color: var(--white); }
.site-footer li { margin-bottom: 0.6rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 3rem; padding-top: 1.5rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem;
  font-size: 0.8rem; color: var(--taupe);
}

/* ---------- 7. Home: hero ---------- */
.hero {
  position: relative;
  min-height: 86vh;
  display: flex; align-items: center;
  color: var(--cream);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(22,16,12,0.72) 0%, rgba(22,16,12,0.45) 42%, rgba(22,16,12,0.18) 72%, rgba(22,16,12,0.08) 100%),
    linear-gradient(180deg, rgba(22,16,12,0.10) 0%, rgba(22,16,12,0) 30%);
}
.hero .container { position: relative; z-index: 2; max-width: 640px; }
.hero h1 { font-size: clamp(2.8rem, 7vw, 5.2rem); margin: 1rem 0 1.4rem; text-shadow: 0 2px 24px rgba(0,0,0,0.28); }
.hero p { font-size: 1.15rem; font-weight: 300; max-width: 460px; margin-bottom: 2.2rem; text-shadow: 0 1px 12px rgba(0,0,0,0.3); }
.hero .eyebrow { color: var(--gold-soft); }

@media (max-width: 640px) {
  .hero::after {
    background: linear-gradient(180deg, rgba(22,16,12,0.55) 0%, rgba(22,16,12,0.30) 40%, rgba(22,16,12,0.60) 100%);
  }
}

/* ---------- 7b. Uitgelichte producten / kaarten ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.product-card { display: block; group: card; }
.product-card .img-wrap {
  position: relative; overflow: hidden; background: var(--cream-deep);
  aspect-ratio: 3 / 4;
}
.product-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s ease;
}
.product-card:hover img { transform: scale(1.04); }
.product-card .card-body { padding: 1.2rem 0.2rem; }
.product-card h3 { font-size: 1.5rem; }
.product-card .card-tagline { color: var(--taupe); font-size: 0.92rem; margin: 0.3rem 0 0.6rem; }
.product-card .card-price { font-family: var(--font-serif); font-size: 1.25rem; }
.swatch {
  display: inline-block; width: 14px; height: 14px; border-radius: 50%;
  border: 1px solid var(--line); vertical-align: middle; margin-right: 0.4rem;
}

/* ---------- 7c. Merkverhaal (split) ---------- */
.split {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 4rem;
}
.split img { aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.split-text h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); margin-bottom: 1.2rem; }
.split-text p { color: var(--taupe); margin-bottom: 1.6rem; max-width: 46ch; }

/* ---------- 7d. Lookbook strip ---------- */
.lookbook {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.5rem;
}
.lookbook img { aspect-ratio: 3/4; object-fit: cover; width: 100%; filter: saturate(0.96); }

/* ---------- 7e. Video ---------- */
.video-band { position: relative; height: 70vh; overflow: hidden; display:flex; align-items:center; justify-content:center; }
.video-band video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
/* De twee crossfade-lagen vloeien zacht in elkaar over */
.video-band .vb-layer { transition: opacity 1s ease; will-change: opacity; }
.video-band::after { content:""; position:absolute; inset:0; background: rgba(20,15,12,0.35); z-index:1; }
.video-band .container { position: relative; z-index: 2; color: var(--cream); text-align:center; }
.video-band h2 { font-size: clamp(2rem, 5vw, 3.6rem); }

/* ---------- 8. Shop & productpagina ---------- */
.page-head { padding: 4rem 0 2rem; text-align: center; }
.page-head h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }

.product-detail { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3.5rem; align-items: start; }
.gallery-main { background: var(--cream-deep); aspect-ratio: 3/4; overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.5rem; margin-top: 0.5rem; }
.gallery-thumbs img {
  aspect-ratio: 3/4; object-fit: cover; cursor: pointer; opacity: 0.6;
  transition: opacity 0.25s ease; width: 100%;
}
.gallery-thumbs img:hover, .gallery-thumbs img.active { opacity: 1; }

.pd-info { position: sticky; top: 100px; }
.pd-info h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.pd-info .tagline { color: var(--taupe); margin: 0.4rem 0 1.2rem; font-size: 1.05rem; }
.pd-price { font-family: var(--font-serif); font-size: 1.7rem; }
.pd-price-note { display:block; color: var(--taupe); font-size: 0.8rem; margin-top: 0.2rem; }
.pd-desc { margin: 1.6rem 0; color: #4a4038; }

.size-row { margin: 1.6rem 0 0.4rem; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.16em; }
.sizes { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.size-btn {
  min-width: 48px; padding: 0.6rem 0.4rem; border: 1px solid var(--line);
  background: transparent; cursor: pointer; font-family: var(--font-sans);
  letter-spacing: 0.08em; transition: all 0.2s ease;
}
.size-btn:hover { border-color: var(--espresso); }
.size-btn.active { background: var(--espresso); color: var(--cream); border-color: var(--espresso); }

.pd-actions { display: flex; gap: 1rem; align-items: center; margin-top: 0.5rem; }
.pd-feedback { font-size: 0.85rem; color: var(--gold); min-height: 1.2em; margin-top: 0.6rem; }

.accordion { border-top: 1px solid var(--line); margin-top: 2rem; }
.accordion-item { border-bottom: 1px solid var(--line); }
.accordion-head {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 1.1rem 0; font-family: var(--font-sans); font-size: 0.82rem;
  text-transform: uppercase; letter-spacing: 0.16em; color: var(--espresso);
  display: flex; justify-content: space-between; align-items: center;
}
.accordion-body { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; color: var(--taupe); }
.accordion-body .inner { padding: 0 0 1.2rem; }
.accordion-body ul li { position: relative; padding-left: 1.2rem; margin-bottom: 0.4rem; }
.accordion-body ul li::before { content: "—"; position: absolute; left: 0; color: var(--gold); }
.accordion-item.open .accordion-body { max-height: 320px; }
.accordion-item.open .accordion-head .plus { transform: rotate(45deg); }
.plus { transition: transform 0.3s ease; display:inline-block; }

/* ---------- 9. Winkelwagen ---------- */
.cart-table { width: 100%; }
.cart-item {
  display: grid; grid-template-columns: 90px 1fr auto; gap: 1.2rem;
  align-items: center; padding: 1.4rem 0; border-bottom: 1px solid var(--line);
}
.cart-item img { width: 90px; aspect-ratio: 3/4; object-fit: cover; }
.cart-item .ci-name { font-family: var(--font-serif); font-size: 1.2rem; }
.cart-item .ci-meta { color: var(--taupe); font-size: 0.9rem; }
.cart-item .ci-remove { background:none; border:none; color: var(--taupe); cursor:pointer;
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; text-decoration: underline; }
.qty-ctrl { display:inline-flex; border:1px solid var(--line); }
.qty-ctrl button { background:none; border:none; width:30px; cursor:pointer; font-size:1rem; }
.qty-ctrl span { width:34px; text-align:center; line-height:30px; }
.cart-summary { margin-top: 2rem; display:flex; flex-direction: column; align-items: flex-end; gap: 1rem; }
.cart-summary .subtotal { font-family: var(--font-serif); font-size: 1.5rem; }
.cart-note { background: var(--cream-deep); padding: 1rem 1.2rem; border-radius: var(--radius);
  color: var(--taupe); font-size: 0.9rem; max-width: 420px; text-align: right; }
.empty-cart { text-align:center; padding: 4rem 0; }

/* ---------- 9b. About & waarden ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.value-card { text-align: center; padding: 2rem 1rem; }
.value-card .num { font-family: var(--font-serif); font-size: 2.4rem; color: var(--gold); }
.value-card h3 { font-size: 1.3rem; margin: 0.6rem 0; }
.value-card p { color: var(--taupe); font-size: 0.95rem; }

/* ---------- 9c. Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3.5rem; }
.form-field { margin-bottom: 1.2rem; }
.form-field label { display:block; font-size: 0.78rem; text-transform: uppercase;
  letter-spacing: 0.14em; margin-bottom: 0.4rem; color: var(--taupe); }
.form-field input, .form-field textarea {
  width: 100%; padding: 0.9rem 1rem; border: 1px solid var(--line);
  background: var(--white); font-family: var(--font-sans); font-size: 0.95rem; color: var(--espresso);
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-note { color: var(--taupe); font-size: 0.85rem; margin-top: 0.8rem; }
.contact-info p { margin-bottom: 0.8rem; color: var(--taupe); }
.contact-info a { color: var(--gold); }

/* ---------- 10. Responsive (mobiel) ---------- */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .split, .product-detail, .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .values { grid-template-columns: 1fr; }
  .pd-info { position: static; }
  .lookbook { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .container { padding: 0 1.2rem; }
  .section { padding: 3.5rem 0; }
  .nav-links {
    position: fixed; top: 76px; right: 0; width: 72%; height: calc(100vh - 76px);
    background: var(--cream); flex-direction: column; align-items: flex-start;
    padding: 2rem; gap: 1.4rem; transform: translateX(100%); transition: transform 0.3s ease;
    border-left: 1px solid var(--line); box-shadow: -10px 0 30px rgba(0,0,0,0.05);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-toggle { display: block; }
  .product-grid { grid-template-columns: 1fr; }
  .cart-note { text-align: left; }
}

/* ---------- 11. Juridische pagina's + taalblokken ---------- */
/* De taalknop (NL/EN) zet lang="nl" of lang="en" op het <html>-element.
   Daarmee tonen we automatisch het juiste taalblok — zonder extra
   JavaScript. Let op: we gebruiken hier EIGEN klassen (lang-block-*),
   niet het data-lang-attribuut van de taalknoppen zelf. */
html[lang="en"] .lang-block-nl { display: none; }
html[lang="nl"] .lang-block-en { display: none; }

.legal { max-width: 760px; }
.legal h2 { font-size: 1.5rem; margin: 2.4rem 0 0.8rem; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 1.1rem; margin: 1.4rem 0 0.5rem; }
.legal p, .legal li { color: var(--taupe); margin-bottom: 0.9rem; }
.legal ul, .legal ol { padding-left: 1.3rem; margin-bottom: 1rem; }
.legal ul { list-style: disc; }
.legal ol { list-style: decimal; }
.legal a { color: var(--gold); }
.legal .legal-meta {
  font-size: 0.85rem; margin-top: 2.5rem; padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

/* Gele markering: alles wat jij nog moet invullen is zo direct zichtbaar. */
.placeholder {
  background: #FBE4B5; color: var(--espresso);
  padding: 0.05em 0.35em; border-radius: 2px; font-weight: 500;
}
