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

:root {
  /* Colors */
  --color-bg: #050608; /* Obsidian black */
  --color-surface: #0e1014;
  --color-surface-elevated: #14171f;
  --color-text: #f5efe3; /* Warm ivory */
  --color-text-muted: #b3a89a;
  --color-primary: #d2a23d; /* Antique gold */
  --color-primary-soft: rgba(210, 162, 61, 0.18);
  --color-success: #1f7a4d; /* Deep emerald */
  --color-warning: #e0a63b;
  --color-danger: #b3363b; /* Burgundy-leaning red */

  --color-emerald: #0f4f3a; /* Deep emerald green */
  --color-burgundy: #4a0c1b; /* Royal burgundy */
  --color-ivory: #f5efe3; /* Warm ivory accent */

  /* Neutral grays for subtle UI */
  --gray-50: #f7f7f8;
  --gray-100: #e4e4e7;
  --gray-200: #d4d4d8;
  --gray-300: #a1a1aa;
  --gray-400: #71717a;
  --gray-500: #52525b;
  --gray-600: #3f3f46;
  --gray-700: #2c2c34;
  --gray-800: #18181b;
  --gray-900: #09090b;

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

  --font-size-xs: 0.75rem;   /* 12px */
  --font-size-sm: 0.875rem;  /* 14px */
  --font-size-md: 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.6;

  /* 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: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  /* Shadows (cinematic, soft glows) */
  --shadow-soft: 0 18px 48px rgba(0, 0, 0, 0.45);
  --shadow-strong: 0 32px 80px rgba(0, 0, 0, 0.7);
  --shadow-gold-glow: 0 0 0 1px rgba(210, 162, 61, 0.25), 0 20px 60px rgba(0, 0, 0, 0.8);

  /* Transitions */
  --transition-fast: 150ms ease-out;
  --transition-base: 220ms ease-out;
  --transition-slow: 400ms ease-out;
}

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


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

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

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

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

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

body {
  min-height: 100vh;
}

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

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

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

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

textarea {
  resize: vertical;
}

/* Remove animations and transitions for users with reduced motion */
@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-md);
  line-height: var(--line-height-normal);
  background-color: var(--color-bg);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main {
  display: block;
}

/* Headings: editorial, cinematic hierarchy */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: var(--line-height-snug);
  color: var(--color-ivory);
}

h1 {
  font-size: clamp(2.75rem, 3.6vw, 3.75rem); /* Hero-worthy */
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(2rem, 2.7vw, 2.5rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

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

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

h6 {
  font-size: var(--font-size-md);
}

p {
  margin-top: var(--space-3);
  margin-bottom: var(--space-3);
  color: var(--color-text);
}

p.lead {
  font-size: var(--font-size-lg);
  line-height: var(--line-height-snug);
  color: var(--color-text-muted);
}

strong {
  font-weight: 600;
}

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

/* Links: subtle, luxurious accent */

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

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

a:active {
  opacity: 0.85;
}

/* Lists */

ul,
ol {
  padding-left: 1.25rem;
}

/* Horizontal rule as subtle divider */

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


/* ========================================================================== 
   Accessibility & Focus Styles
   ========================================================================== */

:focus {
  outline: none;
}

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

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


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

/* Layout: container for large cinematic sections */

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

@media (min-width: 1280px) {
  .container {
    max-width: 1320px;
  }
}

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

.section--dark {
  background: radial-gradient(circle at top, rgba(210, 162, 61, 0.09) 0, transparent 55%),
    radial-gradient(circle at bottom, rgba(15, 79, 58, 0.26) 0, transparent 60%),
    linear-gradient(180deg, #050608 0%, #050608 100%);
}

.section--burgundy {
  background: radial-gradient(circle at top left, rgba(210, 162, 61, 0.1) 0, transparent 55%),
    #1a0a12;
}

/* Flex helpers */

.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-4 {
  gap: var(--space-4);
}

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

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

/* 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: minmax(0, 1fr);
  }
}

/* Alignment & width */

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

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

.w-full {
  width: 100%;
}

/* Spacing utilities (commonly used) */

.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }
.mb-12 { margin-bottom: var(--space-12); }

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

/* Typography utilities */

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

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

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

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

.tracking-wide {
  letter-spacing: 0.08em;
}

/* Overlay helper for hero / cinematic sections */

.overlay-gradient {
  position: relative;
}

.overlay-gradient::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.9) 60%, #050608 100%);
  pointer-events: none;
}


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

/* Buttons: luxury gold primary, subtle outlines */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-pill);
  font-size: var(--font-size-sm);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    background-color var(--transition-base),
    color var(--transition-base),
    border-color var(--transition-base),
    box-shadow var(--transition-base),
    transform var(--transition-fast);
}

.btn-primary {
  background: radial-gradient(circle at 0 0, rgba(255, 255, 255, 0.2) 0, transparent 40%),
    linear-gradient(135deg, #e5c46a 0%, #b8861c 50%, #f9e1a0 100%);
  color: #201505;
  box-shadow: var(--shadow-gold-glow);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.9);
}

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

.btn-outline {
  background-color: transparent;
  border-color: rgba(210, 162, 61, 0.6);
  color: var(--color-ivory);
}

.btn-outline:hover {
  background-color: rgba(210, 162, 61, 0.12);
}

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

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

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

.btn--sm {
  padding-block: 0.5rem;
  padding-inline: 1.25rem;
  font-size: var(--font-size-xs);
}

.btn--lg {
  padding-block: 0.9rem;
  padding-inline: 2.25rem;
  font-size: var(--font-size-md);
}

/* Inputs: forms for Contact, Reservations, VIP, etc. */

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

.input,
.textarea,
.select {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.05) 0, transparent 55%),
    rgba(5, 6, 8, 0.9);
  color: var(--color-text);
  font-size: var(--font-size-sm);
  outline: none;
  transition:
    border-color var(--transition-base),
    box-shadow var(--transition-base),
    background-color var(--transition-base);
}

.input::placeholder,
.textarea::placeholder {
  color: rgba(243, 244, 246, 0.35);
}

.input:focus,
.textarea:focus,
.select:focus {
  border-color: rgba(210, 162, 61, 0.7);
  box-shadow: 0 0 0 1px rgba(210, 162, 61, 0.55);
}

.input[aria-invalid="true"],
.textarea[aria-invalid="true"],
.select[aria-invalid="true"] {
  border-color: rgba(179, 54, 59, 0.9);
}

.field-helper {
  margin-top: 0.25rem;
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

.field-error {
  margin-top: 0.25rem;
  font-size: var(--font-size-xs);
  color: var(--color-danger);
}

/* Cards: for game highlights, VIP perks, events */

.card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 40%, rgba(0, 0, 0, 0.85) 100%),
    radial-gradient(circle at top left, rgba(210, 162, 61, 0.16), transparent 45%),
    rgba(10, 11, 16, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(210, 162, 61, 0.2) 0, transparent 55%);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-slow);
}

.card:hover::before {
  opacity: 1;
}

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

.card-title {
  font-family: var(--font-display);
  font-size: var(--font-size-2xl);
  margin-bottom: 0.25rem;
}

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

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

/* Image frame for gallery / panoramic sections */

.image-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-soft);
  background-color: #000;
}

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

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

/* Tag / pill for game types, dress code labels, etc. */

.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.75rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(210, 162, 61, 0.4);
  background-color: rgba(10, 11, 16, 0.9);
  color: var(--color-ivory);
  font-size: var(--font-size-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Hero-specific helpers */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--color-ivory);
}

.hero-content {
  position: relative;
  z-index: 1;
}

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

.hero-title {
  margin-top: var(--space-3);
  margin-bottom: var(--space-3);
}

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

/* Navigation baseline (non-opinionated, just structure) */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: linear-gradient(180deg, rgba(5, 6, 8, 0.95) 0%, rgba(5, 6, 8, 0.82) 60%, transparent 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.9rem;
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  font-size: var(--font-size-sm);
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.navbar-link {
  position: relative;
  padding-block: 0.25rem;
  color: var(--color-text-muted);
  transition: color var(--transition-base);
}

.navbar-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(210, 162, 61, 0.1), rgba(210, 162, 61, 0.9));
  transition: width var(--transition-base);
}

.navbar-link:hover {
  color: var(--color-ivory);
}

.navbar-link:hover::after,
.navbar-link[aria-current="page"]::after {
  width: 100%;
}

.navbar-link[aria-current="page"] {
  color: var(--color-ivory);
}

@media (max-width: 900px) {
  .navbar-menu {
    display: none; /* concrete behavior can be overridden in components */
  }
}

/* FAQ accordion baseline */

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-block: var(--space-4);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  cursor: pointer;
}

.faq-question-text {
  font-weight: 500;
  color: #fff;
}

.faq-answer {
  margin-top: var(--space-3);
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
}

/* Location / map wrapper */

.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-soft);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Toast / alert baseline (for messages, confirmations) */

.alert {
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  font-size: var(--font-size-sm);
  border: 1px solid transparent;
}

.alert-success {
  background-color: rgba(31, 122, 77, 0.18);
  border-color: rgba(31, 122, 77, 0.5);
}

.alert-danger {
  background-color: rgba(179, 54, 59, 0.18);
  border-color: rgba(179, 54, 59, 0.5);
}

.alert-warning {
  background-color: rgba(224, 166, 59, 0.18);
  border-color: rgba(224, 166, 59, 0.5);
}

/* Footer baseline */

.site-footer {
  padding-block: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: radial-gradient(circle at top, rgba(210, 162, 61, 0.12) 0, transparent 55%),
    #050608;
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
}

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

.site-footer a:hover {
  color: var(--color-ivory);
}
