/* ==========================================================================
   Bluena – homepage (printer, vitrine) en seizoensversiering op de hele site
   ========================================================================== */

:root { --bl-sticky-h: min(820px, calc(100vh - var(--hdr, 88px))); }

/* ---------- Hero met printer ---------- */
.bl-hero { position: relative; }
html, body { overflow-x: clip; }
.bl-hero__sticky { position: sticky; top: var(--hdr, 88px); height: var(--bl-sticky-h); overflow: hidden; display: flex; align-items: center; }
.bl-blob { position: absolute; border-radius: 50%; filter: blur(90px); will-change: transform; pointer-events: none; }
.bl-blob--a { width: 520px; height: 520px; background: var(--th-blob-a); opacity: .24; top: -160px; right: -80px; }
.bl-blob--b { width: 420px; height: 420px; background: var(--th-blob-b); opacity: .18; bottom: -180px; left: -120px; }
.bl-hero__inner { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 32px 48px; padding-top: 24px; padding-bottom: 24px; }
.is-party .bl-hero__inner { padding-top: 52px; }
.bl-hero__left { flex: 1 1 440px; min-width: 0; }
.bl-hero__right { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.bl-chip { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 22px; padding: 7px 14px; border-radius: 999px; background: rgba(61,220,151,.14); color: #6EF0B6; font-size: 14px; font-weight: 600; }
.bl-hero__title { margin: 0 0 22px; font-weight: 800; font-size: clamp(2.3rem, 4.4vw, 3.7rem); line-height: 1.06; letter-spacing: -0.02em; color: #fff; }
.bl-hl { display: inline-block; padding: 0 .18em; border-radius: .25em; background: var(--th-accent); color: var(--th-accent-ink); transform: rotate(-2deg); }
.bl-hero__text { margin: 0 0 32px; max-width: 34rem; font-size: clamp(1.05rem, 2vw, 1.25rem); color: #C3CADB; }
.bl-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn--big { min-height: 54px; padding: 0 28px; font-size: 17px; }
.btn--pink { border: 2px solid #FF7AC6; background: transparent; color: #FFB3D1; font-weight: 700; font-family: inherit; }
.btn--pink:hover { background: rgba(255,122,198,.12); color: #FFD1E8; }
.btn--pinkfill { background: #FF7AC6; color: #1A0614; font-weight: 700; }
.btn--pinkfill:hover { background: #FF9ED6; color: #1A0614; }
.bl-canvas-wrap { height: clamp(320px, calc(var(--bl-sticky-h) - 300px), 520px); }

@media (max-width: 859px) {
	.bl-hero { height: auto !important; }
	.bl-hero__sticky { position: relative; top: auto; height: auto; overflow: clip; }
	.bl-canvas-wrap { height: 440px; }
}

/* ---------- Lopende band ---------- */
.bl-marquee { overflow: hidden; border-top: 1px solid #1E2740; border-bottom: 1px solid #1E2740; padding: 16px 0; background: #10162A; }
.bl-marquee__track { display: flex; gap: 14px; width: max-content; animation: bl-marquee 40s linear infinite; }
.bl-marquee__track span { padding: 8px 18px; border-radius: 999px; font-weight: 700; font-size: 15px; white-space: nowrap; }
.bl-marquee__track .is-season { background: var(--th-accent); color: var(--th-accent-ink); }
@keyframes bl-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Tegels, CTA, TikTok ---------- */
.bl-title { font-weight: 800; color: #fff; }
.eyebrow--green { color: #3DDC97; }
.eyebrow--pink { color: #FF7AC6; }
.bl-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.bl-tile { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 240px; padding: 26px; border-radius: 28px; text-decoration: none; overflow: hidden; transition: transform .25s var(--ease); }
.bl-tile:hover { transform: translateY(-6px) rotate(1.5deg); color: inherit; }
.bl-tile .icon { width: 56px; height: 56px; stroke-width: 1.6; }
.bl-tile__name { display: block; font-family: var(--font-display); font-weight: 800; font-size: 24px; line-height: 1.15; }
.bl-tile__more { font-weight: 600; }
.bl-cta { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; gap: 28px 48px; padding: clamp(32px, 5vw, 64px); border-radius: 36px; background: var(--th-cta); color: var(--th-cta-ink); }
.bl-cta__a { position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; background: var(--th-cta-a); opacity: .9; }
.bl-cta__b { position: absolute; right: 120px; bottom: -80px; width: 180px; height: 180px; border-radius: 40px; background: var(--th-cta-b); transform: rotate(18deg); }
.bl-cta__text { position: relative; flex: 1 1 420px; min-width: 0; }
.bl-cta__text h2 { margin: 0 0 12px; font-weight: 800; font-size: clamp(1.8rem, 4.2vw, 3rem); line-height: 1.05; color: var(--th-cta-ink); }
.bl-cta__text p { margin: 0; max-width: 30rem; font-size: 18px; font-weight: 500; opacity: .88; }
.bl-cta__btn { position: relative; display: inline-flex; align-items: center; gap: 12px; min-height: 64px; padding: 0 34px; border: 0; border-radius: 999px; background: #0B0F1A; color: #FFC94D; font: inherit; font-weight: 800; font-size: 19px; cursor: pointer; box-shadow: 0 8px 0 rgba(0,0,0,.45); transition: transform .2s; }
.bl-cta__btn:hover { transform: translateY(-2px) scale(1.02); }
.bl-tiktok { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: 36px clamp(24px, 4vw, 48px); border-radius: 30px; background: #141B2E; border: 2px dashed #3A4566; }
.bl-tiktok h2 { margin: 0 0 8px; font-size: clamp(1.4rem, 3vw, 2rem); color: #fff; }
.bl-tiktok p { margin: 0; color: var(--muted); }

/* ---------- Seizoensversiering ---------- */
.bl-garland { position: absolute; left: 0; right: 0; top: 100%; height: 48px; pointer-events: none; overflow: hidden; transition: opacity .3s; }
.bl-garland svg { position: absolute; left: 0; top: 0; display: block; width: 100%; height: 40px; }
.bl-garland span { position: absolute; transform-origin: 50% 0; }
.is-scrolled-top .bl-garland { opacity: 0; }
.bl-blink { animation: bl-blink 1.4s ease-in-out infinite; }
@keyframes bl-blink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.bl-sway { animation: bl-sway 2.6s ease-in-out infinite; }
@keyframes bl-sway { 0%, 100% { transform: rotate(-5deg); } 50% { transform: rotate(5deg); } }
.bl-vcard { transition: transform .2s; }
.bl-vcard:hover { transform: translateY(-3px); }
.bl-fx { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 45; }
.fx-toggle { color: #FFC94D; }
.fx-toggle .fx-slash { display: none; }
.fx-toggle.is-off { color: var(--muted); }
.fx-toggle.is-off .fx-slash { display: inline; }
.season-footer { color: var(--th-accent); font-weight: 700; margin-top: 8px; }

@media (prefers-reduced-motion: reduce) {
	.bl-marquee__track, .bl-blink, .bl-sway { animation: none; }
	.bl-tile:hover, .bl-cta__btn:hover, .bl-vcard:hover { transform: none; }
}

/* Knoppen uit de blokeditor in de huisstijl */
.wp-block-button__link { background: #FFC94D; color: #1A1406; font-weight: 700; }
.wp-block-button__link:hover { background: #FFD46E; color: #1A1406; }
