/* ========================================================================== 
   Variables
   Luxury Poker Restaurant – Base Design System
   ========================================================================== */

:root {
  /* Colors – brand core */
  --color-bg: #f7f3ec; /* warm ivory */
  --color-bg-elevated: #ffffff; /* cards / glass panels */
  --color-bg-soft: #f0e6da; /* subtle sections */
  --color-text: #1f1b18; /* deep warm charcoal */
  --color-text-soft: #5e5348;
  --color-primary: #c59a52; /* champagne gold */
  --color-primary-soft: rgba(197, 154, 82, 0.12);
  --color-primary-dark: #a37c32;
  --color-accent-sage: #8b9b86; /* muted sage green */
  --color-accent-walnut: #5a4333; /* natural walnut wood */

  /* Feedback / status */
  --color-success: #4b8a5b;
  --color-warning: #b8863b;
  --color-danger: #b5493b;

  /* Neutrals / grays */
  --color-neutral-50: #faf7f2;
  --color-neutral-100: #f1ebe3;
  --color-neutral-200: #e1d7c8;
  --color-neutral-300: #cbbba4;
  --color-neutral-400: #b1a18c;
  --color-neutral-500: #8d7d6b;
  --color-neutral-600: #6f6152;
  --color-neutral-700: #524337;
  --color-neutral-800: #3a3027;
  --color-neutral-900: #231d18;

  /* Overlays / glassmorphism */
  --color-glass-light: rgba(255, 255, 255, 0.82);
  --color-glass-border: rgba(255, 255, 255, 0.4);
  --color-glass-dark: rgba(18, 14, 10, 0.45);

  /* Typography – families */
  --font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  --font-serif: "Cormorant Garamond", "Playfair Display", "Georgia", serif;
  --font-mono: "SF Mono", ui-monospace, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

  /* Typography – sizes (mobile-first, rem based) */
  --font-size-xs: 0.75rem;  /* ~12px */
  --font-size-sm: 0.875rem; /* ~14px */
  --font-size-base: 1rem;   /* 16px */
  --font-size-md: 1.0625rem; /* 17px – body refined */
  --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 – hero */

  /* Line heights */
  --line-height-tight: 1.15;
  --line-height-snug: 1.3;
  --line-height-normal: 1.6;
  --line-height-relaxed: 1.8;

  /* Spacing scale (px, expressed as rem) */
  --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: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 18px;
  --radius-xl: 26px;
  --radius-pill: 999px;

  /* Shadows – subtle & cinematic */
  --shadow-soft: 0 16px 40px rgba(15, 10, 6, 0.08);
  --shadow-medium: 0 22px 60px rgba(12, 8, 4, 0.16);
  --shadow-strong: 0 32px 90px rgba(8, 6, 3, 0.32);
  --shadow-glass: 0 18px 55px rgba(6, 4, 2, 0.38);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition: 220ms ease;
  --transition-slow: 360ms ease;

  /* Layout */
  --layout-max-width: 1120px; /* editorial */
  --layout-max-width-wide: 1320px; /* gallery / hero */
  --layout-gutter: var(--space-5);

  /* Z-index scale */
  --z-header: 40;
  --z-overlay: 50;
  --z-modal: 60;
}

@media (min-width: 768px) {
  :root {
    --font-size-base: 1.0625rem; /* 17px */
    --font-size-md: 1.125rem;   /* 18px */
    --font-size-lg: 1.25rem;    /* 20px */
    --font-size-xl: 1.375rem;   /* 22px */
    --font-size-2xl: 1.75rem;   /* 28px */
    --font-size-3xl: 2.2rem;    /* ~35px */
    --font-size-4xl: 2.7rem;    /* ~43px */
    --font-size-5xl: 3.5rem;    /* 56px */
  }
}


/* ========================================================================== 
   Reset / Normalize
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
}

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

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

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

img {
  height: auto;
}

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

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

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

table {
  border-collapse: collapse;
  border-spacing: 0;
}

body {
  min-height: 100vh;
}

:root[data-scroll-disabled="true"] {
  scroll-behavior: auto;
}


/* ========================================================================== 
   Base Styles
   ========================================================================== */

body {
  font-family: var(--font-sans);
  font-size: var(--font-size-md);
  line-height: var(--line-height-normal);
  background-color: var(--color-bg);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main {
  min-height: 60vh;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: var(--line-height-snug);
  color: var(--color-neutral-900);
  letter-spacing: 0.02em;
}

h1 {
  font-size: var(--font-size-4xl);
  text-transform: none;
}

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

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

h4 {
  font-size: var(--font-size-xl);
}

h5 {
  font-size: var(--font-size-lg);
}

h6 {
  font-size: var(--font-size-base);
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

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

strong {
  font-weight: 600;
  color: var(--color-neutral-900);
}

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

hr {
  border: none;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  margin: var(--space-8) 0;
}


/* Links – subtle luxury underline on hover */

a {
  color: var(--color-accent-walnut);
  text-decoration: none;
  position: relative;
  transition: color var(--transition), opacity var(--transition);
}

a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2em;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent-sage));
  opacity: 0;
  transition: width var(--transition-slow), opacity var(--transition-slow);
}

a:hover::after,
a:focus-visible::after {
  width: 100%;
  opacity: 1;
}

a:hover {
  color: var(--color-primary-dark);
}


/* Lists */

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

ul:not([role="list"]),
ol:not([role="list"]) {
  padding-left: 1.25rem;
}


/* ========================================================================== 
   Accessibility & Motion
   ========================================================================== */

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

:focus {
  outline: none;
}

html:focus-within {
  scroll-behavior: smooth;
}

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


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

/* Container */

.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--layout-gutter);
  padding-right: var(--layout-gutter);
  max-width: var(--layout-max-width);
}

.container--wide {
  max-width: var(--layout-max-width-wide);
}

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

.section--spacious {
  padding-top: var(--space-16);
  padding-bottom: var(--space-16);
}


/* Flex utilities */

.flex {
  display: flex;
}

.flex-inline {
  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 {
  flex-direction: column;
}

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

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

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

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

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

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


/* Grid utilities */

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

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

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

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


/* Spacing utilities – only a few core ones for base */

.mt-0 { margin-top: 0 !important; }
.mt-4 { margin-top: var(--space-4) !important; }
.mt-6 { margin-top: var(--space-6) !important; }
.mt-8 { margin-top: var(--space-8) !important; }

.mb-0 { margin-bottom: 0 !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; }

.pt-8 { padding-top: var(--space-8) !important; }
.pb-8 { padding-bottom: var(--space-8) !important; }


/* Text alignment */

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

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


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


/* ========================================================================== 
   Components – Buttons, Inputs, Cards
   ========================================================================== */

/* Buttons – primary CTA for reservations / poker evenings */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background-color var(--transition),
    color var(--transition),
    border-color var(--transition),
    box-shadow var(--transition),
    transform var(--transition-fast);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent-walnut));
  color: #fff!important;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.25);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.3);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.35);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-accent-walnut);
  border-color: rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow-soft);
}

.btn-secondary:hover {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.12);
}

.btn-ghost {
  background: transparent;
  color: var(--color-accent-walnut);
  border-color: rgba(0, 0, 0, 0.12);
}

.btn-ghost:hover {
  background: rgba(0, 0, 0, 0.02);
}

.btn-sm {
  padding: 0.55rem 1.3rem;
  font-size: 0.8rem;
}

.btn-lg {
  padding: 0.95rem 2.2rem;
}

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

.btn-icon {
  padding-inline: 1rem;
}


/* Form elements */

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: var(--space-4);
}

.label {
  font-size: var(--font-size-sm);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-neutral-700);
}

.input,
.textarea,
.select {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 0, 0, 0.08);
  background-color: rgba(255, 255, 255, 0.95);
  color: var(--color-text);
  font-size: var(--font-size-base);
  transition:
    border-color var(--transition),
    box-shadow var(--transition),
    background-color var(--transition);
}

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

.input::placeholder,
.textarea::placeholder {
  color: rgba(0, 0, 0, 0.32);
}

.input:focus-visible,
.textarea:focus-visible,
.select:focus-visible {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px rgba(197, 154, 82, 0.2);
}

.input[aria-invalid="true"],
.textarea[aria-invalid="true"] {
  border-color: var(--color-danger);
}

.input[disabled],
.textarea[disabled],
.select[disabled] {
  background-color: rgba(0, 0, 0, 0.04);
  cursor: not-allowed;
}

.form-help {
  font-size: var(--font-size-xs);
  color: var(--color-neutral-600);
}

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


/* Cards – for restaurant, poker lounge, VIP highlights */

.card {
  position: relative;
  border-radius: var(--radius-lg);
  background-color: var(--color-bg-elevated);
  box-shadow: var(--shadow-soft);
  padding: var(--space-6);
  overflow: hidden;
}

.card--soft {
  background: radial-gradient(circle at top left, rgba(197, 154, 82, 0.08), transparent 55%),
              radial-gradient(circle at bottom right, rgba(139, 155, 134, 0.08), transparent 55%),
              var(--color-bg-elevated);
}

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

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

.card-subtitle {
  font-size: var(--font-size-sm);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-neutral-600);
}

.card-body {
  color: var(--color-text-soft);
}


/* Glassmorphism panel – for header / floating CTAs */

.glass-panel {
  background: linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.88),
      rgba(255, 255, 255, 0.72)
    );
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: var(--shadow-glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.glass-panel--dark {
  background: linear-gradient(
      135deg,
      rgba(18, 12, 8, 0.85),
      rgba(26, 18, 12, 0.76)
    );
  border-color: rgba(255, 255, 255, 0.18);
}


/* Badge / label – for categories (Restaurant, Poker, VIP) */

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.7rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(0, 0, 0, 0.06);
  font-size: var(--font-size-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-neutral-700);
  background: rgba(255, 255, 255, 0.85);
}

.badge--gold {
  border-color: rgba(197, 154, 82, 0.4);
  background: rgba(197, 154, 82, 0.09);
  color: var(--color-accent-walnut);
}

.badge--sage {
  border-color: rgba(139, 155, 134, 0.45);
  background: rgba(139, 155, 134, 0.12);
  color: var(--color-neutral-900);
}


/* ========================================================================== 
   Helper Typography – Editorial luxury feel
   ========================================================================== */

.kicker {
  font-size: var(--font-size-xs);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-neutral-600);
}

.display-title {
  font-family: var(--font-serif);
  font-size: var(--font-size-5xl);
  line-height: 1.05;
  letter-spacing: 0.04em;
}

.lead {
  font-size: var(--font-size-lg);
  line-height: var(--line-height-relaxed);
  color: var(--color-text-soft);
}

.meta {
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-neutral-600);
}


/* ========================================================================== 
   Utility Backgrounds & Surfaces
   ========================================================================== */

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

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

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

.bg-walnut {
  background-color: var(--color-accent-walnut);
  color: #fff;
}

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

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

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


/* Shadows */

.shadow-soft {
  box-shadow: var(--shadow-soft);
}

.shadow-medium {
  box-shadow: var(--shadow-medium);
}

.shadow-strong {
  box-shadow: var(--shadow-strong);
}


/* ========================================================================== 
   Misc
   ========================================================================== */

::selection {
  background: rgba(197, 154, 82, 0.24);
  color: var(--color-neutral-900);
}

html.dark ::selection {
  background: rgba(197, 154, 82, 0.4);
  color: #fff;
}

/* Smooth image corners to match cards */

.img-rounded {
  border-radius: var(--radius-lg);
}

.img-overlay-gradient {
  position: relative;
  overflow: hidden;
}



/* End of base.css */
