/* ========================================================================
   Variables
   ======================================================================== */
:root {
  /* Color Palette */
  --color-bg: #050608; /* deep, cinematic background */
  --color-surface: #101117; /* elevated panels */
  --color-surface-alt: #181a22;
  --color-text: #f7f7f9;
  --color-text-muted: #a3a6b3;
  --color-primary: #d4af37; /* champagne gold */
  --color-primary-soft: rgba(212, 175, 55, 0.15);
  --color-primary-strong: #f0c84a;
  --color-success: #1dbf73;
  --color-warning: #f5a623;
  --color-danger: #ff4b5c;

  /* Neutral Grays */
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2933;
  --gray-900: #111827;

  /* Typography */
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Roboto", "Segoe UI", sans-serif;
  --font-serif-display: "Playfair Display", "Times New Roman", serif; /* for headings / hero */
  --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-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.15;
  --line-height-snug: 1.3;
  --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-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: 16px;
  --radius-xl: 24px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-strong: 0 18px 60px rgba(0, 0, 0, 0.6);
  --shadow-subtle: 0 1px 4px rgba(0, 0, 0, 0.25);

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

  /* Layout */
  --container-max-width: 1200px;
  --nav-height: 72px;
}

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  :root {
    --transition-fast: 0ms;
    --transition-normal: 0ms;
    --transition-slow: 0ms;
  }

  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}


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

html {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
}

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

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

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

textarea {
  resize: vertical;
}

:focus {
  outline: none;
}

[hidden] {
  display: none !important;
}


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

main {
  display: block;
}

/* Headings – refined, slightly cinematic for premium lounge feel */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif-display);
  color: var(--color-text);
  font-weight: 500;
  line-height: var(--line-height-tight);
}

h1 {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(2rem, 3vw, 2.5rem);
  letter-spacing: 0.02em;
}

h3 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
}

h4 {
  font-size: 1.25rem;
}

h5 {
  font-size: 1.125rem;
}

h6 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

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

strong, b {
  font-weight: 600;
}

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

/* Links */
a {
  color: var(--color-primary-strong);
  text-decoration: none;
  transition: color var(--transition-normal),
              text-shadow var(--transition-fast);
}

a:hover {
  color: var(--color-primary);
  text-shadow: 0 0 12px rgba(240, 200, 74, 0.35);
}

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

/* Lists */
ul, ol {
  padding-left: 1.2rem;
  margin: 0 0 var(--space-4);
}

/* Horizontal rule – subtle separator for sections like menu / events */
hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin: var(--space-8) 0;
}


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

/* Screen reader only */
.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:active,
.sr-only-focusable:focus {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
}


/* ========================================================================
   Layout Utilities
   ======================================================================== */
.container {
  max-width: var(--container-max-width);
  margin-inline: auto;
  padding-inline: var(--space-4);
}

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

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

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

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

/* Flex helpers */
.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;
}

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

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

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

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

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

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

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

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

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-6);
}

/* Spacing utilities (margin-bottom only for content rhythm) */
.mb-0 { margin-bottom: 0 !important; }
.mb-2 { margin-bottom: var(--space-2) !important; }
.mb-4 { margin-bottom: var(--space-4) !important; }
.mb-6 { margin-bottom: var(--space-6) !important; }
.mb-8 { margin-bottom: var(--space-8) !important; }

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

/* Background utilities to subtly differentiate sections */
.bg-surface {
  background-color: var(--color-surface);
}

.bg-surface-alt {
  background: radial-gradient(circle at top left, rgba(212, 175, 55, 0.07), transparent 55%),
              radial-gradient(circle at bottom right, rgba(255, 75, 92, 0.07), transparent 55%),
              var(--color-surface);
}


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

/* Buttons – primary and subtle variants for booking, tournaments, etc. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-pill);
  font-size: var(--font-size-sm);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: background-color var(--transition-normal),
              border-color var(--transition-normal),
              color var(--transition-normal),
              box-shadow var(--transition-normal),
              transform var(--transition-fast);
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary-strong), var(--color-primary));
  color: #040405;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-strong);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-primary-strong);
  border-color: rgba(212, 175, 55, 0.7);
  box-shadow: inset 0 0 0 1px rgba(212, 175, 55, 0.2);
}

.btn-outline:hover {
  background-color: rgba(212, 175, 55, 0.08);
}

.btn-ghost {
  background-color: rgba(255, 255, 255, 0.04);
  color: var(--color-text);
}

.btn-ghost:hover {
  background-color: rgba(255, 255, 255, 0.08);
}

.btn:disabled,
.btn[aria-disabled='true'] {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

/* Form elements – used for reservation, event booking, contact, etc. */
.input,
.select,
.textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background-color: rgba(10, 10, 16, 0.9);
  color: var(--color-text);
  font-size: var(--font-size-sm);
  transition: border-color var(--transition-normal),
              box-shadow var(--transition-normal),
              background-color var(--transition-normal);
}

.input::placeholder,
.textarea::placeholder {
  color: rgba(163, 166, 179, 0.7);
}

.input:focus-visible,
.select:focus-visible,
.textarea:focus-visible {
  border-color: var(--color-primary-strong);
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.7), 0 12px 30px rgba(0, 0, 0, 0.7);
  outline: none;
}

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

.label {
  display: block;
  margin-bottom: var(--space-2);
  font-size: var(--font-size-sm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.form-row--inline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-4);
}

/* Card – for menu highlights, poker formats, promos, testimonials */
.card {
  background: radial-gradient(circle at top left, rgba(212, 175, 55, 0.08), transparent 55%),
              var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px);
}

.card--hoverable {
  transition: transform var(--transition-normal),
              box-shadow var(--transition-normal),
              border-color var(--transition-normal);
}

.card--hoverable:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
  border-color: rgba(212, 175, 55, 0.5);
}

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

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

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

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

/* Tag / badge – e.g., "Tournoi", "Cash Game", "Menu Signature" */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-pill);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid rgba(212, 175, 55, 0.6);
  color: var(--color-primary-strong);
  background: rgba(0, 0, 0, 0.35);
}

.badge--danger {
  border-color: rgba(255, 75, 92, 0.8);
  color: #ffb4bd;
}

.badge--success {
  border-color: rgba(29, 191, 115, 0.8);
  color: #a6f4c5;
}

/* Subtle chips / pills – can be used for dress code, opening hours, stakes */
.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: var(--font-size-xs);
  background-color: rgba(255, 255, 255, 0.04);
  color: var(--color-text-muted);
}

/* Hero overlay – for immersive intro sections with photography */
.hero-overlay {
  position: relative;
  isolation: isolate;
}

.hero-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(212, 175, 55, 0.18), transparent 55%),
              radial-gradient(circle at bottom right, rgba(255, 75, 92, 0.2), transparent 60%),
              linear-gradient(to bottom, rgba(0, 0, 0, 0.4), #050608);
  mix-blend-mode: normal;
  z-index: -1;
}

.hero-overlay > * {
  position: relative;
  z-index: 1;
}

/* Media wrapper – for gallery / ambiance visuals */
.media-frame {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-strong);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* Table – for tournament calendar / event listings */
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--font-size-sm);
}

.table thead {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.7rem;
  color: var(--color-text-muted);
}

.table th,
.table td {
  padding: 0.75rem 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.table tbody tr:hover {
  background-color: rgba(255, 255, 255, 0.04);
}

/* Toast / notice – for promo banners or booking confirmations */
.notice {
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  font-size: var(--font-size-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background-color: rgba(16, 17, 23, 0.95);
}

.notice--success { border-color: rgba(29, 191, 115, 0.7); }
.notice--danger { border-color: rgba(255, 75, 92, 0.7); }
.notice--warning { border-color: rgba(245, 166, 35, 0.7); }


/* ========================================================================
   Helper Classes for Premium Car Shine Hub Lounge Theme
   ======================================================================== */

/* Typographic accents for French headings / sublabels */
.kicker {
  font-size: var(--font-size-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-primary-strong);
  margin-bottom: var(--space-2);
}

.lead {
  font-size: var(--font-size-lg);
  line-height: var(--line-height-relaxed);
  color: var(--color-text);
  max-width: 38rem;
}

/* Vertical rhythm for section titles */
.section-title {
  margin-bottom: var(--space-4);
}

.section-subtitle {
  max-width: 32rem;
  color: var(--color-text-muted);
}

/* Overlay for darkening background images where text is placed */
.overlay-dark {
  position: relative;
}

.overlay-dark::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(5, 6, 8, 0.95));
  pointer-events: none;
}

.overlay-dark > * {
  position: relative;
  z-index: 1;
}

/* Utility to constrain content width inside hero sections */
.hero-content {
  max-width: 720px;
}

/* Z-index helpers for layered layouts */
.z-1 { z-index: 1; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }

/* Cursor helper for non-clickable elements that look interactive */
.is-disabled {
  cursor: not-allowed;
  opacity: 0.55;
}
