/*
Theme Name:   KB Café
Theme URI:    https://kbcafe.nl
Description:  KB Café custom theme — geen parent theme nodig
Author:       KB Café
Version:      1.0.0
Text Domain:  kbcafe
*/

/* ─── TOKENS ─────────────────────────────────────────────── */
:root {
  --purple:    #5c3480;
  --purple-l:  #7b4aab;
  --purple-d:  #3d1f60;
  --teal:      #3bbfbf;
  --teal-d:    #2a9090;
  --ink:       #0e0b14;
  --ink2:      #1a1428;
  --cream:     #faf6ef;
  --cream2:    #f0ebe0;
  --white:     #ffffff;
  --muted:     #9a8fa8;
  --font-display: 'Cormorant Garamond', serif;
  --font-body:    'Outfit', sans-serif;
  --max: 1240px;
  --pad: clamp(24px, 5vw, 80px);
}

/* ─── RESET ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--ink); color: var(--white); overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ─── UTILITY ─────────────────────────────────────────────── */
.kbc-container { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }

/* ─── TOPBAR ──────────────────────────────────────────────── */
.kbc-topbar { background: #120a20; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.kbc-topbar-inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; }
.kbc-topbar-item { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.75); }
.kbc-topbar-item svg { color: var(--teal); flex-shrink: 0; width: 15px; height: 15px; }
@media (max-width: 600px) {
  .kbc-topbar { padding: 10px 0; }
  .kbc-topbar-inner { position: relative; height: 20px; }
  .kbc-topbar-item { font-size: 12px; position: absolute; inset: 0; justify-content: center; opacity: 0; transition: opacity .4s ease; pointer-events: none; }
  .kbc-topbar-item.kbc-topbar-active { opacity: 1; pointer-events: auto; }
}

/* ─── NAV ─────────────────────────────────────────────────── */
.kbc-nav { position: sticky; top: 0; z-index: 1000; background: var(--ink); height: 70px; display: flex; align-items: center; border-bottom: 1px solid rgba(255,255,255,0.05); transition: background 0.4s, backdrop-filter 0.4s; }
.kbc-nav.scrolled { background: rgba(14,11,20,0.9); backdrop-filter: blur(20px); border-bottom: 1px solid rgba(255,255,255,0.08); }
.kbc-nav-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.kbc-nav-logo { display: flex; align-items: center; gap: 10px; }
.kbc-nav-logo-img { height: 44px; width: auto; }
.kbc-nav-logo-mark svg { display: block; }
.kbc-nav-logo-text { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--white); letter-spacing: -0.3px; }
.kbc-nav-logo-text em { font-style: italic; color: var(--teal); }
.kbc-nav-links { display: flex; gap: 36px; }
.kbc-nav-links li a { font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.65); transition: color 0.2s; position: relative; }
.kbc-nav-links li a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1px; background: var(--teal); transition: width 0.3s ease; }
.kbc-nav-links li a:hover { color: white; }
.kbc-nav-links li a:hover::after { width: 100%; }
.kbc-nav-cta { font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--ink); background: var(--teal); padding: 12px 24px; border-radius: 2px; transition: background 0.2s, transform 0.15s; }
.kbc-nav-cta:hover { background: var(--teal-d); transform: translateY(-1px); color: white; }

.kbc-nav-hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.kbc-nav-hamburger span { display: block; width: 24px; height: 2px; background: white; transition: all 0.3s; }
.kbc-nav-hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.kbc-nav-hamburger.active span:nth-child(2) { opacity: 0; }
.kbc-nav-hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.kbc-nav-mobile { position: fixed; inset: 0; z-index: 999; background: var(--ink2); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.kbc-nav-mobile.active { opacity: 1; pointer-events: all; }
.kbc-nav-mobile ul { display: flex; flex-direction: column; gap: 24px; text-align: center; }
.kbc-nav-mobile li a { font-size: 28px; font-weight: 600; color: white; font-family: var(--font-display); transition: color 0.2s; }
.kbc-nav-mobile li a:hover { color: var(--teal); }
.kbc-nav-mobile .kbc-nav-cta { font-size: 14px; font-family: var(--font-body); display: inline-block; margin-top: 12px; }

@media (max-width: 900px) { .kbc-nav-links { display: none; } .kbc-nav-cta { display: none; } .kbc-nav-hamburger { display: flex; } body.menu-open { overflow: hidden; } }

/* ─── FOOTER ──────────────────────────────────────────────── */
.kbc-footer { background: #0d0818; border-top: 1px solid rgba(255,255,255,0.05); padding: 72px 0 32px; }
.kbc-footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 56px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,0.06); margin-bottom: 28px; }
.kbc-footer-brand img { height: 48px; opacity: 1; margin-bottom: 20px; }
.kbc-footer-logo-text { font-family: var(--font-display); font-size: 28px; color: white; margin-bottom: 20px; display: block; }
.kbc-footer-tagline { font-size: 14px; color: var(--muted); line-height: 1.7; font-weight: 300; }
.kbc-footer-col h4 { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--white); margin-bottom: 20px; }
.kbc-footer-links { display: flex; flex-direction: column; gap: 10px; }
.kbc-footer-links li a, .kbc-footer-links a { font-size: 13px; color: var(--muted); transition: color 0.2s; display: block; }
.kbc-footer-links li a:hover, .kbc-footer-links a:hover { color: var(--teal); }
.kbc-footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.kbc-footer-copy { font-size: 12px; color: rgba(255,255,255,0.2); }
.kbc-footer-legal { display: flex; gap: 20px; }
.kbc-footer-legal a { font-size: 12px; color: rgba(255,255,255,0.2); transition: color 0.2s; }
.kbc-footer-legal a:hover { color: rgba(255,255,255,0.6); }
@media (max-width: 900px) { .kbc-footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .kbc-footer-top { grid-template-columns: 1fr; } }
