/* ==========================================================================
   Variables
   ========================================================================== */

:root {
  /* Colors */
  --color-bg: #050506; /* deep near-black background */
  --color-bg-alt: #111217; /* charcoal panels */
  --color-bg-elevated: #171821; /* cards / overlays */

  --color-text: #f3e7d6; /* warm beige text */
  --color-text-muted: #b39b7a; /* muted warm text */

  --color-primary: #8b1e3f; /* dark burgundy / wine-red */
  --color-primary-soft: rgba(139, 30, 63, 0.25);

  --color-success: #3fb27f; /* soft emerald */
  --color-warning: #e6b35c; /* warm amber */
  --color-danger: #d9515d; /* subtle crimson */

  --color-gold: #c9a45b; /* subtle gold detail */
  --color-gold-soft: rgba(201, 164, 91, 0.3);

  --gray-50: #f7f7f7;
  --gray-100: #e1e1e1;
  --gray-200: #c8c8c8;
  --gray-300: #a0a0a0;
  --gray-400: #7a7a7a;
  --gray-500: #555555;
  --gray-600: #3c3c3c;
  --gray-700: #2b2b2b;
  --gray-800: #1c1c1c;
  --gray-900: #111111;

  /* Typography */
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Playfair Display", "Times New Roman", serif;
  --font-display: var(--font-serif);

  --font-size-xs: 0.75rem;   /* 12px */
  --font-size-sm: 0.875rem;  /* 14px */
  --font-size-base: 1rem;    /* 16px */
  --font-size-md: 1.0625rem; /* 17px */
  --font-size-lg: 1.125rem;  /* 18px */
  --font-size-xl: 1.5rem;    /* 24px */
  --font-size-2xl: 2rem;     /* 32px */
  --font-size-3xl: 2.5rem;   /* 40px */

  --line-height-tight: 1.2;
  --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: 14px;
  --radius-xl: 22px;
  --radius-pill: 999px;

  /* Shadows (subtle, soft, lounge-like) */
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.45);
  --shadow-card: 0 18px 45px rgba(0, 0, 0, 0.55);
  --shadow-focus: 0 0 0 2px rgba(201, 164, 91, 0.7);

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

/* Respect prefers-reduced-motion */

@media (prefers-reduced-motion: reduce) {
  :root {
    --transition-fast: 0ms;
    --transition-base: 0ms;
    --transition-slow: 0ms;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   Reset / Normalize
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
ul,
ol,
li,
dl,
dt,
dd {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

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

img,
video {
  height: auto;
}

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

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

a {
  color: inherit;
  text-decoration: none;
}

textarea {
  resize: vertical;
}

:focus {
  outline: none;
}

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

/* ==========================================================================
   Base Styles
   ========================================================================== */

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

main {
  min-height: 60vh;
}

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

h1 {
  font-size: var(--font-size-3xl);
  margin-bottom: var(--space-16);
}

h2 {
  font-size: var(--font-size-2xl);
  margin-bottom: var(--space-12);
}

h3 {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-10);
}

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

h5 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-6);
}

h6 {
  font-size: var(--font-size-base);
  margin-bottom: var(--space-4);
}

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

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

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

strong {
  font-weight: 600;
}

em {
  font-style: italic;
}

a {
  position: relative;
  transition: color var(--transition-base),
    opacity var(--transition-fast),
    transform var(--transition-fast);
}

a:hover {
  color: var(--color-gold);
}

a.inline-link {
  color: var(--color-gold);
}

a.inline-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2em;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-primary));
  transition: width var(--transition-base);
}

a.inline-link:hover::after {
  width: 100%;
}

::selection {
  background: var(--color-primary-soft);
  color: var(--color-text);
}

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

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

/* Layout helpers */

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

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

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

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

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

.grid {
  display: grid;
}

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

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

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

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

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

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

.mt-0 {
  margin-top: 0 !important;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.mb-4 {
  margin-bottom: var(--space-4) !important;
}

.mb-8 {
  margin-bottom: var(--space-8) !important;
}

.mb-12 {
  margin-bottom: var(--space-12) !important;
}

.mb-16 {
  margin-bottom: var(--space-16) !important;
}

.mt-16 {
  margin-top: var(--space-16) !important;
}

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

@media (min-width: 992px) {
  .py-section {
    padding-top: var(--space-40);
    padding-bottom: var(--space-40);
  }
}

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

.bg-alt {
  background: radial-gradient(circle at top, rgba(139, 30, 63, 0.3) 0, transparent 55%),
    radial-gradient(circle at bottom, rgba(10, 10, 10, 0.9) 0, #050506 65%);
}

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

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

/* Buttons - primary CTAs for foglalás / poker estek */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: var(--font-size-sm);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  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);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), #4c0b22);
  color: var(--color-text);
  border-color: rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-card);
  background: linear-gradient(135deg, #9e2448, #5c0d27);
}

.btn-outline {
  background: transparent;
  color: var(--color-gold);
  border-color: rgba(201, 164, 91, 0.6);
}

.btn-outline:hover {
  background: rgba(201, 164, 91, 0.08);
  box-shadow: 0 0 0 1px rgba(201, 164, 91, 0.35);
}

.btn-ghost {
  background: rgba(0, 0, 0, 0.3);
  color: var(--color-text);
  border-color: rgba(255, 255, 255, 0.03);
}

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

.btn-sm {
  padding: 0.55rem 1.1rem;
  font-size: var(--font-size-xs);
}

.btn-lg {
  padding: 0.9rem 1.9rem;
  font-size: var(--font-size-md);
}

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

.btn:focus-visible {
  box-shadow: var(--shadow-focus);
}

/* Form elements - foglalás, kapcsolat, GYIK űrlapok */

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

.input,
.textarea,
.select {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background-color: rgba(7, 8, 12, 0.96);
  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);
}

.input::placeholder,
.textarea::placeholder {
  color: rgba(179, 155, 122, 0.55);
}

.input:focus-visible,
.textarea:focus-visible,
.select:focus-visible {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 1px rgba(201, 164, 91, 0.45);
  background-color: rgba(10, 11, 16, 0.98);
}

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

.field-group {
  margin-bottom: var(--space-12);
}

.field-hint {
  margin-top: var(--space-4);
  font-size: var(--font-size-xs);
  color: rgba(179, 155, 122, 0.8);
}

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

/* Cards - éttermi szekciók, poker est leírás, vélemények, menü tételek */

.card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: var(--space-16);
  background: radial-gradient(circle at top left, rgba(139, 30, 63, 0.22) 0, transparent 55%),
    radial-gradient(circle at bottom right, rgba(7, 7, 7, 0.85) 0, #101117 60%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201, 164, 91, 0.18), transparent 35%, transparent 65%, rgba(139, 30, 63, 0.28));
  mix-blend-mode: soft-light;
  opacity: 0.4;
  pointer-events: none;
}

.card > * {
  position: relative;
}

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

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

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

.card-subtle {
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.03) 0, rgba(0, 0, 0, 0.96) 60%);
  border-color: rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow-soft);
}

/* Tag / chip for poker estek, nyitvatartás, dress code */

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-pill);
  font-size: var(--font-size-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid rgba(201, 164, 91, 0.5);
  color: var(--color-gold);
  background: radial-gradient(circle at 30% 0, rgba(201, 164, 91, 0.25) 0, transparent 55%),
    rgba(8, 8, 8, 0.96);
}

.badge-muted {
  border-color: rgba(179, 155, 122, 0.5);
  color: var(--color-text-muted);
  background: rgba(8, 8, 8, 0.86);
}

/* Focus-visible helper for interactive components */

[role="button"],
button,
.btn,
.input,
.textarea,
.select,
.a11y-focus {
  outline: none;
}

[role="button"]:focus-visible,
button:focus-visible,
.btn:focus-visible,
.input:focus-visible,
.textarea:focus-visible,
.select:focus-visible,
.a11y-focus:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
}

/* ==========================================================================
   Thematic Helpers for Digitalis Vilag
   ========================================================================== */

/* Subtle poker table / green felt accent section */

.section-felt {
  background: radial-gradient(circle at 20% 0, rgba(109, 194, 135, 0.14) 0, transparent 55%),
    radial-gradient(circle at 80% 100%, rgba(139, 30, 63, 0.28) 0, transparent 55%),
    #050506;
}

/* Soft vignette for hero / lounge blocks */

.section-vignette {
  position: relative;
  overflow: hidden;
}

.section-vignette::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.06) 0, transparent 50%),
    radial-gradient(circle at bottom, rgba(0, 0, 0, 0.9) 0, transparent 55%);
  mix-blend-mode: soft-light;
}

.section-vignette > * {
  position: relative;
}

/* Minor utility for gold accent text (nyitvatartás, cím, offline-only disclaimer) */

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

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

.badge-offline {
  border-color: rgba(63, 178, 127, 0.7);
  color: #9fe3c2;
  background: radial-gradient(circle at 10% 0, rgba(63, 178, 127, 0.3) 0, transparent 60%),
    rgba(8, 16, 12, 0.96);
}

/* End of base.css */


.btn,
.btn-outline,
.btn-lg{
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
  text-align: center;
  line-height: 1.35;
}