@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Montserrat:wght@400;500;600;700&display=swap');

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

:root {
  --primary: #556B2F;      /* Kamado Green */
  --accent:  #D69A3A;      /* Warm LED Amber */
  --light:   #E9E5DC;      /* Warm Sand / Beige */
  --border:  #cfc9bc;
  --text:    #2B2B2B;      /* Charcoal Black */
  --muted:   #6b6558;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text);
  background: var(--light);
}

h1, h2, h3, h4,
.logo,
.hero h1,
h2.section-title,
.product-info h3,
.order-summary-box h3 {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: .04em;
}

/* ── NAV ── */
nav {
  background: #E9E5DC;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 110px;
  position: sticky;
  top: 0;
  z-index: 100;
}

nav .logo {
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
}

nav .logo img {
  height: 100px;
  width: auto;
}

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

nav ul a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color .2s;
}

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

.cart-icon {
  position: relative;
  color: var(--text);
  text-decoration: none;
  font-size: 1.1rem;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -10px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  font-size: 0.7rem;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* ── HERO ── */
.hero {
  background: #E9E5DC;
  color: var(--text);
  padding: 5rem 2rem;
  text-align: center;
}

/* Video hero */
.hero.hero-video {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 2rem;
  background: #1a1a1a;
}

.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 85%;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.35) 0%, rgba(0,0,0,.5) 100%);
  z-index: 1;
}

/* ── Rook animatie ── */
.smoke-container {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

/* ── Volledige mist over hero ── */
.smoke-puff {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.7) 0%, rgba(230,230,230,0.45) 45%, transparent 100%);
  filter: blur(50px);
  animation: mistFloat ease-in-out infinite;
}

/* Verspreid over volledige breedte én hoogte */
.smoke-puff:nth-child(1) { width: 70vw; height: 55vh; left: -15%; top: -10%; animation-duration: 10s; animation-delay:  0s; }
.smoke-puff:nth-child(2) { width: 65vw; height: 50vh; left: 25%;  top:  5%;  animation-duration: 13s; animation-delay: -3s; }
.smoke-puff:nth-child(3) { width: 70vw; height: 55vh; left: 45%;  top: -5%;  animation-duration: 11s; animation-delay: -6s; }
.smoke-puff:nth-child(4) { width: 75vw; height: 60vh; left: -20%; top: 40%;  animation-duration: 14s; animation-delay: -2s; }
.smoke-puff:nth-child(5) { width: 70vw; height: 55vh; left: 35%;  top: 45%;  animation-duration: 12s; animation-delay: -5s; }

@keyframes mistFloat {
  0%   { transform: translateX(0px)   translateY(0px);   opacity: 0.65; }
  25%  { transform: translateX(25px)  translateY(-20px); opacity: 1; }
  50%  { transform: translateX(-15px) translateY(-30px); opacity: 0.75; }
  75%  { transform: translateX(20px)  translateY(-10px); opacity: 1; }
  100% { transform: translateX(0px)   translateY(0px);   opacity: 0.65; }
}

/* ── Vlammetjes ── */
.flame {
  position: absolute;
  bottom: 3%;
  animation: flameRise linear infinite;
}

/* Outer flame — brede, lagere oranje laag */
.flame::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 100%;
  background: linear-gradient(to top,
    rgba(255,25,0,1)    0%,
    rgba(255,90,0,0.9)  25%,
    rgba(255,160,0,0.7) 55%,
    rgba(255,210,0,0.35) 80%,
    transparent 100%
  );
  clip-path: polygon(
    50%  0%,
    62%  18%,
    88%  12%,
    78%  35%,
    100% 52%,
    82%  62%,
    92%  80%,
    68%  72%,
    60%  90%,
    50%  100%,
    40%  90%,
    32%  72%,
    8%   80%,
    18%  62%,
    0%   52%,
    22%  35%,
    12%  12%,
    38%  18%
  );
  filter: blur(1px);
  animation: flameWobble ease-in-out infinite;
}

/* Inner kern — smal, helder geel/wit */
.flame::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 45%;
  height: 70%;
  background: linear-gradient(to top,
    rgba(255,255,180,0.95) 0%,
    rgba(255,220,30,0.85)  30%,
    rgba(255,150,0,0.6)    65%,
    transparent 100%
  );
  clip-path: polygon(
    50%  0%,
    68%  22%,
    90%  45%,
    72%  62%,
    62%  82%,
    50%  100%,
    38%  82%,
    28%  62%,
    10%  45%,
    32%  22%
  );
  filter: blur(0.5px);
  animation: flameWobble ease-in-out infinite reverse;
}

@keyframes flameWobble {
  0%   { transform: translateX(-50%) scaleX(1)    skewX(0deg); }
  20%  { transform: translateX(-50%) scaleX(0.82) skewX(-5deg); }
  45%  { transform: translateX(-50%) scaleX(1.12) skewX(4deg); }
  70%  { transform: translateX(-50%) scaleX(0.88) skewX(-3deg); }
  100% { transform: translateX(-50%) scaleX(1)    skewX(0deg); }
}

.flame:nth-child(6)  { width: 32px;  height: 160px; left: 8%;  animation-duration: 1.8s; animation-delay:  0s; }
.flame:nth-child(7)  { width: 22px;  height: 120px; left: 21%; animation-duration: 1.5s; animation-delay: -0.4s; }
.flame:nth-child(8)  { width: 42px;  height: 200px; left: 37%; animation-duration: 2.1s; animation-delay: -0.8s; }
.flame:nth-child(9)  { width: 28px;  height: 145px; left: 54%; animation-duration: 1.7s; animation-delay: -0.2s; }
.flame:nth-child(10) { width: 36px;  height: 175px; left: 69%; animation-duration: 2.3s; animation-delay: -1.0s; }
.flame:nth-child(11) { width: 20px;  height: 110px; left: 84%; animation-duration: 1.6s; animation-delay: -0.6s; }

@keyframes flameRise {
  0%   { transform: translateY(0);     opacity: 0; }
  6%   { opacity: 1; }
  50%  { transform: translateY(-30%);  opacity: 0.9; }
  85%  { transform: translateY(-70%);  opacity: 0.5; }
  100% { transform: translateY(-100%); opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
}

.hero-content h1 {
  font-size: 3.8rem;
  margin-bottom: 1rem;
  letter-spacing: .06em;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,.4);
}

.hero-content p {
  font-size: 1.15rem;
  opacity: .9;
  max-width: 540px;
  margin: 0 auto 2rem;
  color: #fff;
}

.btn-outline-light {
  display: inline-block;
  padding: .75rem 1.75rem;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  font-size: 1rem;
  transition: all .2s;
  border: 2px solid #fff;
  color: #fff;
  background: transparent;
}

.btn-outline-light:hover {
  background: #fff;
  color: var(--text);
}

.hero h1 {
  font-size: 3.8rem;
  margin-bottom: 1rem;
  letter-spacing: .06em;
}

.hero p {
  font-size: 1.15rem;
  opacity: .85;
  max-width: 540px;
  margin: 0 auto 2rem;
}

.btn {
  display: inline-block;
  padding: .75rem 1.75rem;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  font-size: 1rem;
  transition: opacity .2s, transform .15s;
}

.btn:hover {
  opacity: .9;
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-dark {
  background: var(--primary);
  color: #fff;
}

/* ── SECTIONS ── */
section {
  padding: 4rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

section.full-width {
  max-width: 100%;
  background: #fff;
  padding: 4rem 2rem;
}

section.full-width .inner {
  max-width: 1100px;
  margin: 0 auto;
}

h2.section-title {
  font-size: 2.4rem;
  margin-bottom: .5rem;
  letter-spacing: .05em;
}

.section-sub {
  color: var(--muted);
  margin-bottom: 2.5rem;
}

/* ── FEATURES ── */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.feature-card {
  text-align: center;
  padding: 2rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
}

.feature-card .icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  margin-bottom: .5rem;
}

.feature-card p {
  color: var(--muted);
  font-size: .9rem;
}

/* ── HOME PRODUCTS ── */
.home-products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (max-width: 640px) {
  .home-products-grid { grid-template-columns: 1fr; }
}

/* ── PRODUCT GRID ── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.75rem;
}

.product-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow .2s;
  background: #fff;
}

.product-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--light);
}

.product-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #e0e0e0, #c8c8c8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.product-info {
  padding: 1rem;
}

.product-info h3 {
  font-size: 1rem;
  margin-bottom: .25rem;
}

.product-info .desc {
  font-size: .85rem;
  color: var(--muted);
  margin-bottom: .75rem;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
}

.btn-add {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: .45rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: .85rem;
  transition: background .2s;
}

.btn-add:hover {
  background: var(--accent);
}

/* ── CART ── */
.cart-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
}

.cart-table th {
  text-align: left;
  padding: .75rem 1rem;
  background: var(--light);
  border-bottom: 2px solid var(--border);
  font-size: .9rem;
}

.cart-table td {
  padding: .85rem 1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.cart-table .qty-control {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.qty-control button {
  width: 28px;
  height: 28px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
}

.qty-control button:hover {
  background: var(--light);
}

.remove-btn {
  background: none;
  border: none;
  color: var(--accent);
  cursor: pointer;
  font-size: 1.1rem;
}

.cart-summary {
  margin-top: 1.5rem;
  text-align: right;
}

.cart-summary .total {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.empty-cart {
  text-align: center;
  padding: 3rem;
  color: var(--muted);
}

.empty-cart .icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

/* ── CHECKOUT ── */
.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 768px) {
  .checkout-grid { grid-template-columns: 1fr; }
}

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

.form-group label {
  display: block;
  margin-bottom: .4rem;
  font-weight: 600;
  font-size: .9rem;
}

.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: .65rem .9rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: .95rem;
  font-family: inherit;
  background: #fff;
}

.form-group input:focus, .form-group select:focus {
  outline: none;
  border-color: var(--primary);
}

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

.order-summary-box {
  background: #fff;
  border-radius: 10px;
  padding: 1.5rem;
  border: 1px solid var(--border);
}

.order-summary-box h3 {
  margin-bottom: 1rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--border);
}

.order-line {
  display: flex;
  justify-content: space-between;
  margin-bottom: .6rem;
  font-size: .95rem;
}

.order-total {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 1.1rem;
  border-top: 2px solid var(--border);
  margin-top: .75rem;
  padding-top: .75rem;
}

.bank-info {
  background: #f4f1e8;
  border: 1px solid var(--accent);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin-top: 1.5rem;
  font-size: .9rem;
}

.bank-info h4 {
  margin-bottom: .5rem;
  color: var(--primary);
}

.bank-info p {
  margin-bottom: .25rem;
}

/* ── SUCCES ── */
.success-page {
  text-align: center;
  padding: 5rem 2rem;
}

.success-page .check {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.success-page h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.success-page p {
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto .5rem;
}

/* ── FOOTER ── */
footer {
  background: var(--primary);
  color: rgba(255,255,255,0.7);
  text-align: center;
  padding: 1.5rem 1.5rem 1.25rem;
  font-size: .9rem;
  margin-top: 4rem;
}

footer .footer-insta {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: .6rem;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: .88rem;
  transition: color .2s;
}

footer .footer-insta:hover {
  color: #fff;
}

/* ── TOAST ── */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #27ae60;
  color: #fff;
  padding: .75rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  transform: translateY(100px);
  opacity: 0;
  transition: all .3s;
  z-index: 999;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ── HAMBURGER ── */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem;
  flex-direction: column;
  gap: 5px;
  z-index: 101;
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 2.5px;
  background: var(--text);
  border-radius: 2px;
  transition: all .3s;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ── TABLET (≤1024px) ── */
@media (max-width: 1024px) {
  nav { padding: 0 1.5rem; }
  nav ul { gap: 1rem; font-size: .9rem; }
  section { padding: 3rem 1.5rem; }
  .hero-content h1 { font-size: 3rem; }
  .checkout-grid { grid-template-columns: 1fr; }
}

/* ── MOBIEL (≤768px) ── */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  nav ul {
    display: none;
    position: fixed;
    top: 110px;
    left: 0;
    right: 0;
    background: #E9E5DC;
    flex-direction: column;
    padding: 1rem 2rem 1.5rem;
    gap: 0;
    border-top: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
    z-index: 100;
  }

  nav ul.open { display: flex; }

  nav ul li a {
    display: block;
    padding: .75rem 0;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--border);
  }

  nav ul li:last-child a { border-bottom: none; }

  .hero-content h1 { font-size: 2.4rem; }
  .hero-content p   { font-size: 1rem; }

  section { padding: 2.5rem 1.25rem; }
  section.full-width { padding: 2.5rem 1.25rem; }

  h2.section-title { font-size: 2rem; }

  .features { grid-template-columns: 1fr 1fr; gap: 1rem; }

  .product-grid { grid-template-columns: 1fr 1fr; }

  .compat-grid { grid-template-columns: 1fr 1fr; }

  .checkout-grid { grid-template-columns: 1fr; }
}

/* ── KLEIN MOBIEL (≤500px) ── */
@media (max-width: 500px) {
  nav { height: 80px; }
  nav .logo img { height: 70px; }
  nav ul { top: 80px; }

  .hero-content h1 { font-size: 1.9rem; letter-spacing: .03em; }
  .hero-content p   { font-size: .95rem; }
  .hero-content .btn { font-size: .9rem; padding: .65rem 1.25rem; }

  section { padding: 2rem 1rem; }
  h2.section-title { font-size: 1.7rem; }

  .features       { grid-template-columns: 1fr; }
  .product-grid   { grid-template-columns: 1fr; }
  .compat-grid    { grid-template-columns: 1fr; }

  .form-row       { grid-template-columns: 1fr; }
  .config-actions { flex-direction: column; align-items: flex-start; }

  footer .footer-insta { font-size: .8rem; }
}

/* ── COOKIE BANNER ── */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #2b2b2b;
  color: #fff;
  padding: .9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  z-index: 9999;
  font-size: .85rem;
  line-height: 1.5;
  box-shadow: 0 -2px 16px rgba(0,0,0,.25);
}
#cookie-banner p { margin: 0; flex: 1; }
#cookie-ok {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: .45rem 1.25rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: .83rem;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background .2s;
}
#cookie-ok:hover { background: #6a8a3a; }
@media (max-width: 600px) {
  #cookie-banner { flex-direction: column; align-items: flex-start; }
}
