/* ==================================================================
   Variables
   ================================================================== */
:root {
  /* Color Palette – bright, warm, cinematic luxury */
  --color-bg: #f8f5f0;                 /* ivory / light cream */
  --color-bg-soft: #f3eee6;            /* soft warm background */
  --color-surface: #ffffff;            /* cards, sections */
  --color-surface-elevated: rgba(255, 255, 255, 0.9); /* glass-like */

  --color-text: #1f2427;               /* primary text – deep charcoal */
  --color-text-soft: #4b555c;          /* secondary text */
  --color-text-muted: #7d868d;         /* subtle meta text */
  --color-border-subtle: #e0d7c8;      /* hairline borders, dividers */

  --color-primary: #b88b45;            /* champagne gold */
  --color-primary-soft: #e5cda0;       /* soft gold accents */
  --color-primary-dark: #8d692f;       /* deeper gold for hovers */

  --color-success: #4c8a4b;            /* refined green */
  --color-warning: #c98b2b;            /* warm amber */
  --color-danger: #c44a4a;             /* elegant red */

  --color-olive-soft: #d9dfcf;         /* soft olive wash */
  --color-olive-mid: #9fae86;          /* accent for chips/cards */

  /* Neutral Grays */
  --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;

  /* Typography – premium serif + clean sans */
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Playfair Display", "Cormorant Garamond", "Georgia", "Times New Roman", serif;
  --font-mono: "SF Mono", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

  --font-size-xs: 0.75rem;   /* 12px */
  --font-size-sm: 0.875rem;  /* 14px */
  --font-size-base: 1rem;    /* 16px */
  --font-size-md: 1.0625rem; /* 17px – comfortable body */
  --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 – hero */

  --line-height-tight: 1.1;
  --line-height-snug: 1.3;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.7;

  /* 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-5: 0.625rem; /* 10px */
  --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 – soft, refined */
  --radius-none: 0;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-pill: 999px;

  /* Shadows – cinematic depth */
  --shadow-soft: 0 14px 40px rgba(15, 23, 42, 0.08);
  --shadow-medium: 0 18px 55px rgba(15, 23, 42, 0.15);
  --shadow-strong: 0 26px 80px rgba(15, 23, 42, 0.2);
  --shadow-soft-gold: 0 0 0 1px rgba(184, 139, 69, 0.12), 0 18px 55px rgba(15, 23, 42, 0.15);

  /* Transitions & motion */
  --transition-fast: 120ms ease-out;
  --transition-normal: 200ms ease;
  --transition-slow: 320ms ease;
  --transition-ease-soft: cubic-bezier(0.19, 1, 0.22, 1); /* luxury-like */

  /* Layout */
  --container-max-width: 1120px;
  --container-gutter-x: 1.5rem;

  /* Z-index scale */
  --z-header: 40;
  --z-overlay: 50;
  --z-modal: 60;
}

/* Larger display typography adjustments */
@media (min-width: 768px) {
  :root {
    --font-size-3xl: 2.125rem;
    --font-size-4xl: 2.75rem;
    --font-size-5xl: 3.5rem;
  }
}

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

html,
body {
  margin: 0;
  padding: 0;
}

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

body {
  min-height: 100vh;
}

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

img {
  height: auto;
}

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

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
 h2,
 h3,
 h4,
 h5,
 h6,
 p,
 figure,
 blockquote,
 dl,
 dd {
  margin: 0;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

textarea {
  resize: vertical;
}

[hidden] {
  display: none !important;
}

/* ==================================================================
   Base Styles
   ================================================================== */
body {
  font-family: var(--font-sans);
  font-size: var(--font-size-md);
  line-height: var(--line-height-relaxed);
  background: radial-gradient(circle at top left, #fbf6ec 0, var(--color-bg) 40%, #f4efe6 100%);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
}

main {
  display: block;
}

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

h1 {
  font-size: var(--font-size-5xl);
  line-height: var(--line-height-tight);
  margin-bottom: var(--space-16);
}

h2 {
  font-size: var(--font-size-4xl);
  line-height: var(--line-height-snug);
  margin-bottom: var(--space-12);
}

h3 {
  font-size: var(--font-size-3xl);
  line-height: var(--line-height-snug);
  margin-bottom: var(--space-8);
}

h4 {
  font-size: var(--font-size-2xl);
  line-height: var(--line-height-snug);
  margin-bottom: var(--space-6);
}

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

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

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

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

strong {
  font-weight: 600;
}

em {
  font-style: italic;
}

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

a {
  color: var(--color-primary-dark);
  text-decoration: none;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
  transition: color var(--transition-normal), text-decoration-color var(--transition-normal), opacity var(--transition-fast);
}

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

a:active {
  color: var(--color-primary-dark);
}

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

/* ==================================================================
   Accessibility & Focus Styles
   ================================================================== */
:focus {
  outline: none;
}

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

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

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

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

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-gutter-x);
  padding-right: var(--container-gutter-x);
}

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

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

/* Layout helpers */
.flex {
  display: flex;
}

.inline-flex {
  display: inline-flex;
}

.grid {
  display: grid;
}

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

.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }

.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }

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

.w-full { width: 100%; }

/* Simple responsive grid */
.grid-2 {
  display: grid;
  gap: var(--space-16);
}

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

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

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

/* Spacing utilities – small curated set */
.mt-0 { margin-top: 0; }
.mt-8 { margin-top: var(--space-8); }
.mt-16 { margin-top: var(--space-16); }
.mt-24 { margin-top: var(--space-24); }

.mb-0 { margin-bottom: 0; }
.mb-8 { margin-bottom: var(--space-8); }
.mb-16 { margin-bottom: var(--space-16); }
.mb-24 { margin-bottom: var(--space-24); }

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

.px-16 {
  padding-left: var(--space-16);
  padding-right: var(--space-16);
}

/* Visual utilities */
.shadow-soft { box-shadow: var(--shadow-soft); }
.shadow-medium { box-shadow: var(--shadow-medium); }
.rounded-md { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }

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

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

/* Glassmorphism helper for header/overlays */
.glass-soft {
  background-color: rgba(248, 245, 240, 0.86);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.55);
}

/* ==================================================================
   Form Elements
   ================================================================== */

label {
  display: block;
  margin-bottom: var(--space-4);
  font-size: var(--font-size-sm);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-soft);
}

input,
select,
textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(140, 124, 100, 0.28);
  background-color: rgba(255, 255, 255, 0.96);
  color: var(--color-text);
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal), background-color var(--transition-fast);
}

input::placeholder,
textarea::placeholder {
  color: var(--color-text-muted);
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px rgba(184, 139, 69, 0.35), 0 14px 40px rgba(15, 23, 42, 0.12);
}

input[disabled],
select[disabled],
textarea[disabled] {
  cursor: not-allowed;
  opacity: 0.65;
  background-color: var(--color-gray-100);
}

/* ==================================================================
   Components – Buttons, Cards, Basic Blocks
   ================================================================== */

/* Button – primary CTA (Rezervácia, Turnaje, VIP) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: var(--font-size-sm);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color var(--transition-normal),
    color var(--transition-normal),
    border-color var(--transition-normal),
    box-shadow var(--transition-slow) var(--transition-ease-soft),
    transform var(--transition-fast);
  will-change: transform, box-shadow;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  color: #fff!important;
  box-shadow: var(--shadow-medium);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary-dark));
  box-shadow: var(--shadow-strong);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: var(--shadow-soft);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-primary-dark);
  border-color: rgba(184, 139, 69, 0.75);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.btn-outline:hover {
  background-color: rgba(248, 245, 240, 0.95);
  box-shadow: var(--shadow-soft);
}

.btn-ghost {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--color-surface);
  border-color: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(12px);
}

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

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

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

.btn-lg {
  padding: 0.85rem 1.8rem;
  font-size: var(--font-size-base);
}

/* Card – pre jedlá, turnaje, VIP kluby, blogové články */
.card {
  position: relative;
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-soft);
  padding: var(--space-16);
  overflow: hidden;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.card::before {
  /* subtle poker-chandelier highlight */
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(184, 139, 69, 0.18), transparent 55%);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-slow) var(--transition-ease-soft);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
  border-color: rgba(184, 139, 69, 0.32);
}

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

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

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

.card-subtitle {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

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

.card-footer {
  margin-top: var(--space-12);
}

/* Announcement / Bar – e.g. top notices about poker evenings */
.announcement-bar {
  font-size: var(--font-size-sm);
  padding: 0.55rem 0.75rem;
  background: linear-gradient(90deg, rgba(184, 139, 69, 0.12), rgba(223, 208, 181, 0.35));
  color: var(--color-text-soft);
}

.announcement-bar strong {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--color-primary-dark);
}

/* Tag / Chip – for tournament labels, status etc. */
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(184, 139, 69, 0.6);
  background-color: rgba(248, 245, 240, 0.9);
  font-size: var(--font-size-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-primary-dark);
}

.badge-soft {
  border-color: transparent;
  background-color: rgba(223, 215, 198, 0.5);
}

.badge-success {
  border-color: rgba(76, 138, 75, 0.6);
  color: var(--color-success);
}

/* Footer basics */
.site-footer {
  background-color: #f4eee4;
  border-top: 1px solid rgba(224, 215, 200, 0.9);
  padding-top: var(--space-24);
  padding-bottom: var(--space-20);
  color: var(--color-text-soft);
}

.site-footer a {
  color: inherit;
}

.site-footer a:hover {
  color: var(--color-primary-dark);
}

/* ==================================================================
   Helper Typography – Slovak hospitality tone
   ================================================================== */

.heading-eyebrow {
  font-size: var(--font-size-xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-primary-dark);
  margin-bottom: var(--space-4);
}

.lead {
  font-size: var(--font-size-lg);
  line-height: var(--line-height-relaxed);
  color: var(--color-text-soft);
}

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

/* ==================================================================
   End of base.css
   ================================================================== */
