/*
Theme Name: Lekker Decadent
Theme URI: https://lekkerdecadent.nl
Author: Lekker Decadent
Author URI: https://lekkerdecadent.nl
Description: Maatwerk WordPress-thema voor Lekker Decadent, wijnproeverijen en webshop van Lisanne & Yvette in Rijssen. WooCommerce-ready.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: lekker-decadent
Tags: e-commerce, custom-colors, custom-menu, translation-ready
*/

/* ==========================================================================
   1. Root variables — kleuren, typografie, spacing
   ========================================================================== */
:root{
  --ld-goud: #B8872B;
  --ld-goud-donker: #96701F;
  --ld-marine: #2A1B4D;
  --ld-champagne: #F8F3E9;
  --ld-zand: #EDE2CE;
  --ld-wit: #FFFFFF;
  --ld-taupe: #8A7256;
  --ld-tekst: #2A1B4D;
  --ld-tekst-zacht: #5B4F72;

  --ld-font-serif: 'Playfair Display', Georgia, serif;
  --ld-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --ld-radius: 6px;
  --ld-max-width: 1200px;
  --ld-transition: 0.25s ease;
}

/* ==========================================================================
   2. Reset & basis
   ========================================================================== */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--ld-font-sans);
  color: var(--ld-tekst);
  background: var(--ld-champagne);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; height:auto; display:block; }
a{ color: var(--ld-goud-donker); text-decoration:none; transition: color var(--ld-transition); }
a:hover{ color: var(--ld-marine); }
h1,h2,h3,h4{
  font-family: var(--ld-font-serif);
  color: var(--ld-marine);
  line-height: 1.2;
  margin: 0 0 0.6em;
  font-weight: 600;
}
h1{ font-size: clamp(2rem, 4vw, 3.25rem); }
h2{ font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3{ font-size: 1.3rem; }
p{ margin:0 0 1em; }
ul{ list-style:none; margin:0; padding:0; }
button, .ld-btn{
  font-family: var(--ld-font-sans);
  cursor:pointer;
}
:focus-visible{ outline: 3px solid var(--ld-goud); outline-offset: 2px; }

.ld-container{
  max-width: var(--ld-max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.ld-section{ padding: 64px 0; }
.ld-section--alt{ background: var(--ld-zand); }
.ld-eyebrow{
  display:block;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ld-taupe);
  margin-bottom: 0.5em;
}
.ld-center{ text-align:center; }
.ld-intro-text{ max-width: 640px; margin: 0 auto 2.5rem; color: var(--ld-tekst-zacht); }

/* Buttons */
.ld-btn{
  display:inline-block;
  padding: 13px 28px;
  border-radius: var(--ld-radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid var(--ld-goud);
  transition: all var(--ld-transition);
}
.ld-btn--primary{ background: var(--ld-goud); color: var(--ld-wit); }
.ld-btn--primary:hover{ background: var(--ld-goud-donker); border-color: var(--ld-goud-donker); color: var(--ld-wit); }
.ld-btn--outline{ background: transparent; color: var(--ld-marine); border-color: var(--ld-marine); }
.ld-btn--outline:hover{ background: var(--ld-marine); color: var(--ld-wit); }
.ld-btn--ghost{ background: transparent; border-color: rgba(255,255,255,0.6); color: var(--ld-wit); }
.ld-btn--ghost:hover{ background: rgba(255,255,255,0.15); }

/* ==========================================================================
   3. Header
   ========================================================================== */
.ld-header{
  position: sticky; top:0; z-index: 100;
  background: var(--ld-champagne);
  border-bottom: 1px solid var(--ld-zand);
}
.ld-header__inner{
  max-width: var(--ld-max-width);
  margin: 0 auto;
  padding: 14px 24px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 24px;
}
.ld-logo img{ max-height: 56px; width:auto; }
.ld-logo{ font-family: var(--ld-font-serif); font-size:1.4rem; color: var(--ld-marine); }

.ld-nav{ display:flex; }
.ld-nav ul{ display:flex; gap: 28px; }
.ld-nav a{
  color: var(--ld-marine);
  font-weight: 500;
  font-size: 0.95rem;
}
.ld-nav a:hover{ color: var(--ld-goud-donker); }

.ld-header__actions{ display:flex; align-items:center; gap: 18px; }
.ld-cart-link{ position:relative; font-size:1.3rem; color: var(--ld-marine); }
.ld-cart-count{
  position:absolute; top:-8px; right:-10px;
  background: var(--ld-goud); color:#fff;
  font-size: 0.65rem; font-weight:700;
  width:18px; height:18px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
}
.ld-hamburger{
  display:none; background:none; border:none;
  font-size: 1.6rem; color: var(--ld-marine);
}
@media (max-width: 900px){
  .ld-nav{
    display:none;
    position:absolute; top:100%; left:0; right:0;
    background: var(--ld-champagne);
    border-bottom: 1px solid var(--ld-zand);
    padding: 12px 24px 24px;
  }
  .ld-nav.is-open{ display:block; }
  .ld-nav ul{ flex-direction:column; gap: 14px; }
  .ld-hamburger{ display:block; }
  .ld-btn--header{ display:none; }
}

/* ==========================================================================
   4. Hero slider
   ========================================================================== */
.ld-hero{ position:relative; overflow:hidden; background: var(--ld-marine); }
.ld-hero__slides{ display:flex; transition: transform 0.6s ease; }
.ld-hero__slide{
  min-width:100%;
  min-height: 62vh;
  display:flex; align-items:center;
  background-size: cover; background-position:center;
  position:relative;
}
.ld-hero__slide::after{
  content:""; position:absolute; inset:0;
  background: linear-gradient(0deg, rgba(42,27,77,0.72), rgba(42,27,77,0.28));
}
.ld-hero__content{
  position:relative; z-index:2;
  max-width: 620px;
  margin: 0 24px 0 auto;
  margin-left: 8%;
  color: #fff;
}
.ld-hero__content h1{ color:#fff; }
.ld-hero__content p{ font-size:1.1rem; opacity:0.92; }
.ld-hero__actions{ display:flex; gap:14px; flex-wrap:wrap; margin-top: 1.5rem; }

.ld-hero__nav{
  position:absolute; top:50%; transform:translateY(-50%);
  background: rgba(255,255,255,0.85); border:none;
  width:44px; height:44px; border-radius:50%;
  font-size:1.2rem; color: var(--ld-marine); z-index:3;
}
.ld-hero__nav--prev{ left:16px; }
.ld-hero__nav--next{ right:16px; }
.ld-hero__dots{
  position:absolute; bottom:18px; left:50%; transform:translateX(-50%);
  display:flex; gap:8px; z-index:3;
}
.ld-hero__dots button{
  width:9px; height:9px; border-radius:50%; border:none;
  background: rgba(255,255,255,0.5);
}
.ld-hero__dots button.is-active{ background: var(--ld-goud); }
@media (max-width: 700px){
  .ld-hero__content{ margin-left:0; padding: 0 24px; max-width:100%; }
  .ld-hero__nav{ display:none; }
}

/* ==========================================================================
   5. Cards & grids
   ========================================================================== */
.ld-grid{ display:grid; gap: 28px; }
.ld-grid--3{ grid-template-columns: repeat(3, minmax(0,1fr)); }
.ld-grid--4{ grid-template-columns: repeat(4, minmax(0,1fr)); }
@media (max-width: 900px){ .ld-grid--3, .ld-grid--4{ grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 560px){ .ld-grid--3, .ld-grid--4{ grid-template-columns: 1fr; } }

.ld-card{
  background: var(--ld-wit);
  border-radius: 10px;
  overflow:hidden;
  border: 1px solid var(--ld-zand);
  transition: transform var(--ld-transition), box-shadow var(--ld-transition);
  display:flex; flex-direction:column;
}
.ld-card:hover{ transform: translateY(-4px); box-shadow: 0 12px 28px rgba(42,27,77,0.12); }
.ld-card__image{ aspect-ratio: 4/3; overflow:hidden; background: var(--ld-zand); }
.ld-card__image img{ width:100%; height:100%; object-fit:cover; }
.ld-card__body{ padding: 20px; flex:1; display:flex; flex-direction:column; }
.ld-card__meta{ font-size:0.85rem; color: var(--ld-taupe); margin-bottom: 0.5em; }
.ld-card__price{ font-weight:700; color: var(--ld-goud-donker); font-size:1.05rem; margin: 0.4em 0 1em; }
.ld-card .ld-btn{ margin-top:auto; align-self:flex-start; }

/* USP icons */
.ld-usp{ text-align:center; }
.ld-usp__icon{
  width:56px; height:56px; margin:0 auto 14px;
  border-radius:50%; background: var(--ld-zand);
  display:flex; align-items:center; justify-content:center;
  color: var(--ld-goud-donker); font-size:1.5rem;
}

/* Testimonials */
.ld-testimonial{
  background:var(--ld-wit); border:1px solid var(--ld-zand); border-radius:10px;
  padding:24px; text-align:center;
}
.ld-testimonial__stars{ color: var(--ld-goud); margin-bottom:0.5em; }
.ld-testimonial__name{ margin-top:1em; font-weight:600; color:var(--ld-marine); }

/* CTA band */
.ld-cta{
  background: var(--ld-marine); color: #fff;
  border-radius: 14px; padding: 48px 32px; text-align:center;
}
.ld-cta h2{ color:#fff; }
.ld-cta p{ color: rgba(255,255,255,0.85); }

/* ==========================================================================
   6. Footer
   ========================================================================== */
.ld-footer{ background: var(--ld-marine); color: rgba(255,255,255,0.85); padding: 56px 0 24px; margin-top: 40px; }
.ld-footer a{ color: rgba(255,255,255,0.85); }
.ld-footer a:hover{ color: var(--ld-goud); }
.ld-footer h4{ color:#fff; font-size:1rem; font-family: var(--ld-font-sans); font-weight:600; }
.ld-footer__grid{ display:grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 32px; }
@media (max-width: 800px){ .ld-footer__grid{ grid-template-columns: repeat(2,minmax(0,1fr)); } }
.ld-footer__bottom{
  border-top: 1px solid rgba(255,255,255,0.15);
  margin-top: 40px; padding-top: 20px;
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px;
  font-size:0.85rem;
}
.ld-social{ display:flex; gap:12px; }
.ld-social a{ font-size:1.2rem; }
.ld-newsletter input[type="email"]{
  width:100%; padding:11px 14px; border-radius: var(--ld-radius);
  border:1px solid rgba(255,255,255,0.3); background: rgba(255,255,255,0.08); color:#fff;
  margin-bottom:10px;
}
.ld-newsletter input::placeholder{ color: rgba(255,255,255,0.6); }

/* ==========================================================================
   7. WooCommerce basisstyling
   ========================================================================== */
.woocommerce ul.products li.product{ background:var(--ld-wit); border:1px solid var(--ld-zand); border-radius:10px; padding:16px; }
.woocommerce a.button, .woocommerce button.button, .woocommerce #respond input#submit{
  background: var(--ld-goud) !important; color:#fff !important; border-radius: var(--ld-radius) !important;
  border:none !important; font-weight:600 !important;
}
.woocommerce a.button:hover, .woocommerce button.button:hover{ background: var(--ld-goud-donker) !important; }
.woocommerce span.onsale{ background: var(--ld-marine) !important; }
.woocommerce ul.products li.product .price{ color: var(--ld-goud-donker); font-weight:700; }

/* ==========================================================================
   8. FAQ / accordion (detailpagina proeverij)
   ========================================================================== */
.ld-faq details{ border-bottom:1px solid var(--ld-zand); padding: 14px 0; }
.ld-faq summary{ font-weight:600; color:var(--ld-marine); cursor:pointer; }

/* Accessibility helper */
.screen-reader-text{
  position:absolute !important; width:1px; height:1px; overflow:hidden;
  clip:rect(1px,1px,1px,1px); white-space:nowrap;
}
