:root {
  --primary: #3aa8a0;
  --primary-dark: #256e68;
  --accent: #e6f5f3;
  --accent-warm: #d7b98a;
  --bg: #ffffff;
  --surface: #ffffff;
  --text: #1a2224;
  --muted: #62706f;
  --border: #e3e9e8;
  --radius: 4px;
  --shadow: 0 10px 30px rgba(26, 34, 36, 0.06);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Manrope', system-ui, sans-serif;
}

*, *::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.7;
  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: 1080px; margin: 0 auto; padding: 0 2rem; }
.hidden { display: none !important; }

/* ===== Thin sticky nav, underline links ===== */
.nav {
  position: sticky; top: 0; z-index: 150;
  background: rgba(255,255,255,0.94); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1080px; margin: 0 auto; padding: 0 2rem;
  height: 64px; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; color: var(--text);
  letter-spacing: 0.02em;
}
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a {
  position: relative; color: var(--text); font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.03em; padding: 0.35rem 0;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px;
  background: var(--primary); transition: right 0.25s ease;
}
.nav-links a:hover::after { right: 0; }
.nav-links a:hover { color: var(--primary); }
.nav-cta { color: var(--primary) !important; }
.nav-rezervace {
  background: var(--primary) !important; color: #fff !important;
  padding: 0.55rem 1.3rem !important; border-radius: 2px; font-weight: 700 !important;
}
.nav-rezervace::after { display: none; }
.nav-toggle { display: none; background: none; border: none; font-size: 1.3rem; color: var(--text); cursor: pointer; }

/* ===== Hero: asymmetric split ===== */
.hero { display: flex; min-height: 78vh; align-items: stretch; }
.hero-left {
  flex: 0 0 45%; display: flex; flex-direction: column; justify-content: center;
  padding: 3rem clamp(2rem, 6vw, 5rem); background: #fff;
}
.hero-tag {
  display: block; color: var(--primary); font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 1.5rem;
}
.hero-left h1 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(3.2rem, 7vw, 5.4rem); line-height: 1.02; color: var(--text);
  margin-bottom: 1.5rem;
}
.hero-desc { font-size: 1.05rem; color: var(--muted); margin-bottom: 2.25rem; max-width: 420px; }
.hero-right { flex: 0 0 55%; position: relative; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(150deg, var(--primary) 0%, var(--primary-dark) 100%);
  background-size: cover; background-position: center;
}
.hero-bg::after { content: ''; position: absolute; inset: 0; background: rgba(58, 168, 160, 0.28); mix-blend-mode: multiply; }
.hero-bg.has-image::after { background: rgba(58, 168, 160, 0.22); }
.hero-bg.has-image { animation: slowZoom 22s ease infinite alternate; }
@keyframes slowZoom { from { transform: scale(1); } to { transform: scale(1.05); } }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.9rem 2.2rem; border-radius: 2px;
  font-family: var(--font-body); font-size: 0.9rem; font-weight: 700;
  letter-spacing: 0.03em; border: none; cursor: pointer; transition: all 0.25s;
  width: fit-content;
}
.btn-primary { background: var(--text); color: #fff; }
.btn-primary:hover { background: var(--primary); }
.btn-secondary { background: var(--border); color: var(--text); }
.btn-block { width: 100%; }
.btn-sm { padding: 0.4rem 0.9rem; font-size: 0.8rem; }
.btn-icon { background: none; border: none; font-size: 1.2rem; cursor: pointer; color: var(--muted); }

/* ===== Sections ===== */
.section { padding: 6rem 0; }
.section-header { margin-bottom: 3rem; }
.section-label {
  display: block; text-transform: uppercase; letter-spacing: 0.16em;
  font-size: 0.72rem; color: var(--primary); font-weight: 700; margin-bottom: 0.75rem;
}
.section-header h2, .about-wrap h2 {
  font-family: var(--font-display); font-weight: 600; font-size: clamp(1.9rem, 3.5vw, 2.5rem);
}

/* About */
.about { border-bottom: 1px solid var(--border); }
.about-wrap { max-width: 640px; }
.about-text { color: var(--muted); font-size: 1.08rem; line-height: 1.9; margin-top: 1.25rem; }

/* Gallery — strict 2-col grid */
.gallery-section { background: var(--accent); }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.gallery-item {
  position: relative; aspect-ratio: 4/3; overflow: hidden; cursor: pointer;
  transition: opacity 0.25s;
}
.gallery-item:hover { opacity: 0.88; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-item figcaption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 0.9rem 1.1rem; background: linear-gradient(transparent, rgba(26,34,36,0.68));
  color: #fff; font-size: 0.82rem;
}
.gallery-empty { text-align: center; color: var(--muted); padding: 2rem; grid-column: 1/-1; }

/* Personál */
.team-section { background: var(--surface); }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.team-card { background: var(--surface); padding: 2rem; }
.team-photo { width: 100%; aspect-ratio: 1; overflow: hidden; margin-bottom: 1.25rem; background: var(--accent); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.1); }
.team-photo-placeholder { width: 100%; height: 100%; background: var(--accent); }
.team-body h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; margin-bottom: 0.3rem; }
.team-role { color: var(--primary); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.6rem; }
.team-desc { font-size: 0.92rem; color: var(--muted); margin-bottom: 0.9rem; }
.team-hours { width: 100%; font-size: 0.85rem; border-collapse: collapse; }
.team-hours td { padding: 0.3rem 0; border-bottom: 1px solid var(--border); }
.team-hours td:first-child { color: var(--muted); }
.team-empty { color: var(--muted); text-align: center; padding: 2rem; }
.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: 4px; padding: 1rem; margin-bottom: 1rem; background: var(--accent); }
.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: 4px; }
.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: 4px; font-family: inherit; }

/* Ceník — numbered vertical list */
.pricing { background: var(--bg); }
.price-grid { display: flex; flex-direction: column; max-width: 760px; counter-reset: pricenum; }
.price-card {
  position: relative; display: flex; align-items: center; gap: 1.5rem;
  padding: 1.5rem 0; border-bottom: 1px solid var(--border);
}
.price-card::before {
  counter-increment: pricenum; content: counter(pricenum, decimal-leading-zero);
  font-family: var(--font-display); font-size: 0.95rem; color: var(--primary);
  font-weight: 600; flex-shrink: 0; width: 2.2rem;
}
.price-name { flex: 1; font-weight: 500; font-size: 1.05rem; }
.price-value { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; color: var(--text); flex-shrink: 0; }

/* Novinky */
.news { background: var(--accent); }
.news-list { display: flex; flex-direction: column; gap: 1px; max-width: 760px; background: var(--border); border: 1px solid var(--border); }
.news-card { display: flex; flex-direction: row; align-items: center; gap: 1.75rem; background: var(--surface); padding: 1.75rem; }
.news-card-body { flex: 1; min-width: 0; }
.news-card time { font-size: 0.74rem; color: var(--primary); font-weight: 700; letter-spacing: 0.04em; }
.news-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; margin: 0.5rem 0; }
.news-card p { color: var(--muted); font-size: 0.92rem; line-height: 1.7; }
.news-card-media { flex-shrink: 0; width: 180px; height: 130px; margin: 0; overflow: hidden; }
.news-card-media img { width: 100%; height: 100%; object-fit: cover; }

.novinka-img-preview { min-height: 90px; max-height: 160px; border-radius: 4px; overflow: hidden; background: var(--accent); 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: #fee; color: #c0392b; border: none; padding: 0.4rem 0.7rem; border-radius: 4px; font-size: 0.8rem; cursor: pointer; }

/* Kontakt */
.contact { background: var(--surface); }
.contact-grid { display: grid; gap: 3rem; }
@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: 1.1rem 0; border-bottom: 1px solid var(--border); }
.contact-icon { font-size: 1.15rem; }
.contact-list strong { display: block; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); }
.hours-card { background: var(--accent); padding: 2.25rem; border-left: 3px solid var(--primary); }
.hours-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; margin-bottom: 1rem; }
.hours-card table { width: 100%; }
.hours-card td { padding: 0.55rem 0; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.hours-card td:last-child { text-align: right; font-weight: 600; }
.zavreno { color: var(--muted); font-style: italic; }

/* Footer */
.footer { background: var(--text); color: rgba(255,255,255,0.7); padding: 3rem 0; text-align: center; }
.footer p:first-child { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; color: #fff; }

/* 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: 300; background: rgba(0,0,0,0.92); display: flex; align-items: center; justify-content: center; padding: 2rem; }
.lightbox img { max-height: 90vh; }
.lightbox-close { position: absolute; top: 1.5rem; right: 1.5rem; background: none; border: none; color: #fff; 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: 4px;
  background: var(--primary); color: #fff; border: none;
  font-size: 1.3rem; cursor: pointer;
  box-shadow: 0 4px 20px rgba(58,168,160,0.4);
}
.admin-panel { display: none; position: fixed; inset: 0; z-index: 400; background: rgba(0,0,0,0.4); }
.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;
  border: 1px solid var(--border); border-radius: 4px; 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: 4px; border: 1px solid var(--border);
  background: transparent; font-size: 0.78rem; cursor: pointer; font-family: inherit;
}
.admin-tabs .tab.active { background: var(--primary); color: #fff; 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: 4px; overflow: hidden; background: var(--accent); 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: 4px; }
.gallery-edit-item img { width: 64px; height: 48px; object-fit: cover; border-radius: 4px; }
.btn-delete-img { background: #fee; color: #c0392b; border: none; padding: 0.35rem 0.6rem; border-radius: 4px; 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: #c0392b; }
.status-msg.success { color: #27ae60; }

/* ===== Mobile ===== */
@media (max-width: 800px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; background: #fff; padding: 0.5rem 1.5rem 1rem; box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { color: var(--text) !important; padding: 0.7rem 0; border-bottom: 1px solid var(--border); }
  .hero { flex-direction: column; min-height: auto; }
  .hero-left { flex: none; padding: 3rem 1.5rem 2rem; }
  .hero-right { flex: none; min-height: 260px; }
  .container { padding: 0 1.25rem; }
  .gallery { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .news-card { flex-direction: column; align-items: stretch; }
  .news-card-media { width: 100%; height: 180px; }
  .price-card { gap: 1rem; }
}

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