:root {
  /* Editorial & Organic – warm sand, forest charcoal, terracotta */
  --color-background: #f4efe6;
  --color-background-elevated: #ebe4d8;
  --color-background-soft: #e3d9ca;
  --color-surface: #fffdf9;
  --color-surface-alt: #f0e8dc;

  --color-text: #1e2b24;
  --color-text-muted: #5c6b62;
  --color-text-soft: #3d4f45;
  --color-border-subtle: #c9bfb0;

  --color-primary: #c45c3e;
  --color-primary-soft: rgba(196, 92, 62, 0.14);
  --color-primary-strong: #a84a30;
  --color-primary-hover: #b35238;
  --color-on-primary: #fffdf9;
  --color-on-primary-muted: rgba(255, 253, 249, 0.92);

  --color-link: #2f5c45;
  --color-link-hover: #1a3d2c;
  --color-forest: #2f5c45;
  --color-mustard: #c9a227;

  --color-success: #3d8f62;
  --color-warning: #c9a227;
  --color-danger: #b8434a;

  /* Neutral grays */
  --color-gray-50: #f7f7f8;
  --color-gray-100: #e1e3e7;
  --color-gray-200: #c7cbd2;
  --color-gray-300: #a6abb3;
  --color-gray-400: #868c96;
  --color-gray-500: #666d78;
  --color-gray-600: #4c535e;
  --color-gray-700: #383e47;
  --color-gray-800: #252a30;
  --color-gray-900: #15181b;

  /* Typography */
  --font-sans: "Source Sans 3", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", 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.25rem;   /* 20px */
  --font-size-xl: 1.5rem;    /* 24px */
  --font-size-2xl: 1.875rem; /* 30px */
  --font-size-3xl: 2.25rem;  /* 36px */
  --font-size-4xl: 3rem;     /* 48px */

  --line-height-tight: 1.2;
  --line-height-snug: 1.35;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.7;

  /* 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-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-pill: 999px;

  --shadow-soft: 0 8px 24px rgba(30, 43, 36, 0.08);
  --shadow-medium: 0 16px 40px rgba(30, 43, 36, 0.12);
  --shadow-subtle: 0 2px 8px rgba(30, 43, 36, 0.06);

  --header-height: 72px;

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

/* ==========================
   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,
 b,
 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,
 hgroup,
 menu,
 nav,
 output,
 ruby,
 section,
 summary,
 time,
 mark,
 audio,
 video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
}

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

body {
  line-height: 1;
}

article,
aside,
footer,
header,
nav,
section,
main {
  display: block;
}

ol,
ul {
  list-style: none !important;
}

blockquote,
q {
  quotes: none;
}

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

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

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

img {
  height: auto;
}

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

button {
  cursor: pointer;
  border: none;
}

textarea {
  resize: vertical;
}

[hidden] {
  display: none !important;
}

/* ==========================
   BASE STYLES
   ========================== */

body {
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  line-height: var(--line-height-relaxed);
  color: var(--color-text);
  background-color: var(--color-background);
  padding-top: var(--header-height);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: var(--line-height-snug);
  color: var(--color-text);
  margin-bottom: var(--space-12);
}

h1 {
  font-size: var(--font-size-4xl);
  letter-spacing: 0.01em;
}

h2 {
  font-size: var(--font-size-3xl);
}

h3 {
  font-size: var(--font-size-2xl);
}

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

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

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

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

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

em {
  font-style: italic;
}

a:not(.btn):not(.mp-header__nav-link):not(.mp-header__utility-link):not(.mp-header__cta) {
  color: var(--color-link);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:not(.btn):not(.mp-header__nav-link):not(.mp-header__utility-link):not(.mp-header__cta):hover,
a:not(.btn):not(.mp-header__nav-link):not(.mp-header__utility-link):not(.mp-header__cta):focus-visible {
  color: var(--color-link-hover);
}

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

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

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

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

/* ==========================
   ACCESSIBILITY & MOTION
   ========================== */

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

:focus:not(:focus-visible) {
  outline: none;
}

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

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

.grid {
  display: grid;
}

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

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

@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; }
.mt-16 { margin-top: var(--space-16) !important; }
.mt-24 { margin-top: var(--space-24) !important; }
.mt-32 { margin-top: var(--space-32) !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; }

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

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

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

/* Ambient section backgrounds */

.section-dark {
  background: linear-gradient(160deg, #e8dfd0 0%, #f4efe6 45%, #ebe4d8 100%);
  color: var(--color-text);
}

/* Photo heroes: never inherit light section text on dark imagery */
.section-dark.hero-overlay,
.section-dark:has(> .hero-overlay),
.section-dark:has([class*="-hero-media"]) {
  background: #14231c;
}

.section-soft {
  background: linear-gradient(180deg, #fffdf9 0%, #f0e8dc 100%);
}

/* ==========================
   COMPONENTS
   ========================== */

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-family: var(--font-sans);
  font-size: var(--font-size-sm);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--color-primary);
  color: var(--color-on-primary);
  box-shadow: var(--shadow-soft);
  transition: background var(--transition-base),
              color var(--transition-base),
              transform var(--transition-fast),
              box-shadow var(--transition-base),
              border-color var(--transition-base);
}

.btn:hover,
.btn:focus-visible {
  background: var(--color-primary-hover);
  color: var(--color-on-primary);
  transform: translateY(-1px);
  box-shadow: var(--shadow-medium);
}

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

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

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

.btn-outline {
  background: var(--color-surface);
  color: var(--color-text);
  border-color: var(--color-border-subtle);
  box-shadow: none;
}

.btn-outline:hover,
.btn-outline:focus-visible {
  border-color: var(--color-primary);
  background: var(--color-primary-soft);
  color: var(--color-text);
}

.btn-ghost {
  background: transparent;
  border-color: transparent;
  color: var(--color-forest);
  box-shadow: none;
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: var(--color-primary-soft);
  color: var(--color-link-hover);
}

/* Form elements */

.input,
select,
textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-subtle);
  background-color: var(--color-background-soft);
  color: var(--color-text);
  outline: none;
  transition: border-color var(--transition-base),
              box-shadow var(--transition-base),
              background-color var(--transition-base);
}

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

.input:focus,
select:focus,
textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px var(--color-primary-soft);
  background-color: var(--color-surface);
}

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

label {
  display: inline-block;
  margin-bottom: var(--space-4);
  font-size: var(--font-size-sm);
  color: var(--color-text-soft);
}

/* Cards – for events, menu highlights, poker evenings */

.card {
  position: relative;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-subtle);
  padding: var(--space-24);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform var(--transition-base),
              box-shadow var(--transition-base),
              border-color var(--transition-base);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(196, 92, 62, 0.1), transparent 60%);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
  border-color: rgba(196, 92, 62, 0.45);
}

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

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

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

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

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

/* Navigation toggle (mobile) */

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-md);
  border: 2px solid var(--color-text);
  background-color: var(--color-surface);
  gap: 5px;
  padding: 0;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background-color: var(--color-text);
  border-radius: 999px;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

/* Hero overlay – readable text on photography (all inner pages) */

.hero-overlay {
  position: relative;
  isolation: isolate;
  --hero-fg: #fffdf9;
  --hero-fg-soft: rgba(255, 253, 249, 0.92);
  --hero-fg-muted: rgba(255, 253, 249, 0.78);
  --hero-border: rgba(255, 253, 249, 0.22);
  color: var(--hero-fg-soft);
}

.hero-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    rgba(20, 35, 28, 0.94) 0%,
    rgba(20, 35, 28, 0.86) 42%,
    rgba(10, 16, 12, 0.72) 100%
  );
}

.hero-overlay [class*="-media"],
.hero-overlay .hero-media,
.hero-overlay .poker-hero-media {
  z-index: 0;
}

.hero-content,
.hero-overlay [class*="-content"],
.hero-overlay .events-hero-inner,
.hero-overlay .contact-hero-inner {
  position: relative;
  z-index: 2;
}

.hero-overlay h1,
.hero-overlay h2,
.hero-overlay h3,
.hero-overlay h4,
.hero-overlay .hero-programs-meta-title {
  color: var(--hero-fg);
}

.hero-overlay p,
.hero-overlay .hero-programs-lead,
.hero-overlay .hero-programs-value,
.hero-overlay .poker-hero-lead,
.hero-overlay .menu-hero-lead,
.hero-overlay .dining-hero-lead,
.hero-overlay .experiences-hero-text,
.hero-overlay .events-hero-text,
.hero-overlay .contact-hero-lead,
.hero-overlay .contact-quick-meta dd {
  color: var(--hero-fg-soft);
}

.hero-overlay .contact-quick-meta dt {
  color: var(--hero-fg-muted);
}

.hero-overlay .hero-programs-label,
.hero-overlay .experiences-hero-meta-label,
.hero-overlay .poker-hero-kicker,
.hero-overlay .events-hero-kicker,
.hero-overlay [class*="-meta-label"],
.hero-overlay .hero-kicker {
  color: var(--hero-fg-muted);
}

.hero-overlay .hero-programs-meta,
.hero-overlay .experiences-hero-meta {
  border-top-color: var(--hero-border);
}

.hero-overlay .chip {
  border-color: var(--hero-border);
  background: rgba(255, 253, 249, 0.1);
  color: var(--hero-fg-muted);
}

.hero-overlay .chip--accent {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-on-primary);
}

.hero-overlay .btn-outline {
  background: rgba(255, 253, 249, 0.06);
  color: var(--hero-fg);
  border-color: rgba(255, 253, 249, 0.55);
}

.hero-overlay .btn-outline:hover,
.hero-overlay .btn-outline:focus-visible {
  background: rgba(255, 253, 249, 0.16);
  border-color: var(--hero-fg);
  color: var(--hero-fg);
}

.hero-overlay a:not(.btn):not(.mp-header__nav-link) {
  color: var(--hero-fg);
}

.hero-overlay a:not(.btn):not(.mp-header__nav-link):hover,
.hero-overlay a:not(.btn):not(.mp-header__nav-link):focus-visible {
  color: #fff;
}

/* Link pill for filters / event tags */

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.75rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border-subtle);
  background: var(--color-background-soft);
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-text-muted);
}

.chip--accent {
  border-color: rgba(196, 92, 62, 0.5);
  color: var(--color-primary-strong);
  background: var(--color-primary-soft);
}

/* Simple fade-in utility for scroll-based animations (JS can toggle) */

.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 420ms ease-out, transform 420ms ease-out;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Form group */

.form-group {
  margin-bottom: var(--space-16);
}

/* Badge for event status (e.g., NOVÝ, VYPRODÁNO) */

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-pill);
  font-size: var(--font-size-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.badge--success {
  background-color: rgba(60, 191, 123, 0.16);
  color: var(--color-success);
}

.badge--danger {
  background-color: rgba(244, 91, 105, 0.18);
  color: var(--color-danger);
}

.badge--neutral {
  background-color: rgba(198, 203, 210, 0.16);
  color: var(--color-text-soft);
}

/* Table base (for event schedules, menu summaries) */

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

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

.table th {
  text-align: left;
  font-weight: 500;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: var(--font-size-xs);
}

.table tr:hover td {
  background-color: rgba(255, 255, 255, 0.02);
}

/* Simple tag list for categories (poker, gastronomie, kultura) */

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
}

.tag {
  padding: 0.18rem 0.6rem;
  border-radius: var(--radius-pill);
  background-color: rgba(255, 255, 255, 0.04);
  font-size: var(--font-size-xs);
  color: var(--color-text-soft);
}

/* End of base.css */
