/* =========================================
   Variables
   ========================================= */
:root {
  /* Color Palette - Luxury Black & Gold Casino */
  --color-bg: #050608;               /* page background - near black */
  --color-bg-elevated: #0f1115;      /* elevated sections / cards */
  --color-bg-soft: #151820;          /* soft contrast areas */

  --color-text: #f5f1e8;             /* primary text - warm ivory */
  --color-text-muted: #b3a894;       /* muted text */

  --color-primary: #d4af37;          /* rich gold */
  --color-primary-soft: #b89426;     /* darker gold for hovers */
  --color-primary-subtle: rgba(212, 175, 55, 0.12);

  --color-success: #4caf50;
  --color-warning: #ffb74d;
  --color-danger: #f44336;

  --color-border-subtle: rgba(255, 255, 255, 0.08);
  --color-border-strong: rgba(212, 175, 55, 0.5);

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

  /* Typography */
  --font-sans: "Poppins", 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-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.3;
  --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-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 18px;
  --radius-pill: 999px;

  /* Shadow - subtle glossy casino feel */
  --shadow-soft: 0 14px 30px rgba(0, 0, 0, 0.55);
  --shadow-subtle: 0 10px 25px rgba(0, 0, 0, 0.4);
  --shadow-gold-glow: 0 0 0 1px rgba(212, 175, 55, 0.3),
    0 12px 35px rgba(0, 0, 0, 0.75);

  /* Transitions */
  --transition-fast: 120ms ease-out;
  --transition-normal: 200ms ease;
  --transition-slow: 320ms ease;
}

@media (max-width: 768px) {
  :root {
    --font-size-4xl: 2rem;
    --font-size-5xl: 2.5rem;
  }
}

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

html,
body {
  margin: 0;
  padding: 0;
}

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

body {
  min-height: 100vh;
}

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

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

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

ul,
ol {
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
figure {
  margin: 0;
}

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

/* =========================================
   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, #141414 0, #050608 42%, #000000 100%);
  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(--color-text);
}

h1 {
  font-size: var(--font-size-5xl);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h2 {
  font-size: var(--font-size-4xl);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

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

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

strong {
  font-weight: 600;
}

/* Links - gold accent */
a {
  color: var(--color-primary);
  transition: color var(--transition-normal), opacity var(--transition-normal);
}

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

a:active {
  opacity: 0.8;
}

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

:focus:not(:focus-visible) {
  outline: none;
}

@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
   ========================================= */
.section {
  padding-block: var(--space-16);
}

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

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

.container--wide {
  max-width: 1320px;
}

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

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

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

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

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

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

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

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

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

.px-4 {
  padding-inline: var(--space-4);
}

/* 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 - Casino Inspired
   ========================================= */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.85rem 1.9rem;
  border-radius: var(--radius-pill);
  font-weight: 500;
  font-size: var(--font-size-sm);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color var(--transition-normal),
    color var(--transition-normal),
    box-shadow var(--transition-normal),
    border-color var(--transition-normal),
    transform var(--transition-fast);
}

.btn-primary {
  background-image: linear-gradient(135deg, #f5d26a 0%, #d4af37 40%, #b89426 100%);
  color: #201b0a !important;
  box-shadow: var(--shadow-gold-glow);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(245, 210, 106, 0.6), 0 18px 40px rgba(0, 0, 0, 0.9);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 0 0 1px rgba(245, 210, 106, 0.4), 0 6px 18px rgba(0, 0, 0, 0.8);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: rgba(212, 175, 55, 0.8);
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.35);
}

.btn-outline:hover {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.03));
}

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

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

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

.btn-icon {
  padding-inline: 1rem;
}

/* Inputs & Forms */
.input,
.textarea,
.select {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-subtle);
  background-color: rgba(8, 9, 13, 0.9);
  color: var(--color-text);
  font-size: var(--font-size-sm);
  transition: border-color var(--transition-normal),
    box-shadow var(--transition-normal),
    background-color var(--transition-normal);
}

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

.input:focus-visible,
.textarea:focus-visible,
.select:focus-visible {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.7), 0 0 0 4px rgba(212, 175, 55, 0.25);
}

.textarea {
  min-height: 140px;
  resize: vertical;
}

.label {
  display: block;
  margin-bottom: var(--space-2);
  font-size: var(--font-size-sm);
  color: var(--color-text);
}

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

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

.input-error {
  border-color: var(--color-danger);
}

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

/* Cards - glossy "kártya" sections for events */
.card {
  position: relative;
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.05), transparent 55%),
    radial-gradient(circle at bottom right, rgba(212, 175, 55, 0.09), transparent 60%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.card--soft {
  background: linear-gradient(145deg, rgba(9, 10, 15, 0.95), rgba(8, 9, 13, 0.98));
  border-color: var(--color-border-subtle);
  box-shadow: var(--shadow-subtle);
}

.card--outline-gold {
  border-color: rgba(212, 175, 55, 0.65);
}

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

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

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

/* Tag / pill - for event types like Poker, Kaszinó Esték */
.tag {
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-pill);
  padding: 0.25rem 0.75rem;
  font-size: var(--font-size-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid rgba(212, 175, 55, 0.6);
  color: var(--color-primary);
  background: rgba(5, 6, 8, 0.9);
}

.tag--soft {
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--color-text-muted);
}

/* Hero overlay for main casino lounge visuals */
.hero-overlay {
  position: relative;
  overflow: hidden;
}

/*.hero-overlay::before {*/
/*  content: "";*/
/*  position: absolute;*/
/*  inset: 0;*/
/*  background: radial-gradient(circle at 10% 0%, rgba(212, 175, 55, 0.16), transparent 60%),*/
/*    linear-gradient(to bottom, rgba(0, 0, 0, 0.2), #050608 80%);*/
/*  pointer-events: none;*/
/*}*/

/* Image aspect helper for gallery */
.aspect-16-9 {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.aspect-16-9 > img,
.aspect-16-9 > picture,
.aspect-16-9 > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Table-like chips display (e.g., for packages) */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.chip {
  border-radius: var(--radius-pill);
  padding: 0.4rem 0.9rem;
  font-size: var(--font-size-xs);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* =========================================
   Navigation & Header Basics
   ========================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: linear-gradient(to bottom, rgba(5, 6, 8, 0.95), rgba(5, 6, 8, 0.86));
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: var(--font-size-lg);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

.nav-link {
  position: relative;
  padding-block: 0.35rem;
  color: var(--color-text-muted);
  transition: color var(--transition-normal);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, #f5d26a, #d4af37, #b89426);
  transition: width var(--transition-normal);
}

.nav-link:hover {
  color: var(--color-text);
}

.nav-link:hover::after,
.nav-link--active::after {
  width: 100%;
}

.nav-link--active {
  color: var(--color-text);
}

@media (max-width: 768px) {
  .navbar-menu {
    display: none;
  }
}

/* =========================================
   Badges & Status (for availability / booking steps)
   ========================================= */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-pill);
  font-size: var(--font-size-xs);
  font-weight: 500;
}

.badge-success {
  background: rgba(76, 175, 80, 0.08);
  color: #bbf7d0;
}

.badge-warning {
  background: rgba(255, 183, 77, 0.1);
  color: #ffedcc;
}

.badge-danger {
  background: rgba(244, 67, 54, 0.12);
  color: #fecaca;
}

/* =========================================
   Call-to-Action Section Base
   ========================================= */
.cta {
  position: relative;
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-6);
  background: radial-gradient(circle at 0% 0%, rgba(212, 175, 55, 0.18), transparent 60%),
    linear-gradient(135deg, #111111, #050608 60%, #000000 100%);
  border: 1px solid rgba(212, 175, 55, 0.55);
  box-shadow: var(--shadow-gold-glow);
  overflow: hidden;
}

.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 110% 10%, rgba(255, 255, 255, 0.14), transparent 55%);
  mix-blend-mode: screen;
}

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

/* =========================================
   Misc
   ========================================= */
.hr {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-block: var(--space-6);
}

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

