/* ========================================================================== 
   Variables
   ========================================================================== */
:root {
  /* Colors - core palette inspired by brief */
  --color-bg: #050607; /* near matte black */
  --color-bg-elevated: #101214; /* charcoal layering */
  --color-surface: #15171a;
  --color-surface-soft: rgba(21, 23, 26, 0.85);

  --color-text: #f5f1e8; /* ivory cream */
  --color-text-muted: #b4ac9c;
  --color-border-subtle: rgba(245, 241, 232, 0.08);

  --color-primary: #c9a35a; /* warm gold */
  --color-primary-soft: rgba(201, 163, 90, 0.12);

  --color-success: #6bbf8d; /* muted green success */
  --color-warning: #e0a85b; /* amber accent */
  --color-danger: #d76868; /* soft burgundy-red */

  --color-olive: #3e4a33; /* dark olive green */
  --color-burgundy: #5e2833; /* deep burgundy */

  /* Neutral grays */
  --gray-50: #f7f7f8;
  --gray-100: #e2e2e5;
  --gray-200: #c8c8cd;
  --gray-300: #a0a1a8;
  --gray-400: #7a7c86;
  --gray-500: #555764;
  --gray-600: #3a3c47;
  --gray-700: #292b33;
  --gray-800: #1d1f26;
  --gray-900: #101217;

  /* Typography */
  --font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Playfair Display", "Times New Roman", serif;
  --font-accent: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --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.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-base: 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-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 */

  /* Radii */
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 999px;

  /* Shadows - cinematic, soft falloff */
  --shadow-sm: 0 4px 18px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 18px 45px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 32px 80px rgba(0, 0, 0, 0.72);

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

  /* Layout */
  --max-width-page: 1200px;
  --max-width-wide: 1440px;
  --header-height: 72px;
}

/* Prefers reduced motion - global variable helper */
@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 {
  margin: 0;
  padding: 0;
}

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

body {
  min-height: 100vh;
}

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

img {
  border-style: none;
}

button,
input,
select,
textarea {
  margin: 0;
  font: inherit;
  color: inherit;
  background: none;
  border-radius: 0;
}

button {
  cursor: pointer;
}

button:disabled,
[disabled] {
  cursor: not-allowed;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

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

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

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

main {
  display: block;
}

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

h1 {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  text-transform: none;
}

h2 {
  font-size: clamp(2rem, 3vw, 2.75rem);
}

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

h4 {
  font-size: 1.25rem;
}

h5 {
  font-size: 1.125rem;
}

h6 {
  font-size: 1rem;
}

p {
  font-size: var(--font-size-md);
  line-height: var(--line-height-relaxed);
  color: var(--color-text-muted);
}

strong,
b {
  font-weight: 600;
}

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

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

a:hover {
  color: #e2c782;
}

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

code,
pre {
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

::selection {
  background-color: rgba(201, 163, 90, 0.35);
  color: var(--color-text);
}

/* Transparent sticky header helper (structure only) */
.header-sticky {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: linear-gradient(to bottom, rgba(5, 6, 7, 0.9), rgba(5, 6, 7, 0.55));
  border-bottom: 1px solid rgba(245, 241, 232, 0.06);
}

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

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

.container-wide {
  width: 100%;
  max-width: var(--max-width-wide);
  margin-inline: auto;
  padding-inline: var(--space-4);
}

@media (min-width: 1024px) {
  .container,
  .container-wide {
    padding-inline: var(--space-8);
  }
}

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

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

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

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

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

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

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

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

.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: 768px) {
  .grid-2,
  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Spacing utilities (core) */
.mt-0 { margin-top: 0 !important; }
.mt-xs { margin-top: var(--space-2) !important; }
.mt-sm { margin-top: var(--space-4) !important; }
.mt-md { margin-top: var(--space-6) !important; }
.mt-lg { margin-top: var(--space-10) !important; }
.mt-xl { margin-top: var(--space-16) !important; }

.mb-0 { margin-bottom: 0 !important; }
.mb-xs { margin-bottom: var(--space-2) !important; }
.mb-sm { margin-bottom: var(--space-4) !important; }
.mb-md { margin-bottom: var(--space-6) !important; }
.mb-lg { margin-bottom: var(--space-10) !important; }
.mb-xl { margin-bottom: var(--space-16) !important; }

.py-section {
  padding-block: clamp(var(--space-12), 10vh, var(--space-24));
}

/* Text utilities */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-muted { color: var(--color-text-muted); }
.text-gold { color: var(--color-primary); }
.text-olive { color: var(--color-olive); }
.text-burgundy { color: var(--color-burgundy); }

.text-uppercase { text-transform: uppercase; }
.tracking-wide { letter-spacing: 0.16em; }

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

/* Visually-hidden but focusable (for skip links) */
.sr-only-focusable:active,
.sr-only-focusable:focus {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

/* Asymmetric hero helper (for editorial compositions) */
.hero-asymmetric {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(var(--space-6), 6vw, var(--space-12));
  align-items: center;
}

.hero-asymmetric--reverse {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

@media (max-width: 960px) {
  .hero-asymmetric,
  .hero-asymmetric--reverse {
    grid-template-columns: minmax(0, 1fr);
  }
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  font-family: var(--font-accent);
  font-size: var(--font-size-sm);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1;
  background: var(--color-primary);
  color: #120f0a !important;
  transition: background-color var(--transition-base),
              color var(--transition-base),
              box-shadow var(--transition-base),
              border-color var(--transition-base),
              transform var(--transition-fast);
}

.btn:hover {
  background: #e2c782;
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

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

.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.55;
  box-shadow: none;
  pointer-events: none;
}

.btn-outline {
  background: transparent;
  color: var(--color-text) !important;
  border-color: rgba(201, 163, 90, 0.6);
}

.btn-outline:hover {
  background: rgba(201, 163, 90, 0.08);
}

.btn-ghost {
  background: rgba(10, 10, 11, 0.5);
  color: var(--color-text) !important;
  border-color: rgba(245, 241, 232, 0.06);
}

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

/* Focus-visible accessibility for interactive elements */
:where(a, button, input, textarea, select, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

/* Inputs */
.input,
select,
textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-subtle);
  background-color: rgba(10, 12, 15, 0.9);
  color: var(--color-text);
  font-size: var(--font-size-sm);
  line-height: 1.4;
  transition: border-color var(--transition-base),
              box-shadow var(--transition-base),
              background-color var(--transition-base);
}

.input::placeholder,
textarea::placeholder {
  color: rgba(180, 172, 156, 0.7);
}

.input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: rgba(201, 163, 90, 0.7);
  box-shadow: 0 0 0 1px rgba(201, 163, 90, 0.5);
  background-color: rgba(10, 12, 15, 1);
}

.input--ghost {
  background-color: transparent;
  border-color: rgba(245, 241, 232, 0.15);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

/* Cards - used for menu highlights, event blocks, etc. */
.card {
  position: relative;
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top left, rgba(201, 163, 90, 0.12), transparent 60%),
              radial-gradient(circle at bottom right, rgba(94, 40, 51, 0.18), transparent 55%),
              var(--color-surface-soft);
  border: 1px solid var(--color-border-subtle);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
  overflow: hidden;
}

.card--flat {
  box-shadow: none;
  background: rgba(12, 13, 16, 0.9);
}

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

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

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

/* Cinematic image frame for photography-heavy layout */
.frame-cinematic {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: #000;
}

.frame-cinematic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 1200ms ease-out, filter 1200ms ease-out;
}

.frame-cinematic::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(0, 0, 0, 0.3), transparent 55%),
              linear-gradient(to bottom, rgba(0, 0, 0, 0.45), transparent 35%, rgba(0, 0, 0, 0.8));
  pointer-events: none;
}

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

/* Event / timeline accent line helper */
.timeline-line {
  position: relative;
  padding-left: var(--space-6);
}

.timeline-line::before {
  content: "";
  position: absolute;
  top: 0.2rem;
  bottom: 0.2rem;
  left: 0;
  width: 1px;
  background: linear-gradient(to bottom, rgba(201, 163, 90, 0.6), rgba(94, 40, 51, 0.7));
}

/* Testimonial slider basic shell (visual only, no JS) */
.testimonial-slide {
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top left, rgba(201, 163, 90, 0.07), transparent 65%),
              var(--color-surface);
  border: 1px solid rgba(245, 241, 232, 0.06);
}

.testimonial-quote {
  font-family: var(--font-display);
  font-size: var(--font-size-lg);
  line-height: var(--line-height-snug);
  color: var(--color-text);
}

.testimonial-meta {
  margin-top: var(--space-4);
  font-size: var(--font-size-sm);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-text-muted);
}

/* Reservation / call-to-action block */
.reservation-block {
  position: relative;
  padding: var(--space-8) var(--space-6);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(201, 163, 90, 0.08), rgba(21, 23, 26, 0.98));
  border: 1px solid rgba(201, 163, 90, 0.25);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.reservation-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(201, 163, 90, 0.16), transparent 60%),
              radial-gradient(circle at bottom right, rgba(94, 40, 51, 0.32), transparent 55%);
  opacity: 0.8;
  pointer-events: none;
}

.reservation-block__inner {
  position: relative;
  display: grid;
  gap: var(--space-6);
  align-items: center;
}

@media (min-width: 768px) {
  .reservation-block__inner {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  }
}

/* Entertainment subtle tag / label */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(201, 163, 90, 0.5);
  background: rgba(10, 12, 15, 0.85);
  color: var(--color-text-muted);
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

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

.gallery-grid__item--wide {
  grid-column: span 7;
}

.gallery-grid__item--tall {
  grid-column: span 5;
}

.gallery-grid__item--square {
  grid-column: span 4;
}

@media (max-width: 960px) {
  .gallery-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .gallery-grid__item--wide,
  .gallery-grid__item--tall,
  .gallery-grid__item--square {
    grid-column: span 6;
  }
}

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .gallery-grid__item--wide,
  .gallery-grid__item--tall,
  .gallery-grid__item--square {
    grid-column: span 2;
  }
}

/* Overlay gradient, useful for text-on-image hero/cards */
.overlay-gradient-bottom {
  position: relative;
}


/* Nightlife ambient glow line */
.hr-ambient {
  border: none;
  height: 1px;
  margin-block: var(--space-6);
  background: linear-gradient(to right, transparent, rgba(201, 163, 90, 0.8), rgba(94, 40, 51, 0.8), transparent);
}
