:root {
  --primary: #f0b429;
  --primary-dark: #c98d06;
  --accent: #f0b429;
  --accent-warm: #f0b429;
  --bg: #0e0e10;
  --surface: #18181c;
  --text: #f7f5ed;
  --muted: #9a978d;
  --border: #2c2a26;
  --hero-overlay: rgba(0, 0, 0, 0.55);
  --radius: 2px;
  --shadow: 0 12px 34px rgba(0, 0, 0, 0.5);
  --font-display: 'Bebas Neue', Impact, sans-serif;
  --font-body: 'Rubik', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-weight: 400;
}

img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary-dark); }
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
.hidden { display: none !important; }

/* Nav - always solid dark, sticky, amber CTA */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: #0a0a0b;
  border-bottom: 1px solid var(--border);
  padding: 0.9rem 0;
}
.nav.scrolled { box-shadow: 0 8px 24px rgba(0,0,0,0.5); }
.nav-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.9rem; letter-spacing: 0.04em;
  color: var(--primary);
}
.nav-links { display: flex; gap: 1.75rem; align-items: center; }
.nav-links a {
  color: var(--text); font-size: 0.82rem; font-weight: 500;
  font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.03em;
}
.nav-links a:hover { color: var(--primary); }
.nav-cta {
  border: 1px solid var(--primary) !important;
  color: var(--primary) !important;
  padding: 0.5rem 1.1rem; border-radius: var(--radius);
}
.nav-rezervace {
  background: var(--primary) !important;
  color: #0e0e10 !important;
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius);
  font-weight: 700 !important;
}
.nav-toggle { display: none; background: none; border: none; font-size: 1.4rem; color: var(--primary); cursor: pointer; }

/* Hero - full dark, grid pattern, massive brand, thin strip hero-bg */
.hero-volt {
  position: relative;
  background: #0a0a0b;
  overflow: hidden;
  padding: 6rem 0 5rem;
  text-align: center;
}
.hero-volt-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(240,180,41,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240,180,41,0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, rgba(0,0,0,0.9), transparent 100%);
}
.hero-volt-inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.hero-tag {
  display: inline-block; padding: 0.35rem 1rem; margin-bottom: 1.25rem;
  border: 1px solid rgba(240,180,41,0.4); color: var(--primary);
  font-family: var(--font-mono);
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
}
.hero-volt h1 {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 15vw, 9.5rem);
  line-height: 0.85;
  color: var(--text);
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
}
.hero-bg {
  width: min(100%, 560px);
  height: 64px;
  margin: 0 auto 1.75rem;
  background: linear-gradient(90deg, #17130a 0%, #3a2e0d 50%, #17130a 100%);
  background-size: cover; background-position: center;
  border-top: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
}
.hero-bg.has-image { animation: none; }
.hero-desc { font-size: 1.05rem; color: var(--muted); margin-bottom: 2rem; max-width: 480px; margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.85rem 2.2rem; border-radius: var(--radius);
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em;
  border: none; cursor: pointer; transition: all 0.2s;
}
.btn-primary { background: var(--primary); color: #0e0e10; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(240,180,41,0.35); }
.btn-secondary { background: var(--border); color: var(--text); text-transform: none; letter-spacing: normal; }
.btn-block { width: 100%; }
.btn-sm { padding: 0.4rem 0.9rem; font-size: 0.85rem; }
.btn-icon { background: none; border: none; font-size: 1.2rem; cursor: pointer; color: var(--muted); }

/* Sections */
.section { padding: 5.5rem 0; }
.section-header { margin-bottom: 2rem; }
.section-header.center { text-align: center; }
.section-label {
  display: block; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.1em;
  font-size: 0.78rem; color: var(--primary); font-weight: 500; margin-bottom: 0.5rem;
}
.section-header h2 { font-family: var(--font-display); font-size: clamp(2.2rem, 4.5vw, 3.2rem); letter-spacing: 0.01em; }

.about { background: var(--surface); }
.about-split { display: grid; gap: 2rem; }
@media (min-width: 768px) { .about-split { grid-template-columns: 1.2fr 0.8fr; align-items: center; } }
.about-text { color: var(--muted); font-size: 1.05rem; line-height: 1.85; margin-top: 1rem; }
.about-deco {
  height: 280px;
  background: repeating-linear-gradient(45deg, transparent 0 18px, rgba(240,180,41,0.12) 18px 20px), var(--bg);
  border: 1px solid var(--border);
}

/* Gallery - high contrast: 1 big + side stack */
.gallery-section { background: var(--bg); }
.gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-auto-rows: 130px;
  gap: 3px;
  background: #000;
}
.gallery-item {
  position: relative; overflow: hidden; cursor: pointer;
  border-radius: 0;
  filter: grayscale(0.15) contrast(1.08);
}
.gallery-item:nth-child(1) { grid-column: 1; grid-row: 1 / span 3; }
.gallery-item:nth-child(n+2) { grid-column: 2; grid-row: auto; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s, filter 0.3s; }
.gallery-item:hover img { transform: scale(1.05); filter: brightness(1.1); }
.gallery-item figcaption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 0.6rem 0.8rem; background: linear-gradient(transparent, rgba(0,0,0,0.85));
  color: var(--primary); font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase;
}
.gallery-empty { text-align: center; color: var(--muted); padding: 2rem; grid-column: 1 / -1; }

@media (max-width: 700px) {
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .gallery-item:nth-child(1) { grid-column: 1; grid-row: auto; }
  .gallery-item:nth-child(n+2) { grid-column: 1; }
}

/* Personál / tým - monospace labels */
.team-section { background: var(--surface); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1px;
  background: var(--border);
}
.team-card {
  background: var(--bg);
  overflow: hidden;
}
.team-photo {
  aspect-ratio: 4/5;
  background: var(--border);
  overflow: hidden;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.3); }
.team-photo-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #1c1a15, var(--border));
}
.team-body { padding: 1.25rem; }
.team-body h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--text);
  margin-bottom: 0.3rem;
  letter-spacing: 0.02em;
}
.team-role {
  color: var(--primary); font-size: 0.72rem; font-weight: 500;
  font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}
.team-desc { font-size: 0.9rem; line-height: 1.55; margin-bottom: 1rem; color: var(--muted); font-family: var(--font-mono); }
.team-hours { width: 100%; font-size: 0.78rem; border-collapse: collapse; font-family: var(--font-mono); }
.team-hours td { padding: 0.3rem 0; border-bottom: 1px solid var(--border); }
.team-hours td:first-child { color: var(--muted); width: 40%; }
.team-empty { margin-top: 1rem; color: var(--muted); text-align: center; }
.hours-note { font-size: 0.8rem; color: var(--muted); margin-bottom: 0.75rem; font-style: italic; }

.personel-edit-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1rem;
  background: var(--surface);
}
.personel-edit-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.75rem; }
.personel-edit-actions { display: flex; gap: 0.5rem; margin-top: 0.75rem; }
.p-foto-preview { margin: 0.5rem 0; max-height: 120px; overflow: hidden; }
.p-foto-preview img { max-height: 120px; width: auto; border-radius: 8px; }
.admin-rozvrh { font-size: 0.8rem; margin: 0.5rem 0; width: 100%; border-collapse: collapse; }
.admin-rozvrh th, .admin-rozvrh td { border: 1px solid var(--border); padding: 0.35rem 0.5rem; text-align: left; }
.admin-rozvrh input[type="time"] { width: 100%; padding: 0.25rem; border: 1px solid var(--border); border-radius: 6px; font-family: inherit; }

/* Pricing - full-bleed horizontal rows, thick band, amber hover border-left */
.pricing { background: var(--bg); }
.price-grid {
  display: flex; flex-direction: column;
}
.price-card {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.5rem 1.75rem;
  border-bottom: 1px solid var(--border);
  border-left: 4px solid transparent;
  border-radius: 0;
  transition: border-color 0.2s, background 0.2s, padding-left 0.2s;
}
.price-card:hover { border-left-color: var(--primary); background: rgba(240,180,41,0.06); padding-left: 2.2rem; }
.price-name { font-weight: 500; font-size: 1.05rem; }
.price-value {
  font-family: var(--font-display); font-size: 1.7rem;
  color: var(--primary); white-space: nowrap;
}

/* News */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  max-width: 900px;
  margin: 0 auto;
  background: var(--border);
}

.news-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.75rem;
  background: var(--surface);
  padding: 1.5rem;
  border-radius: 0;
  border-left: 4px solid var(--primary);
}

.news-card-body {
  flex: 1;
  min-width: 0;
}

.news-card time { font-size: 0.75rem; color: var(--primary); font-weight: 500; font-family: var(--font-mono); }
.news-card h3 { font-family: var(--font-display); font-size: 1.4rem; margin: 0.5rem 0; letter-spacing: 0.01em; }
.news-card p { color: var(--muted); font-size: 0.9rem; line-height: 1.7; }

.news-card-media {
  flex-shrink: 0;
  width: 220px;
  margin: 0;
}

.news-card-media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
  object-fit: contain;
  filter: grayscale(0.2);
}

@media (max-width: 700px) {
  .news-card {
    flex-direction: column;
    align-items: stretch;
  }
  .news-card-media {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    order: -1;
  }
}

.novinka-img-preview {
  min-height: 90px;
  max-height: 160px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg);
  margin: 0.5rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.novinka-img-preview img {
  max-width: 100%;
  max-height: 160px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.novinka-img-preview .placeholder { font-size: 0.8rem; color: var(--muted); }
.novinka-img-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 0.75rem; }
.btn-remove-novinka-img {
  background: #3a1414; color: #ff6b6b; border: none;
  padding: 0.4rem 0.7rem; border-radius: 6px; font-size: 0.8rem; cursor: pointer;
}

/* Contact */
.contact { background: #0a0a0b; }
.contact-grid { display: grid; gap: 2rem; }
@media (min-width: 768px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-list { list-style: none; margin-top: 1.5rem; }
.contact-list li { display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--border); }
.contact-icon { font-size: 1.2rem; }
.contact-list strong { display: block; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); font-family: var(--font-mono); }
.hours-card {
  background: var(--surface); padding: 2rem;
  border: 1px solid var(--primary);
  border-radius: 0;
}
.hours-card h3 { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 1rem; color: var(--primary); }
.hours-card table { width: 100%; font-family: var(--font-mono); }
.hours-card td { padding: 0.5rem 0; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.hours-card td:last-child { text-align: right; font-weight: 500; }
.zavreno { color: var(--muted); font-style: italic; }

/* Footer */
.footer { background: #050506; color: var(--muted); padding: 2.5rem 0; text-align: center; }
.footer p:first-child { font-family: var(--font-display); font-size: 1.6rem; color: var(--primary); }

/* Loading */
.loading { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 50vh; color: var(--muted); gap: 1rem; }
.spinner { width: 40px; height: 40px; border: 3px solid var(--border); border-top-color: var(--primary); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,0.94); display: flex; align-items: center; justify-content: center; padding: 2rem; }
.lightbox img { max-height: 90vh; border-radius: 0; border: 1px solid var(--primary); }
.lightbox-close { position: absolute; top: 1.5rem; right: 1.5rem; background: none; border: none; color: var(--primary); font-size: 1.5rem; cursor: pointer; }

/* Admin - same structure, themed */
.admin-fab {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 90;
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--primary); color: #0e0e10; border: none;
  font-size: 1.3rem; cursor: pointer;
  box-shadow: 0 4px 20px rgba(240,180,41,0.35);
}
.admin-panel { display: none; position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,0.6); }
.admin-panel.open { display: flex; justify-content: flex-end; }
.admin-drawer {
  width: 100%; max-width: 440px; height: 100%; background: var(--surface);
  display: flex; flex-direction: column; animation: slideIn 0.3s ease;
}
@keyframes slideIn { from { transform: translateX(100%); } to { transform: translateX(0); } }
.admin-header { display: flex; justify-content: space-between; align-items: center; padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--border); }
.admin-header h2 { font-family: var(--font-display); font-size: 1.4rem; }
.admin-body { flex: 1; overflow-y: auto; padding: 1.25rem 1.5rem; }
.admin-footer { padding: 1rem 1.5rem; border-top: 1px solid var(--border); }
.admin-hint { color: var(--muted); font-size: 0.9rem; margin-bottom: 1rem; }
.admin-hint.success { color: var(--primary); }
.admin-body .checkbox { flex-direction: row !important; align-items: center; color: var(--text); margin: 0.75rem 0; }
.admin-body .checkbox input { width: auto; margin-right: 0.5rem; accent-color: var(--primary); }
.admin-body label { display: block; font-size: 0.8rem; color: var(--muted); margin-top: 0.75rem; font-weight: 600; }
.admin-body input, .admin-body textarea {
  width: 100%; padding: 0.6rem 0.75rem; margin-top: 0.25rem;
  background: var(--bg); color: var(--text);
  border: 1px solid var(--border); border-radius: 10px; font-family: inherit;
}
.admin-tabs { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-bottom: 1rem; }
.admin-tabs .tab {
  padding: 0.35rem 0.7rem; border-radius: 8px; border: 1px solid var(--border);
  background: transparent; color: var(--text); font-size: 0.78rem; cursor: pointer; font-family: inherit;
}
.admin-tabs .tab.active { background: var(--primary); color: #0e0e10; border-color: var(--primary); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.upload-box { margin-bottom: 1.5rem; }
.upload-box h4 { font-size: 0.9rem; margin-bottom: 0.75rem; }
.hero-preview { height: 120px; border-radius: 10px; overflow: hidden; background: var(--bg); margin-bottom: 0.75rem; display: flex; align-items: center; justify-content: center; }
.hero-preview img { width: 100%; height: 100%; object-fit: cover; }
.btn-upload { cursor: pointer; display: inline-block; }
.bunny-hint { font-size: 0.8rem; color: var(--muted); margin-top: 0.75rem; }
.gallery-edit { display: grid; gap: 0.75rem; margin-bottom: 0.75rem; }
.gallery-edit-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 0.5rem; align-items: center; padding: 0.5rem; border: 1px solid var(--border); border-radius: 10px; }
.gallery-edit-item img { width: 64px; height: 48px; object-fit: cover; border-radius: 6px; }
.btn-delete-img { background: #3a1414; color: #ff6b6b; border: none; padding: 0.35rem 0.6rem; border-radius: 6px; font-size: 0.75rem; cursor: pointer; }
.edit-row { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; padding: 0.5rem 0; border-bottom: 1px solid var(--border); }
.edit-row input { flex: 1; min-width: 80px; }
.edit-block { margin-bottom: 0.75rem; }
.status-msg { margin-top: 0.75rem; font-size: 0.85rem; text-align: center; }
.status-msg.error { color: #ff6b6b; }
.status-msg.success { color: #6bcf6b; }

@media (max-width: 768px) {
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; background: #0a0a0b; padding: 1rem; box-shadow: var(--shadow);
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-links a { color: var(--text) !important; }
  .nav-toggle { display: block; }
  .about-deco { display: none; }
}

.creator-bar {
  --creator-bar-bg: var(--surface);
  --creator-bar-border: var(--border);
}
