/* =============================================
   Variables
   ============================================= */
:root {
  /* Color Palette */
  --color-bg: #05060a;
  --color-bg-elevated: #0e1017;
  --color-surface: #141723;
  --color-text: #f5f5f7;
  --color-text-muted: #a0a4b3;

  --color-primary: #d49b3f;   /* warm gold for premium accents */
  --color-primary-soft: rgba(212, 155, 63, 0.15);

  --color-success: #34c759;
  --color-warning: #ffcc00;
  --color-danger: #ff3b30;

  --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: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", sans-serif;
  --font-display: "Playfair Display", "Georgia", 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.15;
  --line-height-snug: 1.3;
  --line-height-normal: 1.6;
  --line-height-relaxed: 1.8;

  /* 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-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-32: 4rem;    /* 64px */
  --space-40: 5rem;    /* 80px */
  --space-48: 6rem;    /* 96px */

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

  /* Shadows */
  --shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 18px 45px rgba(0, 0, 0, 0.45);
  --shadow-soft-gold: 0 0 0 1px rgba(212, 155, 63, 0.18), 0 22px 60px rgba(0, 0, 0, 0.7);

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

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

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

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

body {
  min-height: 100vh;
}

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

picture {
  display: block;
}

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

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

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

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

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

/* =============================================
   Base Styles
   ============================================= */
body {
  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 left, #171926 0, #05060a 52%, #010208 100%);
  -webkit-font-smoothing: antialiased;
}

main {
  display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--color-text);
  letter-spacing: 0.02em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: var(--line-height-tight);
  margin-bottom: var(--space-16);
}

h2 {
  font-size: clamp(2rem, 3.75vw, 2.5rem);
  line-height: var(--line-height-snug);
  margin-bottom: var(--space-12);
}

h3 {
  font-size: clamp(1.5rem, 2.6vw, 1.875rem);
  line-height: var(--line-height-snug);
  margin-bottom: var(--space-8);
}

h4 {
  font-size: var(--font-size-xl);
  line-height: var(--line-height-snug);
  margin-bottom: var(--space-6);
}

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

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

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-normal);
}

a:hover {
  color: #f1c774;
}

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

strong,
b {
  font-weight: 600;
}

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

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

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !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: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-16);
  padding-right: var(--space-16);
}

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

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

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

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

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

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flex-wrap {
  flex-wrap: wrap;
}

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

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

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

/* Grid helpers */
.grid {
  display: grid;
  gap: var(--space-16);
}

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

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

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

/* Alignment & text */
.text-center {
  text-align: center;
}

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

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

/* Spacing utilities */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-sm { margin-top: var(--space-8); }
.mb-sm { margin-bottom: var(--space-8); }
.mt-md { margin-top: var(--space-16); }
.mb-md { margin-bottom: var(--space-16); }
.mt-lg { margin-top: var(--space-24); }
.mb-lg { margin-bottom: var(--space-24); }

.pt-lg { padding-top: var(--space-24); }
.pb-lg { padding-bottom: var(--space-24); }

/* Max-width helpers for immersive yet readable content */
.centered {
  margin-left: auto;
  margin-right: auto;
}

/* =============================================
   Components
   ============================================= */
/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: var(--font-size-sm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  line-height: 1;
  background: linear-gradient(135deg, #f1c774, #d49b3f);
  color: #1a1205;
  box-shadow: var(--shadow-soft-gold);
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    background var(--transition-normal),
    border-color var(--transition-fast),
    color var(--transition-fast);
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.8);
  background: linear-gradient(135deg, #ffe29f, #f1c774);
}

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

.btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.btn--ghost {
  background: rgba(4, 6, 15, 0.7);
  color: var(--color-text);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-sm);
}

.btn--ghost:hover {
  background: rgba(16, 18, 30, 0.95);
  border-color: rgba(212, 155, 63, 0.7);
}

.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border-color: rgba(212, 155, 63, 0.8);
  box-shadow: none;
}

.btn--outline:hover {
  background: var(--color-primary-soft);
}

.btn--full {
  width: 100%;
}

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

/* Form controls */
.input,
textarea,
select {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background-color: rgba(7, 9, 18, 0.9);
  color: var(--color-text);
  font-size: var(--font-size-sm);
  line-height: 1.4;
  transition:
    border-color var(--transition-fast),
    box-shadow var(--transition-fast),
    background-color var(--transition-fast);
}

.input::placeholder,
textarea::placeholder {
  color: rgba(160, 164, 179, 0.75);
}

.input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px rgba(212, 155, 63, 0.8), 0 0 0 6px rgba(212, 155, 63, 0.15);
}

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

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

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

/* Cards - used for menu highlights, poker events, testimonials */
.card {
  position: relative;
  padding: var(--space-20);
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top left, rgba(212, 155, 63, 0.12) 0, rgba(4, 6, 18, 0.96) 38%, #05060a 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

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

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

.card--soft {
  background: rgba(12, 14, 24, 0.9);
  border-radius: var(--radius-md);
  border-color: rgba(255, 255, 255, 0.04);
}

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

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

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

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

/* Tag / pill - for tournament labels, schedule, etc. */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: var(--font-size-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  background: rgba(6, 8, 18, 0.9);
}

.tag--accent {
  border-color: rgba(212, 155, 63, 0.65);
  color: var(--color-primary);
  background: rgba(212, 155, 63, 0.12);
}

/* Hero overlays & image framing helpers for immersive sections */
.hero-media {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.9);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 6, 10, 0.9), transparent 45%);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Badge for availability / status (e.g., "Ma este", "Foglalható") */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-4);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-pill);
  background: rgba(12, 172, 81, 0.16);
  border: 1px solid rgba(52, 199, 89, 0.6);
  color: #b6fbbf;
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.status-badge--warning {
  background: rgba(255, 204, 0, 0.12);
  border-color: rgba(255, 204, 0, 0.7);
  color: #ffe699;
}

.status-badge--danger {
  background: rgba(255, 59, 48, 0.12);
  border-color: rgba(255, 59, 48, 0.7);
  color: #ffb3ad;
}

/* Simple chip/list item for amenities, dress code notes, etc. */
.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
}

.chip {
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  background: rgba(17, 24, 39, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

/* Media gallery base styling */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-10);
}

.gallery-grid img {
  border-radius: var(--radius-md);
  object-fit: cover;
}

@media (max-width: 1024px) {
  .section,
  .section--large {
    padding-top: var(--space-32);
    padding-bottom: var(--space-32);
  }

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

@media (max-width: 640px) {
  .section,
  .section--large {
    padding-top: var(--space-24);
    padding-bottom: var(--space-24);
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }
}
