/* Zoekee homepage — adaptive platform visual system */

.zk-home {
  --zk-bg: var(--zk-surface-primary, #ffffff);
  --zk-surface: var(--zk-surface-primary, #ffffff);
  --zk-surface-2: var(--zk-surface-secondary, #f5f5f5);
  --zk-text: var(--zk-text-primary, #121212);
  --zk-muted: var(--zk-text-secondary, #666666);
  --zk-green: var(--zk-brand-leaf, #68b824);
  --zk-green-deep: var(--zk-brand-forest, #1b4332);
  --zk-green-btn: var(--zk-button-primary-bg, #121212);
  --zk-line: var(--zk-border, #e6e6e6);
  --zk-font: var(--bs-font-family, "Plus Jakarta Sans", Nunito, system-ui, sans-serif);

  background: var(--zk-bg);
  color: var(--zk-text);
  font-family: var(--zk-font);
  overflow: clip;
}

[data-bs-theme="dark"] .zk-home {
  --zk-bg: var(--zk-surface-primary, #0b100e);
  --zk-surface: var(--zk-surface-secondary, #141a16);
  --zk-surface-2: var(--zk-surface-secondary, #141a16);
  --zk-text: var(--zk-text-primary, #f4f7f1);
  --zk-muted: var(--zk-text-secondary, rgba(244, 247, 241, 0.68));
  --zk-green: var(--zk-brand-leaf, #7ed321);
  --zk-green-deep: var(--zk-brand-leaf, #68b824);
  --zk-green-btn: var(--zk-button-primary-bg, #f4f7f1);
  --zk-line: var(--zk-border, rgba(255, 255, 255, 0.1));
}

.zk-home a {
  color: inherit;
  text-decoration: none;
}

.zk-shell {
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
}

/* Hero */
.zk-hero {
  --zk-hero-ink: #ffffff;
  --bs-heading-color: var(--zk-hero-ink);
  position: relative;
  min-height: clamp(20rem, 36vw, 30rem);
  display: grid;
  align-items: end;
  padding: 3rem 0 2rem;
}

.zk-hero-collage {
  position: absolute;
  inset: 0;
  gap: 0.35rem;
  overflow: hidden;
  background:
    url("../../page_images/zoekee/hero-collage.1ad0a1da0cc6.png") center / cover no-repeat;
  animation: zk-pan 18s ease-in-out infinite alternate;
}

@keyframes zk-pan {
  from { background-position: center 50%; }
  to { background-position: center 46%; }
}

.zk-hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 64%, rgba(6, 10, 8, 0.3) 100%),
    linear-gradient(180deg, rgba(18, 18, 18, 0.28) 0%, rgba(18, 18, 18, 0.14) 35%, rgba(18, 18, 18, 0.58) 100%),
    radial-gradient(ellipse at 50% 45%, rgba(18, 18, 18, 0.08), rgba(18, 18, 18, 0.46));
}

.zk-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  color: #fff !important;
}

.zk-hero h1.zk-hero-title {
  margin: 0 0 0.6rem;
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.08;
  color: var(--zk-hero-ink) !important;
}

.zk-hero-kicker {
  margin: 0 0 0.45rem;
  color: var(--zk-green);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.zk-hero-title em {
  font-style: normal;
  color: var(--zk-green);
}

.zk-hero-lede {
  margin: 0 auto 1.25rem;
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  line-height: 1.45;
}

.zk-search {
  display: flex;
  align-items: stretch;
  gap: 0;
  max-width: 520px;
  margin: 0 auto;
  padding: 0.25rem 0.35rem 0.25rem 0.75rem;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

.zk-search-input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 0.55rem 0.75rem;
  font: inherit;
  font-size: 0.98rem;
  color: #121612;
  outline: none;
}

.zk-search-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: transparent;
  color: #121612;
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}

.zk-search-submit:hover,
.zk-search-submit:focus-visible {
  background: var(--zk-green-deep);
  color: #fff;
}

/* Trending — sits on page surface after the hero fade */
.zk-trending {
  padding: 0.35rem 0 1.5rem;
  border-bottom: 1px solid var(--zk-line);
  background: var(--zk-bg);
}

.zk-trending-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  scrollbar-width: none;
}

.zk-trending-row::-webkit-scrollbar { display: none; }

.zk-trending-label {
  flex: 0 0 auto;
  color: var(--zk-muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.zk-trend-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  flex: 0 0 auto;
  padding: 0.3rem 0.85rem 0.3rem 0.3rem;
  border: 1px solid var(--zk-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--zk-text);
  font-size: 0.88rem;
  font-weight: 600;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.zk-trend-chip img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
}

.zk-trend-chip:hover {
  border-color: rgba(126, 211, 33, 0.45);
  background: rgba(126, 211, 33, 0.08);
}

/* Shared section */
.zk-section {
  padding: 2.75rem 0;
}

.zk-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.zk-section-head h2 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.zk-section-head p {
  margin: 0.25rem 0 0;
  color: var(--zk-muted);
  font-size: 0.92rem;
}

.zk-view-all {
  color: var(--zk-green);
  font-size: 0.88rem;
  font-weight: 650;
  white-space: nowrap;
}

.zk-view-all i { margin-left: 0.35rem; font-size: 0.75rem; }

/* Triad */
.zk-triad-grid {
  display: grid;
  grid-template-columns: 1.15fr 1.15fr 0.95fr;
  gap: 1.1rem;
}

.zk-panel {
  padding: 1.1rem;
  border-radius: 1.15rem;
  background: var(--zk-surface);
  border: 1px solid var(--zk-border);
}

.zk-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.zk-panel-head h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 750;
}

.zk-panel-head a {
  color: var(--zk-muted);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}

.zk-panel-head a:hover { color: var(--zk-green); }

.zk-article-list,
.zk-event-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.zk-article-list a,
.zk-event-list a {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.zk-article-list img {
  width: 64px;
  height: 64px;
  border-radius: 0.75rem;
  object-fit: cover;
  flex: 0 0 auto;
}

.zk-article-list span,
.zk-event-copy {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.zk-article-list strong,
.zk-event-copy strong,
.zk-product strong {
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.3;
}

.zk-article-list em,
.zk-event-copy em,
.zk-product em {
  font-style: normal;
  color: var(--zk-muted);
  font-size: 0.78rem;
}

.zk-market-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.zk-product {
  display: grid;
  gap: 0.4rem;
}

.zk-product img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 0.85rem;
  object-fit: cover;
}

.zk-event-date {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 0.8rem;
  background: rgba(126, 211, 33, 0.1);
  border: 1px solid rgba(126, 211, 33, 0.22);
  flex: 0 0 auto;
}

.zk-event-date b {
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: var(--zk-green);
}

.zk-event-date i {
  font-style: normal;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1;
}

/* CTA */
.zk-cta {
  padding: 1rem 0 3.5rem;
}

.zk-cta-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.4rem 1.5rem;
  border-radius: var(--zk-radius-card, 0.75rem);
  background: var(--zk-surface-secondary, #f5f5f5);
  border: 1px solid var(--zk-border, #e6e6e6);
}

[data-bs-theme="dark"] .zk-cta-inner {
  background: linear-gradient(135deg, #1a3a1f 0%, #123018 55%, #0d2414 100%);
  border-color: rgba(126, 211, 33, 0.18);
}

.zk-cta-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--zk-brand-leaf, #68b824) 16%, transparent);
  color: var(--zk-brand-forest, var(--zk-green));
  font-size: 1.2rem;
  flex: 0 0 auto;
}

.zk-cta-copy {
  flex: 1;
  min-width: 0;
}

.zk-cta-copy h2 {
  margin: 0 0 0.25rem;
  font-size: 1.25rem;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.zk-cta-copy p {
  margin: 0;
  color: var(--zk-muted);
  font-size: 0.92rem;
}

.zk-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  border-radius: 0.5rem;
  background: var(--zk-button-primary-bg, #121212);
  color: var(--zk-button-primary-text, #ffffff) !important;
  font-weight: 750;
  white-space: nowrap;
  transition: transform 0.18s ease, background 0.18s ease;
}

.zk-cta-btn:hover {
  background: color-mix(in srgb, var(--zk-button-primary-bg, #121212) 88%, var(--zk-brand-forest, #1b4332));
  transform: translateY(-1px);
}

/* Homepage inherits global adaptive chrome; keep body surface aligned */
body:has(.zk-home) {
  background: var(--zk-surface-primary, #ffffff);
}

[data-bs-theme="dark"] body:has(.zk-home) {
  background: var(--zk-surface-primary, #0b100e);
}

/* Responsive */
@media (max-width: 1100px) {
  .zk-triad-grid {
    grid-template-columns: 1fr 1fr;
  }

}

@media (max-width: 720px) {
  .zk-hero {
    min-height: 25rem;
    padding-top: 3rem;
  }

  .zk-hero-collage {
    background-position: 52% center;
  }

  .zk-search {
    max-width: 100%;
  }

  .zk-triad-grid {
    grid-template-columns: 1fr;
  }

  .zk-cta-inner {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .zk-cta-btn {
    width: 100%;
  }
}

