/* ========================================================================== 
   Variables
   ========================================================================== */
:root {
  /* Colors */
  --color-background: #080908; /* near-black for moody backdrop */
  --color-surface: #111310;    /* dark wood-inspired surface */
  --color-surface-elevated: #181c18;
  --color-text: #f5f3ea;       /* warm light text */
  --color-text-muted: #b3afa4;
  --color-primary: #145c3b;    /* deep green */
  --color-primary-soft: #1f7a4f;
  --color-primary-dark: #0a3823;
  --color-accent-amber: #f5a623; /* warm amber lighting */
  --color-accent-gold: #d4b46a;  /* subtle gold */

  --color-success: #2fa56a;
  --color-warning: #f2b84b;
  --color-danger: #e05252;

  --gray-50: #f9f7f2;
  --gray-100: #e7e3d8;
  --gray-200: #cfc8b7;
  --gray-300: #b7ae98;
  --gray-400: #9b927b;
  --gray-500: #7a7260;
  --gray-600: #5d574a;
  --gray-700: #433f35;
  --gray-800: #2f2b24;
  --gray-900: #181611;

  /* Typography */
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  --font-serif: "Playfair Display", "Times New Roman", serif;
  --font-mono: "SF Mono", ui-monospace, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

  --font-size-xs: 0.75rem;   /* 12px */
  --font-size-sm: 0.875rem;  /* 14px */
  --font-size-base: 1rem;    /* 16px */
  --font-size-md: 1.0625rem; /* 17px */
  --font-size-lg: 1.25rem;   /* 20px */
  --font-size-xl: 1.5rem;    /* 24px */
  --font-size-2xl: 1.875rem; /* 30px */
  --font-size-3xl: 2.25rem;  /* 36px */
  --font-size-display: 3rem; /* 48px */

  --line-height-tight: 1.1;
  --line-height-snug: 1.25;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.7;

  /* Spacing scale (0–96px) */
  --space-0: 0;
  --space-1: 0.25rem;  /* 4px */
  --space-2: 0.5rem;   /* 8px */
  --space-3: 0.75rem;  /* 12px */
  --space-4: 1rem;     /* 16px */
  --space-5: 1.25rem;  /* 20px */
  --space-6: 1.5rem;   /* 24px */
  --space-7: 1.75rem;  /* 28px */
  --space-8: 2rem;     /* 32px */
  --space-10: 2.5rem;  /* 40px */
  --space-12: 3rem;    /* 48px */
  --space-16: 4rem;    /* 64px */
  --space-20: 5rem;    /* 80px */
  --space-24: 6rem;    /* 96px */

  /* Radius */
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 18px;
  --radius-full: 999px;

  /* Shadows (soft, atmospheric) */
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-soft-high: 0 18px 45px rgba(0, 0, 0, 0.45);
  --shadow-outline: 0 0 0 1px rgba(212, 180, 106, 0.4), 0 0 0 4px rgba(21, 92, 60, 0.6);

  /* Transitions */
  --transition-fast: 150ms ease-out;
  --transition-base: 220ms ease-out;
  --transition-slow: 320ms ease-out;
}

/* ========================================================================== 
   Reset / Normalize
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

ul[role="list"],
ol[role="list"] {
  list-style: none;
  margin: 0;
  padding: 0;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  border: none;
  background: none;
  padding: 0;
}

textarea {
  resize: vertical;
}

/* Remove default link underlines globally; handled in base styles */
a {
  text-decoration: none;
  color: inherit;
}

/* ========================================================================== 
   Base Styles
   ========================================================================== */
body {
  min-height: 100vh;
  background-color: var(--color-background);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  line-height: var(--line-height-relaxed);
  -webkit-font-smoothing: antialiased;
}

main {
  display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: var(--line-height-tight);
  color: var(--color-text);
}

h1 {
  font-size: var(--font-size-display);
  letter-spacing: 0.02em;
  margin-bottom: var(--space-4);
}

h2 {
  font-size: var(--font-size-3xl);
  margin-bottom: var(--space-3);
}

h3 {
  font-size: var(--font-size-2xl);
  margin-bottom: var(--space-2);
}

h4 {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-2);
}

h5 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-2);
}

h6 {
  font-size: var(--font-size-base);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--space-2);
  color: var(--color-text-muted);
}

p {
  margin-bottom: var(--space-4);
  color: var(--color-text);
}

p:last-child {
  margin-bottom: 0;
}

small {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

strong {
  font-weight: 600;
}

code,
pre {
  font-family: var(--font-mono);
}

a {
  color: var(--color-accent-amber);
  text-decoration: none;
  transition: color var(--transition-base), opacity var(--transition-base);
}

a:hover {
  color: var(--color-accent-gold);
}

a:focus-visible {
  outline: 2px solid var(--color-accent-gold);
  outline-offset: 2px;
}

::selection {
  background-color: rgba(20, 92, 59, 0.85);
  color: var(--color-text);
}

/* ========================================================================== 
   Accessibility & Motion
   ========================================================================== */
:focus-visible {
  outline: none;
  box-shadow: var(--shadow-outline);
}

:focus:not(:focus-visible) {
  outline: none;
}

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

/* ========================================================================== 
   Utilities
   ========================================================================== */

/* Layout helpers */
.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-4);
  padding-right: var(--space-4);
  max-width: 1120px; /* cozy, not too wide for reading & imagery */
}

@media (min-width: 1200px) {
  .container {
    max-width: 1220px;
  }
}

.flex {
  display: flex;
}

.inline-flex {
  display: inline-flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.flex-column {
  display: flex;
  flex-direction: column;
}

.grid {
  display: grid;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-6);
}

@media (max-width: 768px) {
  .grid-2 {
    grid-template-columns: minmax(0, 1fr);
  }
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.text-muted {
  color: var(--color-text-muted);
}

/* Spacing utilities (common subset) */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-4 { margin-top: var(--space-4); }
.mb-4 { margin-bottom: var(--space-4); }
.mt-8 { margin-top: var(--space-8); }
.mb-8 { margin-bottom: var(--space-8); }
.py-8 { padding-top: var(--space-8); padding-bottom: var(--space-8); }
.py-12 { padding-top: var(--space-12); padding-bottom: var(--space-12); }

/* Visually hidden (for screen readers) */
.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;
}

/* Atmosphere helpers */
.bg-surface {
  background-color: var(--color-surface);
}

.bg-surface-elevated {
  background-color: var(--color-surface-elevated);
}

.border-subtle {
  border: 1px solid rgba(212, 180, 106, 0.12);
}

.text-gold {
  color: var(--color-accent-gold);
}

.text-amber {
  color: var(--color-accent-amber);
}

/* ========================================================================== 
   Components
   ========================================================================== */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  background: linear-gradient(120deg, var(--color-primary), var(--color-primary-soft));
  color: var(--color-text)!important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  transition:
    background-color var(--transition-base),
    color var(--transition-base),
    box-shadow var(--transition-base),
    transform var(--transition-fast),
    border-color var(--transition-base),
    opacity var(--transition-fast);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft-high);
  background: linear-gradient(120deg, var(--color-primary-soft), var(--color-accent-amber));
}

.btn:active {
  transform: translateY(0);
  box-shadow: var(--shadow-soft);
}

.btn:focus-visible {
  box-shadow: var(--shadow-outline), var(--shadow-soft);
}

.btn--ghost {
  background: rgba(18, 25, 20, 0.7);
  border-color: rgba(212, 180, 106, 0.5);
}

.btn--ghost:hover {
  background: rgba(24, 32, 26, 0.9);
}

.btn--light {
  background: transparent;
  color: var(--color-accent-gold)!important;
  border-color: rgba(212, 180, 106, 0.6);
}

.btn--light:hover {
  background: rgba(212, 180, 106, 0.08);
}

.btn--danger {
  background: var(--color-danger);
}

.btn[disabled],
.btn:disabled {
  cursor: not-allowed;
  opacity: 0.5;
  box-shadow: none;
}

/* Inputs & form controls */
.input,
select,
textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(212, 180, 106, 0.25);
  background-color: rgba(7, 9, 7, 0.95);
  color: var(--color-text);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-normal);
  transition:
    border-color var(--transition-base),
    box-shadow var(--transition-base),
    background-color var(--transition-base);
}

.input::placeholder,
textarea::placeholder {
  color: var(--color-text-muted);
}

.input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: none;
  border-color: var(--color-accent-gold);
  box-shadow: var(--shadow-outline);
  background-color: rgba(10, 16, 12, 0.98);
}

.input[disabled],
select[disabled],
textarea[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: var(--font-size-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* Cards (menu items, poker evenings, storytelling blocks) */
.card {
  position: relative;
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top left, rgba(245, 166, 35, 0.08), transparent 55%),
              radial-gradient(circle at bottom right, rgba(20, 92, 59, 0.14), transparent 55%),
              var(--color-surface);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(212, 180, 106, 0.16);
  backdrop-filter: blur(10px);
}

.card--subtle {
  background: var(--color-surface-elevated);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
}

.card header {
  margin-bottom: var(--space-3);
}

.card-title {
  font-family: var(--font-serif);
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-1);
}

.card-meta {
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-text-muted);
}

/* Tag / Pill (e.g., "Pokeravond", "Reserveren") */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(212, 180, 106, 0.6);
  font-size: var(--font-size-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent-gold);
  background-color: rgba(12, 14, 11, 0.9);
}

.tag--green {
  border-color: rgba(20, 92, 59, 0.8);
  color: #b4e9c9;
}

/* Hero image treatment */
.hero-image {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft-high);
}

.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 9, 8, 0.8), transparent 40%);
}

/* Badges for availability (e.g., remaining seats for game night) */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.1rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  background-color: rgba(20, 92, 59, 0.2);
  color: var(--color-text);
}

.badge--success {
  background-color: rgba(47, 165, 106, 0.22);
}

.badge--danger {
  background-color: rgba(224, 82, 82, 0.25);
}

/* Simple section frame (for Dutch customer journey steps) */
.section-frame {
  padding: var(--space-8) var(--space-6);
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at top, rgba(245, 166, 35, 0.08), transparent 60%),
              var(--color-surface);
  border: 1px solid rgba(212, 180, 106, 0.15);
}

@media (max-width: 768px) {
  .section-frame {
    padding: var(--space-6) var(--space-4);
  }
}