@import url(font.css);
@import url(scheme.css);
@import url(menu.css);
@import url(footer.css);
@import url(modal.css);

/* ---------- základ ---------- */

html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
    overflow-x: hidden;
    background: var(--black);
    color: var(--color-default);
    font-size: 17px;
    line-height: 1.65;
}
body.fixed { overflow: hidden; }
.no-scroll { overflow: hidden !important; }
* { box-sizing: border-box; }
img { max-width: 100%; }
a { color: var(--gold-light); text-decoration: none; }
a:hover { color: #F3DFAE; }
a > i, a, a > font, a *, button * { cursor: pointer; }
button, a, a *, button * { transition: .2s ease all; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 2px; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 40px; }
.sec { padding: 120px 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- typografie ---------- */

.kick { font-family: var(--caps); font-size: 13px; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.ga { display: block; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 22px; line-height: 1.1; color: var(--gold); letter-spacing: 0; }
.h1, .h2, .h3 { font-family: var(--serif); color: var(--cream); margin: 0; }
.h1 { font-weight: 600; font-size: 68px; line-height: 1.06; letter-spacing: -.01em; }
.h2 { font-weight: 600; font-size: 46px; line-height: 1.12; letter-spacing: -.01em; }
.h3 { font-weight: 600; font-size: 23px; line-height: 1.25; }
.ga + .h1, .ga + .h2 { margin-top: 8px; }
.h2 + .kick, .h1 + .kick { margin-top: 14px; }
.lead { font-size: 19px; max-width: 640px; }
.note { font-size: 14px; color: #8F9592; }
.muted { color: var(--muted); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- tlačítka ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 26px;
    border: 1px solid var(--gold);
    background: var(--gold);
    color: var(--black);
    font-family: var(--caps);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: .14em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
}
.btn:hover { background: var(--gold-light); color: var(--black); }
.btn.ghost { background: transparent; color: var(--gold-light); }
.btn.ghost:hover { background: rgba(201,164,92,.12); color: #F3DFAE; }
.btns { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }

.switch { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--gold); padding: 4px; gap: 4px; background: rgba(0,0,0,.35); }
.switch button {
    min-height: 48px;
    padding: 0 26px;
    border: 0;
    background: transparent;
    color: var(--gold-light);
    font-family: var(--caps);
    font-weight: 600;
    letter-spacing: .14em;
    font-size: 14px;
    text-transform: uppercase;
    cursor: pointer;
}
.switch button.on { background: var(--gold); color: var(--black); }

/* ---------- plochy ---------- */

.green {
    background-color: var(--green);
    background-image: var(--pattern), radial-gradient(ellipse at 20% 0%, rgba(201,164,92,.1), transparent 60%);
    background-size: 280px 280px, auto;
}
.chalk {
    background-color: var(--graphite);
    background-image: radial-gradient(rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 6px 6px;
}
.dark { background: var(--black); }

.light { background: var(--paper); color: #3B403D; }
.light .h2, .light .h3 { color: #141716; }
.light .kick, .light .ga { color: var(--gold-ink); }
.light .lead, .light p { color: #3B403D; }
.light .btn.ghost { color: var(--green-2); border-color: var(--green-2); }
.light .btn.ghost:hover { background: rgba(18,48,31,.08); color: var(--green-2); }

/* ---------- hero podstránek ---------- */

.phero { padding: 150px 0 96px; overflow: hidden; }
.phero .grid2 { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 72px; align-items: center; }
.phero .crumb { font-size: 14px; color: var(--muted); }
.phero .ga { margin-top: 28px; }
.phero .h1 { margin-top: 10px; font-size: 62px; }
.phero .lead { margin-top: 22px; }
.phero .pic { aspect-ratio: 4/3; overflow: hidden; border: 1px solid rgba(201,164,92,.5); box-shadow: 0 0 0 6px var(--green), 0 0 0 7px rgba(201,164,92,.25); }
.phero .pic img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- společné bloky ---------- */

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border: 1px solid var(--line); }
.split .im { min-height: 460px; overflow: hidden; }
.split .im img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split .tx { padding: 64px 56px; background: var(--panel); display: flex; flex-direction: column; justify-content: center; }
.split .tx > p { margin-top: 18px; }

.hours > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(201,164,92,.22); }
.hours > div.today { color: var(--cream); font-weight: 600; }
.hours > div.today span:first-child::after { content: " · dnes"; color: var(--gold); font-weight: 500; }

.gmap { min-height: 380px; border: 1px solid rgba(201,164,92,.45); overflow: hidden; background: #ECE8DF; }
.gmap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }

.icards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.icard { border: 1px solid rgba(201,164,92,.3); padding: 26px 24px; background: rgba(0,0,0,.22); }
.icard > i { color: var(--gold); font-size: 26px; }
.icard .h3 { margin-top: 12px; }
.icard p { margin-top: 8px; font-size: 15px; }

.occ { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 52px; }
.occ article { border: 1px solid rgba(201,164,92,.3); padding: 30px 28px; background: rgba(0,0,0,.2); }
.occ article > i { color: var(--gold); font-size: 28px; }
.occ .h3 { margin-top: 14px; }
.occ p { margin-top: 10px; font-size: 15px; color: #A9AEAB; }

.gal { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 220px; gap: 10px; margin-top: 48px; }
.gal > div { overflow: hidden; border: 1px solid var(--line); }
.gal img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gal .big { grid-column: span 2; grid-row: span 2; }
.gal .tall { grid-row: span 2; }

.date { border: 1px solid var(--gold); text-align: center; padding: 10px 0; font-family: var(--caps); color: var(--gold-light); }
.date b { display: block; font-size: 30px; line-height: 1; color: var(--cream); }
.date small { font-size: 12px; letter-spacing: .2em; }

.mrow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 28px; padding: 16px 0; border-bottom: 1px dashed #CFC6B2; }
.mrow b { font-family: var(--serif); font-size: 20px; font-weight: 600; color: #141716; line-height: 1.2; }
.mrow p { grid-column: 1; margin: 0; font-size: 15px; color: #555B57; }
.mrow .pr { grid-column: 2; grid-row: 1 / span 2; font-family: var(--caps); font-weight: 700; color: var(--green-2); font-size: 20px; white-space: nowrap; }

.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.empty { border: 1px dashed rgba(201,164,92,.45); padding: 36px 32px; text-align: center; margin-top: 40px; }
.empty .h3 { font-size: 22px; }
.empty p { margin-top: 8px; color: var(--muted); }

/* ---------- formuláře ---------- */

.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form .full { grid-column: 1 / -1; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: #A9AEAB; }
.form input, .form select, .form textarea {
    min-height: 48px;
    width: 100%;
    background: var(--black);
    border: 1px solid var(--line-2);
    color: var(--cream);
    padding: 10px 14px;
    font: inherit;
    font-size: 15px;
    color-scheme: dark;
}
.form textarea { min-height: 110px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--gold); }
.form label.check { flex-direction: row; align-items: flex-start; gap: 10px; font-size: 14px; }
.form label.check input { min-height: 0; width: 20px; height: 20px; flex: none; margin-top: 1px; accent-color: var(--gold); }
.form .hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form.boxed, .form.qform { border: 1px solid rgba(201,164,92,.35); padding: 32px; background: rgba(0,0,0,.28); }

/* ---------- responzivita ---------- */

@media screen and (max-width: 900px) {
    .wrap { padding: 0 20px; }
    .sec { padding: 80px 0; }
    .h1 { font-size: 42px; }
    .h2 { font-size: 34px; }
    .phero { padding: 110px 0 64px; }
    .phero .h1 { font-size: 42px; }
    .phero .grid2, .split, .icards, .occ { grid-template-columns: minmax(0, 1fr); }
    .split .im { min-height: 280px; }
    .split .tx { padding: 40px 24px; }
    .gal { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 160px; }
    .form { grid-template-columns: minmax(0, 1fr); }
    .form.boxed, .form.qform { padding: 24px 20px; }
}

/* ---------- doplňky ---------- */
[hidden] { display: none !important; }

.white { background: #FFFFFF; color: #3B403D; }
.white .h2, .white .h3 { color: #141716; }
.white .kick, .white .ga { color: var(--gold-ink); }
.white p { color: #3B403D; }
.white a:not(.btn) { color: var(--green-2); }
.white a:not(.btn):hover { color: var(--gold-ink); }
.white .btn.ghost { color: var(--green-2); border-color: var(--green-2); }
.white .btn.ghost:hover { background: rgba(18,48,31,.08); color: var(--green-2); }

/* formulář na bílém podkladu */
.white .form.qform, .white .form.boxed { background: #FFFFFF; border: 1px solid #DAD5C9; box-shadow: 0 18px 40px rgba(20,23,22,.08); }
.white .form label { color: #4A4F4C; }
.white .form input, .white .form select, .white .form textarea { background: #F7F6F2; border-color: #CFC9BC; color: #141716; color-scheme: light; }
.white .form input::placeholder, .white .form textarea::placeholder { color: #8E928F; }
.white .form input:focus, .white .form select:focus, .white .form textarea:focus { border-color: var(--gold-ink); background: #FFFFFF; }
.white .form label.check { color: #4A4F4C; }
.white .form-msg.ok { color: var(--green-2); border-color: rgba(18,48,31,.35); background: rgba(18,48,31,.06); }
.white .form-msg.err { color: #A8402C; }
.white .form label.check.invalid { color: #A8402C; }

/* zelený box s ornamenty (otevírací doba) */
.hours-box { padding: 26px 30px 18px; border: 1px solid rgba(201,164,92,.45); color: #D8D4C8; box-shadow: 0 18px 40px rgba(15,42,29,.18); }
.hours-box .kick { color: var(--gold) !important; margin-bottom: 6px; }
.hours-box .hours > div { border-bottom-color: rgba(201,164,92,.22); }
.hours-box .hours > div:last-child { border-bottom: 0; }
.hours-box .hours > div.today { color: var(--cream); }

/* ---------- lightbox galerií ---------- */
.gal img, .mason img { cursor: zoom-in; }
.lb { position: fixed !important; inset: 0; z-index: 200; background: rgba(6,7,6,.94); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .2s ease; }
.lb.open { opacity: 1; pointer-events: auto; }
.lb figure { margin: 0; max-width: calc(100vw - 180px); max-height: calc(100vh - 120px); display: flex; flex-direction: column; align-items: center; }
.lb img { max-width: 100%; max-height: calc(100vh - 150px); object-fit: contain; border: 1px solid rgba(201,164,92,.45); box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lb figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); text-align: center; }
.lb button { position: absolute !important; width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--gold); background: rgba(0,0,0,.45); color: var(--gold-light); font-size: 20px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.lb button:hover { background: rgba(201,164,92,.18); }
.lb button i { cursor: pointer; }
.lb .lb-close { top: 24px; right: 24px; }
.lb .lb-prev { left: 32px; top: 50%; transform: translateY(-50%); }
.lb .lb-next { right: 32px; top: 50%; transform: translateY(-50%); }
.lb .lb-count { position: absolute !important; top: 34px; left: 32px; font-family: var(--caps); letter-spacing: .2em; font-size: 13px; color: var(--gold); }
@media screen and (max-width: 700px) {
    .lb figure { max-width: calc(100vw - 24px); }
    .lb .lb-prev, .lb .lb-next { top: auto; bottom: 24px; transform: none; }
    .lb .lb-prev { left: calc(50% - 72px); }
    .lb .lb-next { right: calc(50% - 72px); }
    .lb img { max-height: calc(100vh - 200px); }
}

/* ---------- hero podstránek přes celou šířku ---------- */
.sub-hero { min-height: 640px; display: flex; align-items: flex-end; overflow: hidden; background: var(--black); }
.sub-hero > .hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sub-hero .shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,11,10,.72) 0%, rgba(10,11,10,.25) 55%, rgba(10,11,10,.1) 100%), linear-gradient(180deg, rgba(12,34,25,.25) 0%, rgba(10,11,10,.35) 50%, rgba(10,11,10,.96) 100%); }
.sub-hero .frame { position: absolute; inset: 28px; border: 1px solid rgba(201,164,92,.45); pointer-events: none; }
.sub-hero .hero-in { width: 100%; padding-top: 170px; padding-bottom: 72px; }
.sub-hero .crumb { font-size: 14px; color: #C9CCCA; }
.sub-hero .ga { margin-top: 22px; }
.sub-hero .h1 { margin-top: 10px; font-size: 64px; max-width: 860px; text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.sub-hero .lead { margin-top: 22px; color: #DAD6CC; }
@media screen and (max-width: 900px) {
    .sub-hero { min-height: 560px; }
    .sub-hero .hero-in { padding-top: 130px; padding-bottom: 56px; }
    .sub-hero .h1 { font-size: 40px; }
    .sub-hero .frame { inset: 14px; }
}

/* ---------- světlá krémová sekce ---------- */
.cream { background: #F5F1E8; color: #3B403D; }
.cream .h2, .cream .h3 { color: #141716; }
.cream .kick, .cream .ga { color: var(--gold-ink); }
.cream p { color: #3B403D; }
.cream .note { color: #6B706C; }
.cream a:not(.btn) { color: var(--green-2); }
.cream .btn.ghost { color: var(--green-2); border-color: var(--green-2); }
.cream .btn.ghost:hover { background: rgba(18,48,31,.08); color: var(--green-2); }

/* ---------- telefon: menší písmo a odsazení ---------- */
@media screen and (max-width: 700px) {
    body { font-size: 16px; }
    .sec { padding: 60px 0; }
    .h1 { font-size: 36px; }
    .h2 { font-size: 30px; }
    .h3 { font-size: 20px; }
    .ga { font-size: 19px; }
    .lead { font-size: 16px; }
    .kick { font-size: 11px; letter-spacing: .24em; }
    .btn { min-height: 46px; padding: 0 20px; font-size: 13px; }
    .btns { margin-top: 24px; gap: 10px; }
    .phero .h1, .sub-hero .h1 { font-size: 34px; }
    .sub-hero { min-height: 480px; }
    .sub-hero .frame { inset: 10px; }
    .sub-hero .hero-in { padding: 120px 30px 48px; }
    .phero { padding: 100px 0 48px; }
    .split .im { min-height: 220px; }
    .split .tx { padding: 32px 22px; }
    .icard { padding: 20px 18px; }
    .gal { grid-auto-rows: 130px; gap: 6px; margin-top: 28px; }
    .occ { margin-top: 32px; gap: 14px; }
    .occ article { padding: 22px 20px; }
    .empty { padding: 26px 20px; }
}

/* pole formulářů nesmí přetéct (iOS date/time mají vlastní minimální šířku) */
.form label { min-width: 0; }
.form input, .form select, .form textarea { min-width: 0; max-width: 100%; display: block; }
.form input[type="date"], .form input[type="time"] { -webkit-appearance: none; appearance: none; width: 100%; line-height: 1.2; text-align: left; }
.form input[type="date"]::-webkit-date-and-time-value, .form input[type="time"]::-webkit-date-and-time-value { text-align: left; margin: 0; }
.form input[type="date"]::-webkit-calendar-picker-indicator, .form input[type="time"]::-webkit-calendar-picker-indicator { opacity: .7; }
.form { min-width: 0; max-width: 100%; }
.contact > div, .contact-side { min-width: 0; }

/* ---------- animace při scrollu ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* videa bez nativního ovládání (iOS v úsporném režimu ukazuje tlačítko přehrát) */
video[data-fado-video]::-webkit-media-controls,
video[data-fado-video]::-webkit-media-controls-start-playback-button,
video[data-fado-video]::-webkit-media-controls-overlay-play-button,
video[data-fado-video]::-webkit-media-controls-panel { display: none !important; -webkit-appearance: none; opacity: 0; }
video[data-fado-video] { pointer-events: none; }

/* ---------- notebooky (1366×768, 1440×900, 1536×864 …): celý web o 15 % menší ---------- */
@media screen and (min-width: 1101px) and (max-width: 1599px) {
    body { zoom: .85; width: auto; min-height: 0; }
}

/* mimořádná otevírací doba (z administrace) */
.hours-exc { margin-top: 14px; padding: 12px 14px; border: 1px solid rgba(201,164,92,.45); background: rgba(201,164,92,.08); }
.hours-exc b { display: block; margin-bottom: 6px; color: var(--gold-light); font-family: var(--caps); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.hours-exc > div { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; font-size: 14px; }
.white .hours-exc b, .cream .hours-exc b, .light .hours-exc b { color: var(--gold-ink); }
