:root {
  --primary: #6b4f2a;
  --primary-dark: #4e381c;
  --accent: #ddd0b5;
  --accent-warm: #b99762;
  --bg: #f4efe6;
  --surface: #fffdf8;
  --text: #3c3024;
  --muted: #7a6c5a;
  --border: #e2d8c8;
  --oak: #3f2e18;
  --oak-light: #6b4f2a;
  --green: #5a7a62;
  --green-tint: #eef2ec;
  --hero-overlay: rgba(67, 47, 26, 0.35);
  --radius: 0px;
  --shadow: 0 18px 40px rgba(60, 48, 36, 0.12);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', 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: 1040px; margin: 0 auto; padding: 0 1.5rem; }
.hidden { display: none !important; }

/* Masthead - typographic, no fixed nav */
.masthead {
  padding: 3rem 0 1.5rem;
  text-align: center;
  background: var(--surface);
}
.masthead-inner { display: flex; flex-direction: column; align-items: center; gap: 0.6rem; }
.masthead-logo {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.1rem);
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.01em;
}
.masthead-tagline {
  font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent-warm); font-weight: 600;
}

/* Nav - plain static bar under masthead, no sticky/shadow behaviour */
.nav {
  position: static;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.nav-inner {
  display: flex; align-items: center; justify-content: center;
  padding: 0.9rem 1.5rem; position: relative;
}
.nav-links { display: flex; gap: 2.1rem; align-items: center; }
.nav-links a {
  color: var(--text); font-size: 0.82rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.1em;
  font-family: var(--font-body);
}
.nav-links a:hover { color: var(--accent-warm); }
.nav-cta {
  color: var(--green) !important;
  border-bottom: 1px solid var(--green);
}
.nav-rezervace {
  background: var(--oak) !important;
  color: var(--surface) !important;
  padding: 0.5rem 1.2rem;
}
.nav-toggle {
  display: none; position: absolute; right: 1.5rem; top: 50%; transform: translateY(-50%);
  background: none; border: none; font-size: 1.4rem; color: var(--text); cursor: pointer;
}

/* Hero - text-first, stacked editorial image below */
.hero-editorial {
  background: var(--surface);
  padding: 3.5rem 0 0;
  text-align: center;
}
.hero-editorial-text { max-width: 680px; margin: 0 auto; padding: 0 1.5rem 3rem; }
.hero-tag {
  display: block; font-family: var(--font-display); font-style: italic;
  font-size: 1.15rem; color: var(--accent-warm); margin-bottom: 1rem;
}
.hero-editorial h1 {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 8vw, 5.6rem);
  font-weight: 600;
  line-height: 1;
  color: var(--text);
  margin-bottom: 1.5rem;
}
.hero-desc {
  font-size: 1.1rem; color: var(--muted); margin-bottom: 2rem;
  max-width: 520px; margin-left: auto; margin-right: auto;
}
.hero-bg {
  width: 100%;
  height: min(60vh, 520px);
  background: linear-gradient(160deg, var(--accent) 0%, var(--oak-light) 100%);
  background-size: cover; background-position: center;
}
.hero-bg.has-image { animation: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.85rem 2.1rem; border-radius: var(--radius);
  font-family: var(--font-body); font-size: 0.85rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  border: 1px solid var(--oak); cursor: pointer; transition: all 0.25s;
}
.btn-primary { background: var(--oak); color: var(--surface); }
.btn-primary:hover { background: var(--oak-light); }
.btn-secondary { background: transparent; color: var(--text); border-color: var(--border); text-transform: none; letter-spacing: normal; }
.btn-block { width: 100%; }
.btn-sm { padding: 0.4rem 0.9rem; font-size: 0.78rem; }
.btn-icon { background: none; border: none; font-size: 1.2rem; cursor: pointer; color: var(--muted); }

/* Full-bleed alternating bands */
.section { padding: 5.5rem 0; }
.band-linen { background: var(--bg); }
.band-surface { background: var(--surface); }
.band-oak { background: var(--oak); color: #f1e9dc; }
.band-oak .section-label { color: var(--accent-warm); }
.band-oak .section-header h2 { color: #f8f2e6; }
.band-oak .about-text, .band-oak .hours-note { color: #d8ccb8; }
.band-green { background: var(--green-tint); }
.band-green .section-label { color: var(--green); }

.section-header { margin-bottom: 2.5rem; }
.section-header.center { text-align: center; }
.section-label {
  display: block; font-family: var(--font-display); font-style: italic;
  font-size: 1rem; color: var(--accent-warm); margin-bottom: 0.5rem;
}
.section-header h2 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.1rem, 4vw, 3rem); color: var(--text);
}

.about-split { display: grid; gap: 3rem; }
@media (min-width: 768px) { .about-split { grid-template-columns: 1.2fr 0.8fr; align-items: center; } }
.about-text { color: var(--muted); font-size: 1.1rem; line-height: 1.9; margin-top: 1.25rem; }
.about-deco {
  height: 300px;
  background: linear-gradient(150deg, var(--accent) 0%, var(--green) 100%);
  opacity: 0.5;
}

/* Gallery - single column, tall editorial images */
.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  max-width: 640px;
  margin: 0 auto;
}
.gallery-item {
  position: relative; overflow: hidden; cursor: pointer;
  aspect-ratio: 3 / 4;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.gallery-item:hover img { transform: scale(1.03); }
.gallery-item figcaption {
  position: static;
  margin-top: 0.9rem; padding: 0;
  background: none; color: var(--muted);
  font-family: var(--font-display); font-style: italic; font-size: 1.05rem;
  text-align: center;
}
.gallery-empty { text-align: center; color: var(--muted); padding: 2rem; }

/* Personál / tým - editorial cards */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 2.5rem;
}
.team-card { background: transparent; }
.team-photo {
  aspect-ratio: 3/4;
  background: var(--border);
  overflow: hidden;
  margin-bottom: 1rem;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-photo-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(150deg, var(--accent), var(--border));
}
.team-body { padding: 0; }
.team-body h3 {
  font-family: var(--font-display);
  font-size: 1.55rem; font-weight: 600;
  color: var(--text);
  margin-bottom: 0.2rem;
}
.team-role {
  color: var(--green); font-size: 0.8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid var(--green);
  display: inline-block; padding-bottom: 0.2rem;
}
.team-desc { font-size: 0.96rem; line-height: 1.7; margin-bottom: 1rem; color: var(--muted); }
.team-hours { width: 100%; font-size: 0.85rem; border-collapse: collapse; }
.team-hours td { padding: 0.35rem 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.82rem; 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(--bg);
}
.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 - elegant large typography list on oak band */
.price-grid {
  display: flex; flex-direction: column;
  max-width: 720px; margin: 0 auto;
}
.price-card {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 1.4rem 0;
  border-bottom: 1px solid rgba(241,233,220,0.25);
}
.price-card:last-child { border-bottom: none; }
.price-name {
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 500;
  color: #f4ede0;
}
.price-value {
  font-family: var(--font-display); font-size: 1.35rem; font-style: italic;
  color: var(--accent-warm); white-space: nowrap; margin-left: 1.5rem;
}

/* News - editorial, no boxes */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 760px;
  margin: 0 auto;
}

.news-card {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 2rem;
  background: transparent;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(90,122,98,0.3);
}
.news-card:first-child { padding-top: 0; }
.news-card:last-child { border-bottom: none; }

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

.news-card time { font-size: 0.75rem; color: var(--green); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
.news-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; margin: 0.5rem 0; color: var(--text); }
.news-card p { color: var(--muted); font-size: 0.95rem; line-height: 1.75; }

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

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

@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: #fee; color: #c0392b; border: none;
  padding: 0.4rem 0.7rem; border-radius: 6px; font-size: 0.8rem; cursor: pointer;
}

/* Contact - closing oak band */
.contact-grid { display: grid; gap: 2.5rem; }
@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 rgba(241,233,220,0.2); }
.contact-icon { font-size: 1.2rem; }
.contact-list strong { display: block; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent-warm); }
.contact-list a, .contact-list span { color: #f4ede0; }
.hours-card {
  background: rgba(255,255,255,0.05); padding: 2rem;
  border: 1px solid rgba(241,233,220,0.25);
}
.hours-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; margin-bottom: 1rem; color: #f8f2e6; }
.hours-card table { width: 100%; }
.hours-card td { padding: 0.55rem 0; border-bottom: 1px solid rgba(241,233,220,0.15); font-size: 0.95rem; color: #f1e9dc; }
.hours-card td:last-child { text-align: right; font-weight: 500; }
.zavreno { color: #b8ac98; font-style: italic; }

/* Footer */
.footer { background: #2c2010; color: rgba(244,237,224,0.65); padding: 2.75rem 0; text-align: center; }
.footer p:first-child { font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; color: #f8f2e6; }

/* 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(30,22,12,0.92); display: flex; align-items: center; justify-content: center; padding: 2rem; }
.lightbox img { max-height: 90vh; border-radius: 0; }
.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(--oak); color: #fff; border: none;
  font-size: 1.3rem; cursor: pointer;
  box-shadow: 0 4px 20px rgba(63,46,24,0.4);
}
.admin-panel { display: none; position: fixed; inset: 0; z-index: 100; 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: 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; 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: 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: #fee; color: #c0392b; 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: #c0392b; }
.status-msg.success { color: #27ae60; }

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

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