/*
Theme Name: GT Etiketten & Labels Editable
Theme URI: https://test.gt-etiketten.nl/
Author: Codex
Description: Maatwerkthema waarbij de GT-website als normale bewerkbare WordPress-pagina's wordt opgebouwd.
Version: 2.0.0
Requires at least: 6.0
Text Domain: gt-etiketten
*/

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap");

:root {
  --ink: #111827;
  --ink-soft: #4b5563;
  --muted: #64748b;
  --background: #fffdf8;
  --surface: #f7f5ee;
  --surface-2: #efede5;
  --border: #e5e0d6;
  --brand: #35b95f;
  --brand-blue: #2474d9;
  --brand-yellow: #f2ca30;
  --brand-red: #e14b32;
  --brand-purple: #9a4bc3;
  --brand-cyan: #39b8d0;
  --white: #fff;
  --radius: 8px;
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  padding-bottom: env(safe-area-inset-bottom);
}
body.admin-bar .site-header { top: 32px; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  margin: 0;
  font-family: "Space Grotesk", "Inter", Arial, sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.12;
}
p { margin: 0; }

.rainbow-bar { height: 4px; background: linear-gradient(90deg, var(--brand), var(--brand-yellow), var(--brand-red), var(--brand-blue), var(--brand-purple), var(--brand-cyan)); }
.container { width: min(1240px, calc(100% - 40px)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 253, 248, 0.94);
  backdrop-filter: blur(14px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 0; }
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo img { width: auto; height: 48px; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: 18px; color: var(--ink-soft); font-size: 14px; font-weight: 600; }
.main-nav a:hover { color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.button,
button.button,
input.button,
.wp-block-button__link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 12px 22px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.18s ease;
  text-decoration: none;
}
.button-dark, .is-style-fill .wp-block-button__link { background: var(--ink); color: var(--background); }
.button-dark:hover, .is-style-fill .wp-block-button__link:hover { transform: translateY(-1px); background: #202938; }
.button-light, .is-style-outline .wp-block-button__link { border-color: var(--border); background: var(--white); color: var(--ink); }
.button-light:hover, .is-style-outline .wp-block-button__link:hover { border-color: var(--brand-blue); color: var(--brand-blue); }
.button-yellow { background: var(--brand-yellow); color: var(--ink); }
.menu-toggle { display: none; width: 48px; height: 48px; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); color: var(--ink); font-size: 24px; }
.mobile-panel { display: none; border-top: 1px solid var(--border); background: var(--background); padding: 18px 0 22px; }
.mobile-panel.is-open { display: block; }
.mobile-panel nav { display: grid; gap: 6px; }
.mobile-panel a { border-radius: var(--radius); padding: 12px; font-weight: 800; }
.mobile-panel a:hover { background: var(--surface); }

.hero, .page-hero { border-bottom: 1px solid var(--border); background: var(--surface); }
.hero-grid, .page-hero-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  align-items: center;
  gap: 56px;
  padding: 82px 0;
}
.page-hero-grid { grid-template-columns: 1fr 520px; }
.eyebrow { color: var(--brand-blue); font-size: 13px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; }
.chip { display: inline-flex; align-items: center; gap: 12px; border: 1px solid var(--border); border-radius: 999px; background: var(--background); padding: 9px 14px; color: var(--ink-soft); font-size: 14px; font-weight: 800; }
.dot { width: 9px; height: 9px; border-radius: 999px; }
.dots { display: inline-flex; gap: 5px; }
.hero h1, .page-hero h1 { margin-top: 26px; max-width: 820px; font-size: clamp(2.55rem, 6vw, 5.15rem); }
.page-hero h1 { font-size: clamp(2.3rem, 4.7vw, 4.1rem); }
.gradient-text { background: linear-gradient(100deg, var(--brand), var(--brand-yellow), var(--brand-red), var(--brand-blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-copy, .page-copy { margin-top: 24px; max-width: 650px; color: var(--ink-soft); font-size: 18px; line-height: 1.85; }
.actions, .wp-block-buttons.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.stat-strip { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 38px; overflow: hidden; border: 1px solid var(--border); border-radius: 18px; background: var(--background); }
.stat { border-right: 1px solid var(--border); padding: 18px; }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: "Space Grotesk", "Inter", Arial, sans-serif; font-size: 30px; }
.stat span { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; }

.image-card, figure.image-card { position: relative; overflow: hidden; border: 1px solid var(--border); border-radius: 20px; background: var(--white); box-shadow: var(--shadow); margin: 0; }
.image-card img { width: 100%; height: 100%; object-fit: cover; }
.hero-image { aspect-ratio: 4 / 5; }
.page-hero-image { min-height: 340px; }
.hero-badge { position: absolute; right: 22px; bottom: 22px; left: 22px; border: 1px solid rgba(255, 255, 255, 0.5); border-radius: 18px; background: rgba(255, 253, 248, 0.92); padding: 18px; color: var(--ink); box-shadow: 0 12px 30px rgba(15, 23, 42, 0.16); }

.section { padding: 72px 0; }
.section-muted { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--surface); }
.section-dark { background: var(--ink); color: var(--background); }
.section-heading { max-width: 760px; }
.section-heading h2 { margin-top: 12px; font-size: clamp(2rem, 4vw, 3.2rem); }
.section-heading p { margin-top: 18px; color: var(--ink-soft); font-size: 17px; line-height: 1.8; }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: start; }

.card, .product-card { overflow: hidden; border: 1px solid var(--border); border-radius: 16px; background: var(--white); box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04); }
.card { padding: 28px; }
.product-card { transition: 0.18s ease; }
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.product-card-image { position: relative; aspect-ratio: 5 / 4; overflow: hidden; }
.product-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }
.product-card:hover img { transform: scale(1.045); }
.accent-bar { height: 4px; background: var(--brand-blue); }
.tag { position: absolute; top: 16px; left: 16px; border-radius: 999px; background: rgba(255, 253, 248, 0.92); padding: 6px 10px; color: var(--ink); font-size: 12px; font-weight: 800; }
.product-card-content { padding: 24px; }
.product-card-content h3, .card h3 { font-size: 23px; }
.product-card-content p, .card p, .card li { margin-top: 12px; color: var(--ink-soft); font-size: 15px; line-height: 1.75; }
.icon-box { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 10px; background: rgba(36, 116, 217, 0.12); color: var(--brand-blue); font-size: 22px; }
.list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.list li { position: relative; padding-left: 22px; }
.list li::before { position: absolute; top: 0.62em; left: 0; width: 7px; height: 7px; border-radius: 999px; background: var(--brand-blue); content: ""; }
.pill-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.pill { border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); padding: 16px; color: var(--ink-soft); font-size: 14px; font-weight: 700; }

.cta-band { padding: 72px 0; background: var(--background); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; overflow: hidden; border-radius: 24px; background: var(--ink); color: var(--background); padding: 44px; }
.cta-inner p { margin-top: 14px; color: rgba(255, 253, 248, 0.76); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-field { display: grid; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
label { font-size: 14px; font-weight: 800; }
input, select, textarea { width: 100%; border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); padding: 12px 13px; color: var(--ink); font: inherit; }
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus, button:focus, a:focus { outline: 3px solid rgba(36, 116, 217, 0.22); outline-offset: 2px; }
.notice { margin-bottom: 22px; border: 1px solid rgba(53, 185, 95, 0.35); border-radius: var(--radius); background: rgba(53, 185, 95, 0.1); padding: 14px 16px; color: #175f30; font-weight: 700; }

.entry-content > * { margin-block-start: 0; }
.entry-content > * + * { margin-block-start: 0; }
.entry-content .wp-block-group { margin: 0; }
.entry-content p a { color: var(--brand-blue); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }

.site-footer { background: var(--ink); color: var(--background); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 42px; padding: 54px 0; }
.footer-logo { display: inline-block; border-radius: var(--radius); background: var(--white); padding: 10px; }
.footer-logo img { height: 54px; width: auto; }
.site-footer p, .site-footer address, .site-footer a { color: rgba(255, 253, 248, 0.72); font-style: normal; }
.site-footer a:hover { color: var(--background); }
.footer-title { color: var(--brand-cyan); font-size: 13px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; }
.footer-links { display: grid; gap: 10px; margin-top: 18px; font-size: 14px; }
.footer-bottom { border-top: 1px solid rgba(255, 253, 248, 0.12); padding: 18px 0; color: rgba(255, 253, 248, 0.55); font-size: 12px; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 18px; }
.mobile-call-bar { display: none; }

@media (max-width: 1024px) {
  .main-nav, .header-actions { display: none; }
  .menu-toggle { display: inline-flex; }
  .hero-grid, .page-hero-grid, .split { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  body { padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
  .container { width: min(100% - 28px, 1240px); }
  .hero-grid, .page-hero-grid { padding: 52px 0; }
  .hero h1, .page-hero h1 { font-size: 2.45rem; }
  .grid-2, .grid-3, .grid-4, .pill-grid, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--border); }
  .stat:last-child { border-bottom: 0; }
  .cta-inner, .footer-bottom .container { flex-direction: column; align-items: flex-start; }
  .mobile-call-bar { position: fixed; right: 0; bottom: 0; left: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; border-top: 1px solid var(--border); background: rgba(255, 253, 248, 0.96); padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); backdrop-filter: blur(12px); }
}
