/* ========================================================================
   Variables
   ======================================================================== */
:root {
  /* Color Palette - Nightlife Premium */
  --color-bg: #050509;
  --color-bg-elevated: #0d0d14;
  --color-bg-soft: #141420;

  --color-text: #f5f5fa;
  --color-text-muted: #b3b3c6;
  --color-border-subtle: #262638;

  --color-primary: #f5c451; /* warm gold for CTAs */
  --color-primary-soft: rgba(245, 196, 81, 0.12);
  --color-primary-strong: #ffd76e;

  --color-accent-navy: #101733;
  --color-accent-burgundy: #4a1223;

  --color-success: #45d19f;
  --color-warning: #ffb341;
  --color-danger: #ff4b6b;

  /* Neutral Grays (on dark) */
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2933;
  --gray-900: #111827;

  /* Typography */
  --font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-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.1;
  --line-height-snug: 1.25;
  --line-height-normal: 1.6;

  /* Spacing Scale (0–96px) */
  --space-0: 0;
  --space-1: 0.125rem; /* 2px */
  --space-2: 0.25rem;  /* 4px */
  --space-3: 0.375rem; /* 6px */
  --space-4: 0.5rem;   /* 8px */
  --space-5: 0.625rem; /* 10px */
  --space-6: 0.75rem;  /* 12px */
  --space-8: 1rem;     /* 16px */
  --space-10: 1.25rem; /* 20px */
  --space-12: 1.5rem;  /* 24px */
  --space-16: 2rem;    /* 32px */
  --space-20: 2.5rem;  /* 40px */
  --space-24: 3rem;    /* 48px */
  --space-28: 3.5rem;  /* 56px */
  --space-32: 4rem;    /* 64px */
  --space-40: 5rem;    /* 80px */
  --space-48: 6rem;    /* 96px */

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 18px;
  --radius-pill: 999px;

  /* Shadows (cinematic, soft glow) */
  --shadow-soft: 0 10px 25px rgba(0, 0, 0, 0.45);
  --shadow-strong: 0 24px 60px rgba(0, 0, 0, 0.75);
  --shadow-gold-glow: 0 0 0 1px rgba(245, 196, 81, 0.18), 0 10px 35px rgba(245, 196, 81, 0.25);

  /* Transitions */
  --transition-fast: 0.15s ease-out;
  --transition-normal: 0.25s ease-out;
  --transition-slow: 0.4s ease-out;
}

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

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

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;
  padding: 0;
  margin: 0;
}

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

picture {
  display: block;
}

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

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

fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

legend {
  padding: 0;
}

/* Remove default link underline; will restyle in Base */
a {
  text-decoration: none;
  color: inherit;
}

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

/* ========================================================================
   Base Styles
   ======================================================================== */
body {
  min-height: 100vh;
  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;
}

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

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

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-md);
}

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

strong,
 b {
  font-weight: 600;
}

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

a {
  color: var(--color-primary);
  transition: color var(--transition-fast),
    text-shadow var(--transition-fast);
}

a:hover {
  color: var(--color-primary-strong);
  text-shadow: 0 0 12px rgba(245, 196, 81, 0.5);
}

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

::selection {
  background-color: rgba(245, 196, 81, 0.3);
  color: var(--gray-50);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.m-auto {
  margin: auto;
}

.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

.mb-xs {
  margin-bottom: var(--space-4);
}

.mb-sm {
  margin-bottom: var(--space-8);
}

.mb-md {
  margin-bottom: var(--space-12);
}

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

.py-section-sm {
  padding-top: var(--space-24);
  padding-bottom: var(--space-24);
}

/* 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
   ======================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: var(--font-size-sm);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: background-color var(--transition-normal),
    color var(--transition-normal),
    box-shadow var(--transition-normal),
    transform var(--transition-fast),
    border-color var(--transition-fast);
  cursor: pointer;
}

.btn-primary {
  background: radial-gradient(circle at 10% 0, rgba(245, 196, 81, 0.35), transparent 55%),
    linear-gradient(135deg, #f5c451, #ffdf88);
  color: #1a1305;
  box-shadow: var(--shadow-gold-glow);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(245, 196, 81, 0.4);
}

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

.btn-outline {
  background: rgba(10, 10, 20, 0.6);
  color: var(--color-primary-strong);
  border-color: rgba(245, 196, 81, 0.6);
  box-shadow: 0 0 0 1px rgba(245, 196, 81, 0.35);
}

.btn-outline:hover {
  background: rgba(245, 196, 81, 0.12);
}

.btn-ghost {
  background: transparent;
  color: var(--gray-100);
}

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

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

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

/* ========================================================================
   Components - Form Controls
   ======================================================================== */
.input,
 select,
 textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-subtle);
  background-color: rgba(6, 6, 14, 0.95);
  color: var(--color-text);
  font-size: var(--font-size-sm);
  transition: border-color var(--transition-fast),
    box-shadow var(--transition-fast),
    background-color var(--transition-fast);
}

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

.input:focus-visible,
 select:focus-visible,
 textarea:focus-visible {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px rgba(245, 196, 81, 0.6), 0 10px 30px rgba(0, 0, 0, 0.7);
}

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

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

label {
  display: inline-block;
  margin-bottom: var(--space-4);
  font-size: var(--font-size-sm);
  font-weight: 500;
}

.form-row {
  margin-bottom: var(--space-10);
}

.form-helper {
  margin-top: var(--space-4);
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

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

/* ========================================================================
   Components - Card (for event formats, testimonials, etc.)
   ======================================================================== */
.card {
  position: relative;
  padding: var(--space-16);
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at 0 0, rgba(245, 196, 81, 0.09), transparent 55%),
    linear-gradient(145deg, rgba(13, 13, 24, 0.98), rgba(8, 8, 16, 0.98));
  border: 1px solid rgba(245, 196, 81, 0.16);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
}

.card--soft {
  background: linear-gradient(145deg, rgba(16, 23, 51, 0.9), rgba(74, 18, 35, 0.9));
}

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

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

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

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

/* ========================================================================
   Hero & Nightlife Accents (generic helpers)
   ======================================================================== */
.hero {
  position: relative;
  padding-top: var(--space-40);
  padding-bottom: var(--space-40);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 10%, rgba(245, 196, 81, 0.18), transparent 55%),
    radial-gradient(circle at 85% 85%, rgba(255, 75, 107, 0.18), transparent 55%);
  opacity: 0.9;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  background-color: rgba(245, 196, 81, 0.15);
  color: var(--color-primary-strong);
  font-size: var(--font-size-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

/* ========================================================================
   Media Helpers (Gallery, Logos, etc.)
   ======================================================================== */
.media-cover {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background-color: #000;
}

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

.media-cover:hover img {
  transform: scale(1.06);
}

.media-overlay-soft::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent 40%);
}

/* ========================================================================
   Helper Classes for Status & Accents
   ======================================================================== */
.text-muted {
  color: var(--color-text-muted);
}

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

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

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

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: var(--font-size-xs);
  background-color: rgba(20, 20, 32, 0.9);
  border: 1px solid rgba(245, 196, 81, 0.25);
}

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