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

:root {
  /* Color Palette - Luxurious, cinematic */
  --color-bg: #050608; /* near-black backdrop */
  --color-bg-elevated: #0b0e11; /* cards, overlays */
  --color-surface: #12161b;
  --color-text: #f5f1e8; /* warm ivory */
  --color-text-muted: #a6a4a0;

  --color-primary: #0e6b4f; /* deep emerald */
  --color-primary-soft: rgba(14, 107, 79, 0.18);
  --color-accent-gold: #d7b46a; /* champagne gold */
  --color-accent-burgundy: #661727; /* dark burgundy */

  --color-success: #28a745;
  --color-warning: #ffc107;
  --color-danger: #e55353;

  --gray-100: #f5f5f5;
  --gray-200: #e5e5e5;
  --gray-300: #cccccc;
  --gray-400: #999999;
  --gray-500: #777777;
  --gray-600: #555555;
  --gray-700: #3a3a3a;
  --gray-800: #242424;
  --gray-900: #111111;

  /* Typography */
  --font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Playfair Display", "Garamond", "Georgia", serif;

  --font-size-xs: 0.75rem;   /* 12px */
  --font-size-sm: 0.875rem;  /* 14px */
  --font-size-md: 1rem;      /* 16px */
  --font-size-lg: 1.125rem;  /* 18px */
  --font-size-xl: 1.375rem;  /* 22px */
  --font-size-2xl: 1.75rem;  /* 28px */
  --font-size-3xl: 2.25rem;  /* 36px */
  --font-size-4xl: 3rem;     /* 48px */
  --font-size-5xl: 3.75rem;  /* 60px */

  --line-height-tight: 1.15;
  --line-height-snug: 1.3;
  --line-height-normal: 1.6;

  /* Spacing Scale (0–96px) */
  --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-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  /* Shadows - soft, cinematic */
  --shadow-soft: 0 12px 30px rgba(0, 0, 0, 0.45);
  --shadow-soft-xl: 0 30px 80px rgba(0, 0, 0, 0.65);
  --shadow-subtle: 0 1px 4px rgba(0, 0, 0, 0.5);

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

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

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

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

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
menu,
nav,
output,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
}

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

body {
  line-height: 1;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section {
  display: block;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote::before,
blockquote::after,
q::before,
q::after {
  content: "";
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  background: none;
  border-radius: 0;
}

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

button:disabled,
[disabled] {
  cursor: not-allowed;
}

/* Remove default focus outlines, we'll handle focus-visible explicitly */
:focus {
  outline: none;
}

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

body {
  min-height: 100vh;
  background: radial-gradient(circle at top left, #10141b 0, #050608 42%, #020203 100%);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: var(--font-size-md);
  line-height: var(--line-height-normal);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

main {
  display: block;
}

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

h1 {
  font-size: clamp(var(--font-size-3xl), 3.4vw, var(--font-size-5xl));
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(var(--font-size-2xl), 2.4vw, var(--font-size-4xl));
  letter-spacing: 0.05em;
}

h3 {
  font-size: clamp(var(--font-size-xl), 1.8vw, var(--font-size-3xl));
}

h4 {
  font-size: var(--font-size-xl);
}

h5 {
  font-size: var(--font-size-lg);
}

h6 {
  font-size: var(--font-size-md);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

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

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

strong,
b {
  font-weight: 600;
  color: var(--color-text);
}

em,
i {
  font-style: italic;
}

a {
  color: var(--color-accent-gold);
  text-decoration: none;
  transition: color var(--transition-base),
              text-shadow var(--transition-base);
}

a:hover {
  color: #f2d89b;
  text-shadow: 0 0 18px rgba(215, 180, 106, 0.6);
}

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

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

code,
pre {
  font-family: "SF Mono", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.95em;
}

pre {
  padding: var(--space-16);
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: var(--radius-md);
  overflow-x: auto;
}

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

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

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

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

/* Layout helpers */

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

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

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

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

/* Flex */

.flex {
  display: flex;
}

.flex-inline {
  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 {
  flex-direction: column;
}

.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-16 {
  gap: var(--space-16);
}

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

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

/* Grid */

.grid {
  display: grid;
}

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

.grid-3 {
  display: grid;
  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);
  }
}

/* Spacing utilities (margin/padding) */

.mt-0 { margin-top: 0 !important; }
.mt-16 { margin-top: var(--space-16) !important; }
.mt-24 { margin-top: var(--space-24) !important; }
.mt-32 { margin-top: var(--space-32) !important; }
.mt-40 { margin-top: var(--space-40) !important; }
.mt-64 { margin-top: var(--space-64) !important; }

.mb-0 { margin-bottom: 0 !important; }
.mb-16 { margin-bottom: var(--space-16) !important; }
.mb-24 { margin-bottom: var(--space-24) !important; }
.mb-32 { margin-bottom: var(--space-32) !important; }
.mb-40 { margin-bottom: var(--space-40) !important; }
.mb-64 { margin-bottom: var(--space-64) !important; }

.pt-32 { padding-top: var(--space-32) !important; }
.pb-32 { padding-bottom: var(--space-32) !important; }

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

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

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

/* Screen reader only */

.sr-only {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  width: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
}

/* Overlay helpers for cinematic hero */

.overlay-soft {
  position: relative;
}


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

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.8em 1.9em;
  border-radius: var(--radius-pill);
  font-size: var(--font-size-sm);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid transparent;
  background-image: linear-gradient(135deg, #175b44, #0e6b4f);
  color: #fdf8ec;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
  transition: transform var(--transition-base),
              box-shadow var(--transition-base),
              background-position var(--transition-base),
              border-color var(--transition-base),
              color var(--transition-base);
  background-size: 160% 160%;
  background-position: 0% 50%;
}

.btn:hover:not(:disabled) {
  transform: translateY(-2px);
  background-position: 100% 50%;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.9);
  border-color: rgba(242, 216, 155, 0.4);
}

.btn:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

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

.btn--ghost {
  background: transparent;
  border-color: rgba(215, 180, 106, 0.35);
  color: var(--color-accent-gold);
  box-shadow: none;
}

.btn--ghost:hover:not(:disabled) {
  background: rgba(215, 180, 106, 0.08);
  box-shadow: var(--shadow-subtle);
}

.btn--secondary {
  background-image: linear-gradient(135deg, #4f131f, #661727);
}

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

.btn--lg {
  padding: 1em 2.6em;
  font-size: var(--font-size-md);
}

.btn:disabled {
  opacity: 0.5;
}

/* Inputs & Form Controls */

.input,
textarea,
select {
  width: 100%;
  padding: 0.85em 1em;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background-color: rgba(5, 6, 8, 0.92);
  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(166, 164, 160, 0.7);
}

.input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: none;
  border-color: var(--color-accent-gold);
  box-shadow: 0 0 0 1px rgba(215, 180, 106, 0.5), 0 18px 40px rgba(0, 0, 0, 0.9);
  background-color: rgba(10, 14, 20, 0.98);
}

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

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

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

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

/* Card component: used for content blocks, poker tables, events, etc. */

.card {
  background: radial-gradient(circle at top left, rgba(215, 180, 106, 0.06), rgba(15, 18, 24, 0.98));
  border-radius: var(--radius-lg);
  padding: var(--space-24);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at top right, rgba(215, 180, 106, 0.12), transparent 55%);
  opacity: 0.6;
}

.card > * {
  position: relative;
  z-index: 1;
}

.card--soft {
  background: rgba(10, 12, 16, 0.9);
  box-shadow: var(--shadow-subtle);
}

.card--bordered {
  border: 1px solid rgba(215, 180, 106, 0.3);
}

/* Cinematic hero section helpers */

.hero-fullscreen {
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  position: relative;
  color: var(--color-text);
}

.hero-fullscreen__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

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

.hero-fullscreen__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 0%, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.95));
}

.hero-fullscreen__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: var(--space-64) var(--space-20);
  display: flex;
  align-items: center;
}

.hero-fullscreen__inner {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.hero-kicker {
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(245, 241, 232, 0.8);
  margin-bottom: var(--space-16);
}

.hero-title {
  margin-bottom: var(--space-24);
}

.hero-subtitle {
  font-size: var(--font-size-lg);
  color: var(--color-text-muted);
  max-width: 34rem;
}

/* Tags for kaszinó / entertainment cues */

.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.3em 0.9em;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(215, 180, 106, 0.4);
  background: rgba(5, 6, 8, 0.8);
  font-size: var(--font-size-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent-gold);
}

.tag--muted {
  border-color: rgba(166, 164, 160, 0.4);
  color: var(--color-text-muted);
}

/* Image gallery / masonry helpers */

.gallery-grid {
  column-count: 3;
  column-gap: var(--space-16);
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: var(--space-16);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
}

.gallery-item img {
  width: 100%;
  display: block;
}

@media (max-width: 1024px) {
  .gallery-grid {
    column-count: 2;
  }
}

@media (max-width: 640px) {
  .gallery-grid {
    column-count: 1;
  }
}

/* Timeline (events, VIP evenings) */

.timeline {
  position: relative;
  padding-left: var(--space-32);
}

.timeline::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, rgba(215, 180, 106, 0.7), rgba(102, 23, 39, 0.2));
}

.timeline-item {
  position: relative;
  margin-bottom: var(--space-32);
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 0.25rem;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: radial-gradient(circle, #f2d89b, #8a6628);
  box-shadow: 0 0 0 4px rgba(215, 180, 106, 0.16);
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-meta {
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
}

/* Testimonial slider shell (functional behavior handled by JS) */

.testimonials {
  position: relative;
}

.testimonials-track {
  display: flex;
  overflow: hidden;
  scroll-behavior: smooth;
}

.testimonial-card {
  min-width: 100%;
  padding: var(--space-32);
  border-radius: var(--radius-lg);
  background: rgba(10, 12, 16, 0.94);
  box-shadow: var(--shadow-soft);
}

.testimonial-author {
  margin-top: var(--space-16);
  font-size: var(--font-size-sm);
  color: var(--color-text);
}

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

.testimonials-nav {
  position: absolute;
  right: var(--space-16);
  bottom: var(--space-16);
  display: flex;
  gap: var(--space-8);
}

.testimonials-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(166, 164, 160, 0.5);
  border: none;
  padding: 0;
}

.testimonials-dot--active {
  background-color: var(--color-accent-gold);
}

/* Reservation / call-to-action bar */

.reservation-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-24);
  padding: var(--space-24);
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, rgba(5, 6, 8, 0.96), rgba(14, 107, 79, 0.18));
  border: 1px solid rgba(215, 180, 106, 0.25);
  box-shadow: var(--shadow-soft);
}

.reservation-bar__title {
  font-family: var(--font-display);
  font-size: var(--font-size-xl);
}

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

@media (max-width: 768px) {
  .reservation-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Split screen layout for venue / kaszinó vs étterem */

.split-screen {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: var(--space-32);
  align-items: stretch;
}

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

.split-screen__panel {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #050608;
  box-shadow: var(--shadow-soft);
}

.split-screen__image {
  height: 100%;
}

.split-screen__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-screen__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.96));
}

.split-screen__content {
  position: absolute;
  inset: auto 0 0 0;
  padding: var(--space-24);
}

/* Subtle top border accent for editorial sections */

.section-heading {
  position: relative;
  padding-top: var(--space-16);
  margin-bottom: var(--space-32);
}

.section-heading::before {
  content: "";
  position: absolute;
  top: 0;
  width: 48px;
  height: 1px;
  background: linear-gradient(to right, rgba(215, 180, 106, 0.8), transparent);
}

.section-kicker {
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--font-size-2xl);
}

.section-lead {
  margin-top: var(--space-16);
  max-width: 36rem;
}

/* Navigation shell (can be extended in page-specific CSS) */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: linear-gradient(180deg, rgba(5, 6, 8, 0.96), rgba(5, 6, 8, 0.6), transparent);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-12);
  padding-bottom: var(--space-12);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-24);
}

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

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--color-text);
}

/* Footer shell */

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: var(--space-32);
  padding-bottom: var(--space-32);
  background: radial-gradient(circle at top, rgba(10, 12, 16, 0.9), #050608);
}

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

/* End of base.css */
