/* =========================================
   Variables
   ========================================= */
:root {
  /* Color Palette - Luxury Restaurant & Poker Venue */
  --color-bg: #050607; /* deep cinematic black */
  --color-bg-alt: #101215; /* charcoal depth */
  --color-surface: #14171b; /* panels / cards */
  --color-surface-soft: #191d22;

  --color-text: #f5efe6; /* warm ivory */
  --color-text-muted: #a7a297; /* soft neutral */
  --color-border-subtle: #262a31;

  --color-primary: #0f3b32; /* dark emerald */
  --color-primary-soft: rgba(15, 59, 50, 0.75);
  --color-primary-alt: #9f8046; /* champagne gold accent */

  --color-success: #3fa679;
  --color-warning: #e0b76a;
  --color-danger: #c44949;

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

  --overlay-soft: rgba(5, 6, 7, 0.65);
  --overlay-strong: rgba(5, 6, 7, 0.85);

  /* Typography */
  --font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  --font-serif: "Playfair Display", "Times New Roman", serif;
  --font-mono: "Space Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Base font sizes (relative for responsiveness) */
  --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 */
  --font-size-6xl: 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-7: 1.75rem;  /* 28px */
  --space-8: 2rem;     /* 32px */
  --space-9: 2.25rem;  /* 36px */
  --space-10: 2.5rem;  /* 40px */
  --space-12: 3rem;    /* 48px */
  --space-14: 3.5rem;  /* 56px */
  --space-16: 4rem;    /* 64px */
  --space-20: 5rem;    /* 80px */
  --space-24: 6rem;    /* 96px */

  /* Radii */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 999px;

  /* Shadows - subtle, layered, cinematic */
  --shadow-soft: 0 12px 30px rgba(0, 0, 0, 0.35);
  --shadow-elevated: 0 20px 45px rgba(0, 0, 0, 0.55);
  --shadow-inner-soft: inset 0 0 0 1px rgba(159, 128, 70, 0.12);

  /* Transitions */
  --transition-fast: 150ms ease-out;
  --transition-base: 220ms ease;
  --transition-slow: 420ms ease;
  --transition-cinematic: 700ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* =========================================
   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;
  margin: 0;
  padding: 0;
}

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

img {
  height: auto;
}

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

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

textarea {
  resize: vertical;
}

:focus {
  outline: none;
}

[hidden] {
  display: none !important;
}

/* =========================================
   Base Styles
   ========================================= */
body {
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  background-color: var(--color-bg);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main {
  display: block;
}

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

h1 {
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  margin-bottom: var(--space-4);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--space-3);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: var(--space-3);
}

h4 {
  font-size: 1.25rem;
  margin-bottom: var(--space-2);
}

h5 {
  font-size: 1.0625rem;
  margin-bottom: var(--space-2);
}

h6 {
  font-size: 0.9375rem;
  margin-bottom: var(--space-1);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

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

strong {
  font-weight: 600;
}

em {
  font-style: italic;
}

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

a {
  color: var(--color-primary-alt);
  text-decoration: none;
  text-underline-offset: 0.18em;
  transition: color var(--transition-fast),
              text-shadow var(--transition-fast);
}

a:hover {
  color: #f3d49b;
  text-shadow: 0 0 18px rgba(243, 212, 155, 0.32);
}

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

hr {
  border: 0;
  border-top: 1px solid var(--color-border-subtle);
  margin: var(--space-8) 0;
}

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

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

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

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

/* Layout helpers */
.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-5);
  padding-right: var(--space-5);
  max-width: 1200px;
}

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

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

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

/* 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-column {
  display: flex;
  flex-direction: column;
}

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

.gap-xs { gap: var(--space-2); }
.gap-sm { gap: var(--space-3); }
.gap-md { gap: var(--space-4); }
.gap-lg { gap: var(--space-6); }
.gap-xl { gap: var(--space-8); }

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

.grid-2 {
  display: grid;
  gap: var(--space-8);
}

.grid-3 {
  display: grid;
  gap: var(--space-8);
}

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

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

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

.uppercase { text-transform: uppercase; }

/* Spacing utilities (margin / padding) */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-xs { margin-top: var(--space-2); }
.mt-sm { margin-top: var(--space-3); }
.mt-md { margin-top: var(--space-4); }
.mt-lg { margin-top: var(--space-6); }
.mt-xl { margin-top: var(--space-8); }

.mb-xs { margin-bottom: var(--space-2); }
.mb-sm { margin-bottom: var(--space-3); }
.mb-md { margin-bottom: var(--space-4); }
.mb-lg { margin-bottom: var(--space-6); }
.mb-xl { margin-bottom: var(--space-8); }

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

/* Width & max-width */
.w-100 { width: 100%; }
/* Elevation & surfaces */
.surface {
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.surface-soft {
  background-color: var(--color-surface-soft);
  border-radius: var(--radius-md);
}

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

/* Buttons */
.button,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.85rem 1.9rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: var(--font-size-sm);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  background: linear-gradient(135deg, #9f8046, #d6b77a);
  color: #120e08 !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.6);
  transition:
    background var(--transition-base),
    color var(--transition-base),
    box-shadow var(--transition-base),
    transform var(--transition-fast),
    border-color var(--transition-base);
}

.button:hover,
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.8);
  background: linear-gradient(135deg, #d6b77a, #f3d49b);
}

.button:active,
.btn:active {
  transform: translateY(0);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

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

.button--ghost,
.btn--ghost {
  background: transparent;
  border-color: rgba(159, 128, 70, 0.5);
  color: var(--color-text) !important;
  box-shadow: none;
}

.button--ghost:hover,
.btn--ghost:hover {
  background: rgba(159, 128, 70, 0.06);
  box-shadow: var(--shadow-soft);
}

.button--outline,
.btn--outline {
  background: transparent;
  border-color: var(--color-primary-alt);
  color: var(--color-primary-alt) !important;
}

.button--outline:hover,
.btn--outline:hover {
  background: rgba(159, 128, 70, 0.06);
}

.button--muted,
.btn--muted {
  background: rgba(15, 59, 50, 0.3);
  border-color: rgba(53, 92, 79, 0.9);
  color: var(--color-text) !important;
}

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

/* Inputs & forms */
.input,
select,
textarea,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="date"],
input[type="time"],
input[type="search"] {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-subtle);
  background-color: rgba(10, 12, 14, 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-color var(--transition-base);
}

.input::placeholder,
textarea::placeholder,
input::placeholder {
  color: rgba(167, 162, 151, 0.6);
}

.input:focus-visible,
select:focus-visible,
textarea:focus-visible,
input[type="text"]:focus-visible,
input[type="email"]:focus-visible,
input[type="tel"]:focus-visible,
input[type="number"]:focus-visible,
input[type="date"]:focus-visible,
input[type="time"]:focus-visible,
input[type="search"]:focus-visible {
  border-color: var(--color-primary-alt);
  box-shadow: 0 0 0 1px rgba(159, 128, 70, 0.65), 0 16px 40px rgba(0, 0, 0, 0.7);
  outline: none;
}

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

label {
  display: block;
  margin-bottom: var(--space-2);
  font-size: var(--font-size-sm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* Cards / editorial blocks */
.card {
  position: relative;
  padding: var(--space-6);
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at top left, rgba(159, 128, 70, 0.16), transparent 55%),
              radial-gradient(circle at bottom right, rgba(15, 59, 50, 0.4), transparent 55%),
              var(--color-surface);
  box-shadow: var(--shadow-elevated);
  border: 1px solid rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(135deg,
    rgba(255, 255, 255, 0.05),
    transparent 20%,
    transparent 80%,
    rgba(159, 128, 70, 0.15));
  mix-blend-mode: soft-light;
  opacity: 0.85;
}

.card__content {
  position: relative;
}

.card--subtle {
  padding: var(--space-5);
  background: rgba(13, 16, 20, 0.94);
  box-shadow: var(--shadow-soft);
}

/* Media framing for cinematic images */
.media-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background-color: #000;
  box-shadow: var(--shadow-elevated);
}

.media-frame img,
.media-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 6, 7, 0.72), transparent 40%);
  pointer-events: none;
}

/* Hero-specific helper for fullscreen cinematic sections */
.hero-fullscreen {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--color-text);
  background-color: #000;
  overflow: hidden;
}

.hero-fullscreen__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-fullscreen__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(159, 128, 70, 0.25), transparent 55%),
    radial-gradient(circle at bottom right, rgba(77, 22, 32, 0.45), transparent 60%),
    linear-gradient(to bottom, rgba(5, 6, 7, 0.2), rgba(5, 6, 7, 0.90));
  mix-blend-mode: normal;
  z-index: -1;
}

/* Tagline / meta label for Hungarian sections (e.g. "Exkluzív", "Házon belüli") */
.meta-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(159, 128, 70, 0.6);
  background: rgba(15, 59, 50, 0.22);
  color: var(--color-text);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.meta-label::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: radial-gradient(circle, #f3d49b, #9f8046);
}

/* Badges for small highlights (e.g. "Új", "VIP") */
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-pill);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(77, 22, 32, 0.85);
  color: var(--color-text);
}

.badge--soft {
  background: rgba(159, 128, 70, 0.16);
  color: var(--color-primary-alt);
}

/* Subtle divider for editorial layouts */
.section-divider {
  height: 1px;
  width: 100%;
  background: linear-gradient(to right,
    transparent,
    rgba(159, 128, 70, 0.35),
    transparent);
  margin: var(--space-12) 0;
}

/* Simple utility for dark-over-image captions */
.caption-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: var(--space-4) var(--space-5);
  background: linear-gradient(to top,
    rgba(5, 6, 7, 0.95),
    rgba(5, 6, 7, 0.0));
  color: var(--color-text);
}
