/* ============================================================
   Divadelní soubor Rynárec — frontend stylů
   Mobile-first, sticky header, jemné animace.
   ============================================================ */

:root {
    --barva-vinova:    #6c1c2c;
    --barva-vinova-tm: #4d121f;
    --barva-cervena:   #b3273a;
    --barva-zlata:     #c9a55a;
    --barva-krem:      #f7f1e6;
    --barva-krem-tm:   #ede2c9;
    --barva-text:      #1f1a18;
    --barva-text-muted:#766f68;
    --barva-bg:        #fbf7ef;
    --barva-card:      #ffffff;
    --barva-border:    #e2d8c1;
    --radius:          14px;
    --shadow-sm:       0 1px 2px rgba(0,0,0,.06);
    --shadow-md:       0 8px 24px rgba(76, 27, 39, .12);
    --shadow-lg:       0 20px 50px rgba(76, 27, 39, .25);
    --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    --font-sans:  -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-sans);
    color: var(--barva-text);
    background: var(--barva-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--barva-vinova); text-decoration: none; transition: color .15s; }
a:hover { color: var(--barva-cervena); text-decoration: underline; }

h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 600;
    color: var(--barva-vinova-tm);
    line-height: 1.2;
    margin: 0 0 .6em;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }
.muted   { color: var(--barva-text-muted); }
.lead    { font-size: 1.1rem; color: #2d2622; }
.small   { font-size: .9rem; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }
.container--narrow { max-width: 800px; }

.skip-link {
    position: absolute; left: -9999px; top: 0;
    background: #000; color: #fff; padding: .5rem 1rem; z-index: 9999;
}
.skip-link:focus { left: 0; }
.visually-hidden {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------- Header / hlavní menu ---------- */
.site-header {
    position: sticky; top: 0; z-index: 200;
    background: rgba(247, 241, 230, 0.92);
    backdrop-filter: saturate(140%) blur(8px);
    border-bottom: 1px solid var(--barva-border);
    transition: box-shadow .2s;
}
.site-header.is-scrolled { box-shadow: var(--shadow-md); }
.site-header__inner {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    min-height: 72px; padding-top: .5rem; padding-bottom: .5rem;
}
.brand { display: inline-flex; align-items: center; color: var(--barva-vinova-tm); }
.brand:hover { text-decoration: none; }
.brand__logo {
    display: block;
    height: 44px;
    width: auto;
    max-width: 280px;
    transition: transform .2s ease;
}
.brand:hover .brand__logo { transform: scale(1.02); }
@media (max-width: 600px) {
    .brand__logo { height: 34px; max-width: 200px; }
}

.hlavni-menu ul {
    display: flex; gap: .25rem; list-style: none; padding: 0; margin: 0;
}
.hlavni-menu a {
    display: block; padding: .5rem .9rem;
    color: var(--barva-text); border-radius: 8px; font-weight: 500;
    text-decoration: none;
}
.hlavni-menu a:hover, .hlavni-menu a.active {
    background: var(--barva-vinova); color: #fff; text-decoration: none;
}

.menu-toggle {
    display: none; background: transparent; border: 0; cursor: pointer;
    width: 44px; height: 44px; padding: 8px;
}
.menu-toggle span {
    display: block; height: 2px; background: var(--barva-vinova-tm);
    margin: 5px 0; transition: .25s;
}
@media (max-width: 880px) {
    .menu-toggle { display: block; }
    .hlavni-menu {
        position: absolute; top: 100%; left: 0; right: 0;
        background: var(--barva-bg); border-bottom: 1px solid var(--barva-border);
        max-height: 0; overflow: hidden; transition: max-height .3s;
    }
    .hlavni-menu.is-open { max-height: 70vh; }
    .hlavni-menu ul { flex-direction: column; padding: .5rem 1rem 1rem; }
    .hlavni-menu a { padding: .75rem 1rem; }
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--barva-vinova-tm) 0%, var(--barva-vinova) 50%, var(--barva-cervena) 100%);
    color: #fff;
    /* Více prostoru dolů, ať je víc vidět fotka pod textem */
    padding: clamp(3rem, 8vw, 6rem) 0 clamp(8rem, 18vw, 14rem);
    min-height: 70vh;
}
.hero::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background:
      radial-gradient(circle at 20% 20%, rgba(201,165,90,.18) 0, transparent 40%),
      radial-gradient(circle at 80% 80%, rgba(0,0,0,.25) 0, transparent 50%);
}
.hero__inner { position: relative; z-index: 1; }
.hero__eyebrow {
    display: inline-block; padding: .25rem .6rem; border: 1px solid rgba(255,255,255,.4);
    border-radius: 999px; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase;
    color: var(--barva-zlata); margin-bottom: 1rem;
}
.hero__title {
    color: #fff; font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: .25em;
}
.hero__author { font-style: italic; font-size: 1.15rem; color: var(--barva-zlata); margin-bottom: 1rem; }
.hero__lead { max-width: 60ch; font-size: 1.15rem; }
.hero__claims {
    margin: 1.5rem 0 2rem;
    min-height: 2.4em;
    font-family: var(--font-serif);
    font-style: italic; font-size: 1.3rem;
    color: rgba(255,255,255,.92);
}
.hero__claim { display: none; }
.hero__claim.is-active { display: inline; animation: fadeIn .6s ease both; }
.hero__cta { display: flex; gap: .75rem; flex-wrap: wrap; }

/* ---------- Tlačítka ---------- */
.btn {
    display: inline-block; padding: .8rem 1.4rem;
    border-radius: 999px; font-weight: 600;
    border: 2px solid transparent; cursor: pointer; text-decoration: none;
    transition: transform .15s, background .15s, color .15s, box-shadow .15s;
    font-size: 1rem;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn--primary { background: var(--barva-zlata); color: var(--barva-vinova-tm); }
.btn--primary:hover { background: #d6b46c; color: var(--barva-vinova-tm); }
.btn--ghost   { background: transparent; color: inherit; border-color: currentColor; }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--danger  { background: #b53d3d; color: #fff; }
.btn--sm      { padding: .35rem .8rem; font-size: .85rem; }

/* ---------- Sekce ---------- */
.site-main { display: block; }
.section { padding: clamp(2rem, 6vw, 5rem) 0; }
.page-hero + .section { padding-top: clamp(1rem, 2vw, 1.75rem); }
.section--intro      { background: var(--barva-bg); }
.section--novinky    { background: var(--barva-krem); }
.section--galerie    { background: var(--barva-bg); }

.section-head {
    display: flex; justify-content: space-between; align-items: end; gap: 1rem;
    margin-bottom: 2rem; flex-wrap: wrap;
}
.section-head h1, .section-head h2 { margin: 0; }
.link { color: var(--barva-vinova); font-weight: 600; }

.two-col {
    display: grid; gap: 2.5rem;
    grid-template-columns: 1fr;
}
@media (min-width: 800px) {
    .two-col { grid-template-columns: 1.1fr 1fr; }
}

/* ---------- Karty ---------- */
.cards {
    display: grid; gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.card {
    background: var(--barva-card);
    border: 1px solid var(--barva-border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform .2s, box-shadow .2s;
    display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card__media img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.card__body { padding: 1.25rem; flex: 1; }
.card__date { font-size: .85rem; color: var(--barva-text-muted); text-transform: uppercase; letter-spacing: .08em; }
.card__title { font-size: 1.2rem; margin: .25em 0 .5em; }
.card__title a { color: inherit; }
.card__title a:hover { color: var(--barva-vinova); text-decoration: none; }
.card__perex { color: #3b3530; }

/* ---------- Termíny ---------- */
.termin-list { list-style: none; padding: 0; margin: 0; }
.termin-list li {
    padding: .85rem 0;
    border-bottom: 1px dashed var(--barva-border);
    display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: baseline;
}
.termin-list li:last-child { border-bottom: 0; }
.badge {
    display: inline-block; padding: .15rem .55rem;
    background: var(--barva-zlata); color: var(--barva-vinova-tm);
    border-radius: 999px; font-size: .75rem; font-weight: 700; letter-spacing: .04em;
    text-transform: uppercase;
}
.badge--accent { background: var(--barva-cervena); color: #fff; }

/* ---------- Představení (seznam) ---------- */
.rok-heading {
    margin: 2.5rem 0 1rem;
    border-bottom: 2px solid var(--barva-zlata);
    padding-bottom: .25em;
    color: var(--barva-vinova-tm);
}
.rok-heading--phase {
    font-size: clamp(1.6rem, 3.4vw, 2.2rem);
    margin-top: 3rem;
    border-bottom-width: 3px;
    letter-spacing: .01em;
}
.rok-heading--phase:first-of-type { margin-top: 0; }

/* ---------- Termíny (seznam) ---------- */
.terminy-list {
    list-style: none;
    padding: 0;
    margin: .5rem 0 1.25rem;
    display: grid;
    gap: .35rem;
}
.terminy-list li {
    position: relative;
    padding: .55rem .85rem .55rem 1.7rem;
    background: rgba(201, 165, 90, .08);
    border-left: 3px solid var(--barva-zlata);
    border-radius: 0 var(--radius-sm, 4px) var(--radius-sm, 4px) 0;
    color: var(--barva-vinova-tm);
    font-weight: 600;
}
.terminy-list li::before {
    content: "🎭";
    position: absolute;
    left: .55rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: .9em;
    opacity: .7;
}

.predstaveni-list {
    list-style: none; padding: 0; margin: 0;
    display: grid; gap: 1.25rem;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* ---------- Představení — jednotná dlaždice (image + info, klik = detail) ---------- */
.predstaveni-tile-list {
    list-style: none; padding: 0; margin: 0;
    display: grid; gap: 1.25rem;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
}
.predstaveni-tile {
    --tile-img-w: 130px;
    --tile-h: 180px;
    animation: slideUp .5s ease both;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--barva-card);
    border: 1px solid var(--barva-border);
    box-shadow: 0 1px 2px rgba(76, 27, 39, .04), 0 4px 12px rgba(76, 27, 39, .06);
    transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease;
    height: var(--tile-h);
}
.predstaveni-tile:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(76, 27, 39, .08), 0 14px 30px rgba(76, 27, 39, .14);
    border-color: var(--barva-zlata);
}
.predstaveni-tile.is-current {
    border-color: var(--barva-cervena);
    box-shadow: 0 0 0 1px var(--barva-cervena), 0 4px 12px rgba(76, 27, 39, .12);
}
.predstaveni-tile__link {
    display: grid;
    grid-template-columns: var(--tile-img-w) 1fr;
    gap: 0;
    color: inherit;
    text-decoration: none;
    height: 100%;
}
.predstaveni-tile__link:hover { text-decoration: none; color: inherit; }
.predstaveni-tile__media {
    /* Pevný rozměr kontejneru — stejný u všech dlaždic, nikdy nezasahuje do textu */
    display: block;
    width: var(--tile-img-w);
    height: 100%;
    overflow: hidden;
    background: var(--barva-krem-tm);
    border-right: 1px solid var(--barva-border);
    flex-shrink: 0;
}
.predstaveni-tile__media img {
    width: 100%; height: 100%; object-fit: cover;
    display: block;
    transition: transform .45s ease;
}
.predstaveni-tile:hover .predstaveni-tile__media img { transform: scale(1.05); }
.predstaveni-tile__media--placeholder {
    display: flex; align-items: center; justify-content: center;
    font-size: 2.5rem; color: var(--barva-vinova);
}
.predstaveni-tile__body {
    display: flex; flex-direction: column; gap: .25rem;
    padding: .8rem 1rem;
    min-width: 0;
    overflow: hidden;
}
.predstaveni-tile__head {
    display: flex; justify-content: space-between; align-items: baseline; gap: .5rem;
    flex-wrap: wrap;
}
.predstaveni-tile__title {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--barva-vinova-tm);
    line-height: 1.2;
}
.predstaveni-tile:hover .predstaveni-tile__title { color: var(--barva-vinova); }
.predstaveni-tile__year {
    display: inline-block;
    font-size: .8rem;
    color: var(--barva-text-muted);
    letter-spacing: .05em;
}
.predstaveni-tile__author {
    display: block;
    font-style: italic; font-size: .85rem;
    color: var(--barva-text-muted);
    line-height: 1.3;
}
.predstaveni-tile__perex {
    font-size: .85rem;
    color: var(--barva-text);
    margin-top: .15rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.predstaveni-tile__body .badge {
    align-self: flex-start;
    margin-top: auto;
}

@media (max-width: 480px) {
    .predstaveni-tile { --tile-img-w: 100px; --tile-h: 150px; }
    .predstaveni-tile__title { font-size: 1rem; }
}
.predstaveni-card {
    display: flex; flex-direction: column;
    background: var(--barva-card);
    border: 1px solid var(--barva-border);
    border-radius: var(--radius);
    transition: transform .2s, box-shadow .2s, border-color .2s;
    color: inherit;
    height: 100%;
    overflow: hidden;
    position: relative;
}
.predstaveni-card:hover {
    transform: translateY(-3px); border-color: var(--barva-zlata);
    box-shadow: var(--shadow-md); text-decoration: none;
}
.predstaveni-card__media {
    display: block;
    width: 100%; aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--barva-krem-tm);
}
.predstaveni-card__media img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .35s;
}
.predstaveni-card:hover .predstaveni-card__media img { transform: scale(1.04); }
.predstaveni-card__media--placeholder {
    display: flex; align-items: center; justify-content: center;
    font-size: 3rem; color: var(--barva-vinova);
}
.predstaveni-card__body { display: block; padding: 1rem 1.25rem 1.25rem; }
.predstaveni-card__title { color: var(--barva-vinova-tm); margin: 0 0 .25em; }
.predstaveni-card__author { font-style: italic; color: var(--barva-text-muted); margin: 0 0 .75em; }
.predstaveni-card__perex  { font-size: .95rem; }
.predstaveni-list__item.is-current .predstaveni-card { border-color: var(--barva-cervena); }
.predstaveni-card .badge { position: absolute; top: 1rem; right: 1rem; z-index: 1; }

/* ---------- Detail představení ---------- */
.predstaveni-detail__head { margin-bottom: 1.5rem; }
.predstaveni-detail__plakat img {
    width: 100%; max-height: 540px; object-fit: cover; border-radius: var(--radius);
    margin-bottom: 1.5rem; box-shadow: var(--shadow-md);
}
.obsazeni-tabulka {
    width: 100%; border-collapse: collapse;
    background: var(--barva-card); border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow-sm); margin: 1rem 0 2rem;
}
.obsazeni-tabulka th, .obsazeni-tabulka td { padding: .75rem 1rem; text-align: left; vertical-align: top; }
.obsazeni-tabulka th { background: var(--barva-krem); width: 40%; color: var(--barva-vinova-tm); }
.obsazeni-tabulka tr + tr td, .obsazeni-tabulka tr + tr th { border-top: 1px solid var(--barva-border); }

/* ---------- Galerie / mřížka ---------- */
.grid-thumbs {
    display: grid; gap: 1rem;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}
.grid-thumbs--lg { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.thumb {
    display: block;
    aspect-ratio: 4/3;
    position: relative; overflow: hidden;
    border-radius: var(--radius);
    background: var(--barva-krem-tm);
    box-shadow: var(--shadow-sm);
    transition: transform .25s, box-shadow .25s;
}
.thumb:hover { transform: scale(1.02); box-shadow: var(--shadow-md); text-decoration: none; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb__placeholder {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 2.5rem; color: var(--barva-vinova);
}
.thumb__caption {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: .55rem .75rem;
    background: linear-gradient(transparent, rgba(0,0,0,.65));
    color: #fff; font-size: .9rem; font-weight: 500;
    display: flex; flex-direction: column; gap: .15rem;
}
.thumb__caption small { opacity: .8; }
.thumb__caption--small { font-size: .8rem; padding: .35rem .55rem; }
.thumb__meta {
    display: inline-flex; gap: .75rem; flex-wrap: wrap;
    font-size: .8rem; font-weight: 400; opacity: .92;
}
.thumb__meta-item { display: inline-flex; align-items: center; gap: .25rem; }

/* ---------- Rich text ---------- */
.rich p, .rich li { font-size: 1.05rem; }
.rich blockquote {
    margin: 1.5rem 0; padding: 1rem 1.25rem;
    border-left: 4px solid var(--barva-zlata);
    background: var(--barva-krem); font-style: italic;
}

/* ---------- Kontakt ---------- */
.kontakt-layout {
    display: grid; gap: 1.5rem;
    grid-template-columns: 1fr;
    margin-top: 1.5rem;
    align-items: start;
}
@media (min-width: 800px) {
    .kontakt-layout {
        grid-template-columns: minmax(280px, 1fr) 1.6fr;
        gap: 2rem;
    }
}
.kontakt-info { display: flex; flex-direction: column; gap: 1.25rem; }
.kontakt-card,
.kontakt-form-wrap {
    background: var(--barva-card); border: 1px solid var(--barva-border);
    border-radius: var(--radius); padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}
.kontakt-card h2,
.kontakt-form-wrap h2 { margin-top: 0; }

/* ---------- Forms ---------- */
.form { display: block; }
.form-row { margin-bottom: 1rem; display: block; }
.form-row label { display: block; margin-bottom: .35rem; font-weight: 600; color: var(--barva-vinova-tm); }
.form-row--inline { display: flex; gap: 1rem; flex-wrap: wrap; }
.form-row--inline label { display: inline-flex; gap: .5rem; align-items: center; font-weight: 500; }
.form input[type="text"],
.form input[type="email"],
.form input[type="url"],
.form input[type="tel"],
.form input[type="number"],
.form input[type="password"],
.form input[type="date"],
.form input[type="time"],
.form input[type="datetime-local"],
.form input[type="file"],
.form select,
.form textarea {
    width: 100%; padding: .65rem .85rem;
    border: 1px solid var(--barva-border); border-radius: 8px;
    background: #fff; font: inherit; color: inherit;
}
.form textarea { min-height: 120px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus {
    outline: none; border-color: var(--barva-vinova);
    box-shadow: 0 0 0 3px rgba(108, 28, 44, .15);
}
.form .hp { position: absolute; left: -10000px; }

/* ---------- Kniha návštěv ---------- */
.kniha-list { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: 1rem; }
.kniha-item {
    background: var(--barva-card); border: 1px solid var(--barva-border);
    border-radius: var(--radius); padding: 1rem 1.25rem; box-shadow: var(--shadow-sm);
}
.kniha-item header {
    display: flex; gap: 1rem; flex-wrap: wrap; align-items: baseline;
    margin-bottom: .5rem;
}
.kniha-item header time { margin-left: auto; }
.kniha-item .row-actions { margin-top: .5rem; display: flex; gap: .5rem; }
.kniha-item__attribution {
    margin: 0 0 .35rem;
    font-size: .85rem;
    color: var(--barva-text-muted);
}
.kniha-item__attribution a { color: inherit; text-decoration: none; }
.kniha-item__attribution a:hover { color: var(--barva-vinova); }
.kniha-item__attribution strong { color: var(--barva-vinova); }

.kniha-form-wrap {
    margin-top: 2.5rem;
    padding: 1.5rem; border: 1px solid var(--barva-border);
    border-radius: var(--radius); background: var(--barva-card);
    box-shadow: var(--shadow-sm);
    display: none;
}
.kniha-form-wrap.is-open { display: block; animation: slideUp .3s ease both; }
.kniha-form-wrap h2 { margin-top: 0; }

/* Inline reply: formulář přesunutý pod konkrétní vzkaz */
.kniha-form-wrap--inline {
    margin: 0 0 1.25rem clamp(1rem, 5vw, 2.5rem);
    border: 1px solid var(--barva-zlata);
    border-left: 4px solid var(--barva-vinova);
    background: #fff;
}

/* Vlákna odpovědí pod kořenovým příspěvkem */
.kniha-replies {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 clamp(1rem, 5vw, 2.5rem);
    display: grid; gap: .75rem;
    border-left: 3px solid var(--barva-zlata);
    padding-left: clamp(.75rem, 2vw, 1.25rem);
}
.kniha-replies .kniha-item { margin: 0; }

/* Odpovědi obecně */
.kniha-item--odpoved {
    background: #fbf4e3;
    border-color: #e3d3a8;
    border-left: 4px solid var(--barva-zlata);
    position: relative;
}
/* Odpověď souboru — vínový akcent + gradient */
.kniha-item--soubor {
    background: linear-gradient(180deg, #f6ecd9 0%, #f0e2c4 100%);
    border-left-color: var(--barva-vinova);
}
.kniha-item--soubor::before {
    content: "";
    position: absolute;
    left: -clamp(.75rem, 2vw, 1.25rem); top: 1.1rem;
    width: 12px; height: 2px;
    background: var(--barva-vinova);
}
.kniha-item__badge {
    display: inline-block;
    padding: .1rem .55rem;
    background: var(--barva-vinova);
    color: #fff;
    border-radius: 999px;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-right: .5rem;
}

/* Velký citát na úvodní stránce */
.section--citat {
    background: var(--barva-krem);
    padding: clamp(2rem, 5vw, 4rem) 0;
}
.big-quote {
    margin: 0;
    text-align: center;
    border: 0;
    padding: 0;
    background: transparent;
    font-style: normal;
}
.big-quote p {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(1.4rem, 2.5vw, 2.1rem);
    line-height: 1.4;
    color: var(--barva-vinova-tm);
    margin: 0 0 .75em;
    position: relative;
}
.big-quote p::before, .big-quote p::after {
    content: "";
}
.big-quote footer {
    color: var(--barva-text-muted);
    font-size: 1rem;
    letter-spacing: .04em;
}

/* ---------- Alerty ---------- */
.alert {
    padding: .9rem 1.1rem; border-radius: 10px;
    margin: 1rem 0; border: 1px solid; font-weight: 500;
}
.alert--success { background: #eaf6ec; border-color: #b7d6bb; color: #2a5b32; }
.alert--error   { background: #fbeaea; border-color: #e3b6b6; color: #722121; }

/* ---------- Footer ---------- */
.site-footer {
    background: var(--barva-vinova-tm); color: #f3e6c7; padding: 3rem 0 1rem; margin-top: 4rem;
}
.site-footer h3 { color: var(--barva-zlata); font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; }
.site-footer a { color: #f3e6c7; }
.site-footer a:hover { color: var(--barva-zlata); text-decoration: none; }
.site-footer__inner {
    display: grid; gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    margin-bottom: 2rem;
}
.site-footer ul.reset { list-style: none; padding: 0; margin: 0; }
.site-footer ul.reset li { padding: .15rem 0; }
.site-footer__bottom {
    border-top: 1px solid rgba(255,255,255,.15);
    display: flex; justify-content: space-between; align-items: flex-end;
    padding-top: 1rem; gap: 1rem; flex-wrap: wrap;
    font-size: .85rem; opacity: .85;
}
.site-footer__credit {
    font-size: .78rem;
    opacity: .75;
}

/* ---------- Lightbox ---------- */
.lb-backdrop {
    position: fixed; inset: 0; background: rgba(0,0,0,.92);
    display: flex; align-items: center; justify-content: center; padding: 2rem;
    z-index: 1000; opacity: 0; pointer-events: none; transition: opacity .25s;
}
.lb-backdrop.is-open { opacity: 1; pointer-events: auto; }
.lb-img {
    max-width: 95vw; max-height: 90vh; box-shadow: var(--shadow-lg);
    border-radius: 8px;
}
.lb-close, .lb-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(255,255,255,.1); border: 0; color: #fff;
    font-size: 2rem; width: 48px; height: 48px; border-radius: 50%;
    cursor: pointer;
}
.lb-close { top: 1.5rem; right: 1.5rem; transform: none; }
.lb-prev  { left: 1.5rem; }
.lb-next  { right: 1.5rem; }

/* ---------- Lajk tlačítko + zhlédnutí (fotky) ---------- */
.thumb-wrap { position: relative; }

.zhled-badge {
    position: absolute;
    left: .55rem;
    top: .55rem;
    display: inline-flex; align-items: center; gap: .3rem;
    padding: .25rem .55rem;
    background: rgba(0, 0, 0, .55);
    color: #fff;
    border-radius: 999px;
    font: 600 .8rem/1 system-ui, sans-serif;
    pointer-events: none;
    box-shadow: 0 2px 5px rgba(0,0,0,.2);
}
.zhled-badge__icon { font-size: .9rem; line-height: 1; }

.lajk-btn {
    position: absolute;
    right: .55rem;
    bottom: .55rem;
    display: inline-flex; align-items: center; gap: .35rem;
    padding: .35rem .65rem;
    background: rgba(255, 255, 255, .92);
    color: var(--barva-vinova);
    border: 1px solid rgba(108, 28, 44, .15);
    border-radius: 999px;
    font: 600 .85rem/1 system-ui, sans-serif;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,.18);
    transition: transform .15s ease, background .2s, color .2s, box-shadow .2s;
    user-select: none;
}
.lajk-btn:hover  { background: #fff; transform: translateY(-1px); }
.lajk-btn:active { transform: translateY(0) scale(.96); }
.lajk-btn__heart { font-size: 1rem; line-height: 1; transition: transform .25s; }
.lajk-btn.is-active {
    background: var(--barva-vinova);
    color: #fff;
    border-color: var(--barva-vinova);
}
.lajk-btn[disabled] { cursor: default; }
.lajk-btn__heart.lajk-puls { animation: lajkPuls .4s ease; }

@keyframes lajkPuls {
    0%   { transform: scale(1); }
    40%  { transform: scale(1.4); }
    100% { transform: scale(1); }
}

/* lajk uvnitř lightboxu */
.lb-lajk {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex; align-items: center; gap: .4rem;
    padding: .55rem 1rem;
    background: rgba(255,255,255,.92);
    color: var(--barva-vinova);
    border: 0; border-radius: 999px;
    font: 600 .95rem/1 system-ui, sans-serif;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,.35);
    transition: transform .15s, background .2s, color .2s;
}
.lb-lajk:hover  { background: #fff; }
.lb-lajk:active { transform: translateX(-50%) scale(.96); }
.lb-lajk.is-active {
    background: var(--barva-vinova);
    color: #fff;
}

/* popis fotky v lightboxu */
.lb-caption {
    position: absolute;
    bottom: 5.4rem;
    left: 50%;
    transform: translateX(-50%);
    max-width: min(80vw, 720px);
    padding: .55rem 1rem;
    background: rgba(0,0,0,.7);
    color: #fff;
    border-radius: 8px;
    font-size: 1rem;
    text-align: center;
    line-height: 1.35;
}

/* zhlédnutí v lightboxu */
.lb-zhled {
    position: absolute;
    bottom: 1.7rem;
    left: 1.5rem;
    background: rgba(0,0,0,.55);
    padding: .45rem .85rem;
    font-size: .9rem;
}

@keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

.hero { animation: fadeIn .6s ease both; }
.section { animation: fadeIn .55s ease both; }
.card, .predstaveni-card, .thumb { animation: slideUp .5s ease both; }

/* ============================================================
   Vizuální vylepšení — gradients, parallax, glass, reveal
   ============================================================ */

/* ----- Hero s pozadím + parallax ----- */
.hero {
    background: linear-gradient(135deg, var(--barva-vinova-tm) 0%, var(--barva-vinova) 50%, var(--barva-cervena) 100%);
    isolation: isolate;
}
.hero--photo { background: #1a0a10; }
.hero__bg {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center 15%; /* mírně pod horním okrajem, aby hlavy měly vzduch */
    will-change: transform;
    z-index: 0;
    filter: saturate(110%) contrast(105%);
    opacity: 0;
    transition: opacity 1.4s ease-in-out;
}
.hero__bg.is-active { opacity: 1; }
.hero--photo .hero__bg::after {
    content: ''; position: absolute; inset: 0;
    /* Tmavnutí jen v horní části (kde je text), spodek fotky necháme světlý */
    background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.15) 50%, rgba(0,0,0,0) 100%);
}
.hero__overlay {
    position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background:
        radial-gradient(circle at 20% 25%, rgba(201,165,90,.18) 0, transparent 45%),
        radial-gradient(circle at 80% 25%, rgba(108,28,44,.45) 0, transparent 55%),
        linear-gradient(180deg, rgba(76,18,31,.55) 0%, rgba(108,28,44,.25) 50%, rgba(179,39,58,.0) 100%);
    mix-blend-mode: multiply;
    animation: heroGradient 22s ease-in-out infinite alternate;
}
@keyframes heroGradient {
    0%   { transform: scale(1) rotate(0deg);   filter: hue-rotate(0deg); }
    100% { transform: scale(1.05) rotate(0.5deg); filter: hue-rotate(8deg); }
}

/* Jemné světelné body (sparkles) */
.hero__sparkle { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.hero__sparkle span {
    position: absolute; width: 4px; height: 4px; border-radius: 50%;
    background: rgba(255, 230, 180, .9);
    box-shadow: 0 0 12px rgba(255, 230, 180, .6), 0 0 24px rgba(201, 165, 90, .35);
    opacity: 0;
    animation: sparkle 6s ease-in-out infinite;
}
.hero__sparkle span:nth-child(1) { top: 30%; left: 18%; animation-delay: 0s; }
.hero__sparkle span:nth-child(2) { top: 65%; left: 75%; animation-delay: 2s; }
.hero__sparkle span:nth-child(3) { top: 22%; left: 65%; animation-delay: 4s; }
@keyframes sparkle {
    0%, 100% { opacity: 0; transform: scale(.6); }
    50%      { opacity: 1; transform: scale(1.3); }
}

.hero__inner { z-index: 2; position: relative; }
.hero__title  { text-shadow: 0 2px 24px rgba(0,0,0,.45); }
.hero__author { text-shadow: 0 1px 8px rgba(0,0,0,.35); }
.hero__lead   { text-shadow: 0 1px 6px rgba(0,0,0,.25); }
.hero__eyebrow {
    background: rgba(0,0,0,.25); backdrop-filter: blur(6px);
    border-color: rgba(201, 165, 90, .55);
    box-shadow: 0 0 0 1px rgba(255,255,255,.05) inset;
}

/* ----- Page hero (mensi banner pro vnitrni stranky) ----- */
.page-hero {
    position: relative;
    min-height: 280px;
    padding: 5rem 0 3rem;
    overflow: hidden;
    background: #1a0a10;
    isolation: isolate;
    margin-bottom: 0;
}
.page-hero__bg {
    position: absolute; inset: -5% 0;
    background-size: cover;
    background-position: center 25%; /* nez "center" - skupinove fotky maji hlavy nahore */
    z-index: 0;
    opacity: 0;
    transition: opacity 1.6s ease-in-out;
    filter: saturate(108%) contrast(103%);
}
.page-hero__bg.is-active { opacity: 1; }
.page-hero__overlay {
    position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(180deg, rgba(76,18,31,.55) 0%, rgba(0,0,0,.65) 100%);
}
.page-hero__inner {
    position: relative; z-index: 2;
    color: #fff;
    text-align: center;
}
.page-hero h1 {
    color: #fff;
    margin: 0 0 .4rem;
    text-shadow: 0 2px 18px rgba(0,0,0,.5);
    font-size: clamp(2rem, 4vw, 2.8rem);
}
.page-hero__lead {
    color: rgba(255,255,255,.85);
    text-shadow: 0 1px 6px rgba(0,0,0,.4);
    margin: 0;
}

/* ----- Header glass ----- */
.site-header {
    background: linear-gradient(180deg, rgba(247, 241, 230, 0.82) 0%, rgba(247, 241, 230, 0.62) 100%);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
}
.site-header.is-scrolled {
    background: linear-gradient(180deg, rgba(247, 241, 230, 0.96) 0%, rgba(247, 241, 230, 0.88) 100%);
}
.hlavni-menu a {
    position: relative;
    overflow: hidden;
}
.hlavni-menu a::after {
    content: ''; position: absolute; left: 50%; bottom: 6px;
    width: 0; height: 2px; background: var(--barva-zlata);
    transform: translateX(-50%); transition: width .25s ease;
}
.hlavni-menu a:hover::after,
.hlavni-menu a.active::after { width: calc(100% - 1.8rem); }
.hlavni-menu a.active { background: linear-gradient(180deg, var(--barva-vinova) 0%, var(--barva-vinova-tm) 100%); }

/* ----- Sekce s gradientem a předěly ----- */
.section--intro {
    background:
        radial-gradient(ellipse at top, rgba(201,165,90,.08) 0%, transparent 50%),
        var(--barva-bg);
}
.section--novinky {
    background: linear-gradient(180deg, var(--barva-krem) 0%, var(--barva-bg) 100%);
}
.section--galerie {
    background:
        radial-gradient(ellipse at bottom, rgba(108,28,44,.06) 0%, transparent 50%),
        var(--barva-bg);
}
.section--citat {
    background: linear-gradient(135deg, rgba(108,28,44,.04) 0%, rgba(201,165,90,.06) 100%);
    position: relative;
}

/* SVG zvlnění mezi hero a první sekcí */
.hero::after {
    content: '';
    position: absolute; left: 0; right: 0; bottom: -1px;
    /* Mensí vlnka, aby překrývala míň fotky */
    height: 32px;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 60' preserveAspectRatio='none'><path d='M0,40 C300,10 600,60 900,30 C1050,15 1150,40 1200,20 L1200,60 L0,60 Z' fill='%23fbf7ef'/></svg>") no-repeat;
    background-size: 100% 100%;
    z-index: 2;
    pointer-events: none;
}

/* ----- Karty: gradient overlay + lepší shadow ----- */
.card {
    background:
        linear-gradient(135deg, rgba(255,255,255,1) 0%, rgba(247,241,230,.6) 100%);
    box-shadow: 0 1px 2px rgba(76, 27, 39, .04), 0 4px 12px rgba(76, 27, 39, .06);
}
.card:hover {
    box-shadow: 0 4px 8px rgba(76, 27, 39, .08), 0 16px 36px rgba(76, 27, 39, .14);
    border-color: var(--barva-zlata);
}

.predstaveni-card { isolation: isolate; }
.predstaveni-card::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(180deg, transparent 60%, rgba(108, 28, 44, .08) 100%);
    opacity: 0; transition: opacity .25s;
    z-index: 0;
}
.predstaveni-card:hover::after { opacity: 1; }
.predstaveni-card__body { position: relative; z-index: 1; }

/* ----- Thumb gradient overlay na hover ----- */
.thumb { isolation: isolate; }
.thumb::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(108,28,44,.0) 0%, rgba(108,28,44,.55) 100%);
    opacity: 0; transition: opacity .25s;
    pointer-events: none;
}
.thumb:hover::after { opacity: 1; }
.thumb img { transition: transform .5s ease; }
.thumb:hover img { transform: scale(1.06); }

/* ----- Big quote — dekorativní velké uvozovky ----- */
.big-quote {
    position: relative;
    padding: 2rem 2.5rem;
    margin: 0;
    text-align: center;
}
.big-quote::before {
    content: '“';
    position: absolute; top: -.2em; left: 0;
    font-family: var(--font-serif);
    font-size: clamp(5rem, 12vw, 10rem);
    line-height: 1; color: var(--barva-zlata);
    opacity: .35;
    pointer-events: none;
}
.big-quote p {
    font-family: var(--font-serif); font-style: italic;
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    color: var(--barva-vinova-tm);
    line-height: 1.4; margin: 0 0 1rem;
}
.big-quote footer {
    font-style: normal; color: var(--barva-text-muted);
    letter-spacing: .12em; text-transform: uppercase; font-size: .85rem;
}

/* ----- Intro foto u "Kdo jsme" ----- */
.intro-text { position: relative; }
.intro-foto {
    float: right;
    width: clamp(140px, 35%, 240px);
    margin: 0 0 .75rem 1.25rem;
    aspect-ratio: 4/5;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: 0 4px 16px rgba(76, 27, 39, .18);
    border: 1px solid var(--barva-border);
}
.intro-foto img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .5s ease;
}
.intro-foto:hover img { transform: scale(1.05); }
@media (max-width: 600px) {
    .intro-foto { float: none; width: 100%; margin: 0 0 1rem; aspect-ratio: 16/9; }
}

/* ----- Cinematic fotostrip mezi sekcemi ----- */
.fotostrip {
    position: relative;
    height: clamp(260px, 36vw, 420px);
    overflow: hidden;
    isolation: isolate;
}
.fotostrip__bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    filter: saturate(115%) contrast(105%);
    transform: scale(1.06);
    transition: transform 8s ease-out;
    z-index: 0;
}
.fotostrip:hover .fotostrip__bg { transform: scale(1.12); }
.fotostrip__overlay {
    position: absolute; inset: 0; z-index: 1;
    background:
        linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.25) 50%, rgba(0,0,0,.65) 100%),
        radial-gradient(ellipse at center, rgba(108,28,44,.35) 0%, transparent 70%);
}
.fotostrip__content {
    position: relative; z-index: 2;
    height: 100%;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 1.25rem;
    text-align: center;
    color: #fff;
    padding: 2rem 1rem;
}
.fotostrip__motto {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    line-height: 1.25;
    margin: 0;
    max-width: 18ch;
    text-shadow: 0 2px 12px rgba(0,0,0,.55);
}
.fotostrip .btn--ghost {
    color: #fff;
    border-color: rgba(255,255,255,.65);
    background: rgba(0,0,0,.18);
}
.fotostrip .btn--ghost:hover {
    background: rgba(255,255,255,.18);
}

/* ----- Tlačítka — shimmer ----- */
.btn--primary {
    background: linear-gradient(135deg, var(--barva-zlata) 0%, #d8b56e 100%);
    box-shadow: 0 4px 14px rgba(201, 165, 90, .35), inset 0 1px 0 rgba(255,255,255,.4);
    position: relative; overflow: hidden;
}
.btn--primary::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform .6s ease;
}
.btn--primary:hover { box-shadow: 0 8px 24px rgba(201, 165, 90, .55), inset 0 1px 0 rgba(255,255,255,.5); }
.btn--primary:hover::before { transform: translateX(100%); }

.btn--ghost {
    backdrop-filter: blur(4px);
}

/* ----- Scroll-reveal (řízeno JS přes .reveal/.is-revealed) ----- */
.reveal {
    opacity: 0; transform: translateY(28px);
    transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-revealed { opacity: 1; transform: none; }

/* ----- Section heading — dekorativní podtržení ----- */
.section-head h1, .section-head h2 {
    position: relative; padding-bottom: .35em;
}
.section-head h1::after, .section-head h2::after {
    content: ''; position: absolute; left: 0; bottom: 0;
    width: 60px; height: 3px;
    background: linear-gradient(90deg, var(--barva-vinova) 0%, var(--barva-zlata) 100%);
    border-radius: 2px;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    html { scroll-behavior: auto; }
    .reveal { opacity: 1 !important; transform: none !important; }
    .hero__bg, .hero__overlay, .hero__sparkle { animation: none !important; }
}
