/* ========================================================================== 
   Variables
   ========================================================================== */
:root {
  /* Color Palette - Luxurious Casino Theme */
  --color-background: #05060a; /* Deep almost-black */
  --color-background-elevated: #0d111a; /* Dark navy for cards/sections */
  --color-surface-soft: #171c27;

  --color-text: #f5f2ea; /* Soft beige */
  --color-text-muted: #b1a9a0;
  --color-text-soft: #d8d1c7;

  --color-primary: #d4af37; /* Royal gold */
  --color-primary-soft: rgba(212, 175, 55, 0.15);

  --color-success: #1ea76a; /* Emerald green */
  --color-warning: #f0b545; /* Warm gold/orange */
  --color-danger: #c02135; /* Rich crimson */

  --color-gray-50: #f9fafb;
  --color-gray-100: #f3f4f6;
  --color-gray-200: #e5e7eb;
  --color-gray-300: #d1d5db;
  --color-gray-400: #9ca3af;
  --color-gray-500: #6b7280;
  --color-gray-600: #4b5563;
  --color-gray-700: #374151;
  --color-gray-800: #1f2933;
  --color-gray-900: #111827;

  /* Typography */
  --font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Playfair Display", "Cormorant Garamond", "Times New Roman", serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, 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-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.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: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-pill: 999px;

  /* Shadows - cinematic, layered */
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-medium: 0 18px 45px rgba(0, 0, 0, 0.55);
  --shadow-strong: 0 28px 80px rgba(0, 0, 0, 0.85);

  /* Transitions */
  --transition-fast: 120ms ease-out;
  --transition-normal: 220ms ease;
  --transition-slow: 420ms ease;

  /* Layout */
  --container-max-width: 1120px;
  --container-wide-width: 1360px;

  /* Z-index helpers */
  --z-nav: 50;
  --z-overlay: 40;
  --z-modal: 60;
}

@media (min-width: 1024px) {
  :root {
    --font-size-base: 1.0625rem; /* 17px */
    --font-size-lg: 1.2rem;
    --font-size-xl: 1.35rem;
    --font-size-2xl: 1.65rem;
    --font-size-3xl: 2.1rem;
    --font-size-4xl: 2.6rem;
    --font-size-5xl: 3.4rem;
  }
}

/* ========================================================================== 
   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,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

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

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

textarea {
  resize: vertical;
}

:where(a) {
  text-decoration: none;
  color: inherit;
}

:where(table) {
  border-collapse: collapse;
  border-spacing: 0;
}

/* ========================================================================== 
   Base Styles
   ========================================================================== */
body {
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  color: var(--color-text);
  background: radial-gradient(circle at top, #161b26 0, #05060a 55%, #000 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-nav-open {
  overflow: hidden;
}

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

h1 {
  font-size: var(--font-size-5xl);
  letter-spacing: 0.03em;
}

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

h3 {
  font-size: var(--font-size-3xl);
}

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

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

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

h1, h2, h3 {
  margin-bottom: var(--space-4);
}

h4, h5, h6 {
  margin-bottom: var(--space-3);
}

p + p {
  margin-top: var(--space-3);
}

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

strong, b {
  font-weight: 600;
}

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

code, kbd, samp {
  font-family: var(--font-mono);
  font-size: 0.9em;
}

a {
  cursor: pointer;
}

a:not([class]) {
  color: var(--color-primary);
  text-decoration: none;
  position: relative;
  transition: color var(--transition-normal);
}

a:not([class])::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.15em;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-success));
  transition: width var(--transition-normal);
}

a:not([class]):hover::after,
a:not([class]):focus-visible::after {
  width: 100%;
}

::selection {
  background: rgba(212, 175, 55, 0.35);
  color: #fff;
}

/* Locale-specific tweaks (Polish) */
html[lang="pl"] body {
  hyphens: auto;
}

/* ========================================================================== 
   Accessibility & Motion
   ========================================================================== */
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

:focus {
  outline: none;
}

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

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

.container--wide {
  max-width: var(--container-wide-width);
}

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

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

.section--divider {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

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

.items-start {
  align-items: flex-start;
}

.items-end {
  align-items: flex-end;
}

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

.justify-between {
  justify-content: space-between;
}

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

/* Alignment & 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-success {
  color: var(--color-success);
}

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

/* Spacing Utilities */
.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); }

.py-4 {
  padding-top: var(--space-4);
  padding-bottom: var(--space-4);
}

.py-6 {
  padding-top: var(--space-6);
  padding-bottom: var(--space-6);
}

.py-8 {
  padding-top: var(--space-8);
  padding-bottom: var(--space-8);
}

.p-4 { padding: var(--space-4); }
.p-6 { padding: var(--space-6); }

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

.sr-only-focusable:focus,
.sr-only-focusable:focus-visible {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

/* Overlay Utility for Cinematic Layers */
.overlay-gradient-bottom {
  position: relative;
}

.overlay-gradient-bottom::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 40%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(3, 4, 7, 0.98) 80%, #030407 100%);
  pointer-events: none;
}

/* ========================================================================== 
   Components
   ========================================================================== */
/* Buttons */
.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: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition:
    background-color var(--transition-normal),
    color var(--transition-normal),
    border-color var(--transition-normal),
    transform var(--transition-fast),
    box-shadow var(--transition-normal);
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0 0, rgba(255, 255, 255, 0.35), transparent 55%);
  opacity: 0;
  transition: opacity var(--transition-slow);
  pointer-events: none;
}

.btn--primary {
  background: linear-gradient(135deg, #d4af37, #f0d58a);
  color: #05060a;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.75);
}

.btn--primary:hover::before {
  opacity: 1;
}

.btn--outline {
  background: transparent;
  color: var(--color-text);
  border-color: rgba(212, 175, 55, 0.65);
  box-shadow: inset 0 0 0 1px rgba(212, 175, 55, 0.2);
}

.btn--outline:hover {
  background: rgba(212, 175, 55, 0.08);
}

.btn--ghost {
  background: rgba(3, 4, 7, 0.75);
  color: var(--color-text);
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

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

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

/* Inputs */
.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.field__label {
  font-size: var(--font-size-sm);
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--color-text-soft);
}

.field__hint {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

.field__error {
  font-size: var(--font-size-xs);
  color: var(--color-danger);
}

.input,
textarea,
select {
  width: 100%;
  padding: 0.75rem 0.95rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background-color: rgba(9, 11, 17, 0.9);
  color: var(--color-text);
  outline: none;
  transition:
    border-color var(--transition-normal),
    box-shadow var(--transition-normal),
    background-color var(--transition-fast);
}

.input::placeholder,
textarea::placeholder {
  color: var(--color-gray-500);
}

.input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.7), 0 16px 40px rgba(0, 0, 0, 0.7);
  background-color: rgba(9, 11, 17, 1);
}

.input--invalid,
textarea.input--invalid,
select.input--invalid {
  border-color: var(--color-danger);
}

/* Cards - for event blocks, VIP sections, timelines */
.card {
  position: relative;
  background: radial-gradient(circle at top left, rgba(212, 175, 55, 0.08), transparent 55%),
              linear-gradient(145deg, rgba(10, 13, 22, 0.98), rgba(4, 6, 11, 0.98));
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  backdrop-filter: blur(12px);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0 0, rgba(103, 232, 249, 0.13), transparent 55%);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-slow);
}

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

.card--bordered {
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.card--soft {
  border-radius: var(--radius-lg);
  padding: var(--space-4);
}

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

.card__title {
  font-size: var(--font-size-2xl);
}

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

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

/* Cinematic Hero Video Wrapper */
.hero-video {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  color: #fff;
}

.hero-video__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 0, rgba(212, 175, 55, 0.18), transparent 50%),
              linear-gradient(to bottom, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.95));
}

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

/* Floating Navigation Shell */
.nav-floating-shell {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  z-index: var(--z-nav);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.75rem;
  background: radial-gradient(circle at top left, rgba(212, 175, 55, 0.18), transparent 55%),
              rgba(3, 4, 7, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(18px);
}

@media (max-width: 768px) {
  .nav-floating-shell {
    padding-inline: 0.75rem;
  }
}

/* Tag / Pill - for event categories, labels */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(212, 175, 55, 0.45);
  font-size: var(--font-size-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-soft);
  background: radial-gradient(circle at top left, rgba(212, 175, 55, 0.18), transparent 60%);
}

.tag--ghost {
  background: rgba(3, 4, 7, 0.8);
  border-color: rgba(255, 255, 255, 0.08);
}

/* Timeline base for event story sections */
.timeline {
  position: relative;
  padding-left: 1.75rem;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.timeline__item {
  position: relative;
  padding-bottom: var(--space-4);
}

.timeline__item::before {
  content: "";
  position: absolute;
  left: -0.55rem;
  top: 0.25rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  border: 2px solid rgba(212, 175, 55, 0.9);
  background: #05060a;
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.2);
}

.timeline__title {
  font-size: var(--font-size-lg);
}

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

/* Masonry-like image grid base (for galleries, recaps) */
.masonry-grid {
  column-count: 1;
  column-gap: var(--space-4);
}

.masonry-grid__item {
  break-inside: avoid;
  margin-bottom: var(--space-4);
}

@media (min-width: 768px) {
  .masonry-grid {
    column-count: 2;
  }
}

@media (min-width: 1024px) {
  .masonry-grid {
    column-count: 3;
  }
}

/* Testimonial Base Block */
.testimonial {
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  background: linear-gradient(145deg, rgba(12, 15, 25, 0.96), rgba(4, 6, 11, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow-soft);
}

.testimonial__quote {
  font-family: var(--font-display);
  font-size: var(--font-size-xl);
  line-height: var(--line-height-relaxed);
}

.testimonial__author {
  margin-top: var(--space-4);
  font-weight: 500;
}

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

/* Booking / CTA strip base */
.booking-strip {
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  background: radial-gradient(circle at left, rgba(30, 167, 106, 0.45), transparent 55%),
              linear-gradient(120deg, #05060a, #0a1315);
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: var(--shadow-medium);
}

.booking-strip__title {
  font-size: var(--font-size-2xl);
}

.booking-strip__meta {
  font-size: var(--font-size-sm);
  color: var(--color-text-soft);
}

/* Image treatment for cinematic look */
.img-cinematic {
  display: block;
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  filter: saturate(1.05) contrast(1.05);
}

.img-cinematic--shadow {
  box-shadow: var(--shadow-medium);
}

/* Subtle float/tilt animation base (opt-in) */
@keyframes float-soft {
  0% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}

.animate-float-soft {
  animation: float-soft 8s ease-in-out infinite;
}

/* End of base.css */
