/* ========================================================================== 
   Variables
   ========================================================================== */

:root {
  /* Color Palette - Luxury Nightlife Theme */
  --color-background: #05060a; /* Deep cinematic black/navy */
  --color-surface: #101320; /* Primary surface */
  --color-surface-elevated: #181c2a; /* Elevated cards */
  --color-surface-soft: rgba(8, 10, 18, 0.85);

  --color-text: #f7f4ef; /* Soft warm white */
  --color-text-muted: #b4b0a8;
  --color-text-soft: #8e8a82;

  --color-primary: #d6a853; /* Modern gold */
  --color-primary-soft: rgba(214, 168, 83, 0.18);
  --color-primary-strong: #f4c968;

  --color-accent-emerald: #0ba67f;
  --color-accent-burgundy: #8b1e3f;
  --color-accent-navy: #131a35;

  --color-success: #35b37e;
  --color-warning: #f5b041;
  --color-danger: #e05252;

  --color-border-subtle: rgba(255, 255, 255, 0.08);
  --color-border-strong: rgba(255, 255, 255, 0.16);

  --color-overlay-soft: rgba(0, 0, 0, 0.4);
  --color-overlay-strong: rgba(0, 0, 0, 0.7);

  /* Neutral Grays (warm, for typography & UI) */
  --gray-50: #faf7f2;
  --gray-100: #ebe5dc;
  --gray-200: #d6cec2;
  --gray-300: #bfb5a6;
  --gray-400: #a79d8e;
  --gray-500: #8e8477;
  --gray-600: #736a5f;
  --gray-700: #5a5148;
  --gray-800: #403933;
  --gray-900: #26221f;

  /* Typography */
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Playfair Display", "Times New Roman", serif;
  --font-mono: "SF Mono", 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-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.2;
  --line-height-snug: 1.35;
  --line-height-normal: 1.6;
  --line-height-relaxed: 1.75;

  /* 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-14: 3.5rem;  /* 56px */
  --space-16: 4rem;    /* 64px */
  --space-20: 5rem;    /* 80px */
  --space-24: 6rem;    /* 96px */

  /* Radius */
  --radius-none: 0;
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  /* Shadows - subtle glow & cinematic depth */
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.45);
  --shadow-strong: 0 26px 75px rgba(0, 0, 0, 0.75);
  --shadow-glow-gold: 0 0 0 1px rgba(214, 168, 83, 0.25), 0 0 32px rgba(214, 168, 83, 0.3);

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

  /* Layout */
  --container-max-width: 1200px;
  --container-max-width-wide: 1440px;
}

@media (min-width: 768px) {
  :root {
    --font-size-base: 1.0625rem; /* 17px for comfortable reading */
    --font-size-lg: 1.1875rem;   /* 19px */
    --font-size-xl: 1.375rem;    /* 22px */
    --font-size-2xl: 1.75rem;    /* 28px */
    --font-size-3xl: 2.25rem;    /* 36px */
    --font-size-4xl: 2.75rem;    /* 44px */
    --font-size-5xl: 3.5rem;     /* 56px - cinematic hero */
  }
}

/* ========================================================================== 
   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[role='list'],
ol[role='list'] {
  list-style: none;
  margin: 0;
  padding: 0;
}

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

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

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

textarea {
  resize: vertical;
}

:where(a) {
  color: inherit;
}

:where(a, button, input, textarea, select) {
  outline: none;
}

/* Remove default focus outlines, replaced with :focus-visible styles */
:focus {
  outline: none;
}

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

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

main {
  min-height: 50vh;
}

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

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

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

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

strong, b {
  font-weight: 600;
}

small {
  font-size: 0.875em;
}

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

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

a:active {
  opacity: 0.85;
}

hr {
  border: none;
  border-top: 1px solid var(--color-border-subtle);
  margin: var(--space-8) 0;
}

/* Lists */

ul, ol {
  padding-left: 1.25rem;
  margin-top: 0;
  margin-bottom: var(--space-4);
}

/* ========================================================================== 
   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.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Screen reader only utility */

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

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

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

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

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

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

/* Flex Utilities */

.flex {
  display: flex;
}

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

.justify-end {
  justify-content: flex-end;
}

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

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

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

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

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

/* Grid Utilities */

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

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

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

.text-uppercase {
  text-transform: uppercase;
}

.w-full {
  width: 100%;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.mt-0 { margin-top: 0; }
.mt-xs { margin-top: var(--space-2); }
.mt-sm { margin-top: var(--space-3); }
.mt-md { margin-top: var(--space-4); }
.mt-lg { margin-top: var(--space-6); }
.mt-xl { margin-top: var(--space-8); }

.mb-0 { margin-bottom: 0; }
.mb-xs { margin-bottom: var(--space-2); }
.mb-sm { margin-bottom: var(--space-3); }
.mb-md { margin-bottom: var(--space-4); }
.mb-lg { margin-bottom: var(--space-6); }
.mb-xl { margin-bottom: var(--space-8); }

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

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color var(--transition-normal),
              color var(--transition-normal),
              box-shadow var(--transition-normal),
              border-color var(--transition-normal),
              transform var(--transition-fast),
              opacity var(--transition-fast);
  -webkit-tap-highlight-color: transparent;
}

.btn-primary {
  background: linear-gradient(135deg, #f4c968, #d6a853);
  color: #121214;
  box-shadow: var(--shadow-glow-gold);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.8);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.85);
}

.btn-outline {
  background-color: transparent;
  border-color: rgba(214, 168, 83, 0.7);
  color: var(--color-text);
  box-shadow: 0 0 0 1px rgba(214, 168, 83, 0.35);
  background-image: radial-gradient(circle at top left, rgba(214, 168, 83, 0.25), transparent 55%);
}

.btn-outline:hover {
  background-color: rgba(214, 168, 83, 0.12);
}

.btn-ghost {
  background-color: transparent;
  border-radius: var(--radius-pill);
  color: var(--color-text-muted);
}

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

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

.btn-icon {
  padding: 0.5rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  justify-content: center;
}

/* Inputs & Form Elements */

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

.label {
  font-size: var(--font-size-sm);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-text-soft);
}

.input,
.textarea,
.select {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border-subtle);
  background-color: rgba(10, 12, 22, 0.85);
  color: var(--color-text);
  font-size: 0.98rem;
  transition: border-color var(--transition-fast),
              box-shadow var(--transition-fast),
              background-color var(--transition-fast);
}

.input::placeholder,
.textarea::placeholder {
  color: var(--color-text-soft);
}

.input:focus-visible,
.textarea:focus-visible,
.select:focus-visible {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px rgba(214, 168, 83, 0.6), 0 0 30px rgba(214, 168, 83, 0.25);
}

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

.textarea {
  min-height: 140px;
}

select.select {
  background-image: linear-gradient(45deg, transparent 50%, rgba(214, 168, 83, 0.85) 50%),
    linear-gradient(135deg, rgba(214, 168, 83, 0.85) 50%, transparent 50%);
  background-position: calc(100% - 14px) 52%, calc(100% - 10px) 52%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 2rem;
}

/* Cards */

.card {
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(9, 11, 22, 0.96), rgba(12, 16, 30, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow-soft);
  padding: var(--space-6);
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at top right, rgba(214, 168, 83, 0.2), transparent 55%);
  opacity: 0.8;
}

.card-inner {
  position: relative;
  z-index: 1;
}

.card-soft {
  padding: var(--space-5);
  border-radius: var(--radius-md);
  background-color: rgba(15, 18, 30, 0.9);
  border: 1px solid var(--color-border-subtle);
}

/* Subtle glass effect for overlays / hero content blocks */
.glass-panel {
  background: linear-gradient(135deg, rgba(6, 8, 18, 0.8), rgba(12, 15, 28, 0.92));
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(18px);
}

/* ========================================================================== 
   Helper Styles For Luxury / Nightlife Aesthetic
   ========================================================================== */

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

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

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

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

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

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.7rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(214, 168, 83, 0.6);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary-strong);
  background-color: rgba(214, 168, 83, 0.05);
}

.tagline {
  font-size: var(--font-size-sm);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-text-soft);
}

/* Image treatments for gallery / hero */

.image-luxe {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.95);
}

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

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

/* CTA cluster spacing (e.g. hero reservation buttons) */

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-5);
}

@media (max-width: 480px) {
  .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ========================================================================== 
   End of base.css
   ========================================================================== */
