/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }



:root {
    --gold:      #c8a96e;
    --gold-lt:   #e8d5b0;
    --gold-dk:   #a07840;
    --cream:     #fdf9f3;
    --white:     #ffffff;
    --text:      #3a3228;
    --text-lt:   #7a6e64;
    --border:    #e8ddd0;
    --section-bg:#f8f4ee;
    --font-serif: 'Josefin Sans', sans-serif;
    --font-sans:  'Josefin Sans', sans-serif;
    --radius:     6px;
    --shadow:     0 4px 24px rgba(58,50,40,.10);
    --transition: .3s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-sans);
    color: var(--text);
    background: var(--cream);
    line-height: 1.7;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: var(--gold-dk); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.section-label {
    font-family: var(--font-sans);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: .6rem;
}

h1, h2, h3 {
    font-family: var(--font-serif);
    line-height: 1.2;
    color: var(--text);
}

h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 4vw, 2.8rem); font-weight: 500; letter-spacing: .06em; }
h3 { font-size: clamp(1rem, 2.5vw, 1.25rem); font-weight: 400; font-style: italic; color: var(--text-lt); }

p { margin-bottom: 1.1rem; }

.lead { font-size: 1.1rem; color: var(--text-lt); }

/* ============================================================
   LAYOUT HELPERS
   ============================================================ */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 3rem 0;
}

.section--alt {
    background: var(--section-bg);
}

.section--dark {
    background: var(--text);
    color: var(--cream);
}
.section--dark h2,
.section--dark h3,
.section--dark .section-label { color: var(--gold-lt); }
.section--dark p { color: #c8c0b8; }

.text-center { text-align: center; }

.divider {
    width: 60px;
    height: 2px;
    background: var(--gold);
    margin: 1.2rem auto 2rem;
}
.divider--left { margin-left: 0; }

/* Two-column grid */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.grid-2.reverse { direction: rtl; }
.grid-2.reverse > * { direction: ltr; }

@media (max-width: 768px) {
    .grid-2 { grid-template-columns: 1fr; gap: 2rem; }
    .grid-2.reverse { direction: ltr; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-block;
    padding: .75rem 2rem;
    border: 2px solid var(--gold);
    border-radius: var(--radius);
    font-family: var(--font-sans);
    font-size: .875rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    transition: background var(--transition), color var(--transition);
    cursor: pointer;
}

.btn-primary {
    background: var(--gold);
    color: var(--white);
}
.btn-primary:hover {
    background: var(--gold-dk);
    border-color: var(--gold-dk);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--gold-dk);
}
.btn-outline:hover {
    background: var(--gold);
    color: var(--white);
}

.btn-white {
    background: transparent;
    border-color: rgba(255,255,255,.7);
    color: var(--white);
}
.btn-white:hover {
    background: var(--white);
    color: var(--text);
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(253,249,243,.96);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow); }

.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: .04em;
}
.logo span { color: var(--gold); }

.main-nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.main-nav a {
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--text-lt);
    padding: .3rem 0;
    border-bottom: 2px solid transparent;
    transition: color var(--transition), border-color var(--transition);
}
.main-nav a:hover,
.main-nav a.active {
    color: var(--gold-dk);
    border-bottom-color: var(--gold);
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
    .nav-toggle { display: flex; }

    .main-nav {
        position: absolute;
        top: 68px; left: 0; right: 0;
        background: var(--cream);
        border-top: 1px solid var(--border);
        padding: 0 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height .4s ease;
    }
    .main-nav.open { max-height: 400px; }
    .main-nav ul { flex-direction: column; gap: 0; padding: 0 1.5rem; }
    .main-nav a { display: block; padding: .75rem 0; border-bottom: 1px solid var(--border); }
    .main-nav li:last-child a { border-bottom: none; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: var(--text);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('../images/hero_stred.png');
    background-repeat: no-repeat;
        background-size:cover;

    background-position: center top;
    border-color: #f3efe6;
    opacity: .45;
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    padding: 2rem 1.5rem;
    max-width: 700px;
}

.hero-eyebrow {
    font-family: var(--font-sans);
    font-size: .85rem;
    font-weight: 500;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--gold-lt);
    margin-bottom: 1.2rem;
}

.hero-content h1 {
    color: var(--white);
    margin-bottom: .5rem;
}

.hero-date {
    font-family: var(--font-sans);
    font-size: .85rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--gold-lt);
    margin: 1rem 0 2rem;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .4rem;
    color: rgba(255,255,255,.5);
    font-size: .7rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    animation: bounce 2s infinite;
}
.hero-scroll::after {
    content: '';
    display: block;
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,.3);
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(6px); }
}

/* ============================================================
   COUNTDOWN
   ============================================================ */
.countdown {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.countdown-item {
    text-align: center;
    min-width: 72px;
}

.countdown-num {
    display: block;
    font-family: var(--font-serif);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}

.countdown-label {
    display: block;
    font-size: .65rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--text-lt);
    margin-top: .3rem;
}

/* ============================================================
   IMAGE STYLES
   ============================================================ */
.img-frame {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}
.img-frame:hover img { transform: scale(1.03); }

.img-frame-sm img { height: 100%; }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
    padding: 80px 0 3rem;
    text-align: center;
    background: var(--section-bg);
    border-bottom: 1px solid var(--border);
}

/* ============================================================
   STORY PAGE
   ============================================================ */
.quote-block {
    border-left: 3px solid var(--gold);
    padding: .8rem 1.5rem;
    margin: 2rem 0;
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.15rem;
    color: var(--text-lt);
}

/* ============================================================
   WEDDING DAY – TIMELINE
   ============================================================ */
.timeline {
    position: relative;
    padding-left: 2.5rem;
    margin: 2rem 0;
}
.timeline::before {
    content: '';
    position: absolute;
    left: .6rem;
    top: .4rem;
    bottom: .4rem;
    width: 2px;
    background: var(--gold-lt);
}

.timeline-item {
    position: relative;
    margin-bottom: 2.5rem;
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.1rem;
    top: .45rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gold);
    border: 3px solid var(--cream);
    box-shadow: 0 0 0 2px var(--gold);
}

.timeline-time {
    font-family: var(--font-sans);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: .2rem;
}

.timeline-item h4 {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    margin-bottom: .3rem;
}

/* ============================================================
   INFO CARDS (Pro hosty)
   ============================================================ */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.8rem;
    box-shadow: var(--shadow);
}

.card-icon {
    font-size: 1.8rem;
    margin-bottom: .8rem;
}

.card h4 {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    margin-bottom: .5rem;
}

/* Kontakty */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}
@media (max-width: 600px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
}
.contact-card .contact-role {
    font-size: .75rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 700;
    margin-bottom: .3rem;
}
.contact-card h4 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    margin-bottom: .6rem;
}
.contact-card a {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
}
.contact-card a:hover { color: var(--gold); }

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-list { margin-top: 2rem; }

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 1.2rem 2.5rem 1.2rem 0;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    cursor: pointer;
    position: relative;
    transition: color var(--transition);
}
.faq-question:hover { color: var(--gold-dk); }

.faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.4rem;
    color: var(--gold);
    transition: transform var(--transition);
}
.faq-item.open .faq-question::after { transform: translateY(-50%) rotate(45deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
}
.faq-answer p {
    padding: 0 0 1.2rem;
    color: var(--text-lt);
}

/* ============================================================
   RSVP FORM
   ============================================================ */
.rsvp-form {
    max-width: 640px;
    margin: 2rem auto 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.4rem;
}

.form-group label {
    display: block;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--text-lt);
    margin-bottom: .4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: .75rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--text);
    background: var(--cream);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(200,169,110,.15);
    background: var(--white);
}

.form-group textarea { resize: vertical; min-height: 100px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 500px) { .form-row { grid-template-columns: 1fr; } }

.form-submit { text-align: center; margin-top: 2rem; }

/* Honeypot – vizuálně skryté, ale ne display:none (boty to ignorují) */
.honeypot-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    overflow: hidden;
    pointer-events: none;
}

/* Radio buttons & checkboxy – custom styling */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: .6rem;
    margin-top: .4rem;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: .75rem;
    cursor: pointer;
    font-size: 1rem;
    color: var(--text);
    user-select: none;
}

/* Skrytý nativní input – nahrazen pseudoelementem */
.radio-label input[type="radio"],
.radio-label input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    min-width: 20px;  /* zabrání smrštění v flex */
    min-height: 20px;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    border: 2px solid var(--border);
    border-radius: 50%;           /* kruh pro radio */
    flex-shrink: 0;
    position: relative;
    cursor: pointer;
    background: var(--white);
    transition: border-color var(--transition), background var(--transition);
    vertical-align: middle;
}

/* Checkbox je čtverec se zaoblenými rohy */
.radio-label input[type="checkbox"] {
    border-radius: 5px;
}

/* Stav: zaškrtnuto – rámeček zlatý */
.radio-label input[type="radio"]:checked,
.radio-label input[type="checkbox"]:checked {
    border-color: var(--gold);
    background: var(--white);
}

/* Vnitřní tečka pro radio */
.radio-label input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gold);
}

/* Fajfka pro checkbox */
.radio-label input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -56%) rotate(45deg);
    width: 5px;
    height: 9px;
    border: 2px solid var(--gold);
    border-top: none;
    border-left: none;
}

/* Hover efekt */
.radio-label:hover input[type="radio"],
.radio-label:hover input[type="checkbox"] {
    border-color: var(--gold);
}

/* Focus pro přístupnost */
.radio-label input[type="radio"]:focus-visible,
.radio-label input[type="checkbox"]:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

/* CAPTCHA – label a input vedle sebe */
.captcha-inline {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-wrap: wrap;
}
.captcha-inline label {
    margin-bottom: 0;
    white-space: nowrap;
}
.captcha-inline input {
    width: 80px !important;
    flex-shrink: 0;
    text-align: center;
}

/* Podmíněně skrytá pole */
.hidden { display: none !important; }

/* RSVP submit tlačítko – styl dle screenshotu */
.rsvp-submit {
    min-width: 200px;
    letter-spacing: .2em;
    font-size: .8rem;
}

.alert {
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    font-weight: 700;
}
.alert-success { background: #f0f9f0; border: 1px solid #a8d5a2; color: #2d6a27; }
.alert-error   { background: #fdf0f0; border: 1px solid #e8a0a0; color: #8a2020; }

/* ============================================================
   NOTE BOX
   ============================================================ */
.note-box {
    background: #fff8ed;
    border: 1px solid var(--gold-lt);
    border-left: 4px solid var(--gold);
    border-radius: var(--radius);
    padding: 1.2rem 1.5rem;
    margin: 1.5rem 0;
    font-size: .95rem;
    color: var(--text);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: var(--text);
    color: rgba(255,255,255,.5);
    text-align: center;
    padding: 3rem 1.5rem;
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: .4rem;
}
.footer-logo span { color: var(--gold); }

.footer-date {
    font-size: .85rem;
    letter-spacing: .1em;
    color: var(--gold-lt);
    margin-bottom: 1rem;
}

.footer-copy {
    font-size: .78rem;
    margin-bottom: 0;
}

/* ============================================================
   UTILITY
   ============================================================ */
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }

/* Page padding for fixed header */
main { padding-top: 68px; }
/* Full-bleed hero (tmavý hero s pozadím) si odsazení řeší sám */
main:has(> .hero:first-child) { padding-top: 0; }

/* Kotvy nesmí skončit pod fixní hlavičkou */
section[id] { scroll-margin-top: 80px; }

/* ============================================================
   HERO – SPLIT (úvodní stránka po svatbě)
   ============================================================ */
.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    min-height: min(78vh, 620px);
    background: var(--cream);
    border-bottom: 1px solid var(--border);
}

.hero-split__text {
    padding: 3.5rem clamp(1.5rem, 5vw, 4rem);
    justify-self: end;
    max-width: 560px;
}

.hero-split__text h1 {
    font-weight: 400;
    letter-spacing: .01em;
    margin-bottom: 1.4rem;
}

.hero-split__sub {
    font-size: 1.05rem;
    color: var(--text-lt);
    margin-bottom: .2rem;
}

.hero-split__date {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: .08em;
    color: var(--gold-dk);
    margin-bottom: 2rem;
}

.hero-split__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-split__image {
    height: 100%;
    overflow: hidden;
}
.hero-split__image img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
}

@media (max-width: 860px) {
    .hero-split { grid-template-columns: 1fr; min-height: 0; }
    .hero-split__text {
        order: 2;
        justify-self: stretch;
        max-width: none;
        padding: 2.5rem 1.5rem 3rem;
        text-align: center;
    }
    .hero-split__actions { justify-content: center; }
    .hero-split__image img { min-height: 260px; max-height: 46vh; }
}

/* ============================================================
   DEKORATIVNÍ ODDĚLOVAČ SE SRDÍČKEM
   ============================================================ */
.divider--heart {
    position: relative;
    width: 120px;
    background: linear-gradient(to right, transparent, var(--gold-lt), transparent);
    height: 1px;
    margin-bottom: 2.2rem;
}
.divider--heart::after {
    content: '♥';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--cream);
    font-size: .8rem;
    color: var(--gold);
    line-height: 1;
    padding: 0 .4rem;
}
/* Srdíčko musí "vykousnout" pozadí sekce, na které leží */
.section--alt .divider--heart::after { background: var(--section-bg); }
.section--dark .divider--heart::after { background: var(--text); }

/* Jemné květinové ornamenty v rozích sekce */
.section--ornament { position: relative; overflow: hidden; }
.section--ornament::before,
.section--ornament::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 150px;
    height: 150px;
    transform: translateY(-50%);
    background: no-repeat center / contain
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='none' stroke='%23c8a96e' stroke-width='1.2'%3E%3Cpath d='M50 96V26'/%3E%3Cpath d='M50 76c-14 0-22-8-22-20 12 0 22 6 22 20zM50 76c14 0 22-8 22-20-12 0-22 6-22 20zM50 54c-13 0-20-7-20-18 11 0 20 5 20 18zM50 54c13 0 20-7 20-18-11 0-20 5-20 18zM50 34c-11 0-17-6-17-15 9 0 17 4 17 15zM50 34c11 0 17-6 17-15-9 0-17 4-17 15z'/%3E%3C/svg%3E");
    opacity: .28;
    pointer-events: none;
}
.section--ornament::before { left: -30px; }
.section--ornament::after  { right: -30px; transform: translateY(-50%) scaleX(-1); }

@media (max-width: 900px) {
    .section--ornament::before,
    .section--ornament::after { display: none; }
}

.section--ornament .container { position: relative; z-index: 1; }

.thanks-text { max-width: 720px; margin: 0 auto; }

/* ============================================================
   GALERIE
   ============================================================ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
}

@media (max-width: 800px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: .8rem; } }
@media (max-width: 480px) { .gallery-grid { grid-template-columns: 1fr; } }

.gallery-item {
    display: block;
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    background: var(--section-bg);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}
.gallery-item:hover img { transform: scale(1.05); }

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(58,50,40,.18);
    opacity: 0;
    transition: opacity var(--transition);
}
.gallery-item:hover::after { opacity: 1; }

.gallery-item--hidden { display: none; }
.gallery-grid.is-expanded .gallery-item--hidden { display: block; }

.gallery-empty {
    text-align: center;
    padding: 3rem 1.5rem;
    border: 1px dashed var(--gold-lt);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--text-lt);
}
.gallery-empty__icon { font-size: 2.2rem; margin-bottom: .6rem; }
.gallery-empty p { margin-bottom: 0; }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(28,24,19,.94);
    padding: 3.5rem 1rem;
    opacity: 0;
    transition: opacity .25s ease;
}
.lightbox[hidden] { display: none; }
.lightbox.is-visible { opacity: 1; }

.lightbox__img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: var(--radius);
    box-shadow: 0 10px 50px rgba(0,0,0,.5);
}

.lightbox__close,
.lightbox__nav {
    position: absolute;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.25);
    color: #fff;
    cursor: pointer;
    line-height: 1;
    border-radius: 50%;
    transition: background var(--transition);
}
.lightbox__close:hover,
.lightbox__nav:hover { background: rgba(255,255,255,.22); }

.lightbox__close {
    top: 1rem; right: 1rem;
    width: 44px; height: 44px;
    font-size: 1.6rem;
}

.lightbox__nav {
    top: 50%;
    transform: translateY(-50%);
    width: 48px; height: 48px;
    font-size: 2rem;
    padding-bottom: 4px;
}
.lightbox__nav--prev { left: 1rem; }
.lightbox__nav--next { right: 1rem; }

.lightbox__counter {
    position: absolute;
    bottom: 1.2rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: .78rem;
    letter-spacing: .12em;
    color: rgba(255,255,255,.65);
}

@media (max-width: 600px) {
    .lightbox__nav { width: 40px; height: 40px; font-size: 1.6rem; }
    .lightbox__nav--prev { left: .4rem; }
    .lightbox__nav--next { right: .4rem; }
}

/* ============================================================
   VIDEO (YouTube – facade, iframe se načte až po kliknutí)
   ============================================================ */
.video-embed {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--text);
    cursor: pointer;
}

.video-embed__thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease, filter var(--transition);
}
.video-embed:hover .video-embed__thumb { transform: scale(1.03); filter: brightness(.85); }

.video-embed__play {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 76px; height: 76px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,.85);
    background: rgba(58,50,40,.45);
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
}
.video-embed__play::after {
    content: '';
    position: absolute;
    top: 50%; left: 54%;
    transform: translate(-50%, -50%);
    border-style: solid;
    border-width: 13px 0 13px 22px;
    border-color: transparent transparent transparent #fff;
}
.video-embed:hover .video-embed__play {
    background: var(--gold);
    transform: translate(-50%, -50%) scale(1.06);
}

.video-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ============================================================
   HORIZONTÁLNÍ TIMELINE (Jak probíhal náš den)
   ============================================================ */
.timeline-h {
    list-style: none;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    position: relative;
    margin: 2.5rem auto 0;
    max-width: 900px;
}

/* Spojovací linka mezi ikonami */
.timeline-h::before {
    content: '';
    position: absolute;
    top: 29px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: var(--gold-lt);
}

.timeline-h__item {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: .35rem;
}

.timeline-h__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    border: 1.5px solid var(--gold);
    background: var(--cream);
    font-size: 1.4rem;
    margin-bottom: .6rem;
}

.timeline-h__title {
    font-family: var(--font-serif);
    font-size: .98rem;
    font-weight: 500;
    color: var(--text);
}

.timeline-h__time {
    font-size: .82rem;
    letter-spacing: .08em;
    color: var(--text-lt);
}

@media (max-width: 760px) {
    .timeline-h {
        grid-auto-flow: row;
        grid-auto-columns: auto;
        gap: 1.8rem;
        max-width: 320px;
    }
    .timeline-h::before {
        top: 10px;
        bottom: 10px;
        left: 28px;
        right: auto;
        width: 1px;
        height: auto;
    }
    .timeline-h__item {
        flex-direction: row;
        align-items: center;
        text-align: left;
        gap: 1rem;
    }
    .timeline-h__icon { margin-bottom: 0; flex-shrink: 0; }
    .timeline-h__time { margin-left: auto; }
}

/* ============================================================
   ZÁVĚREČNÝ PODPIS
   ============================================================ */
.closing-band__names {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 4.5vw, 2.6rem);
    font-weight: 400;
    color: var(--text);
    margin-bottom: 0;
}
.closing-band__names span { color: var(--gold); }

.closing-band__date {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: .1em;
    color: var(--gold-dk);
    margin-bottom: .3rem;
}

.closing-band__note {
    color: var(--text-lt);
    margin-bottom: 0;
}
