/* =============================================
   Variables
   ============================================= */
:root {
  /* Colors */
  --color-bg-primary: #141414; /* deep graphite black */
  --color-bg-secondary: #F6F1E8; /* warm ivory */
  --color-text-on-dark: #F5F1EA; /* ivory white */
  --color-text-on-light: #222222; /* charcoal black */
  --color-heading-navy: #1B2A41; /* deep navy blue */
  --color-heading-wine: #6D1F2A; /* wine red */
  --color-primary: #C6A15A; /* antique gold */
  --color-primary-hover: #7A5A2F; /* dark bronze */
  --color-accent-emerald: #1F5C4A; /* muted emerald green */

  /* Semantic */
  --color-success: #2f7d4b;
  --color-warning: #c9923b;
  --color-danger: #b63a3a;

  /* Neutral grays */
  --color-gray-50: #f9f9f9;
  --color-gray-100: #f0f0f0;
  --color-gray-200: #e0e0e0;
  --color-gray-300: #c8c8c8;
  --color-gray-400: #a0a0a0;
  --color-gray-500: #7a7a7a;
  --color-gray-600: #555555;
  --color-gray-700: #3a3a3a;
  --color-gray-800: #252525;
  --color-gray-900: #141414;

  /* Typography */
  --font-sans: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "Playfair Display", "Times New Roman", serif;
  --font-mono: "JetBrains Mono", Menlo, Monaco, Consolas, "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-4xl: 3rem;     /* 48px */
  --font-size-5xl: 3.75rem;  /* 60px */

  --line-height-tight: 1.2;
  --line-height-snug: 1.35;
  --line-height-normal: 1.6;
  --line-height-relaxed: 1.8;

  /* 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-none: 0;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-xl: 24px;
  --radius-pill: 999px;

  /* Shadows (cinematic, soft falloff) */
  --shadow-soft: 0 12px 30px rgba(0, 0, 0, 0.18);
  --shadow-medium: 0 18px 45px rgba(0, 0, 0, 0.28);
  --shadow-strong: 0 30px 80px rgba(0, 0, 0, 0.55);

  /* Transitions */
  --transition-fast: 150ms ease-out;
  --transition-base: 250ms ease-out;
  --transition-slow: 450ms ease-out;
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --transition-fast: 0ms;
    --transition-base: 0ms;
    --transition-slow: 0ms;
  }
}

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

html,
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd,
ul,
ol,
fieldset,
legend {
  margin: 0;
  padding: 0;
}

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

body {
  min-height: 100vh;
}

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

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

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

ul,
ol {
  list-style: none;
}

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

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

/* Remove animations for users with motion reduction */
@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;
  }
}

/* =============================================
   Base Styles
   ============================================= */
body {
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  background-color: var(--color-bg-primary);
  color: var(--color-text-on-dark);
  -webkit-font-smoothing: antialiased;
}

main {
  display: block;
}

/* Headings: editorial, cinematic scale */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: var(--line-height-tight);
  color: var(--color-heading-navy);
}

h1 {
  font-size: clamp(var(--font-size-3xl), 3vw + 1rem, var(--font-size-5xl));
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(var(--font-size-2xl), 2.4vw + 0.5rem, var(--font-size-4xl));
}

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);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

p {
  margin-bottom: var(--space-4);
  font-size: var(--font-size-md);
  line-height: var(--line-height-relaxed);
}

strong,
b {
  font-weight: 600;
}

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

/* Links (global) */
a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-base), opacity var(--transition-base);
}

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

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

/* Themed sections */
.section-dark {
  background-color: var(--color-bg-primary);
  color: var(--color-text-on-dark);
}

.section-light {
  background-color: var(--color-bg-secondary);
  color: var(--color-text-on-light);
}

.section-light h1,
.section-light h2,
.section-light h3,
.section-light h4,
.section-light h5,
.section-light h6 {
  color: var(--color-heading-wine);
}

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

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

/* =============================================
   Utilities
   ============================================= */
.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-6);
  padding-right: var(--space-6);
  max-width: 1200px;
}

@media (max-width: 768px) {
  .container {
    padding-left: var(--space-4);
    padding-right: var(--space-4);
  }
}

/* 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-col {
  flex-direction: column;
}

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

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

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

.gap-lg {
  gap: var(--space-10);
}

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

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

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

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

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

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

.mt-section {
  margin-top: var(--space-20);
}

.mb-section {
  margin-bottom: var(--space-20);
}

/* Cinematic separators */
.hr-emerald {
  width: 80px;
  height: 2px;
  background-color: var(--color-accent-emerald);
  border: 0;
  margin: var(--space-4) 0 var(--space-6);
}

.hr-gold {
  width: 60px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--color-primary), transparent);
  border: 0;
  margin: var(--space-4) auto;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  background-color: var(--color-primary);
  color: #111111;
  font-size: var(--font-size-sm);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  line-height: 1;
  transition:
    background-color var(--transition-base),
    color var(--transition-base),
    border-color var(--transition-base),
    transform var(--transition-fast),
    box-shadow var(--transition-base);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.btn:hover {
  background-color: var(--color-primary-hover);
  color: #fdfbf5;
  transform: translateY(-1px);
  box-shadow: var(--shadow-medium);
}

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

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

.btn--ghost-dark {
  background-color: transparent;
  color: var(--color-text-on-dark);
  border-color: rgba(245, 241, 234, 0.4);
  box-shadow: none;
}

.btn--ghost-dark:hover {
  background-color: rgba(198, 161, 90, 0.12);
  border-color: var(--color-primary);
}

.btn--ghost-light {
  background-color: transparent;
  color: var(--color-text-on-light);
  border-color: rgba(34, 34, 34, 0.4);
  box-shadow: none;
}

.btn--ghost-light:hover {
  background-color: rgba(198, 161, 90, 0.08);
  border-color: var(--color-primary);
}

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

/* Inputs & forms */
.input,
select,
textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(245, 241, 234, 0.16);
  background-color: rgba(20, 20, 20, 0.9);
  color: var(--color-text-on-dark);
  font-size: var(--font-size-sm);
  outline: none;
  transition:
    border-color var(--transition-base),
    background-color var(--transition-base),
    box-shadow var(--transition-base);
}

.section-light .input,
.section-light select,
.section-light textarea {
  background-color: rgba(246, 241, 232, 0.95);
  border-color: rgba(34, 34, 34, 0.16);
  color: var(--color-text-on-light);
}

.input::placeholder,
textarea::placeholder {
  color: rgba(245, 241, 234, 0.48);
}

.section-light .input::placeholder,
.section-light textarea::placeholder {
  color: rgba(34, 34, 34, 0.45);
}

.input:focus,
select:focus,
textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px rgba(198, 161, 90, 0.7);
}

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

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

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

@media (max-width: 700px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* Card: used for dishes, wine, VIP rooms, etc. */
.card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: radial-gradient(circle at top, #1f1f1f 0, #111111 55%);
  color: var(--color-text-on-dark);
  padding: var(--space-6);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(198, 161, 90, 0.12);
}

.section-light .card {
  background: #fdfaf4;
  color: var(--color-text-on-light);
  border-color: rgba(198, 161, 90, 0.18);
}

.card--overlay {
  padding: var(--space-5);
  background: linear-gradient(140deg, rgba(0, 0, 0, 0.88), rgba(20, 20, 20, 0.94));
  border-radius: var(--radius-xl);
}

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

.card-title {
  font-family: var(--font-serif);
  font-size: var(--font-size-xl);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.card-meta {
  font-size: var(--font-size-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245, 241, 234, 0.6);
}

.section-light .card-meta {
  color: rgba(34, 34, 34, 0.6);
}

.card-body {
  margin-top: var(--space-3);
}

/* Age Verification Modal (18+) */
.age-gate-backdrop {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at top, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.98));
  backdrop-filter: blur(18px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.age-gate-dialog {
  max-width: 480px;
  width: 100%;
  margin: var(--space-6);
  background: linear-gradient(145deg, #181818, #101010);
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-6);
  color: var(--color-text-on-dark);
  box-shadow: var(--shadow-strong);
  border: 1px solid rgba(198, 161, 90, 0.25);
}

.age-gate-title {
  font-family: var(--font-serif);
  font-size: var(--font-size-2xl);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: var(--space-3);
}

.age-gate-subtitle {
  font-size: var(--font-size-sm);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(245, 241, 234, 0.7);
  margin-bottom: var(--space-4);
}

.age-gate-text {
  font-size: var(--font-size-sm);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-6);
}

.age-gate-actions {
  display: flex;
  gap: var(--space-3);
  justify-content: flex-end;
}

@media (max-width: 500px) {
  .age-gate-dialog {
    padding: var(--space-6) var(--space-4);
  }

  .age-gate-actions {
    flex-direction: column;
  }

  .age-gate-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Hero / full-screen cinematic section helper */
.hero-full {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--color-text-on-dark);
  background-color: var(--color-bg-primary);
}

.hero-full::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.85));
  pointer-events: none;
}

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

.hero-eyebrow {
  font-size: var(--font-size-xs);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(245, 241, 234, 0.7);
  margin-bottom: var(--space-3);
}

.hero-title {
  color: var(--color-text-on-dark);
}

.hero-kicker {
  font-size: var(--font-size-lg);
  max-width: 40rem;
  margin-top: var(--space-4);
}

/* Subtle scroll cue */
.scroll-indicator {
  position: absolute;
  bottom: var(--space-6);
  left: 50%;
  transform: translateX(-50%);
  font-size: var(--font-size-xs);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(245, 241, 234, 0.7);
}

/* Gallery / immersive imagery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
}

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

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform var(--transition-slow), filter var(--transition-slow);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.45), transparent 50%);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.gallery-item:hover img {
  transform: scale(1.06);
  filter: saturate(1.1);
}

.gallery-item:hover::after {
  opacity: 1;
}

/* Casino ambience tag (subtle prestige label) */
.venue-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(198, 161, 90, 0.4);
  background: rgba(0, 0, 0, 0.5);
  color: var(--color-text-on-dark);
  font-size: var(--font-size-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.venue-tag__dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background-color: var(--color-accent-emerald);
}

/* Section layout spacing helper for editorial flow */
.section {
  padding-top: var(--space-20);
  padding-bottom: var(--space-20);
}

@media (max-width: 768px) {
  .section {
    padding-top: var(--space-16);
    padding-bottom: var(--space-16);
  }
}

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

.section-eyebrow {
  font-size: var(--font-size-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent-emerald);
  margin-bottom: var(--space-2);
}

.section-title {
  font-family: var(--font-serif);
  font-size: var(--font-size-3xl);
}

.section-intro {
  max-width: 32rem;
  margin-top: var(--space-3);
}

/* Utility to ensure text contrast on imagery */
.overlay-dark {
  position: relative;
}

.overlay-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.85));
}

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

/* End of base.css */
