/* =========================================================
   Public Vibes — Design System (Variant A: Midnight Blue + Oranje)
   ========================================================= */

/* --- Design Tokens --- */
:root {
  --pv-primary: #1B2A4A;
  --pv-accent: #E67E22;
  --pv-accent-dark: #CF6D17;
  --pv-white: #FFFFFF;
  --pv-text: #2D3748;
  --pv-bg: #F8F9FA;
  --pv-gradient: linear-gradient(135deg, #1B2A4A 0%, #E67E22 100%);
  --pv-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  --pv-shadow-hover: 0 4px 12px rgba(0, 0, 0, 0.15);
  --pv-radius: 0;
  --pv-max-width: 1200px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

@font-face {
  font-family: 'Inter';
  src: url('/fonts/inter/inter-variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--pv-text);
  background: var(--pv-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --- Skip Link --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sr-only-focusable:focus {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: auto;
  height: auto;
  padding: 1rem 2rem;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
  background: var(--pv-accent);
  color: var(--pv-white);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
}

/* --- Focus Styles --- */
:focus-visible {
  outline: 2px solid var(--pv-accent);
  outline-offset: 2px;
}

/* --- Container --- */
.container {
  max-width: var(--pv-max-width);
  margin-inline: auto;
  padding-inline: 2rem;
}

/* --- Header / Navigation --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--pv-primary);
  padding: 0.75rem 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  color: var(--pv-white);
  font-weight: 800;
  font-size: 1.25rem;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-list a {
  color: var(--pv-white);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.nav-list a:hover,
.nav-list a:focus-visible {
  opacity: 1;
}

/* --- Hero --- */
.hero {
  background: var(--pv-gradient);
  color: var(--pv-white);
  padding: clamp(4rem, 10vw, 8rem) 0;
  text-align: center;
}

.hero h1 {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  max-width: 800px;
  margin-inline: auto;
  letter-spacing: -0.02em;
}

.hero .highlight {
  display: inline;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-top: 1.25rem;
  max-width: 600px;
  margin-inline: auto;
  opacity: 0.92;
  line-height: 1.6;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  font-family: inherit;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  border-radius: var(--pv-radius);
  transition: background-color 0.2s, box-shadow 0.2s;
}

.btn-hero {
  margin-top: 2rem;
  background: var(--pv-white);
  color: var(--pv-primary);
}

.btn-hero:hover,
.btn-hero:focus-visible {
  background: var(--pv-bg);
  box-shadow: var(--pv-shadow-hover);
}

.btn-primary {
  background: var(--pv-primary);
  color: var(--pv-white);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--pv-accent-dark);
  box-shadow: var(--pv-shadow-hover);
}

/* --- Sections --- */
.section {
  padding: clamp(3rem, 8vw, 6rem) 0;
}

.section-alt {
  background: var(--pv-bg);
}

.section h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--pv-primary);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-intro {
  font-size: 1.125rem;
  max-width: 700px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

/* --- Grid --- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

/* --- Cards --- */
.card {
  padding: 2rem;
  border-radius: var(--pv-radius);
  box-shadow: var(--pv-shadow);
  transition: box-shadow 0.2s, transform 0.2s;
}

.card:hover {
  box-shadow: var(--pv-shadow-hover);
  transform: translateY(-2px);
}

.card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.card p {
  line-height: 1.6;
}

.card-white {
  background: var(--pv-white);
  border-top: 4px solid var(--pv-accent);
}

.card-white h3 {
  color: var(--pv-primary);
}

.card-dark {
  background: var(--pv-primary);
  color: var(--pv-white);
}

.card-dark h3 {
  color: var(--pv-accent);
}

.card-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--pv-accent);
  margin-bottom: 0.5rem;
  line-height: 1;
}

/* --- Two Column (Wat we doen / niet doen) --- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1rem;
}

.two-col h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--pv-primary);
  margin-bottom: 0.75rem;
}

.two-col ul {
  padding-left: 1.25rem;
}

.two-col li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.col-note {
  margin-top: 1rem;
  font-style: italic;
  opacity: 0.8;
}

/* --- Motto / Blockquote --- */
.motto {
  margin: 3rem 0 2.5rem;
  padding: 2rem;
  background: var(--pv-primary);
  color: var(--pv-white);
  font-size: 1.25rem;
  font-weight: 600;
  text-align: center;
  border-left: 4px solid var(--pv-accent);
  border-radius: var(--pv-radius);
}

/* --- Voorbeelden --- */
.voorbeelden {
  margin-top: 1rem;
}

.voorbeelden h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--pv-primary);
  margin-bottom: 0.75rem;
}

.voorbeelden ul {
  padding-left: 1.25rem;
}

.voorbeelden li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

/* --- Project Cards --- */
.card-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--pv-accent);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.card-status {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
}

.card-status-live {
  background: #d4edda;
  color: #155724;
}

.card-status-soon {
  background: #e2e3e5;
  color: #383d41;
}

.btn-small {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  border: 2px solid var(--pv-primary);
  background: transparent;
  color: var(--pv-primary);
  cursor: pointer;
  border-radius: var(--pv-radius);
  transition: background-color 0.2s, color 0.2s;
}

.btn-small:hover,
.btn-small:focus-visible {
  background: var(--pv-primary);
  color: var(--pv-white);
}

.section-footer {
  text-align: center;
  font-size: 0.95rem;
  margin-top: 1.5rem;
  color: var(--pv-text);
}

.section-footer a {
  color: var(--pv-accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* --- Contact --- */
.contact-container {
  text-align: center;
  max-width: 600px;
}

.contact-container p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.contact-action {
  margin-top: 1rem;
}

/* --- Email Reveal --- */
.email-reveal-wrap {
  display: inline-block;
}

.email-revealed {
  color: var(--pv-accent);
  font-weight: 700;
  font-size: 1.125rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --- Footer --- */
.site-footer {
  background: var(--pv-primary);
  color: var(--pv-white);
  padding: 2rem 0;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.9;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .nav-list {
    gap: 1rem;
    font-size: 0.85rem;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .two-col {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    padding-inline: 1rem;
  }

  .nav-container {
    flex-direction: column;
    gap: 0.75rem;
  }
}
