
/* ====== ZÁKLAD + PROMĚNNÉ ====== */
:root{
  --brand:#7a4b25; --brand-2:#5e381b; --accent:#e9dcc4;
  --ink:#1f2937; --muted:#6b7280;
}
*{box-sizing:border-box}
html,body{margin:0}
body{font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;color:var(--ink);line-height:1.6;background:#fff}
img{max-width:100%;display:block}
.container{max-width:1200px;margin:0 auto;padding:0 20px}

/* ====== HLAVIČKA + MENU ====== */
.topbar{background:linear-gradient(180deg,var(--brand) 0%, var(--brand-2) 100%);color:#fff;border-bottom:6px solid var(--accent)}
.header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0}
.brand{display:flex;align-items:center;gap:10px;color:#fff;text-decoration:none}
.brand svg{width:32px;height:32px}
.brand h1{margin:0;font-size:20px;letter-spacing:.3px}
.nav{display:flex;gap:10px;flex-wrap:wrap}
.nav a{color:#fff;text-decoration:none;padding:8px 12px;border-radius:999px;border:1px solid rgba(255,255,255,.2);opacity:.95}
.nav a:hover{opacity:1;background:rgba(255,255,255,.08)}
.nav a.active{background:#fff;color:var(--brand-2)}

/* světlý úvod */
.hero-light{background:#fff;padding:32px 0 8px}
.intro-box{background:#fff;border:1px solid #ececec;box-shadow:0 8px 24px rgba(0,0,0,.04);border-radius:16px;padding:24px;text-align:center}
.site-title{margin:0 0 6px;font-size:clamp(28px,5vw,44px);color:var(--brand-2)}
.site-subtitle{margin:0;color:var(--muted)}

/* sekce nejbližší akce */
.next-event{padding:40px 0;background:#fff8f0;text-align:center}
.event-box{border:2px solid var(--accent);border-radius:16px;padding:20px;display:inline-block;background:#fff;max-width:340px}
#countdown{font-size:20px;font-weight:700;margin:12px 0;color:var(--brand)}

/* ====== SEKCE ====== */
section{padding:36px 0;border-bottom:1px solid #f1f5f9}
section:last-child{border-bottom:0}
section h2{font-size:28px;margin:0 0 12px}
.muted{color:var(--muted)}

/* ====== KARTY + AKCE ====== */
.grid{display:grid;gap:18px}
.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}
@media (max-width:900px){.grid-3,.grid-2{grid-template-columns:1fr}}
.card{border:1px solid #e5e7eb;border-radius:16px;padding:18px;background:#fff;box-shadow:0 6px 18px rgba(0,0,0,.04)}
.card h3{margin:0 0 6px}
.event-list .event{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 10px;border:1px solid #e5e7eb;border-radius:12px;margin:8px 0}
.btn-group {
  display: flex;
  gap: 8px;
}
.btn-group .btn {
  flex: 1; /* obě tlačítka stejně široká */
  text-align: center;
}
.btn{display:inline-block;padding:10px 14px;border-radius:10px;text-decoration:none;border:1px solid #e5e7eb}
.btn.primary{background:var(--brand);border-color:transparent;color:#fff}
.btn.ghost{background:#fff;color:var(--brand-2)}

/* ====== FOOTER ====== */
footer{background:#fafafa;border-top:1px solid #e5e7eb}
footer .foot{padding:18px 0;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;color:#374151}

.reviews{padding:16px;border:1px solid #e5e7eb;border-radius:16px;background:#fff;box-shadow:0 8px 24px rgba(0,0,0,.04);display:grid;gap:12px}
.reviews h2{margin:0}
.reviews .review-header{margin-bottom:4px}
.review-list{display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}
.review-card{border:1px solid #e5e7eb;border-radius:12px;padding:12px;background:#fff}
.review-card .author{font-weight:700}
.review-card .date{color:var(--muted);font-size:13px}
.review-card .text{margin:8px 0 0}
.review-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.pill-rating{display:inline-block;padding:4px 10px;border-radius:999px;background:#fff3cd;color:#92400e;font-weight:700;font-size:13px;border:1px solid #fcd34d}

.newsletter{margin:0;padding:0;border:0;border-radius:0;box-shadow:none;background:transparent;display:grid;gap:12px}
.newsletter label{font-weight:700;display:block;margin-bottom:4px}
.newsletter .newsletter-controls{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.newsletter input[type=email]{flex:1;min-width:220px;padding:10px 12px;border:1px solid #d1d5db;border-radius:10px;font:inherit}
.newsletter button{padding:10px 14px;border-radius:10px;border:0;background:var(--brand);color:#fff;cursor:pointer}
.newsletter button:hover{opacity:.95}
.newsletter .msg{margin:0}

/* ====== REZERVACE ====== */
.rez-grid{display:grid;grid-template-columns:2fr 1fr;gap:24px;align-items:start}
@media (max-width:920px){.rez-grid{grid-template-columns:1fr}}
.map { position: relative; width:1000px; height:600px;
       background:url('pictures/planek.jpg') center/contain no-repeat;
       border:2px dashed #cbd5e1; border-radius:16px; overflow:hidden; }
.map-empty, #mapEmpty { position:absolute; inset:0; pointer-events:none; z-index:0; }
.seat { position:absolute; width:24px; height:24px; border-radius:50%;
        border:2px solid #2e7d32; background:#cfead6; cursor:pointer;
        transform:translate(-50%,-50%); z-index:10; }
.seat.hold{background:#ffe7a8;border-color:#c77d00;cursor:not-allowed}
.seat.sold{background:#f5b5b5;border-color:#c62828;cursor:not-allowed}

.panel{width: 320px;border:1px solid #e5e7eb;border-radius:16px;padding:16px;background:#fff;box-shadow:0 6px 18px rgba(0,0,0,.04)}
.panel h3{margin:0 0 10px}
.cart-list{margin:0;padding-left:18px}
.sep{border:none;border-top:1px solid #e5e7eb;margin:14px 0}
.panel input{width:100%;padding:10px 12px;border:1px solid #d1d5db;border-radius:10px;margin:6px 0 10px;font:inherit}
.small{font-size:13px}


.legend{
    display: flex;
    gap: 14px;
    align-items: center;
    margin-top: 10px;
}

.legend span{
    display: inline-flex;
    align-items: center;
    gap: 6px;   
    font-size: 14px;
    color: #555;
}
.legend i{
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;}
.legend .l-free i{ background:#cfead6; border:5px solid #2e7d32; }
.legend .l-hold i{ background:#ffe7a8; border:5px solid #c77d00; }
.legend .l-sold i{ background:#f5b5b5; border:5px solid #c62828; }
/* nové – blokovaná místa */
.seat.blocked {
  background:#e5e7eb;   /* světle šedá */
  border-color:#6b7280; /* tmavší šedá */
  cursor:not-allowed;
}

/* legenda – blokované */
.legend .l-blocked i {
  background:#e5e7eb;
  border:5px solid #6b7280;
}
.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}

/* Footer vždy nad obsahem a prokliknutelný */
footer { position: relative; z-index: 999; isolation: isolate; }
footer * { pointer-events: auto; }

/* Kdyby nějaká sekce používala dekorativní překryv, ať nebere kliky */
.hero-light::before,
.hero-light::after,
.next-event::before,
.next-event::after {
  pointer-events: none;
}
@media (max-width: 600px) {
  .logo {
    width: 130px;
  }
}
.topbar {
  background: linear-gradient(180deg, var(--brand) 0%, var(--brand-2) 100%);
  color: #fff;
  border-bottom: 6px solid var(--accent);
}

.topbar .container.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 20px;       /* menší padding = nižší pruh */
  min-height: 80px;        /* stabilní výška pruhu */
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo {
  width: 160px;            /* zmenší logo, aby pruh nebyl vysoký */
  height: auto;
  display: block;
  object-fit: contain;
}
.notice{padding:12px 14px;border-radius:8px;margin:12px 0}
.notice.warning{background:#FFF3CD;border:1px solid #FFE69C;color:#664D03}
