/* ==================================================================
   Variables
   ================================================================== */
:root {
  /* Color palette */
  --color-background: #050814; /* deep, immersive backdrop */
  --color-surface: #101525;
  --color-surface-soft: #171d30;
  --color-text: #f7f7fb;
  --color-text-muted: #b5b8c9;

  --color-primary: #e3b34b; /* warm gold – poker & celebration */
  --color-primary-soft: rgba(227, 179, 75, 0.16);
  --color-primary-strong: #f0c769;

  --color-success: #3bbf7a;
  --color-warning: #ffb648;
  --color-danger: #ff5a5f;

  --color-gray-50: #f5f6fa;
  --color-gray-100: #e4e6f0;
  --color-gray-200: #cfd3e3;
  --color-gray-300: #b5b8c9;
  --color-gray-400: #9498ad;
  --color-gray-500: #727691;
  --color-gray-600: #555977;
  --color-gray-700: #3b3f5b;
  --color-gray-800: #26293d;
  --color-gray-900: #171826;

  /* Typography */
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Playfair Display", "Times New Roman", serif;

  --font-size-xs: 0.75rem;   /* 12px */
  --font-size-sm: 0.875rem;  /* 14px */
  --font-size-md: 1rem;      /* 16px */
  --font-size-lg: 1.125rem;  /* 18px */
  --font-size-xl: 1.25rem;   /* 20px */
  --font-size-2xl: 1.5rem;   /* 24px */
  --font-size-3xl: 1.875rem; /* 30px */
  --font-size-4xl: 2.25rem;  /* 36px */
  --font-size-5xl: 3rem;     /* 48px */

  --line-height-tight: 1.2;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.7;

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

  /* Radii */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-pill: 999px;

  /* Shadows (subtle, casino-inspired glow) */
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-soft-gold: 0 0 0 1px rgba(227, 179, 75, 0.24), 0 18px 45px rgba(0, 0, 0, 0.55);
  --shadow-inner: inset 0 0 0 1px rgba(255, 255, 255, 0.02);

  /* Transitions */
  --transition-fast: 120ms ease-out;
  --transition-normal: 200ms ease-out;
  --transition-slow: 320ms ease-out;

  /* Layout */
  --container-max-width: 1120px;
}

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

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

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

body {
  min-height: 100vh;
}

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

ul,
ol {
  margin: 0;
  padding: 0;
}

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

img {
  height: auto;
}

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

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

a {
  color: inherit;
  text-decoration: none;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

/* Remove list bullets by default for custom styling */
ul[class],
ol[class] {
  list-style: none;
}

/* ==================================================================
   Base Styles
   ================================================================== */
body {
  font-family: var(--font-sans);
  font-size: var(--font-size-md);
  line-height: var(--line-height-normal);
  background: radial-gradient(circle at 0% 0%, #182038 0, #050814 55%, #02030a 100%);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
}

main {
  display: block;
}

/* Headings – elegant, event-driven hierarchy */
h1,
 h2,
 h3,
 h4,
 h5,
 h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: var(--line-height-tight);
  color: var(--color-text);
}

h1 {
  font-size: clamp(var(--font-size-3xl), 3vw + 1rem, var(--font-size-5xl));
  letter-spacing: 0.01em;
  margin-bottom: var(--space-16);
}

h2 {
  font-size: clamp(var(--font-size-2xl), 2.4vw + 0.4rem, var(--font-size-4xl));
  margin-bottom: var(--space-12);
}

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

h4 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-6);
}

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

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

/* Links – subtle, sophisticated accent */
a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-normal),
    text-shadow var(--transition-normal),
    opacity var(--transition-fast);
}

a:hover {
  color: var(--color-primary-strong);
  text-shadow: 0 0 12px rgba(227, 179, 75, 0.4);
}

a:active {
  opacity: 0.8;
}

strong,
 b {
  font-weight: 600;
}

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

/* ==================================================================
   Accessibility & Motion
   ================================================================== */
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

@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;
  }
}

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

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

/* Layout container */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-inline: auto;
  padding-inline: var(--space-16);
}

@media (min-width: 1200px) {
  .container {
    padding-inline: var(--space-20);
  }
}

.section {
  padding-block: var(--space-32);
}

.section--hero {
  padding-block: var(--space-40);
}

/* Flex helpers */
.flex {
  display: flex;
}

.flex-row {
  flex-direction: row;
}

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

.flex-wrap {
  flex-wrap: wrap;
}

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

.items-start {
  align-items: flex-start;
}

.items-end {
  align-items: flex-end;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-4 {
  gap: var(--space-4);
}

.gap-8 {
  gap: var(--space-8);
}

.gap-12 {
  gap: var(--space-12);
}

.gap-16 {
  gap: var(--space-16);
}

/* Grid helpers */
.grid {
  display: grid;
}

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

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

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

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

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

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

.mt-0 { margin-top: 0; }
.mt-8 { margin-top: var(--space-8); }
.mt-16 { margin-top: var(--space-16); }
.mt-24 { margin-top: var(--space-24); }
.mt-32 { margin-top: var(--space-32); }

.mb-0 { margin-bottom: 0; }
.mb-8 { margin-bottom: var(--space-8); }
.mb-16 { margin-bottom: var(--space-16); }
.mb-24 { margin-bottom: var(--space-24); }
.mb-32 { margin-bottom: var(--space-32); }

.py-16 {
  padding-block: var(--space-16);
}

.py-24 {
  padding-block: var(--space-24);
}

.py-32 {
  padding-block: var(--space-32);
}

.px-16 {
  padding-inline: var(--space-16);
}

.px-24 {
  padding-inline: var(--space-24);
}

/* Max-width utilities for text blocks (e.g. event descriptions) */
.prose-narrow {
  max-width: 46rem;
}

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

/* Buttons – primary CTAs for booking / contact */
.button {
  --button-bg: var(--color-primary);
  --button-color: #1b1305;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(0, 0, 0, 0.2);
  background: radial-gradient(circle at 10% 0%, var(--color-primary-strong) 0, var(--button-bg) 40%, #c4832b 100%);
  color: var(--button-color);
  font-weight: 600;
  font-size: var(--font-size-sm);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: var(--shadow-soft-gold);
  transition: transform var(--transition-fast),
    box-shadow var(--transition-fast),
    filter var(--transition-fast),
    background-position var(--transition-normal),
    opacity var(--transition-fast);
  background-size: 140% 140%;
  background-position: 0% 50%;
}

.button:hover {
  transform: translateY(-1px);
  background-position: 100% 50%;
  filter: brightness(1.05);
}

.button:active {
  transform: translateY(0);
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.45);
  opacity: 0.95;
}

.button:disabled,
.button[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.6;
  box-shadow: none;
}

.button--outline {
  --button-bg: transparent;
  --button-color: var(--color-text);

  background: transparent;
  color: var(--button-color);
  border-color: rgba(227, 179, 75, 0.65);
  box-shadow: 0 0 0 1px rgba(227, 179, 75, 0.35);
}

.button--outline:hover {
  background: rgba(227, 179, 75, 0.08);
}

.button--ghost {
  --button-bg: transparent;
  --button-color: var(--color-text);

  padding-inline: 1.25rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: none;
}

.button--ghost:hover {
  background: rgba(255, 255, 255, 0.06);
}

/* Form elements – for devis / contact */
.input,
.textarea,
.select {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background-color: rgba(8, 10, 22, 0.94);
  color: var(--color-text);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-normal);
  box-shadow: var(--shadow-inner);
  transition: border-color var(--transition-fast),
    box-shadow var(--transition-fast),
    background-color var(--transition-fast);
}

.input::placeholder,
.textarea::placeholder {
  color: var(--color-gray-400);
}

.input:focus-visible,
.textarea:focus-visible,
.select:focus-visible {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px rgba(227, 179, 75, 0.4);
}

.textarea {
  min-height: 7rem;
  resize: vertical;
}

.label {
  display: block;
  margin-bottom: var(--space-4);
  font-size: var(--font-size-sm);
  font-weight: 500;
}

.form-field {
  margin-bottom: var(--space-12);
}

.input--error,
.textarea--error,
.select--error {
  border-color: var(--color-danger);
}

.form-error {
  margin-top: var(--space-4);
  font-size: var(--font-size-xs);
  color: var(--color-danger);
}

/* Card – for event formats, poker experiences, testimonials */
.card {
  position: relative;
  padding: var(--space-16);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(16, 21, 37, 0.96), rgba(13, 15, 30, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0 0, rgba(227, 179, 75, 0.12), transparent 55%);
  opacity: 0.65;
  pointer-events: none;
}

.card__header,
.card__body,
.card__footer {
  position: relative;
  z-index: 1;
}

.card__header {
  margin-bottom: var(--space-8);
}

.card__title {
  font-family: var(--font-display);
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-4);
}

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

.card--highlight {
  border-color: rgba(227, 179, 75, 0.85);
  box-shadow: var(--shadow-soft-gold);
}

/* Tag / pill – for event types (soirée poker, team building, EVJF, etc.) */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(227, 179, 75, 0.5);
  background: rgba(227, 179, 75, 0.1);
  color: var(--color-primary-strong);
  font-size: var(--font-size-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Simple chip-like badges for player counts / durations */
.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  color: var(--color-text-muted);
  font-size: var(--font-size-xs);
}

/* Hero overlay – subtle vignette suitable for event photography */
.hero-overlay {
  position: relative;
  isolation: isolate;
}

.hero-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 0%, rgba(227, 179, 75, 0.2), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(45, 126, 255, 0.18), transparent 55%);
  mix-blend-mode: screen;
  opacity: 0.9;
  pointer-events: none;
  z-index: -1;
}

/* Navigation shell (minimal – layouts can extend) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(5, 8, 20, 0.96), rgba(5, 8, 20, 0.85));
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.75rem;
}

.site-logo {
  font-family: var(--font-display);
  font-size: var(--font-size-lg);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-logo span {
  color: var(--color-primary);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-12);
  font-size: var(--font-size-sm);
}

.site-nav a {
  position: relative;
  padding-block: 0.25rem;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.15rem;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(227, 179, 75, 1), rgba(227, 179, 75, 0));
  transition: width var(--transition-normal);
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  width: 100%;
}

/* Footer shell */
.site-footer {
  margin-top: var(--space-40);
  padding-block: var(--space-24);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: radial-gradient(circle at 50% 0, rgba(227, 179, 75, 0.06), transparent 60%);
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

.site-footer a:hover {
  color: var(--color-primary-strong);
}

/* ==================================================================
   Helper states
   ================================================================== */

.is-hidden {
  display: none !important;
}

.is-visually-muted {
  opacity: 0.65;
}

/* End of base.css */
