/* ==========================================================================
   politie-nl.nl — Stylesheet
   FucXed font voor h1, h2, h3
   ========================================================================== */

@font-face {
  font-family: 'FucXed';
  src: url('/fonts/FUCXEDCAPSLatin-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-bg: #0d1117;
  --color-surface: #161b22;
  --color-surface-2: #21262d;
  --color-border: #30363d;

  /* Letters (foreground text) — blue, white, red */
  --color-text: #ffffff;            /* white — body text */
  --color-text-muted: #c7d2fe;      /* light blue — muted text */
  --color-heading: #214ee8;         /* blue — h1/h2/h3 (FucXed) */

  --color-accent: #214ee8;          /* blue — primary accent */
  --color-accent-2: #e40303;        /* red — secondary accent */

  /* Brand stripes — red, white, blue */
  --color-rainbow-1: #e40303;       /* red */
  --color-rainbow-2: #ffffff;       /* white */
  --color-rainbow-3: #214ee8;       /* blue */

  --color-link: #ffffff;            /* white links */
  --color-link-hover: #e40303;      /* red on hover */
  --color-danger: #e40303;          /* red */
  --color-warning: #d29922;
  --color-success: #214ee8;         /* blue (used for form success) */
  --max-width: 1200px;
  --radius: 10px;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-heading: 'FucXed', Impact, 'Arial Narrow', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-transform: uppercase;
  color: #ffffff;                     /* white letters */
}

h4, h5, h6 {
  letter-spacing: 0.04em;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  margin-bottom: 1rem;
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 88px);
  font-weight: 800;
  line-height: 1.05;
}

h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin: 2.5rem 0 1rem;
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.6rem);
  margin: 1.5rem 0 0.75rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--color-link);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--color-link-hover);
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
}

ul, ol {
  margin: 0 0 1rem 1.5rem;
}

li {
  margin-bottom: 0.4rem;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ============================== Header ============================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 17, 23, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 0.75rem 1.25rem;
  max-width: var(--max-width);
  margin: 0 auto;
  gap: 1rem;
}

.brand {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-text);          /* white */
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand .brand-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-accent-2); /* red dot */
}

.main-nav {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  align-items: center;
}

.main-nav a {
  color: #ffffff;                      /* white */
  font-weight: 700;                    /* bold */
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--color-accent-2);        /* red on hover/active */
  text-decoration: none;
}

.lang-switch {
  display: flex;
  gap: 0.25rem;
  font-size: 1.1rem;
}

.lang-switch a {
  text-decoration: none;
  filter: grayscale(0.6);
  transition: filter 0.15s ease;
}

.lang-switch a:hover {
  filter: grayscale(0);
}

/* ============================== Hero ============================== */
.hero {
  padding: 3rem 0 2rem;
  border-bottom: 1px solid var(--color-border);
  background:
    radial-gradient(circle at 20% 20%, rgba(33, 78, 232, 0.22), transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(228, 3, 3, 0.12), transparent 50%);
}

.hero .eyebrow {
  color: #ffffff !important;         /* white */
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  margin-bottom: 0.75rem;
  display: block;
}

.hero h1 .accent {
  color: var(--color-accent-2);       /* red accent word */
}

.hero p {
  font-size: 1.1rem;
  color: var(--color-text);
  max-width: 60ch;
}

/* ============================== Sections ============================== */
.section {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--color-border);
}

.section-eyebrow {
  font-size: 0.78rem;
  color: #ffffff;                      /* white */
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 0.5rem;
  display: block;
}

.lead {
  font-size: 1.15rem;
  color: var(--color-text);
  max-width: 70ch;
}

figure {
  margin: 1.5rem 0;
}

figure img {
  display: block;
  width: 100%;
}

figure figcaption {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 0.5rem;
  padding: 0 0.25rem;
}

/* ============================== Cards ============================== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.15s ease, border-color 0.15s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-3px);
  border-color: var(--color-accent-2);
  box-shadow: 0 0 0 1px var(--color-accent-2);
}

.card img {
  border-radius: 0;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.card-body {
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.card-label {
  font-size: 0.72rem;
  color: var(--color-accent-2);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.card h3 {
  font-size: 1.15rem;
  margin: 0;
}

.card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin: 0;
}

.card-link {
  margin-top: auto;
  font-weight: 600;
  font-size: 0.9rem;
}

/* ============================== Buttons ============================== */
.btn {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid var(--color-border);
  background: var(--color-surface-2);
  color: var(--color-text);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, #e40303 0%, #ff2a2a 50%, #e40303 100%);
  border: 2px solid #e40303;
  color: #fff;
  font-weight: 800;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  box-shadow: 0 2px 8px rgba(228, 3, 3, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #214ee8 0%, #4a7aff 50%, #214ee8 100%);
  border-color: #214ee8;
  box-shadow: 0 2px 12px rgba(33, 78, 232, 0.35);
  color: #fff;
}

.btn-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

/* ============================== List styles ============================== */
.info-list {
  list-style: none;
  margin-left: 0;
  padding: 0;
}

.info-list li {
  padding: 0.6rem 0 0.6rem 1.75rem;
  border-bottom: 1px solid var(--color-border);
  position: relative;
}

.info-list li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--color-accent-2);
}

/* ============================== FAQ ============================== */
.faq details {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 1rem;
}

.faq details[open] summary {
  color: var(--color-accent-2);
  margin-bottom: 0.75rem;
}

/* ============================== Notice ============================== */
.notice {
  background: var(--color-surface);
  border-left: 4px solid var(--color-warning);
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin: 1.5rem 0;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

/* ============================== Footer ============================== */
.site-footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: 3rem 0 2rem;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-col h4 {
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  color: var(--color-text);
  margin-bottom: 0.75rem;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 0.4rem;
}

.footer-col a {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.footer-meta {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--color-border);
  padding-top: 1.5rem;
}

.footer-credits {
  margin-top: 0.75rem;
  color: #ffffff;
}

.footer-credits a {
  color: #ffffff;
  font-weight: 600;
  text-decoration: underline;
}

.footer-credits a:hover {
  color: var(--color-accent-2);
}

.footer-org {
  text-align: center;
  margin: 1.5rem 0;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.footer-org a {
  display: inline-block;
  margin-top: 0.4rem;
  font-family: var(--font-heading);
  letter-spacing: 0.04em;
}

/* ============================== Forms ============================== */
.form {
  max-width: 640px;
  margin-top: 1.5rem;
}

.form-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
  flex: 1;
  min-width: 220px;
}

.form-field label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.form-field input,
.form-field select,
.form-field textarea {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 0.7rem 0.9rem;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

.form-field textarea {
  min-height: 140px;
  resize: vertical;
}

.form-help {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.form-consent {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.form-consent input {
  margin-top: 0.25rem;
}

.form-status {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  background: var(--color-surface);
  border-left: 4px solid var(--color-success);
  margin-top: 1rem;
  display: none;
}

.form-status.visible {
  display: block;
}

/* ============================== Breadcrumbs ============================== */
.breadcrumbs {
  padding: 0.9rem 0;
  font-size: 0.82rem;
  color: var(--color-text-muted);
  border-bottom: 1px solid var(--color-border);
}
.breadcrumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}
.breadcrumbs li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.breadcrumbs li::after {
  content: "›";
  color: var(--color-accent-2);
}
.breadcrumbs li:last-child::after {
  content: "";
}
.breadcrumbs a {
  color: var(--color-accent);
  text-decoration: none;
}
.breadcrumbs a:hover {
  color: var(--color-accent-2);
  text-decoration: underline;
}
.breadcrumbs li[aria-current="page"] {
  color: var(--color-text);
}

/* ============================== Trust signals ============================== */
.trust {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}
.trust-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.trust-item .trust-icon {
  font-size: 1.3rem;
  line-height: 1;
}
.trust-item h3 {
  font-size: 0.85rem;
  margin: 0 0 0.25rem;
  color: #fff;
}
.trust-item p {
  color: var(--color-text-muted);
  font-size: 0.82rem;
  margin: 0;
}

/* ============================== Article ============================== */
.article {
  max-width: 760px;
  margin: 0 auto;
}

.article h2 {
  margin-top: 2.5rem;
}

.article .meta {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.article blockquote {
  border-left: 4px solid var(--color-accent);
  padding: 0.5rem 1.25rem;
  margin: 1.5rem 0;
  color: var(--color-text-muted);
  font-style: italic;
}

/* ============================== Responsive ============================== */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .lang-switch {
    margin-top: 0.5rem;
  }
}