.popup-overlay{ opacity:0; visibility:hidden; transition:opacity .2s ease; } .popup-overlay.visible{ opacity:1; visibility:visible; }

:root {
  --navy: #0f1f35; --navy-mid: #1a3050; --blue: #1e5fa8; --blue-light: #2d78d4;
  --white: #ffffff; --off-white: #f6f8fc; --text: #1a2535; --text-muted: #5a6a82;
  --border: #dde4ef; --success: #1a9e5c; --danger: #d93a3a;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Outfit', sans-serif; color: var(--text); background: var(--off-white); min-height: 100vh; }

nav[aria-label="Hlavní navigace"] { background: var(--navy); padding: 0 2rem; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 20px rgba(0,0,0,.35); }
.nav-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; height: 68px; gap: 2rem; }
.nav-logo { display: flex; align-items: center; gap: .75rem; text-decoration: none; flex-shrink: 0; cursor: pointer; }
.nav-logo img { width: 42px; height: 42px; object-fit: contain; border-radius: 6px; }
.nav-logo-text { color: var(--white); font-size: .85rem; line-height: 1.3; font-weight: 500; }
.nav-logo-text strong { display: block; font-size: 1rem; font-weight: 700; }
.nav-links { display: flex; gap: .25rem; flex: 1; }
.nav-link { color: rgba(255,255,255,.75); text-decoration: none; font-size: .9rem; font-weight: 500; padding: .5rem .9rem; border-radius: 6px; transition: all .2s; cursor: pointer; border: none; background: none; font-family: 'Outfit', sans-serif; }
.nav-link:hover { color: var(--white); background: rgba(255,255,255,.12); }
.nav-link.active { color: var(--white); background: rgba(255,255,255,.15); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: .5rem; margin-left: auto; }
.hamburger span { width: 24px; height: 2px; background: white; border-radius: 2px; transition: .3s; }
.mobile-menu { display: none; background: var(--navy-mid); padding: 1rem 2rem; border-top: 1px solid rgba(255,255,255,.08); }
.mobile-menu.open { display: block; }
.mobile-menu .nav-link { display: block; padding: .65rem 0; width: 100%; text-align: left; }

.page { display: block; }


.page-header { background: var(--navy); padding: 3rem 2rem; }
.page-header-inner { max-width: 1200px; margin: 0 auto; }
.page-header h1 { font-family: 'DM Serif Display', serif; color: var(--white); font-size: 2.4rem; margin-bottom: .5rem; }
.page-header p { color: rgba(255,255,255,.6); font-size: 1rem; }
.breadcrumb { display: flex; align-items: center; gap: .5rem; margin-bottom: 1rem; padding: 0; list-style: none; }
.breadcrumb span { font-size: .8rem; color: rgba(255,255,255,.45); }
.breadcrumb a { font-size: .8rem; color: rgba(255,255,255,.6); cursor: pointer; text-decoration: none; }
.breadcrumb a:hover { color: white; text-decoration: underline; }

.section { padding: 4rem 2rem; max-width: 1200px; margin: 0 auto; }
.section-label { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--blue); margin-bottom: .75rem; }
.section-title { font-family: 'DM Serif Display', serif; font-size: 2.2rem; color: var(--navy); margin-bottom: 1rem; line-height: 1.2; }
.section-lead { color: var(--text-muted); font-size: 1.05rem; line-height: 1.7; max-width: 600px; margin-bottom: 2.5rem; }

.card { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 1.75rem; transition: all .25s; }
.card:hover { box-shadow: 0 8px 30px rgba(15,31,53,.1); transform: translateY(-3px); border-color: var(--blue); }
.card-icon { width: 50px; height: 50px; background: linear-gradient(135deg, var(--blue), var(--blue-light)); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 1.25rem; }
.card h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: .5rem; }
.card p { font-size: .9rem; color: var(--text-muted); line-height: 1.65; }

.hours-popup-overlay{ opacity:0; visibility:hidden; position:fixed; inset:0; background:rgba(15,31,53,.7); z-index:600; align-items:center; justify-content:center; backdrop-filter:blur(4px); transition:opacity .2s ease; display:flex; } .hours-popup-overlay.show{ opacity:1; visibility:visible; }
.hours-popup { background: var(--white); border-radius: 18px; padding: 2.5rem; width: 480px; max-width: 95vw; box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.hours-popup h2 { font-family: 'DM Serif Display', serif; font-size: 1.6rem; color: var(--navy); margin-bottom: .4rem; }
.hours-popup .popup-info-text { color: var(--text-muted); font-size: .9rem; margin-bottom: 1.5rem; line-height: 1.6; }
.hours-popup table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; }
.hours-popup table tr { border-bottom: 1px solid var(--border); }
.hours-popup table tr:last-child { border-bottom: none; }
.hours-popup table td { padding: .75rem .5rem; font-size: .92rem; }
.hours-popup table td:first-child { font-weight: 600; color: var(--navy); width: 100px; }
.hours-popup .popup-ok-btn { background: var(--navy); color: white; padding: .75rem 2rem; border-radius: 8px; font-weight: 700; font-size: .95rem; border: none; cursor: pointer; width: 100%; font-family: 'Outfit', sans-serif; transition: all .2s; }
.hours-popup .popup-ok-btn:hover { background: var(--blue); }

.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(15,31,53,.85); z-index: 500; align-items: center; justify-content: center; backdrop-filter: blur(4px); }
.modal-overlay.show { display: flex; }
.modal { background: var(--white); border-radius: 18px; padding: 2.5rem; width: 420px; box-shadow: 0 20px 60px rgba(0,0,0,.35); position: relative; }
.modal h2 { font-family: 'DM Serif Display', serif; font-size: 1.75rem; color: var(--navy); margin-bottom: .5rem; }
.modal p { color: var(--text-muted); font-size: .9rem; margin-bottom: 1.75rem; }
.modal .form-group { margin-bottom: 1rem; }
.modal .btn-save { width: 100%; padding: .85rem; font-size: 1rem; margin-top: .5rem; }
.modal .error { color: var(--danger); font-size: .85rem; margin-top: .5rem; display: none; }
.modal-close { position: absolute; top: 1rem; right: 1rem; background: none; border: none; font-size: 1.3rem; cursor: pointer; color: var(--text-muted); }
.remember-row { display: flex; align-items: center; gap: .6rem; margin-top: .75rem; }
.remember-row input[type=checkbox] { width: 15px; height: 15px; accent-color: var(--blue); cursor: pointer; }
.remember-row label { font-size: .85rem; color: var(--text-muted); cursor: pointer; }
.saved-creds-note { background: rgba(30,95,168,.06); border: 1px solid rgba(30,95,168,.15); border-radius: 8px; padding: .65rem 1rem; font-size: .82rem; color: var(--blue); margin-bottom: 1rem; display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.saved-creds-note button { background: none; border: none; color: var(--blue); font-size: .78rem; cursor: pointer; text-decoration: underline; font-family: 'Outfit', sans-serif; white-space: nowrap; }

.form-group { display: flex; flex-direction: column; gap: .5rem; }
.form-group label { font-size: .82rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; }
.form-group input, .form-group select, .form-group textarea { border: 1.5px solid var(--border); border-radius: 8px; padding: .7rem .9rem; font-family: 'Outfit', sans-serif; font-size: .9rem; color: var(--text); background: var(--white); transition: border .2s; outline: none; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--blue); }
.form-group textarea { min-height: 80px; resize: vertical; }
.form-actions { margin-top: 1.5rem; display: flex; gap: 1rem; align-items: center; }
.btn-save { background: var(--blue); color: white; padding: .7rem 1.75rem; border-radius: 8px; font-weight: 600; font-size: .9rem; border: none; cursor: pointer; transition: all .2s; font-family: 'Outfit', sans-serif; }
.btn-save:hover { background: var(--blue-light); }
.btn-save:disabled { opacity: .6; cursor: not-allowed; }
.btn-cancel { background: var(--off-white); color: var(--text-muted); padding: .7rem 1.75rem; border-radius: 8px; font-weight: 600; font-size: .9rem; border: 1.5px solid var(--border); cursor: pointer; transition: all .2s; font-family: 'Outfit', sans-serif; }
.save-msg { font-size: .9rem; font-weight: 600; color: var(--success); display: none; }
.save-msg.err { color: var(--danger); }
.btn-primary { text-decoration: none; background: var(--white); color: var(--navy); font-weight: 700; font-size: .95rem; padding: .8rem 1.75rem; border-radius: 8px; cursor: pointer; border: none; transition: all .2s; display: inline-flex; align-items: center; gap: .5rem; font-family: 'Outfit', sans-serif; }
.btn-primary:hover { background: #e8eef8; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,0,0,.15); }
.btn-outline { text-decoration: none; background: transparent; color: rgba(255,255,255,.85); font-weight: 600; font-size: .95rem; padding: .8rem 1.75rem; border-radius: 8px; border: 1.5px solid rgba(255,255,255,.3); cursor: pointer; transition: all .2s; display: inline-flex; align-items: center; gap: .5rem; font-family: 'Outfit', sans-serif; }
.btn-outline:hover { border-color: rgba(255,255,255,.7); background: rgba(255,255,255,.08); color: white; }
.info-inline { background: rgba(30,95,168,.05); border-left: 3px solid var(--blue); padding: .75rem 1rem; border-radius: 0 8px 8px 0; font-size: .88rem; color: var(--blue); margin-top: .75rem; }
.warning-inline { background: #fffbeb; border-left: 3px solid #f59e0b; padding: .75rem 1rem; border-radius: 0 8px 8px 0; font-size: .88rem; color: #92400e; margin-top: .75rem; }

footer { background: var(--navy); padding: 3rem 2rem 1.5rem; margin-top: 4rem; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; margin-bottom: 2.5rem; }
.footer-brand .logo-text { color: var(--white); font-size: 1rem; font-weight: 700; margin-bottom: .5rem; display: flex; align-items: center; gap: .6rem; }
.footer-brand .logo-text img { width: 32px; height: 32px; object-fit: contain; border-radius: 4px; }
.footer-brand p { color: rgba(255,255,255,.45); font-size: .87rem; line-height: 1.7; }
.footer-col h4 { color: rgba(255,255,255,.4); font-size: .75rem; text-transform: uppercase; letter-spacing: .09em; font-weight: 700; margin-bottom: 1rem; }
.footer-col a, .footer-col span { display: block; color: rgba(255,255,255,.65); font-size: .87rem; margin-bottom: .5rem; text-decoration: none; cursor: pointer; transition: color .2s; }
.footer-col a:hover { color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 1.25rem; max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .75rem; }
.footer-bottom-left { font-size: .8rem; color: rgba(255,255,255,.3); }
.footer-admin-link { font-size: .78rem; color: rgba(255,255,255,.25); cursor: pointer; text-decoration: none; transition: color .2s; background: none; border: none; font-family: 'Outfit', sans-serif; }
.footer-admin-link:hover { color: rgba(255,255,255,.55); }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .section { padding: 3rem 1.25rem; }
  .section-title { font-size: 1.75rem; }
}