/* ==================================================================
   Variables
   ================================================================== */
:root {
  /* Colors - Luxury dark-glamour palette */
  --color-bg: #050711; /* deep cinematic black/navy */
  --color-bg-elevated: #0c0f1a;
  --color-bg-glass: rgba(8, 10, 20, 0.72);
  --color-bg-glass-strong: rgba(5, 7, 17, 0.9);

  --color-text: #f5f5f7;
  --color-text-muted: #b2b5c3;
  --color-text-soft: #8c8faa;

  --color-primary: #d4a34a; /* antique gold */
  --color-primary-soft: rgba(212, 163, 74, 0.18);
  --color-primary-strong: #f3c66b;

  --color-accent-burgundy: #7b1f2a;
  --color-accent-burgundy-soft: rgba(123, 31, 42, 0.4);
  --color-accent-bronze: #b9824b;
  --color-accent-roulette: #195e7d;

  --color-success: #4cc38a;
  --color-warning: #f5a623;
  --color-danger: #ff4d4f;

  --gray-50: #f8f9fb;
  --gray-100: #e1e3eb;
  --gray-200: #c3c7d6;
  --gray-300: #a3a8bd;
  --gray-400: #8289a1;
  --gray-500: #656b84;
  --gray-600: #4a5067;
  --gray-700: #34384a;
  --gray-800: #222536;
  --gray-900: #141624;

  /* Typography */
  --font-sans: "Poppins", "system-ui", -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  --font-serif-display: "Playfair Display", "Times New Roman", serif;
  --font-mono: "SF Mono", Menlo, Monaco, Consolas, "Liberation Mono", 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.1;
  --line-height-snug: 1.25;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.7;

  /* 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-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 999px;

  /* Shadows - cinematic / stage lighting feel */
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 18px 45px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 25px 80px rgba(0, 0, 0, 0.8);
  --shadow-glow-gold: 0 0 0 1px rgba(212, 163, 74, 0.3),
    0 0 18px rgba(212, 163, 74, 0.55);

  /* Transitions */
  --transition-fast: 120ms ease-out;
  --transition-base: 200ms ease-out;
  --transition-slow: 320ms ease;
  --transition-smooth: 420ms cubic-bezier(0.22, 0.61, 0.36, 1);

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

/* Use slightly tighter scale above 1024px for cinematic hero typography */
@media (min-width: 64rem) {
  :root {
    --font-size-xl: 1.6rem;
    --font-size-2xl: 2rem;
    --font-size-3xl: 2.5rem;
    --font-size-4xl: 3.5rem;
    --font-size-5xl: 4.25rem;
  }
}

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

* {
  margin: 0;
}

html,
body {
  height: 100%;
}

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

body {
  -webkit-font-smoothing: antialiased;
}

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

picture {
  display: block;
}

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

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

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

a:hover {
  text-decoration: none;
}

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

blockquote,
figure {
  margin: 0;
}

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

input,
textarea,
button,
select,
a {
  -webkit-tap-highlight-color: transparent;
}

/* ==================================================================
   Base Styles
   ================================================================== */
body {
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  background: radial-gradient(circle at top, #15172a 0, var(--color-bg) 55%, #02030a 100%);
  color: var(--color-text);
}

main {
  min-height: 60vh;
}

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

p:last-child {
  margin-bottom: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-serif-display);
  font-weight: 600;
  line-height: var(--line-height-tight);
  letter-spacing: 0.01em;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}

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

@media (min-width: 48rem) {
  h1 {
    font-size: var(--font-size-5xl);
  }
  h2 {
    font-size: var(--font-size-4xl);
  }
  h3 {
    font-size: var(--font-size-3xl);
  }
}

strong,
b {
  font-weight: 600;
}

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

code,
pre,
kbd,
samp {
  font-family: var(--font-mono);
}

/* Links – subtle luxury accent */
a {
  position: relative;
  transition: color var(--transition-base), opacity var(--transition-base);
}

a[href]:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.1em;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent-burgundy));
  transition: width var(--transition-smooth);
}

a[href]:not(.btn):hover::after {
  width: 100%;
}

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

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

/* ==================================================================
   Accessibility & Motion
   ================================================================== */
:focus {
  outline: none;
}

: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.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

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

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

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

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

@media (min-width: 64rem) {
  .container,
  .container-wide {
    padding-inline: var(--space-6);
  }
}

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

@media (min-width: 48rem) {
  .section-padding {
    padding-block: var(--space-16);
  }
}

/* Flex Helpers */
.flex {
  display: flex;
}

.inline-flex {
  display: inline-flex;
}

.flex-col {
  flex-direction: column;
}

.flex-row {
  flex-direction: row;
}

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

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

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

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

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

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

/* Text alignment & transforms */
.text-center {
  text-align: center;
}

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

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

/* Spacing Utils */
.mt-0 { margin-top: 0; }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mb-0 { margin-bottom: 0; }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }

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

/* Width / Max-width helpers */
.w-full { width: 100%; }
/* Visual helpers */
.shadow-soft { box-shadow: var(--shadow-soft); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.rounded-sm { border-radius: var(--radius-sm); }
.rounded-md { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-full { border-radius: var(--radius-full); }

.bg-glass {
  background: var(--color-bg-glass);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.bg-elevated {
  background: radial-gradient(circle at top left, rgba(212, 163, 74, 0.12), transparent 55%),
    radial-gradient(circle at bottom right, rgba(123, 31, 42, 0.16), transparent 60%),
    var(--color-bg-elevated);
}

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

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

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

.text-burgundy {
  color: var(--color-accent-burgundy);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.7rem;
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: radial-gradient(circle at top left, rgba(212, 163, 74, 0.2), transparent 60%),
    rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(212, 163, 74, 0.45);
  color: var(--color-primary-strong);
}

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

/* Buttons - primary CTA for booking and offers */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  font-size: var(--font-size-sm);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--transition-base),
    background var(--transition-base),
    border-color var(--transition-base),
    box-shadow var(--transition-base),
    transform var(--transition-fast);
}

.btn-primary {
  color: #050307!important;
  background: radial-gradient(circle at 10% 0, #f9e3a6 0, #d4a34a 40%, #b9824b 100%);
  border-color: rgba(255, 255, 255, 0.02);
  box-shadow: var(--shadow-glow-gold);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(243, 198, 107, 0.4), 0 22px 55px rgba(0, 0, 0, 0.9);
}

.btn-outline {
  color: var(--color-text);
  background: linear-gradient(135deg, rgba(11, 14, 30, 0.9), rgba(11, 10, 22, 0.95));
  border-color: rgba(212, 163, 74, 0.5);
  box-shadow: 0 0 0 1px rgba(212, 163, 74, 0.16);
}

.btn-outline:hover {
  background: linear-gradient(135deg, rgba(27, 21, 41, 0.95), rgba(27, 20, 35, 0.98));
  box-shadow: var(--shadow-soft);
}

.btn-ghost {
  color: var(--color-text-muted);
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.08);
}

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

.btn-sm {
  padding: 0.55rem 1.1rem;
  font-size: var(--font-size-xs);
}

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

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

.btn .btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Inputs & Form Elements - used in Contact & Planning */
.form-control {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(4, 6, 16, 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 var(--transition-base);
}

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

.form-control:focus-visible {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px rgba(212, 163, 74, 0.65), 0 0 0 12px rgba(212, 163, 74, 0.14);
  background: rgba(7, 9, 22, 0.96);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.form-label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--color-text-soft);
}

.form-helper {
  margin-top: 0.3rem;
  font-size: var(--font-size-xs);
  color: var(--gray-300);
}

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

/* Cards - for formats, packages, case studies */
.card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  background: radial-gradient(circle at top left, rgba(212, 163, 74, 0.14), transparent 55%),
    radial-gradient(circle at bottom right, rgba(123, 31, 42, 0.22), transparent 70%),
    linear-gradient(135deg, #070913, #050711);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.card::before {
  /* subtle roulette-wheel style highlight */
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at -10% -20%, rgba(212, 163, 74, 0.35), transparent 55%),
    radial-gradient(circle at 120% 130%, rgba(25, 94, 125, 0.3), transparent 60%);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
}

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

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

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

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

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

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

/* Glassmorphism Header Shell (sticky) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  background: linear-gradient(to bottom, var(--color-bg-glass-strong), rgba(5, 7, 17, 0.3));
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.top-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem var(--space-4);
  background: radial-gradient(circle at left, rgba(212, 163, 74, 0.45), transparent 55%),
    radial-gradient(circle at right, rgba(123, 31, 42, 0.5), transparent 65%),
    linear-gradient(90deg, #15172a, #1e1020);
  font-size: var(--font-size-xs);
  color: #fdf7ea;
}

/* Hero overlay helper for cinematic sections */
.hero-overlay {
  position: relative;
}

.hero-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(0, 0, 0, 0.6), transparent 65%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0, rgba(0, 0, 0, 0.3) 40%, rgba(0, 0, 0, 0.85) 100%);
  pointer-events: none;
  z-index: 0;
}

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

/* Focus-visible helper for custom interactive elements (e.g. cards as links) */
.focus-ring {
  position: relative;
}

.focus-ring:focus-visible {
  outline: none;
}

.focus-ring:focus-visible::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  border: 2px solid var(--color-primary);
  box-shadow: 0 0 0 4px rgba(212, 163, 74, 0.28);
  pointer-events: none;
}

/* Tag-like chips for event types (e.g., Poker, Roulette, Eventy firmowe) */
.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--gray-100);
}

.chip-gold {
  background: rgba(212, 163, 74, 0.12);
  border-color: rgba(212, 163, 74, 0.7);
  color: var(--color-primary-strong);
}

.chip-burgundy {
  background: rgba(123, 31, 42, 0.25);
  border-color: rgba(123, 31, 42, 0.9);
  color: #ffd9e0;
}

/* Simple tag row helper */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

/* Footer Shell */
.site-footer {
  margin-top: var(--space-16);
  padding-block: var(--space-10);
  background:
    radial-gradient(circle at top left, rgba(212, 163, 74, 0.18), transparent 55%),
    radial-gradient(circle at bottom right, rgba(123, 31, 42, 0.3), transparent 60%),
    #04040a;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-note {
  font-size: var(--font-size-xs);
  color: var(--color-text-soft);
}

/* Newsletter VIP-style field wrapper for footer */
.newsletter-shell {
  position: relative;
  border-radius: var(--radius-xl);
  padding: var(--space-4);
  background: linear-gradient(135deg, rgba(212, 163, 74, 0.14), rgba(7, 9, 22, 0.98));
  border: 1px solid rgba(212, 163, 74, 0.5);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.65);
}

.newsletter-shell .form-control {
  background: rgba(4, 6, 16, 0.92);
  border-radius: var(--radius-full);
}

/* Decorative dividers inspired by casino chips */
.divider-casino {
  position: relative;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  margin-block: var(--space-8);
}

.divider-casino::before,
.divider-casino::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--color-primary);
  transform: translateY(-50%);
  background: radial-gradient(circle, rgba(212, 163, 74, 0.4), transparent 55%),
    #050711;
}

.divider-casino::before {
  left: 50%;
  transform: translate(-160%, -50%);
}

.divider-casino::after {
  right: 50%;
  transform: translate(160%, -50%);
}
