:root {
    --sidebar-width: 18%;
    --paper: #ffffff;
    --line: #e6e3dc;
    --text: #4d584f;
    --muted: #7d857a;
    --accent: #75895a;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    width: 100%;
    min-height: 100%;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    color: var(--text);
    background: #f3efe7;
}

a {
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

.mobile-header {
    display: none;
}

.page-shell {
    display: flex;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.sidebar {
    flex: 0 0 var(--sidebar-width);
    min-width: 220px;
    height: 100vh;
    padding: 32px 22px 24px;
    display: flex;
    flex-direction: column;
    background: var(--paper);
    border-right: 1px solid var(--line);
}

.brand-block {
    text-align: center;
}

.logo {
    width: 82px;
    height: 82px;
    margin: 0 auto 15px;
    display: block;
    overflow: hidden;
    border-radius: 50%;
    text-decoration: none;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-fallback {
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    background: #eef1e7;
    border: 1px solid #d7decf;
    color: var(--accent);
    font-weight: 700;
}

.owner-name {
    margin-top: 8px;
    color: var(--muted);
    font-size: 11px;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.main-nav {
    margin: auto 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.main-nav a {
    padding: 7px 6px;
    color: #4d564f;
    font-size: 13px;
    line-height: 1.35;
    text-align: center;
    text-decoration: none;
}

.main-nav a:hover,
.main-nav a.active {
    color: #6d8350;
}

.main-nav a.active {
    font-weight: 700;
}

.main-nav a.active::after {
    content: "";
    display: block;
    width: 26px;
    height: 1px;
    margin: 7px auto -7px;
    background: currentColor;
}

.contact-block {
    color: var(--muted);
    font-size: 11px;
    line-height: 1.75;
    text-align: center;
}

.contact-title {
    margin-bottom: 4px;
    color: var(--text);
    font-weight: 700;
}

.contact-block a,
.contact-block span {
    display: block;
    text-decoration: none;
}

.right-panel {
    flex: 1;
    min-width: 0;
    height: 100vh;
    padding: 28px 36px 22px;
    display: flex;
    flex-direction: column;
    background-image: url('assets/images/santosha-bg-1.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Jen Domů má vlastní obrázek na pozadí. */
.right-panel.home-background {
    background-image:
        linear-gradient(rgba(255, 240, 220, 0.20), rgba(255, 240, 220, 0.20)),
        url('assets/images/home-bg.webp');

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


/* Stránka O MĚ má vlastní optimalizované pozadí. */
.right-panel.ome-background {
    background-image: url('assets/images/ome-bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* DOMŮ – dva plakáty přímo na pozadí */
.home-page {
    width: 100%;
    flex: 1 1 auto;
    min-height: 0;
    padding: 34px 0 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-y: auto;
    overflow-x: hidden;
}

.home-gallery-title {
    margin: 0 0 18px;
    color: #79578e;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    font-size: 28px;
    font-weight: 440;
    text-align: center;
}

.home-two-images {
    display: flex;
    justify-content: flex-start;;
    align-items: flex-start;

    gap: 70px;
}

.home-poster-button {
    flex: 0 0 auto;
    width: auto;
    min-width: 0;
    padding: 0;
    margin: 0;
    display: block;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    cursor: zoom-in;
}

.home-poster-button img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 68vh;
    object-fit: contain;
}

/* Odkazy pod plakáty na úvodní stránce */
.home-poster-item {
    display: flex;
    flex: 0 1 auto;
    min-width: 0;
    flex-direction: column;
    align-items: center;
}

.home-poster-link {
    display: inline-block;
    margin-top: 15px;
    padding: 6px 4px;
    /* Stejná typografie jako nadpis AKTUÁLNĚ, jen o trochu menší. */
    color: #4e4179;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    font-size: 15px;
    font-weight: 400;
    text-transform: uppercase;
    text-decoration: none;
    text-underline-offset: 4px;
}

.home-poster-link:hover {
    color: #3d335f;
    text-decoration: underline;
}

.home-poster-link:focus-visible {
    outline: 3px solid rgba(109, 131, 80, .45);
    outline-offset: 3px;
}

.home-poster-button:hover {
    opacity: .94;
}

.home-poster-button:focus-visible {
    outline: 3px solid rgba(109, 131, 80, .45);
    outline-offset: 4px;
}

.home-content {
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
}

.home-gallery-title {
    margin: 0 0 18px;
    color: #4e4179;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    font-size: 17px;
    font-weight: 400;
    text-align: left;
}

.home-two-images {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 70px;
}

@media (max-width: 1250px) {
    :root {
        --sidebar-width: 20%;
    }

    .sidebar {
        min-width: 200px;
        padding: 26px 16px 20px;
    }

    .right-panel {
        padding: 22px 24px 18px;
    }
}

@media (max-width: 930px) {
    .mobile-header {
        position: sticky;
        top: 0;
        z-index: 100;
        min-height: 70px;
        padding: 11px 16px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: rgba(255, 255, 255, .96);
        border-bottom: 1px solid var(--line);
    }

    .mobile-brand {
        min-width: 0;
        display: flex;
        align-items: center;
        gap: 10px;
        color: inherit;
        text-decoration: none;
    }

    .mobile-logo {
        width: 46px;
        height: 46px;
        max-width: 46px;
        flex: 0 0 46px;
        object-fit: contain;
    }

    .mobile-header .strong,
    .mobile-header span {
        display: block;
    }

    .mobile-header .strong {
        color: #7d857a;
        font-family: "Segoe UI", Arial, sans-serif;
        font-size: 18px;
    }

    .mobile-header span {
        margin-top: 2px;
        color: var(--muted);
        font-size: 10px;
        letter-spacing: .14em;
        text-transform: uppercase;
    }

    .menu-toggle {
        width: 44px;
        height: 44px;
        border: 0;
        border-radius: 13px;
        background: #f2efe8;
        font-size: 27px;
        cursor: pointer;
    }

    .page-shell {
        display: block;
        height: auto;
        min-height: calc(100vh - 68px);
        overflow: visible;
    }

    .sidebar {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        z-index: 110;
        width: min(84vw, 320px);
        min-width: 0;
        height: auto;
        transform: translateX(-102%);
        transition: transform .25s ease;
        box-shadow: 16px 0 40px rgba(0, 0, 0, .15);
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .right-panel {
        width: 100%;
        height: auto;
        min-height: calc(100vh - 68px);
        padding: 18px 14px;
    }
    .home-page {
        padding: 24px 0 30px;
    }

    .home-content {
        width: 100%;
        max-width: 100%;
    }

    .home-gallery-title {
        width: 70%;
        margin: 0 auto 16px;
        font-size: 16px;
        text-align: left;
    }

    .home-two-images {
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 50px;
    }

    .home-poster-item {
        width: 70%;
    }

    .home-poster-button {
        width: 100%;
        flex: none;
    }

    .home-poster-button img {
        width: min(100%, 560px);
        max-height: none;
        margin: 0 auto;
    }

}

/* SANTOSHA KURZY */
.santosha-page {
    width: 100%;
    height: 100%;
    padding: 42px;
    overflow-y: auto;
}

.santosha-page h1 {
    margin: 0;
    color: #536345;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(34px, 4vw, 56px);
    font-weight: 400;
    text-align: center;
}

.santosha-overview {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.santosha-categories {
    margin-top: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(28px, 5vw, 70px);
    flex-wrap: wrap;
}

.santosha-circle {
    width: clamp(180px, 18vw, 250px);
    aspect-ratio: 1;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
    border: 1px solid rgba(117, 137, 90, .45);
    border-radius: 50%;
    background: rgba(255, 255, 255, .72);
    box-shadow: 0 16px 38px rgba(82, 93, 73, .10);
    color: #536345;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: clamp(22px, 2vw, 30px);
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.santosha-circle:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 20px 44px rgba(82, 93, 73, .16);
}

.santosha-gallery-link {
    align-self: center;
    margin-top: 38px;
    padding: 9px 22px;
    border: 1px solid rgba(117, 137, 90, .36);
    border-radius: 999px;
    background: rgba(255, 255, 255, .55);
    color: #536345;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 14px;
    letter-spacing: .08em;
    text-decoration: none;
    transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}

.santosha-gallery-link:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 10px 22px rgba(82, 93, 73, .10);
}

.santosha-course-page h1 {
    margin-top: 14px;
    text-align: left;
}

.santosha-back {
    display: inline-block;
    color: #6d8350;
    font-size: 13px;
    text-decoration: none;
}

.santosha-back:hover {
    text-decoration: underline;
}

/* O MĚ – vzhled textu. Hodnoty v první části můžeš snadno měnit. */
.ome-page {
    /* ===== NASTAVENÍ STRÁNKY O MĚ ===== */
    --ome-strip-width: 1080px;               /* maximální šířka pásu fotek */
    --ome-thumb-width: 175px;                /* šířka jedné malé fotky */
    --ome-thumb-height: 116px;               /* výška jedné malé fotky */
    --ome-thumb-gap: 12px;                   /* mezera mezi fotkami */
    --ome-strip-gap-below: 22px;             /* mezera mezi pásem a blokem textu */
    --ome-thumb-radius: 14px;                 /* zaoblení fotek */

    --ome-content-width: 920px;              /* maximální šířka textu */
    --ome-side-padding: 48px;                /* prostor vlevo a vpravo */
    --ome-card-bg: rgba(255, 255, 255, .72); /* podklad pod textem; dej transparent pro žádný */
    --ome-card-radius: 28px;                 /* zaoblení podkladu */

    --ome-title-color: #536345;              /* barva nadpisu O mě */
    --ome-title-size: clamp(36px, 4vw, 56px);/* velikost nadpisu */

    --ome-text-color: #536345;               /* barva běžného textu */
    --ome-text-size: 18px;                   /* velikost běžného textu */
    --ome-line-height: 1.75;                 /* řádkování */
    --ome-paragraph-gap: 22px;               /* mezera mezi odstavci */

    --ome-closing-color: #6d8350;            /* závěrečné „Těším se na setkání!“ */

    width: 100%;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 12px 0 42px;
}


/* O MĚ – posuvný pás fotografií */
.ome-photo-strip {
    width: min(var(--ome-strip-width), calc(100% - 32px));
    margin: 0 auto var(--ome-strip-gap-below);
    display: flex;
    align-items: center;
    gap: 10px;
}

.ome-strip-viewport {
    flex: 1 1 auto;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.ome-strip-viewport::-webkit-scrollbar {
    display: none;
}

.ome-strip-track {
    width: max-content;
    display: flex;
    gap: var(--ome-thumb-gap);
}

.ome-photo-thumb {
    flex: 0 0 var(--ome-thumb-width);
    width: var(--ome-thumb-width);
    height: var(--ome-thumb-height);
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: var(--ome-thumb-radius);
    background: rgba(255, 255, 255, .6);
    cursor: pointer;
    scroll-snap-align: start;
    transition: transform .18s ease, opacity .18s ease;
}

.ome-photo-thumb:hover {
    transform: translateY(-2px);
}

.ome-photo-thumb:focus-visible,
.ome-strip-arrow:focus-visible,
.ome-lightbox-close:focus-visible,
.ome-lightbox-arrow:focus-visible {
    outline: 3px solid rgba(109, 131, 80, .45);
    outline-offset: 3px;
}

.ome-photo-thumb img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
}

.ome-strip-arrow {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid rgba(109, 131, 80, .22);
    border-radius: 50%;
    background: rgba(255, 255, 255, .8);
    color: #536345;
    font-size: 27px;
    line-height: 1;
    cursor: pointer;
}

.ome-strip-arrow:hover {
    background: #fff;
}

/* O MĚ – zvětšená fotografie po kliknutí */
.ome-lightbox[hidden] {
    display: none;
}

.ome-lightbox {
    position: fixed;
    z-index: 1000;
    inset: 0;
    padding: 30px 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(20, 25, 20, .88);
}

.ome-lightbox-content {
    max-width: min(1100px, 88vw);
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.ome-lightbox-image {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 22px 70px rgba(0, 0, 0, .28);
}

.ome-lightbox-caption {
    max-width: 800px;
    padding: 0 18px;
    color: #ffffff;
    font-size: 15px;
    line-height: 1.5;
    text-align: center;
}

.ome-lightbox-caption[hidden] {
    display: none;
}

.ome-lightbox-close,
.ome-lightbox-arrow {
    position: absolute;
    border: 0;
    background: rgba(255, 255, 255, .9);
    color: #536345;
    cursor: pointer;
}

.ome-lightbox-close {
    top: 20px;
    right: 22px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 30px;
    line-height: 1;
}

.ome-lightbox-arrow {
    top: 50%;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 34px;
    line-height: 1;
    transform: translateY(-50%);
}

.ome-lightbox-prev {
    left: 18px;
}

.ome-lightbox-next {
    right: 18px;
}

body.ome-lightbox-open {
    overflow: hidden;
}

.ome-content {
    width: min(var(--ome-content-width), calc(100% - 32px));
    margin: 0 auto;
    padding: 38px var(--ome-side-padding) 46px;
    border-radius: var(--ome-card-radius);
    background: var(--ome-card-bg);
}

.ome-page h1 {
    margin: 0 0 30px;
    color: var(--ome-title-color);
    font-family: Georgia, "Times New Roman", serif;
    font-size: var(--ome-title-size);
    font-weight: 400;
    line-height: 1.1;
    text-align: center;
}

.ome-page p {
    margin: 0 0 var(--ome-paragraph-gap);
    padding: 0;
    color: var(--ome-text-color);
    font-family: Georgia, "Times New Roman", serif;
    font-size: var(--ome-text-size);
    font-weight: 400;
    line-height: var(--ome-line-height);
    text-align: left;
}


.ome-page .ome-closing {
    margin: 34px 0 0;
    color: var(--ome-closing-color);
    font-size: 22px;
    font-style: italic;
    text-align: center;
}

/* Mobil – text je užší a podklad má menší okraje. */
@media (max-width: 760px) {
    .ome-page {
        flex: none;
        min-height: 0;
        overflow: visible;
        padding: 6px 0 30px;

        --ome-side-padding: 22px;
        --ome-text-size: 17px;
        --ome-paragraph-gap: 18px;
    }

    .ome-content {
        width: 100%;
        padding-top: 28px;
        padding-bottom: 34px;
        border-radius: 20px;
    }

    .ome-photo-strip {
        width: 100%;
        gap: 6px;
    }

    .ome-page {
        --ome-thumb-width: 138px;
        --ome-thumb-height: 96px;
        --ome-thumb-gap: 9px;
        --ome-strip-gap-below: 14px;
    }

    .ome-strip-arrow {
        flex-basis: 34px;
        width: 34px;
        height: 34px;
        font-size: 24px;
    }

    .ome-lightbox {
        padding: 64px 14px 18px;
    }

    .ome-lightbox-content {
        max-width: 94vw;
    }

    .ome-lightbox-image {
        max-width: 100%;
        max-height: 74vh;
    }

    .ome-lightbox-caption {
        padding: 0 8px;
        font-size: 14px;
    }

    .ome-lightbox-arrow {
        width: 42px;
        height: 42px;
        background: rgba(255, 255, 255, .82);
    }

    .ome-page h1 {
        margin-bottom: 24px;
    }
}


.courses {
    margin-top: 34px;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.course {
    width: min(340px, 100%);
    overflow: hidden;
    border-radius: 20px;
    background: rgba(255, 255, 255, .88);
    box-shadow: 0 10px 28px rgba(82, 93, 73, .09);
}

.course img {
    width: 100%;
    height: 210px;
    object-fit: cover;
}

.course h2,
.course p,
.course strong {
    margin-left: 20px;
    margin-right: 20px;
}

.course h2 {
    margin-top: 20px;
    margin-bottom: 10px;
    color: #536345;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    font-weight: 400;
}

.course p {
    margin-top: 0;
    margin-bottom: 14px;
    line-height: 1.6;
}

.course strong {
    display: block;
    margin-bottom: 22px;
    color: #6d8350;
}

@media (max-width: 930px) {
    .santosha-page {
        height: auto;
        min-height: calc(100vh - 104px);
        padding: 32px 18px;
    }

    .santosha-categories {
        margin-top: 36px;
        gap: 22px;
    }

    .santosha-circle {
        width: min(220px, 70vw);
    }

    .santosha-gallery-link {
        margin-top: 30px;
    }
}

/* VÝBĚR JEDNOTLIVÝCH KURZŮ SANTOSHA */
.course-choices {
    width: 100%;
    max-width: 1120px;
    margin: 42px auto 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 22px;
}

.course-choices-single {
    justify-content: flex-start;
}

.course-choice {
    flex: 0 0 calc(50% - 11px);
    max-width: none;
    min-height: 285px;
    padding: 28px 24px 24px;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(117, 137, 90, .28);
    border-radius: 26px;
    background: rgba(255, 255, 255, .78);
    box-shadow: 0 14px 32px rgba(82, 93, 73, .08);
    color: #4d584f;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.course-choice:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 18px 38px rgba(82, 93, 73, .14);
}

.course-choice-age,
.course-detail-age {
    align-self: flex-start;
    padding: 6px 11px;
    border-radius: 999px;
    background: rgba(117, 137, 90, .12);
    color: #667b4c;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
}

.course-choice h2 {
    margin: 20px 0 12px;
    color: #536345;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
    font-weight: 400;
    line-height: 1.15;
}

.course-choice p {
    margin: 0 0 18px;
    color: #667068;
    font-size: 14px;
    line-height: 1.55;
}

.course-choice-time {
    margin-top: auto;
    color: #536345;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.45;
}

.course-choice-link {
    margin-top: 15px;
    color: #6d8350;
    font-size: 13px;
}
/* DETAIL KURZU */
.course-detail-page {
    max-width: 1150px;
    margin: 0 auto;
}

.course-detail-heading {
    max-width: 850px;
    margin: 20px auto 0;
    text-align: center;
}

.course-detail-heading .course-detail-age {
    display: inline-block;
    align-self: auto;
}

.course-detail-heading h1 {
    margin-top: 14px;
}

.course-detail-lead {
    margin: 14px auto 0;
    max-width: 760px;
    color: #687269;
    font-size: 17px;
    line-height: 1.65;
}

.course-detail-content {
    width: 100%;
    max-width: 900px;
    margin: 34px auto 0;
    padding-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.course-detail-section {
    padding: 26px 30px;
    border: 1px solid rgba(117, 137, 90, .18);
    border-radius: 22px;
    background: rgba(255, 255, 255, .68);
}

.course-detail-section h2 {
    margin: 0 0 14px;
    color: #536345;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    font-weight: 400;
}

.course-detail-section p {
    margin: 0 0 12px;
    color: #5d685f;
    font-size: 15px;
    line-height: 1.7;
}

.course-detail-section p:last-child {
    margin-bottom: 0;
}

.course-detail-section ul {
    margin: 0;
    padding-left: 22px;
    color: #5d685f;
}

.course-detail-section li {
    margin: 8px 0;
    line-height: 1.55;
}

.course-detail-highlight {
    background: rgba(236, 241, 228, .82);
}

.price-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 22px;
}

.price-list p {
    flex: 1 1 360px;
    padding: 14px 16px;
    border-radius: 15px;
    background: rgba(255, 255, 255, .72);
}

.price-list span {
    color: #7a827b;
    font-size: 13px;
}

.course-detail-note {
    margin: 0;
    padding: 18px 22px;
    border-left: 3px solid rgba(117, 137, 90, .55);
    color: #69736b;
    font-size: 13px;
    line-height: 1.65;
}

@media (max-width: 930px) {
    .course-choices {
        margin-top: 30px;
        gap: 16px;
    }

    .course-choice {
        flex-basis: min(100%, 320px);
        max-width: 360px;
        min-height: 0;
    }

    .course-detail-content {
        margin-top: 26px;
    }

    .course-detail-section {
        padding: 22px 20px;
    }
}

/* REZERVACE KURZŮ ---------------------------------------------------------- */
.booking-options {
    align-items: stretch;
}

.booking-option {
    flex: 1 1 360px;
    min-width: 0;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border: 1px solid rgba(117, 137, 90, .16);
    border-radius: 17px;
    background: rgba(255, 255, 255, .76);
}

.booking-option-main {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 12px;
}

.booking-option-main strong {
    color: #536345;
    font-size: 16px;
}

.booking-option-price {
    margin-left: auto;
    color: #6d8350;
    font-size: 17px;
    font-weight: 700;
}

.booking-option-details {
    width: 100%;
    color: #7a827b;
    font-size: 13px;
    line-height: 1.5;
}

.booking-option-calendar {
    width: 100%;
    font-size: 12px;
}

.booking-option-calendar summary {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    color: #536345;
    font-weight: 700;
    list-style: none;
    padding: 3px 10px;
    border-radius: 20px;
    background: rgba(109, 131, 80, .12);
    width: fit-content;
}

.booking-option-calendar summary::-webkit-details-marker {
    display: none;
}

.booking-option-calendar[open] summary {
    margin-bottom: 8px;
}

.booking-option-calendar-list {
    list-style: none;
    margin: 0;
    padding: 8px 10px;
    max-height: 220px;
    overflow-y: auto;
    border: 1px solid rgba(117, 137, 90, .16);
    border-radius: 12px;
    background: #fff;
}

.booking-option-calendar-list li {
    padding: 3px 0;
    color: #4a5142;
    border-bottom: 1px dashed rgba(117, 137, 90, .16);
}

.booking-option-calendar-list li:last-child {
    border-bottom: none;
}

.booking-option-calendar-list li.term-probehla {
    color: #a3a89c;
    text-decoration: line-through;
}

.booking-option-calendar-list li.term-volno {
    color: #9a5f5f;
}

.booking-option-calendar-list .term-note {
    font-size: 11px;
    opacity: .85;
}

.booking-option-availability {
    color: #64705f;
    font-size: 12px;
    line-height: 1.45;
}

.booking-option-availability.is-full {
    color: #9a5f5f;
    font-weight: 700;
}

.booking-option-availability-multi {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.booking-option-availability-multi span {
    display: block;
}

.booking-button {
    align-self: flex-start;
    margin-top: auto;
    padding: 10px 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #6d8350;
    border-radius: 999px;
    background: #6d8350;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform .18s ease, background .18s ease;
}

.booking-button:hover {
    transform: translateY(-1px);
    background: #5f7446;
}

.booking-button.is-disabled {
    border-color: #b6b7b1;
    background: #b6b7b1;
    cursor: default;
    pointer-events: none;
}

.reservation-page {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    padding: 22px 10px 44px;
}

.reservation-card {
    width: min(920px, 100%);
    margin: 0 auto;
    padding: 30px;
    border: 1px solid rgba(117, 137, 90, .18);
    border-radius: 28px;
    background: rgba(255, 255, 255, .82);
    box-shadow: 0 16px 38px rgba(82, 93, 73, .10);
    backdrop-filter: blur(3px);
}

.reservation-heading {
    margin: 20px 0 26px;
    text-align: center;
}

.reservation-kicker {
    color: #6d8350;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.reservation-heading h1,
.reservation-success h1 {
    margin: 8px 0 8px;
    color: #536345;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(32px, 4vw, 50px);
    font-weight: 400;
}

.reservation-heading p {
    margin: 0;
    color: #667068;
}

.reservation-prefill {
    margin-bottom: 26px;
    padding: 16px 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 22px;
    border-radius: 18px;
    background: rgba(236, 241, 228, .76);
}

.reservation-prefill div {
    flex: 1 1 180px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.reservation-prefill span {
    color: #7a827b;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.reservation-prefill strong {
    color: #536345;
    font-size: 14px;
}

.reservation-form {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.form-field {
    flex: 1 1 calc(50% - 9px);
    min-width: 240px;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.form-field-wide {
    flex-basis: 100%;
    width: 100%;
}

.form-field > span {
    color: #59655d;
    font-size: 13px;
    font-weight: 700;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 12px 13px;
    border: 1px solid rgba(117, 137, 90, .28);
    border-radius: 12px;
    outline: none;
    background: rgba(255, 255, 255, .9);
    color: #4d584f;
    font: inherit;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: #75895a;
    box-shadow: 0 0 0 3px rgba(117, 137, 90, .10);
}

.form-field textarea {
    resize: vertical;
}

.form-field small {
    color: #7b837d;
    font-size: 11px;
    line-height: 1.45;
}

.reservation-consent {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: #667068;
    font-size: 12px;
    line-height: 1.5;
}

.reservation-consent input {
    margin-top: 2px;
}

.reservation-submit {
    display: flex;
    justify-content: flex-end;
}

.booking-button-submit {
    border: 0;
    padding: 13px 24px;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
}

.reservation-errors {
    margin: 0 0 22px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(180, 84, 84, .10);
    color: #884f4f;
}

.reservation-errors p {
    margin: 4px 0;
}

.reservation-success {
    text-align: center;
}

.reservation-success-mark {
    width: 58px;
    height: 58px;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #6d8350;
    color: #fff;
    font-size: 28px;
}

.reservation-summary {
    max-width: 560px;
    margin: 24px auto;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-radius: 16px;
    background: rgba(236, 241, 228, .76);
    text-align: left;
}

.reservation-success .booking-button {
    margin: 0 auto;
}

@media (max-width: 930px) {
    .reservation-page {
        height: auto;
        min-height: calc(100vh - 104px);
        padding: 8px 0 30px;
    }

    .reservation-card {
        padding: 22px 18px;
        border-radius: 22px;
    }

    .form-field {
        flex-basis: 100%;
        min-width: 0;
    }

    .booking-option {
        flex-basis: 100%;
    }
}

/* ROZPRACOVANÉ STRÁNKY – čekací obrazovka */
.waiting-page {
    text-align: center;
    padding-top: 60px;
}

.waiting-page h2 {
    margin: 0 0 25px;
    color: #6ac0ac;  
    font-weight: 400;
    font-family: 'Segoe UI', Tahoma, Verdana, sans-serif;
}

.right-panel .waiting-chameleon {
    width: 290px !important;
    height: 290px !important;
    max-width: 290px !important;
    max-height: 290px !important;

    display: block;
    object-fit: contain;

    animation: chameleon-spin 8s linear infinite;
    transform-origin: center center;
    margin: 70px auto 0;
}

.right-panel .kouzeleny-chameleon-logo {
    width: 150px !important;
    height: 150px !important;
    max-width: 150px !important;
    max-height: 150px !important;

    display: block;
    object-fit: contain;

    animation: chameleon-spin 8s linear infinite;
    transform-origin: center center;
    margin: 20px auto 0;
}
@keyframes chameleon-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* =========================
   404 – stránka nenalezena
   ========================= */
.not-found-page {
    width: 100%;
    height: 100%;
    min-height: 520px;
    padding: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.not-found-card {
    width: min(680px, 100%);
    padding: 58px 48px;
    border: 1px solid rgba(117, 137, 90, .20);
    border-radius: 30px;
    background: rgba(255, 255, 255, .78);
    box-shadow: 0 20px 50px rgba(76, 86, 74, .08);
    text-align: center;
}

.not-found-code {
    margin-bottom: 6px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(70px, 9vw, 118px);
    line-height: .95;
    color: rgba(117, 137, 90, .22);
}

.not-found-card h1 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(30px, 3.1vw, 48px);
    font-weight: 500;
    color: #536345;
}

.not-found-card p {
    max-width: 520px;
    margin: 20px auto 0;
    color: #69736c;
    font-size: 16px;
    line-height: 1.7;
}

.not-found-actions {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.not-found-primary,
.not-found-secondary {
    padding: 12px 20px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: transform .18s ease, background .18s ease;
}

.not-found-primary {
    background: #6d8350;
    color: #fff;
}

.not-found-secondary {
    border: 1px solid rgba(109, 131, 80, .35);
    background: rgba(255, 255, 255, .70);
    color: #627548;
}

.not-found-primary:hover,
.not-found-secondary:hover {
    transform: translateY(-1px);
}

@media (max-width: 930px) {
    .not-found-page {
        min-height: calc(100vh - 68px);
        padding: 22px 14px;
    }

    .not-found-card {
        padding: 42px 22px;
        border-radius: 24px;
    }
}

/* KOUZELNÝ CHAMELEON – textový blok */
.chameleon-page {
    width: 100%;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 12px 0 42px;
}

.chameleon-content {
    width: min(920px, calc(100% - 32px));
    margin: 0 auto;
    padding: 18px 48px 46px;
    border-radius: 28px;
    background: rgba(255, 255, 255, .72);
    color: #536345;
}

.chameleon-content h1 {
    margin: 10 0 18px;
    color: #536345;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(36px, 4vw, 56px);
    font-weight: 400;
    line-height: 1.1;
    text-align: center;
}

.chameleon-content h2 {
    margin: 34px 0 18px;
    color: #536345;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(24px, 2.4vw, 32px);
    font-weight: 400;
    line-height: 1.25;
}

.chameleon-content .chameleon-tagline {
    max-width: 760px;
    margin: 0 auto 20px;
    color: #6d8350;
    font-size: clamp(21px, 2.2vw, 29px);
    line-height: 1.35;
    text-align: center;
}

.chameleon-content p,
.chameleon-products,
.chameleon-example {
    color: #536345;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    line-height: 1.75;
}

.chameleon-content p {
    margin: 0 0 0px;
}

.chameleon-highlight {
    margin: 28px 0 !important;
    color: #6d8350 !important;
    font-size: 23px !important;
    text-align: center;
}

.chameleon-example-intro {
    margin-bottom: 8px !important;
}

.chameleon-example {
    margin: 0 0 30px;
    padding: 18px 24px;
    border-left: 3px solid rgba(109, 131, 80, .55);
    border-radius: 0 16px 16px 0;
    background: rgba(255, 255, 255, .46);
    font-style: italic;
}

.chameleon-products {
    margin: 0 0 28px;
    padding-left: 24px;
}

.chameleon-products li {
    margin: 4px 0;
    padding-left: 4px;
}

.chameleon-closing {
    margin: 34px 0 0 !important;
    color: #6d8350 !important;
    font-size: 21px !important;
    line-height: 1.55 !important;
    text-align: center;
}

@media (max-width: 760px) {
    .chameleon-page {
        flex: none;
        min-height: 0;
        overflow: visible;
        padding: 6px 0 30px;
    }

    .chameleon-content {
        width: 100%;
        padding: 28px 22px 34px;
        border-radius: 20px;
    }

    .chameleon-content h1 {
        margin-bottom: 16px;
        font-size: 38px;
    }

    .chameleon-content .chameleon-tagline {
        margin-bottom: 24px;
        font-size: 22px;
    }

    .chameleon-content h2 {
        margin-top: 28px;
        font-size: 25px;
    }

    .chameleon-content p,
    .chameleon-products,
    .chameleon-example {
        font-size: 17px;
        line-height: 1.68;
    }

    .chameleon-highlight {
        font-size: 20px !important;
    }

    .chameleon-example {
        padding: 15px 18px;
    }

    .chameleon-closing {
        font-size: 19px !important;
    }
}

/* GALERIE – tvorba z kurzů */
.gallery-page {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    padding: 34px 32px 52px;
}

.gallery-inner {
    width: min(1120px, 100%);
    margin: 0 auto;
}

.gallery-page h1 {
    margin: 0 0 30px;
    color: #536345;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(34px, 4vw, 54px);
    font-weight: 400;
    text-align: center;
}

.gallery-photos {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    gap: 16px;
}

.gallery-photo-button {
    flex: 0 1 calc(25% - 12px);
    min-width: 190px;
    aspect-ratio: 4 / 3;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 16px;
    background: rgba(255, 255, 255, .50);
    box-shadow: 0 8px 20px rgba(82, 93, 73, .08);
    cursor: zoom-in;
    transition: transform .18s ease, box-shadow .18s ease;
}

.gallery-photo-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 26px rgba(82, 93, 73, .13);
}

.gallery-photo-button img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

@media (max-width: 930px) {
    .gallery-page {
        height: auto;
        min-height: calc(100vh - 104px);
        padding: 26px 18px 40px;
    }

    .gallery-page h1 {
        margin-bottom: 22px;
        font-size: 30px;
    }

    .gallery-photos {
        gap: 12px;
    }

    .gallery-photo-button {
        flex: 0 1 calc(50% - 6px);
        min-width: 0;
        border-radius: 13px;
    }
}

/* Odkaz na zásady v levém menu a stránka zásad */
.contact-block a.privacy-link {
    margin-top: 6px;
    font-size: 10px;
    opacity: .8;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.reservation-consent a,
.privacy-page a {
    color: #6d8350;
}


/* ===== DOMŮ: jeden plakát na PC, šipky po stranách =====
   Každá položka zabírá celou šířku posuvníku; obrázek uvnitř
   má zachovanou původní menší velikost (bez roztahování).
   Mobil: všechny plakáty pod sebou, běžné svislé posouvání.
*/
.home-content {
    width: 100%;
    max-width: 1160px;
}
.home-gallery-title {
    margin: 6px auto 18px;
    text-align: center;
}
.home-poster-carousel {
    display: grid;
    grid-template-columns: 40px minmax(0, 422px) 40px;
    gap: 14px;
    width: min(100%, 530px);
    margin: 0 auto;
    align-items: center;
}
.home-poster-viewport {
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
}
.home-poster-viewport::-webkit-scrollbar {
    display: none;
}
.home-poster-viewport .home-two-images {
    display: flex;
    gap: 0;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
}
.home-poster-viewport .home-poster-item {
    flex: 0 0 100%;
    width: 100%;
    min-width: 0;
    scroll-snap-align: start;
}
.home-poster-viewport .home-poster-button {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
}
.home-poster-viewport .home-poster-button img {
    display: block;
    height: min(64vh, 580px);
    width: auto;
    max-width: 100%;
    max-height: none;
    aspect-ratio: auto;
    object-fit: contain;
}
.home-carousel-arrow {
    display: grid;
    place-items: center;
    justify-self: center;
    align-self: center;
    width: 40px;
    height: 40px;
    padding: 0;
    /* Stejný jemný vzhled jako u 2 / 2,5 plakátu, bez výrazného textového symbolu. */
    transform: translateY(-23px);
    border: 1px solid rgba(83, 99, 69, .38);
    border-radius: 50%;
    background: rgba(255, 255, 255, .85);
    color: #617452;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 2px 9px rgba(60, 50, 35, .10);
    transition: background .18s ease, transform .18s ease;
}
/* Jedna skutečná SVG šipka v každém kolečku; bez zdvojení s textovým znakem. */
.home-carousel-arrow::before,
.home-carousel-arrow::after {
    content: none;
}
.home-carousel-arrow svg {
    display: block;
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.25;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: none;
}
.home-carousel-arrow:hover:not(:disabled) {
    background: #fff;
    transform: translateY(-23px) scale(1.04);
}
.home-carousel-arrow:focus-visible {
    outline: 3px solid #7b9661;
    outline-offset: 3px;
}
.home-carousel-arrow:disabled {
    opacity: .43;
    cursor: default;
}
@media (max-width: 930px) {
    .home-content { max-width: 100%; }
    .home-gallery-title { width: 70%; margin: 0 auto 16px; text-align: left; }
    .home-poster-carousel { display: block; width: 100%; max-width: none; }
    .home-carousel-arrow { display: none; }
    .home-poster-viewport { overflow: visible; scroll-snap-type: none; }
    .home-poster-viewport .home-two-images {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 50px;
    }
    .home-poster-viewport .home-poster-item {
        width: 70%;
        flex: none;
    }
    .home-poster-viewport .home-poster-button img {
        width: 100%;
        height: auto;
        max-height: none;
        aspect-ratio: auto;
        margin: 0 auto;
        object-fit: contain;
    }
}
@media (prefers-reduced-motion: reduce) {
    .home-poster-viewport { scroll-behavior: auto; }
    .home-carousel-arrow { transition: none; }
}


/* WORKSHOPY – přehled a detaily listopadových akcí */
.workshops-page {
    max-width: 1400px;
    margin-inline: auto;
}
.workshop-overview {
    max-width: 1030px;
    margin: 0 auto;
    padding-bottom: 50px;
}
.workshop-overview-intro {
    max-width: 700px;
    margin: 18px auto 30px;
    color: #5d685f;
    text-align: center;
    font-size: 16px;
    line-height: 1.65;
}
.workshop-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}
.workshop-card {
    min-width: 0;
    padding: 18px;
    background: rgba(255,255,255,.82);
    border: 1px solid rgba(117,137,90,.24);
    border-radius: 22px;
    box-shadow: 0 14px 32px rgba(82,93,73,.08);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: transform .2s ease, box-shadow .2s ease;
}
.workshop-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 38px rgba(82,93,73,.14);
}
.workshop-card:focus-visible,
.workshop-detail-poster:focus-visible {
    outline: 3px solid #75895a;
    outline-offset: 4px;
}
.workshop-card > img {
    display: block;
    align-self: center;
    height: min(52vh, 440px);
    max-width: 100%;
    width: auto;
    object-fit: contain;
}
.workshop-card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    align-items: flex-start;
    padding: 18px 8px 5px;
    gap: 10px;
}
.workshop-card-content h2 {
    margin: 4px 0 0;
    color: #536345;
    font: 400 clamp(24px,2.2vw,32px)/1.2 Georgia,"Times New Roman",serif;
}
.workshop-card-content p {
    color: #5d685f;
    margin: 0;
    line-height: 1.5;
}
.workshop-card-time,
.workshop-card-price {
    color: #536345;
    font-size: 14px;
    font-weight: 600;
}
.workshop-card-action {
    margin-top: auto;
    padding-top: 16px;
    font-weight: 700;
    font-size: 14px;
    color: #6d8350;
}
.workshop-detail-grid {
    max-width: 1050px;
    margin: 32px auto 45px;
    display: grid;
    grid-template-columns: minmax(200px, 300px) minmax(0, 1fr);
    gap: 25px;
    align-items: start;
}
.workshop-detail-poster {
    padding: 10px;
    border-radius: 18px;
    background: rgba(255,255,255,.73);
    text-decoration: none;
    color: #536345;
    text-align: center;
    font-size: 12px;
}
.workshop-detail-poster img {
    width: 100%;
    border-radius: 10px;
    height: auto;
}
.workshop-detail-poster span {
    display: block;
    margin: 9px 0 3px;
}
.workshop-detail-main {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.workshop-detail-main .booking-options {
    margin-top: 18px;
}
.workshop-not-found {
    text-align: center;
}
@media (max-width: 800px) {
    .workshop-cards {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }
    .workshop-detail-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }
    .workshop-detail-poster {
        width: min(100%, 280px);
        justify-self: center;
    }
    .workshop-card > img {
        height: auto;
        max-height: 520px;
    }
    .workshop-overview-intro {
        font-size: 15px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .workshop-card { transition: none; }
}
