/* ========================================================================
   Variables
   ======================================================================== */
:root {
  /* Color Palette - Dark, luxurious nightlife theme */
  --color-background: #05060a; /* near-black */
  --color-background-alt: #0c0f18; /* deep navy */
  --color-surface: #111320; /* cards, sections */
  --color-surface-elevated: #181b2a;

  --color-text: #f5f5f7;
  --color-text-muted: #b4b7c4;

  --color-primary: #d4af37; /* warm gold */
  --color-primary-soft: rgba(212, 175, 55, 0.12);
  --color-primary-strong: #f2c94c;

  --color-accent-red: #c1272d; /* deep red */
  --color-accent-emerald: #117a65; /* poker green */
  --color-accent-navy: #141a33;

  --color-success: #1abc9c;
  --color-warning: #f39c12;
  --color-danger: #e74c3c;

  /* Neutral grays */
  --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: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-serif: "Playfair Display", "Times New Roman", 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.15;
  --line-height-snug: 1.3;
  --line-height-normal: 1.6;
  --line-height-relaxed: 1.8;

  /* Spacing scale (px, represented in rem assuming 16px base) */
  --space-0: 0;
  --space-4: 0.25rem;   /* 4px */
  --space-8: 0.5rem;    /* 8px */
  --space-12: 0.75rem;  /* 12px */
  --space-16: 1rem;     /* 16px */
  --space-20: 1.25rem;  /* 20px */
  --space-24: 1.5rem;   /* 24px */
  --space-32: 2rem;     /* 32px */
  --space-40: 2.5rem;   /* 40px */
  --space-48: 3rem;     /* 48px */
  --space-56: 3.5rem;   /* 56px */
  --space-64: 4rem;     /* 64px */
  --space-80: 5rem;     /* 80px */
  --space-96: 6rem;     /* 96px */

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

  /* Shadows (subtle, atmospheric glows) */
  --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 25px 80px rgba(0, 0, 0, 0.75);
  --shadow-gold-glow: 0 0 25px rgba(212, 175, 55, 0.4);

  /* Transitions */
  --transition-fast: 150ms ease-out;
  --transition-base: 220ms ease-out;
  --transition-slow: 320ms ease-out;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  :root {
    --transition-fast: 1ms linear;
    --transition-base: 1ms linear;
    --transition-slow: 1ms linear;
  }
}

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

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

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

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

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

textarea {
  resize: vertical;
}

/* Remove default link styles base (we'll restyle later) */
a {
  text-decoration: none;
  color: inherit;
}

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

main {
  display: block;
}

/* Headings - elegant, with serif display for strong hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-text);
}

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

h2 {
  font-size: clamp(1.9rem, 3.1vw, var(--font-size-4xl));
  line-height: var(--line-height-snug);
  margin-bottom: var(--space-12);
}

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

h4 {
  font-size: var(--font-size-2xl);
  margin-bottom: var(--space-8);
}

h5 {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-4);
}

h6 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-4);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

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

strong {
  font-weight: 600;
}

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

/* Links - refined, with understated hover underline */
a {
  color: var(--color-primary-strong);
  transition: color var(--transition-base),
    text-shadow var(--transition-base);
}

a:hover {
  color: #ffffff;
  text-shadow: 0 0 12px rgba(212, 175, 55, 0.65);
}

/* Lists */
ul,
ol {
  margin: 0 0 var(--space-16);
  padding-left: 1.25rem;
}

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

/* Screen-reader only utility */
.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%;
  margin-inline: auto;
  padding-inline: var(--space-16);
  max-width: 1200px;
}

@media (min-width: 1440px) {
  .container {
    max-width: 1320px;
  }
}

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

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

.section--alt {
  background: radial-gradient(circle at top left, #15182a 0, #05060a 55%);
}

/* Flex utilities */
.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-8 {
  gap: var(--space-8);
}

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

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

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

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

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

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

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

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

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

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

/* Spacing utilities (commonly used for Hungarian marketing sections) */
.mt-24 { margin-top: var(--space-24); }
.mt-32 { margin-top: var(--space-32); }
.mt-40 { margin-top: var(--space-40); }
.mb-0 { margin-bottom: 0; }
.mb-16 { margin-bottom: var(--space-16); }
.mb-24 { margin-bottom: var(--space-24); }
.mb-32 { margin-bottom: var(--space-32); }

/***** Atmosphere helpers *****/
.bg-surface {
  background: radial-gradient(circle at top, #181b2a 0, #05060a 60%);
}

.bg-surface-soft {
  background-color: var(--color-surface);
}

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

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

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

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.7rem;
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid rgba(212, 175, 55, 0.45);
  color: var(--color-primary-strong);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.08), rgba(10, 16, 32, 0.95));
}

/* ========================================================================
   Components
   ======================================================================== */
/* Buttons - primary CTAs like "Foglalás" */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.8rem;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  font-weight: 500;
  font-size: var(--font-size-sm);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background-color var(--transition-base),
    color var(--transition-base),
    border-color var(--transition-base),
    box-shadow var(--transition-base),
    transform var(--transition-fast);
}

.btn-primary {
  background-image: linear-gradient(135deg, #e1c56a, #d4af37);
  color: #05060a;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  background-image: linear-gradient(135deg, #f2dea1, #f2c94c);
  box-shadow: var(--shadow-gold-glow);
  transform: translateY(-1px);
}

.btn-outline {
  background-color: transparent;
  border-color: rgba(212, 175, 55, 0.8);
  color: var(--color-primary-strong);
}

.btn-outline:hover {
  background-color: rgba(212, 175, 55, 0.08);
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.4);
}

.btn-ghost {
  background-color: rgba(15, 18, 32, 0.85);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--color-text);
}

.btn-ghost:hover {
  background-color: rgba(24, 27, 42, 0.95);
  border-color: rgba(255, 255, 255, 0.22);
}

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

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

/* Form Inputs - for Foglalás / Kapcsolat oldalak */
.form-control {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(8, 10, 20, 0.9);
  color: var(--color-text);
  font-size: var(--font-size-sm);
  transition:
    border-color var(--transition-base),
    box-shadow var(--transition-base),
    background-color var(--transition-base);
}

.form-control::placeholder {
  color: rgba(180, 183, 196, 0.75);
}

.form-control:focus-visible {
  outline: none;
  border-color: rgba(212, 175, 55, 0.9);
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.7), var(--shadow-soft);
  background-color: rgba(8, 10, 20, 1);
}

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

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

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

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

/* Card - for dishes, poker evenings, testimonials */
.card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: var(--space-24);
  background: radial-gradient(circle at top left, rgba(212, 175, 55, 0.05) 0, rgba(7, 9, 18, 0.98) 32%, rgba(3, 4, 10, 1) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(193, 39, 45, 0.18), transparent 60%);
  mix-blend-mode: screen;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-slow);
}

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

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

.card-title {
  font-family: var(--font-serif);
  font-size: var(--font-size-xl);
}

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

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

/* Hero-specific utility for the homepage (luxurious overlay) */
.hero {
  position: relative;
  padding-block: var(--space-80);
  background:
    radial-gradient(circle at top, rgba(212, 175, 55, 0.1), transparent 55%),
    radial-gradient(circle at bottom right, rgba(193, 39, 45, 0.24), transparent 55%),
    linear-gradient(135deg, #05060a 0, #020208 50%, #05060a 100%);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(17, 122, 101, 0.12), transparent 55%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.4), transparent 40%);
  mix-blend-mode: soft-light;
  pointer-events: none;
}

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

/* Image overlay frame for gallery / atmosphere */
.image-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-medium);
}

.image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent 40%);
  mix-blend-mode: multiply;
}

/* Tagline / small label for Hungarian SEO phrases */
.tagline {
  font-size: var(--font-size-sm);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* Status pills for thematic nights, offline poker, etc. */
.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.7rem;
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  gap: 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background-color: rgba(10, 14, 30, 0.95);
  color: var(--color-text-muted);
}

.status-pill--poker {
  border-color: rgba(17, 122, 101, 0.7);
  color: #bbf7d0;
}

.status-pill--vip {
  border-color: rgba(212, 175, 55, 0.85);
  color: var(--color-primary-strong);
}

/* Toast / notice for non-gambling clarification */
.notice {
  padding: var(--space-12) var(--space-16);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(120deg, rgba(15, 23, 42, 0.96), rgba(3, 7, 18, 0.98));
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

.notice--info {
  border-color: rgba(17, 122, 101, 0.7);
}

/* ========================================================================
   Motion preferences (global override for heavy animations)
   ======================================================================== */
@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;
  }
}
