/* ==========================================================================
   Bluena – hoofdstijlen
   Donker, modern en speels. Mobile-first.
   ========================================================================== */

@font-face {
	font-family: "Unbounded";
	src: url("../fonts/unbounded-var.woff2") format("woff2");
	font-weight: 500 800;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Inter";
	src: url("../fonts/inter-var.woff2") format("woff2");
	font-weight: 400 700;
	font-style: normal;
	font-display: swap;
}

:root {
	--ink: #0B0F1A;
	--surface: #131A2B;
	--surface-2: #1A2338;
	--line: #24304A;
	--text: #E2E8F0;
	--heading: #F8FAFC;
	--muted: #94A3B8;
	--blue: #3B82F6;
	--blue-strong: #2563EB;
	--blue-deep: #1D4ED8;
	--violet: #A855F7;
	--coral: #FF7A59;
	--link: #7AA7FF;
	--head: #E2E8F0;

	--font-display: "Unbounded", "Arial Black", sans-serif;
	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

	--radius: 18px;
	--radius-sm: 10px;
	--gutter: 16px;
	--max: 1200px;
	--header-h: 68px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
	margin: 0;
	background: var(--ink);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; }

a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #A9C6FF; }

h1, h2, h3, h4 {
	font-family: var(--font-display);
	color: var(--heading);
	line-height: 1.15;
	letter-spacing: -0.01em;
	margin: 0 0 .5em;
	font-weight: 700;
}

:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 6px; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
	position: absolute; left: 12px; top: -60px; z-index: 100;
	background: var(--coral); color: #111; padding: 10px 16px; border-radius: 999px; font-weight: 600;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 792px; }
@media (min-width: 768px) { :root { --gutter: 32px; } }

.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Knoppen ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	min-height: 48px; padding: 0 24px; border-radius: 999px;
	font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer;
	border: 1.5px solid transparent;
	transition: transform .2s var(--ease), background-color .2s, border-color .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: #FFC94D; color: #1A1406; font-weight: 700; box-shadow: 0 6px 0 #C99417; }
.btn--primary:hover { background: #FFD46E; color: #1A1406; }
.btn--ghost { border-color: var(--line); color: var(--text); background: transparent; }
.btn--ghost:hover { border-color: var(--violet); color: #fff; }

.icon-btn {
	position: relative; display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; border-radius: 12px; color: var(--text);
	background: transparent; border: 0; cursor: pointer; text-decoration: none;
	transition: background-color .2s, color .2s;
}
.icon-btn:hover { background: var(--surface); color: #fff; }

.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; text-decoration: none; }
.link-arrow .icon { transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

.eyebrow {
	margin: 0 0 .6em; font-size: .8rem; font-weight: 600; letter-spacing: .14em;
	text-transform: uppercase; color: var(--coral);
}

/* ---------- Topbalk ---------- */
.topbar { background: var(--th-bar); color: var(--th-bar-ink); font-size: .875rem; font-weight: 600; }
.topbar__inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 32px; padding-top: 8px; padding-bottom: 8px; text-align: center; }
.topbar__inner span { display: inline-flex; align-items: center; gap: 8px; }
.topbar .icon { color: inherit; width: 18px; height: 18px; }
.topbar__extra { display: none !important; }
@media (min-width: 768px) { .topbar__extra { display: inline-flex !important; } }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(11, 15, 26, .82);
	-webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
	border-bottom: 1px solid transparent;
	transition: border-color .2s, background-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(11, 15, 26, .94); }
.admin-bar .site-header { top: 46px; }
@media (min-width: 783px) { .admin-bar .site-header { top: 32px; } }

.site-header__inner { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }
.site-header__logo { display: flex; align-items: center; flex: none; }
.site-header__logo .bluena-logo { height: 46px; width: auto; display: block; }
@media (min-width: 960px) { .site-header__logo .bluena-logo { height: 54px; } }
.site-header__actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }

.cart-count {
	position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px;
	border-radius: 999px; background: var(--coral); color: #111;
	font-size: 11px; font-weight: 700; line-height: 18px; text-align: center;
}
.cart-count.is-empty { display: none; }

/* Navigatie: mobiel een uitklapmenu, vanaf 960px een rij */
.site-nav { display: none; }
.site-nav .menu { list-style: none; margin: 0; padding: 0; }
.site-nav a {
	display: block; color: var(--text); text-decoration: none; font-weight: 500;
	padding: 12px 4px; border-radius: 10px;
}
.site-nav a:hover, .site-nav .current-menu-item > a { color: #fff; }
.site-nav .sub-menu { list-style: none; padding-left: 16px; margin: 0; }

.menu-toggle__close { display: none; }
.menu-open .menu-toggle__open { display: none; }
.menu-open .menu-toggle__close { display: inline-flex; }

.menu-open .site-nav {
	display: block; position: fixed; inset: var(--nav-top, var(--header-h)) 0 0 0;
	background: var(--ink); padding: 16px var(--gutter) 32px; overflow-y: auto;
	border-top: 1px solid var(--line);
	animation: nav-in .25s var(--ease);
}
.menu-open .site-nav a { font-family: var(--font-display); font-size: 1.35rem; padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
.menu-open { overflow: hidden; }
/* backdrop-filter maakt van de header het bevattende blok voor fixed elementen; uitzetten zolang het menu open is */
.menu-open .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--ink); }
@keyframes nav-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

.site-nav__lang { margin-top: 20px; }

@media (min-width: 960px) {
	.menu-toggle { display: none; }
	.site-nav { display: flex; align-items: center; gap: 24px; margin-left: 40px; flex: 1; }
	.site-nav .menu { display: flex; gap: 4px; }
	.site-nav a { padding: 8px 14px; position: relative; }
	.site-nav a::after {
		content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 3px; border-radius: 3px;
		background: var(--coral); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
	}
	.site-nav a:hover::after, .site-nav .current-menu-item > a::after { transform: scaleX(1); }
	.site-nav .menu-item-has-children { position: relative; }
	.site-nav .sub-menu {
		position: absolute; top: 100%; left: 0; min-width: 200px; padding: 8px;
		background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
		opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s var(--ease);
	}
	.site-nav .menu-item-has-children:hover > .sub-menu,
	.site-nav .menu-item-has-children:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
	.site-nav__lang { margin: 0 0 0 auto; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 56px 0 72px; text-align: center; }
.hero--small { padding: 96px 0; }
.hero__bed {
	position: absolute; inset: 0; pointer-events: none;
	background-image:
		linear-gradient(rgba(59,130,246,.08) 1px, transparent 1px),
		linear-gradient(90deg, rgba(59,130,246,.08) 1px, transparent 1px);
	background-size: 40px 40px;
	-webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 30%, transparent 75%);
	mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 30%, transparent 75%);
}
.hero__inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.hero__logo { width: 100%; max-width: 760px; margin: 0 auto 28px; }
.hero__logo .bluena-logo { width: 100%; height: auto; display: block; }
.hero__title { font-size: clamp(1.9rem, 6vw, 3.4rem); max-width: 18ch; margin-bottom: .4em; }
.hero__text { font-size: clamp(1.05rem, 2.4vw, 1.25rem); color: var(--muted); max-width: 40rem; margin: 0 auto 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; list-style: none; margin: 32px 0 0; padding: 0; }
.hero__chips li {
	padding: 6px 14px; border-radius: 999px; font-size: .85rem; color: var(--text);
	background: var(--surface); border: 1px solid var(--line);
}
@media (min-width: 768px) { .hero { padding: 88px 0 104px; } }

/* ---------- Secties ---------- */
.section { padding: 64px 0; }
.section--alt { background: linear-gradient(180deg, transparent, rgba(19,26,43,.6) 20%, rgba(19,26,43,.6) 80%, transparent); }
@media (min-width: 768px) { .section { padding: 96px 0; } }
.section__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 24px; margin-bottom: 32px; }
.section__head > :not(.link-arrow) { flex-basis: 100%; }
.section__head .section__title { flex-basis: auto; margin: 0; }
.section__title { font-size: clamp(1.6rem, 4vw, 2.4rem); }

.cards, .steps { display: grid; gap: 16px; grid-template-columns: 1fr; list-style: none; margin: 0; padding: 0; }
@media (min-width: 700px) { .cards, .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }

.card, .step {
	position: relative; padding: 28px; border-radius: var(--radius);
	background: var(--surface); border: 1px solid var(--line);
}
.card h3, .step h3 { font-size: 1.15rem; margin: 18px 0 .5em; }
.card p, .step p { margin: 0; color: var(--muted); }
.card__icon {
	display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
	border-radius: 14px; background: rgba(59,130,246,.12); color: var(--link);
}
.card__icon .icon { width: 26px; height: 26px; }
.step__num {
	position: absolute; top: 24px; right: 26px; font-family: var(--font-display); font-weight: 800;
	font-size: 2.2rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--line);
}

.cta {
	display: flex; flex-direction: column; align-items: flex-start; gap: 24px;
	padding: 36px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line);
}
.cta p { color: var(--muted); margin: 0; }
@media (min-width: 800px) { .cta { flex-direction: row; align-items: center; justify-content: space-between; padding: 48px; } }

/* ---------- Pagina's en berichten ---------- */
.page-hero { padding: 56px 0 24px; border-bottom: 1px solid var(--line); margin-bottom: 40px;
	background-image: linear-gradient(rgba(59,130,246,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(59,130,246,.06) 1px, transparent 1px);
	background-size: 40px 40px; }
.page-title { font-size: clamp(1.8rem, 5vw, 3rem); margin: 0; }
.page-wrap, .shop-wrap { padding-bottom: 80px; }
.shop-wrap { padding-top: 40px; }

.entry-content { font-size: 1.05rem; }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2 { font-size: 1.6rem; margin-top: 1.8em; }
.entry-content h3 { font-size: 1.25rem; margin-top: 1.5em; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--coral); color: var(--heading); }
.entry-content table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.entry-content th, .entry-content td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.entry-content details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 18px; }
.entry-content summary { cursor: pointer; font-weight: 600; color: var(--heading); }
.entry-thumb img { border-radius: var(--radius); }

.post-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.post-card__thumb img { border-radius: 12px; display: block; margin-bottom: 16px; aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.post-card__title { font-size: 1.2rem; }
.post-card__title a { color: var(--heading); text-decoration: none; }
.post-card__meta { color: var(--muted); font-size: .85rem; margin: 0 0 .6em; }

/* Formulieren (algemeen) */
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="search"],
input[type="number"], input[type="url"], textarea, select {
	width: 100%; min-height: 48px; padding: 10px 14px; font: inherit; color: var(--text);
	background: var(--ink); border: 1.5px solid var(--line); border-radius: 12px;
}
input:focus, textarea:focus, select:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(59,130,246,.25); }
label { color: var(--heading); font-weight: 500; }

/* Knoppen van WordPress-blokken */
.wp-block-button__link { border-radius: 999px; background: var(--blue-strong); color: #fff; font-weight: 600; padding: 12px 24px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: #080B14; padding-top: 56px; font-size: .95rem; }
.site-footer__grid { display: grid; gap: 36px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .site-footer__grid { grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr)); } }
.site-footer__brand p { color: var(--muted); max-width: 34ch; }
.site-footer__logo .bluena-logo { height: 52px; width: auto; display: block; }
.site-footer__title { font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; color: var(--heading); }
.footer-menu { list-style: none; margin: 0; padding: 0; }
.footer-menu a, .site-footer__address a { color: var(--muted); text-decoration: none; display: inline-block; padding: 4px 0; }
.footer-menu a:hover, .site-footer__address a:hover { color: #fff; }
.site-footer__address { font-style: normal; color: var(--muted); line-height: 1.9; }
.socials { display: flex; gap: 4px; margin-top: 12px; margin-left: -10px; }
.site-footer__bottom {
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px;
	margin-top: 48px; padding-top: 20px; padding-bottom: 28px; border-top: 1px solid var(--line);
	color: var(--muted); font-size: .85rem;
}

/* ---------- Logo-animatie ---------- */
/* Tot het script klaar staat is het hero-logo onzichtbaar; zonder script verschijnt het na 2 s gewoon. */
.js .bluena-logo--animated:not(.is-ready) { opacity: 0; animation: bl-fallback 0s 2s forwards; }
@keyframes bl-fallback { to { opacity: 1; } }

/* ---------- "Print-in": secties printen zichzelf laag voor laag bij scrollen ---------- */
.js .print-in { position: relative; }
/* Wachtend: onzichtbaar via opacity (clip-path zou de IntersectionObserver blokkeren). */
.js .print-in:not(.is-printing):not(.is-printed) { opacity: 0; }
.js .print-in.is-printing { animation: print-reveal var(--dur, .9s) steps(14, end) both; }
.js .print-in.is-printing::after {
	content: ""; position: absolute; left: 0; right: 0; height: 3px; border-radius: 3px; pointer-events: none;
	background: var(--coral); box-shadow: 0 0 12px 2px rgba(255,122,89,.55);
	animation: print-line var(--dur, .9s) steps(14, end) both;
	animation-delay: inherit;
}
.js .print-in.is-printed { clip-path: none; }
@keyframes print-reveal { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes print-line { 0% { bottom: -3px; opacity: 1; } 90% { opacity: 1; } 100% { bottom: calc(100% - 3px); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
	.js .print-in, .js .print-in:not(.is-printing):not(.is-printed), .js .print-in.is-printing { clip-path: none; animation: none; opacity: 1; }
	.js .print-in.is-printing::after { display: none; }
	.btn, .btn:hover { transform: none; }
}
