/* MMBARBER — sdílené tokeny a základ (styl mmbarber.cz). Needitovat z agentů, jen používat. */
/* Fonty hostované lokálně (bez Google Fonts — IP návštěvníků nejde třetí straně). Licence SIL OFL 1.1. */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 900; font-display: swap; src: url(/fonts/inter-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 900; font-display: swap; src: url(/fonts/inter-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 700 900; font-display: swap; src: url(/fonts/playfair-display-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 700 900; font-display: swap; src: url(/fonts/playfair-display-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --black: #0a0a0a;
  --dark: #121212;
  --dark-2: #1a1a1a;
  --panel: rgba(255, 255, 255, .05);
  --panel-hover: rgba(255, 255, 255, .08);
  --line: rgba(255, 255, 255, .10);
  --gold: #c5a059;
  --gold-rgb: 197, 160, 89;
  --gold-soft: rgba(var(--gold-rgb), .15);
  --gold-glow: rgba(var(--gold-rgb), .4);
  --blood: #8a0707;
  --red: #8b0000;
  --danger: #e5484d;
  --ok: #3fb950;
  --smoke: #e8e4dc;
  --muted: rgba(255, 255, 255, .55);
  --faint: rgba(255, 255, 255, .35);

  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;

  --radius: 2px;
  --ease: cubic-bezier(.4, 0, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--black);
  color: var(--smoke);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--black); }

h1, h2, h3, .heading {
  font-family: var(--font-heading);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .1em;
  line-height: 1.1;
  color: var(--gold);
  margin: 0;
}

.label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--muted);
}

.divider {
  height: 1px;
  border: 0;
  margin: 24px 0;
  background: linear-gradient(to right, transparent, rgba(var(--gold-rgb), .5), transparent);
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.card:hover { border-color: rgba(var(--gold-rgb), .35); }

/* Primární tlačítko: zlatý obrys, na hover se zleva nasune zlatá výplň (jako „REZERVOVAT KŘESLO“). */
.btn-gold {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 28px;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  background: transparent;
  color: var(--gold);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .2em;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  isolation: isolate;
  transition: color .5s var(--ease), box-shadow .3s var(--ease);
}
.btn-gold::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: translateX(-102%);
  transition: transform .5s var(--ease);
  z-index: -1;
}
.btn-gold:hover, .btn-gold:focus-visible { color: var(--black); text-decoration: none; box-shadow: 0 0 24px var(--gold-glow); }
.btn-gold:hover::before, .btn-gold:focus-visible::before { transform: translateX(0); }
.btn-gold.solid { background: var(--gold); color: var(--black); }
.btn-gold:disabled { opacity: .4; cursor: not-allowed; box-shadow: none; }
.btn-gold:disabled::before { transform: translateX(-102%); }

.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 18px;
  background: transparent; border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--smoke); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em;
  cursor: pointer; transition: border-color .2s, color .2s;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); text-decoration: none; }
.btn-danger { border-color: rgba(229, 72, 77, .5); color: var(--danger); }
.btn-danger:hover { border-color: var(--danger); color: #fff; background: rgba(229, 72, 77, .15); }

.input, input[type=text], input[type=tel], input[type=email], input[type=password],
input[type=number], input[type=date], input[type=time], select, textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--smoke);
  font-size: 16px; /* iOS bez zoomu */
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
input[aria-invalid=true], textarea[aria-invalid=true] { border-color: var(--danger); }

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

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* iOS Safari dává poli data/času pevnou minimální šířku → přetéká z karty */
input[type=date], input[type=time] {
  display: block; min-width: 0; max-width: 100%;
  -webkit-appearance: none; appearance: none;
}
input::-webkit-date-and-time-value { text-align: left; }
