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

:root {
  /* Color palette - dark, luxurious nightlife theme */
  --color-bg: #06060a;
  --color-bg-elevated: #101018;
  --color-bg-soft: #181824;

  --color-text: #f8f5f0;
  --color-text-muted: #b3a9a0;

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

  --color-accent-red: #b11b2b; /* deep red */
  --color-accent-green: #136c4a; /* emerald */
  --color-accent-navy: #111827; /* deep navy */

  --color-success: #1dbf73;
  --color-warning: #ffb020;
  --color-danger: #f05252;

  /* Neutral grays for borders, dividers, secondary UI */
  --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;

  --color-border-subtle: rgba(255, 255, 255, 0.06);
  --color-border-strong: rgba(255, 255, 255, 0.14);

  /* Typography */
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji",
    "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --font-heading: "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.5;
  --line-height-relaxed: 1.7;

  /* Spacing scale (px) */
  --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 */

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

  /* Shadows - atmospheric, soft glow */
  --shadow-soft: 0 12px 30px rgba(0, 0, 0, 0.5);
  --shadow-strong: 0 18px 45px rgba(0, 0, 0, 0.7);
  --shadow-focus: 0 0 0 1px rgba(0, 0, 0, 0.5),
    0 0 0 3px rgba(212, 175, 55, 0.75);

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

  /* Layout */
  --layout-max-width: 1200px;
  --layout-gutter: var(--space-4);
}

@media (min-width: 768px) {
  :root {
    --layout-gutter: var(--space-6);
  }
}

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

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

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

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 {
  border: none;
  padding: 0;
  background: none;
  color: inherit;
}

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

/* Remove default list padding */
ul,
ol {
  padding-left: 1.25rem;
}

/* Better text rendering */
body,
input,
textarea,
button,
select {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

body {
  min-height: 100vh;
  background: radial-gradient(circle at top, #131321 0, #06060a 55%, #020205 100%);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
}

main {
  display: block;
}

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

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

h2 {
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  line-height: var(--line-height-snug);
  margin-bottom: var(--space-3);
}

h3 {
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  line-height: var(--line-height-snug);
  margin-bottom: var(--space-2);
}

h4,
h5,
h6 {
  font-size: 1.1rem;
  line-height: var(--line-height-normal);
  margin-bottom: var(--space-2);
}

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

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

strong {
  font-weight: 600;
}

small {
  font-size: 0.85em;
}

a {
  position: relative;
  transition: color var(--transition-normal);
}

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

a:focus-visible {
  outline: none;
}

/* Poker / premium underline accent on interactive links */
.a-underline,
nav a,
.header-nav a {
  text-decoration: none;
}

.a-underline::after,
nav a::after,
.header-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.15em;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent-red));
  border-radius: var(--radius-pill);
  transition: width var(--transition-normal);
}

.a-underline:hover::after,
nav a:hover::after,
.header-nav a:hover::after {
  width: 100%;
}

/* =======================================================================
   Accessibility & Motion
   ======================================================================= */

:focus-visible {
  outline: none;
  box-shadow: var(--shadow-focus);
  border-radius: var(--radius-sm);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

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

.container {
  width: 100%;
  max-width: calc(var(--layout-max-width) + 2 * var(--layout-gutter));
  margin-inline: auto;
  padding-inline: var(--layout-gutter);
}

.section {
  padding-block: clamp(3rem, 6vw, 5rem);
}

.section--tight {
  padding-block: clamp(2.25rem, 4vw, 3.5rem);
}

.section__header {
  margin-bottom: var(--space-6);
  text-align: left;
}

.section__eyebrow {
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}

.section__title {
  margin-bottom: var(--space-2);
}

.section__subtitle {
  max-width: 40rem;
}

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

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

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

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

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

/* Grid utilities */

.grid {
  display: grid;
}

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

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

@media (max-width: 767.98px) {
  .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-2 { margin-top: var(--space-2); }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }

.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: var(--space-2); }
.mb-3 { margin-bottom: var(--space-3); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }

.pt-0 { padding-top: 0; }
.pb-0 { padding-bottom: 0; }

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

/* Buttons - reservation-focused, luxurious */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding-inline: 1.6rem;
  padding-block: 0.9rem;
  border-radius: var(--radius-pill);
  font-size: var(--font-size-sm);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    background-color var(--transition-normal),
    color var(--transition-normal),
    border-color var(--transition-normal),
    box-shadow var(--transition-normal),
    transform var(--transition-fast);
}

.btn--primary {
  background: linear-gradient(135deg, #f0d66b, var(--color-primary));
  color: #120b02;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.7);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.8);
  filter: brightness(1.05);
}

.btn--primary:active {
  transform: translateY(0);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.8);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.02);
  color: var(--color-text);
  border-color: rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(8px);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

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

.btn--danger {
  background: linear-gradient(135deg, #f97373, var(--color-accent-red));
  color: #1a0204;
}

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

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

.btn--lg {
  padding-inline: 2.1rem;
  padding-block: 1.05rem;
}

/* Inputs & forms */

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: var(--space-4);
}

.form-label {
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--gray-200);
}

.form-helper {
  font-size: var(--font-size-xs);
  color: var(--gray-400);
}

.input,
textarea,
select {
  width: 100%;
  padding-inline: 0.9rem;
  padding-block: 0.75rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-subtle);
  background: radial-gradient(circle at top left, #202032 0, #050509 80%);
  color: var(--color-text);
  outline: none;
  transition:
    border-color var(--transition-normal),
    box-shadow var(--transition-normal),
    background-color var(--transition-normal),
    transform var(--transition-fast);
}

.input::placeholder,
textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

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

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

textarea {
  min-height: 120px;
  resize: vertical;
}

/* Cards - for menu items, testimonials, poker evenings, events */

.card {
  position: relative;
  background: radial-gradient(circle at top left, #202032 0, #070711 60%, #050509 100%);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  border: 1px solid var(--color-border-subtle);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.08), transparent 55%);
  opacity: 0.5;
  pointer-events: none;
}

.card__header {
  margin-bottom: var(--space-3);
}

.card__title {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-1);
}

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

.card__body {
  position: relative;
  z-index: 1;
}

.card--hover {
  transition:
    transform var(--transition-normal),
    box-shadow var(--transition-normal),
    border-color var(--transition-normal);
}

.card--hover:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-strong);
  border-color: var(--color-border-strong);
}

/* Tag / chip for thematic nights, VIP, etc. */

.tag {
  display: inline-flex;
  align-items: center;
  padding-inline: 0.7rem;
  padding-block: 0.3rem;
  border-radius: var(--radius-pill);
  font-size: var(--font-size-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-text);
}

.tag--gold {
  background: rgba(212, 175, 55, 0.16);
  color: var(--color-primary);
}

.tag--red {
  background: rgba(177, 27, 43, 0.18);
  color: #fecaca;
}

.tag--green {
  background: rgba(19, 108, 74, 0.18);
  color: #bbf7d0;
}

/* Hero-specific helpers (for home page main section) */

.hero {
  position: relative;
  padding-block: clamp(4rem, 9vw, 7rem);
}

.hero__content {
  position: relative;
  z-index: 2;
}

.hero__eyebrow {
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}

.hero__title {
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  line-height: 1.05;
  margin-bottom: var(--space-3);
}

.hero__lead {
  max-width: 34rem;
  font-size: var(--font-size-lg);
  line-height: var(--line-height-relaxed);
}

.hero__actions {
  margin-top: var(--space-5);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

/* Gallery preview grid (homepage + gallery page) */

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

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

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

.gallery-grid__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.gallery-grid__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform var(--transition-slow), filter var(--transition-slow);
}

.gallery-grid__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65), transparent 60%);
}

.gallery-grid__item:hover .gallery-grid__image {
  transform: scale(1.07);
  filter: brightness(1.05);
}

/* Testimonial style (for vélemények section) */

.testimonial {
  position: relative;
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-subtle);
  background: radial-gradient(circle at top left, #202032 0, #050509 70%);
  box-shadow: var(--shadow-soft);
}

.testimonial__quote {
  font-style: italic;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}

.testimonial__meta {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.testimonial__name {
  font-weight: 600;
}

.testimonial__tagline {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

/* FAQ accordion base (for Gyakori kérdések) */

.faq-item {
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-subtle);
  background: rgba(10, 10, 16, 0.85);
  padding: var(--space-3);
}

.faq-item + .faq-item {
  margin-top: var(--space-3);
}

.faq-item__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-item__question-text {
  font-weight: 500;
  color: var(--color-text);
}

.faq-item__answer {
  margin-top: var(--space-2);
  color: var(--color-text-muted);
}

/* Status badges (Nyitva, Teltház, VIP este, etc.) */

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding-inline: 0.7rem;
  padding-block: 0.25rem;
  border-radius: var(--radius-pill);
  font-size: var(--font-size-xs);
  background: rgba(15, 118, 110, 0.18);
  color: #99f6e4;
}

.status-badge--danger {
  background: rgba(248, 113, 113, 0.18);
  color: #fecaca;
}

.status-badge--gold {
  background: rgba(212, 175, 55, 0.18);
  color: var(--color-primary);
}

/* Table-lite styling for poker evenings schedule, menu overview */

.table-lite {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--font-size-sm);
}

.table-lite thead {
  background: rgba(255, 255, 255, 0.02);
}

.table-lite th,
.table-lite td {
  padding: 0.9rem 0.75rem;
  border-bottom: 1px solid var(--color-border-subtle);
}

.table-lite th {
  text-align: left;
  font-weight: 500;
  color: var(--gray-200);
}

.table-lite tbody tr:nth-child(2n) {
  background: rgba(255, 255, 255, 0.02);
}

/* Reservation highlight box */

.reservation-panel {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(212, 175, 55, 0.4);
  background: radial-gradient(circle at top left, rgba(212, 175, 55, 0.16) 0, #050509 55%);
  box-shadow: var(--shadow-strong);
  padding: var(--space-4);
}

@media (min-width: 768px) {
  .reservation-panel {
    padding: var(--space-5);
  }
}

/* Chips / icons row for highlighting offline poker entertainment (no gambling) */

.feature-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.feature-chip {
  padding-inline: 0.75rem;
  padding-block: 0.35rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
  background: rgba(0, 0, 0, 0.35);
}

/* Footer basics */

.footer {
  padding-block: var(--space-6);
  border-top: 1px solid var(--color-border-subtle);
  background: #030308;
}

.footer__meta {
  font-size: var(--font-size-xs);
  color: var(--gray-500);
}

/* Utility class to visually indicate non-gambling nature notes */

.note-safe-play {
  font-size: var(--font-size-xs);
  color: var(--gray-400);
  border-left: 2px solid rgba(212, 175, 55, 0.7);
  padding-left: var(--space-2);
  margin-top: var(--space-3);
}
