/* ==========================================================================
   Vcelin - verejna stranka
   --------------------------------------------------------------------------
   Stavi na base.css, ktery musi byt nacteny driv. Poradi sekci odpovida
   poradi na strance: hlavicka, hero, jidelnicek, o nas, kontakt, paticka.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Hlavicka
   -------------------------------------------------------------------------- */

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    min-height: 116px;
}

    .site-header nav {
        display: flex;
        gap: 32px;
        font-size: 14px;
    }

        .site-header nav a:hover {
            color: #a87512;
        }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 30px;
    align-items: center;
    min-height: 555px;
    padding-top: 30px;
    padding-bottom: 66px;
}

    .hero h1 {
        margin: 20px 0 24px;
        font-size: clamp(42px, 5vw, 68px);
        font-weight: 800;
        letter-spacing: -3px;
        line-height: 1.1;
    }

    .hero em {
        font-family: var(--font-accent);
        font-style: italic;
        font-weight: 400;
        color: var(--honey-ink);
    }

    .hero p {
        margin-bottom: 28px;
        font-size: 16px;
        line-height: 1.8;
    }

.hero-note {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 25px;
    color: var(--muted);
    font-size: 12px;
}

/* Maskot stoji volne na podkladu stranky - zadny ramecek ani oblouk.
   Tri radky pod sebou: popisek, vcela, pata s cenou a podpisem. */
.hero-art {
    display: grid;
    gap: 14px;
}

.bee-kicker {
    text-align: center;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 1.7px;
    color: #8b7a49;
}

.bee-mascot {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 10px #54451b14);
}

.bee-foot {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Cena je na strance to nejhledanejsi cislo, proto medove razitko. */
.price-stamp {
    display: grid;
    place-content: center;
    justify-items: center;
    width: 118px;
    height: 118px;
    border: 1px dashed #ad842c;
    border-radius: 50%;
    outline: 6px solid var(--honey);
    background: var(--honey);
    transform: rotate(-8deg);
}

    .price-stamp b {
        font-family: var(--font-head);
        font-size: 27px;
        letter-spacing: -1px;
        line-height: 1.2;
    }

    .price-stamp small {
        font-size: 8px;
        letter-spacing: 1px;
        text-align: center;
        color: #6b5413;
    }

.bee-caption {
    margin-left: auto;
    text-align: right;
    font-family: var(--font-accent);
    font-style: italic;
    font-size: 18px;
    color: #776535;
}

/* --------------------------------------------------------------------------
   Jidelnicek
   -------------------------------------------------------------------------- */

.menu-section {
    padding: 64px 0;
    background: var(--white);
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}

    .section-heading h2 {
        margin-top: 10px;
    }

h2 {
    font-size: 34px;
    letter-spacing: -1.3px;
}

.week-label {
    text-align: right;
    font-size: 14px;
    font-weight: 600;
}

    .week-label span {
        display: block;
        margin-top: 4px;
        color: var(--muted);
        font-size: 12px;
        font-weight: 400;
    }

/* Zalozky dnu. Bez JavaScriptu se nezobrazi a vsechny dny zustanou videt;
   skript prida .js-tabs na obal a teprve tim se zapne prepinani. */
.day-tabs {
    display: none;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    margin-bottom: 25px;
    border-bottom: 1px solid var(--line);
}

.js-tabs .day-tabs {
    display: grid;
}

.day-tabs button {
    padding: 15px 7px;
    border: 0;
    border-bottom: 3px solid transparent;
    background: none;
    text-align: left;
    font-size: 15px;
    font-weight: 600;
}

    .day-tabs button small {
        display: block;
        margin-top: 3px;
        color: var(--muted);
        font-size: 11px;
        font-weight: 400;
    }

    .day-tabs button[aria-selected="true"] {
        border-bottom-color: var(--green);
        color: var(--green);
    }

        .day-tabs button[aria-selected="true"] small {
            color: #93721f;
        }

/* Bez zalozek jdou dny pod sebou a potrebuji mezeru; se zalozkami je
   videt vzdy jen jeden. Nadpis dne zustava v obou pripadech - nese plne
   datum a oznaceni DNES, ktere se do zalozky uz nevejde. */
.day-panel + .day-panel {
    margin-top: 32px;
}

.js-tabs .day-panel {
    margin-top: 0;
}

.day-heading {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 12px;
}

    .day-heading h3 {
        font-size: 19px;
    }

    .day-heading span {
        color: var(--muted);
        font-size: 12px;
    }

.today-flag {
    padding: 2px 8px;
    border-radius: 4px;
    background: var(--green-soft);
    color: var(--green);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
}

.soup {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 8px;
    padding: 17px 24px;
    border-radius: 6px;
    background: var(--paper);
}

    .soup > span:first-child {
        font-size: 11px;
        letter-spacing: 1px;
        color: var(--muted);
    }

    .soup b {
        font-size: 15px;
        font-weight: 500;
    }

.allergens {
    color: #899086;
    font-size: 11px;
}

.menu-row {
    display: flex;
    align-items: center;
    gap: 23px;
    padding: 24px;
    border-bottom: 1px solid var(--line);
}

    .menu-row h4 {
        font-size: 17px;
        font-weight: 600;
        letter-spacing: -.4px;
    }

    .menu-row p {
        margin-top: 5px;
        font-size: 12px;
    }

.meal-no {
    min-width: 24px;
    font-family: var(--font-accent);
    font-size: 21px;
    color: #9c8146;
}

.meal-price {
    margin-left: auto;
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
}

/* Zavreny den - misto jidel jen poznamka. */
.day-closed {
    padding: 28px 24px;
    border: 1px dashed var(--line);
    border-radius: 6px;
    color: var(--muted);
    font-style: italic;
}

.menu-foot {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 24px;
    color: var(--muted);
    font-size: 12px;
}

.allergen-legend {
    margin-top: 20px;
    color: var(--muted);
    font-size: 12px;
}

    .allergen-legend p {
        margin-top: 10px;
        line-height: 2;
    }

/* Provozni zprava z administrace - vyjimecne zavreno, dovolena a podobne. */
.notice {
    display: flex;
    gap: 14px;
    margin-bottom: 25px;
    padding: 18px 22px;
    border-left: 3px solid var(--honey);
    border-radius: 0 6px 6px 0;
    background: #fdf6e3;
}

    .notice h3 {
        margin-bottom: 4px;
        font-size: 14px;
    }

    .notice p {
        color: #6f6646;
        font-size: 13px;
    }

/* --------------------------------------------------------------------------
   O jidelne
   -------------------------------------------------------------------------- */

.about {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr 70px;
    gap: 30px;
    align-items: center;
    padding-top: 75px;
    padding-bottom: 75px;
}

    .about > .eyebrow {
        grid-column: 1 / -1;
        margin-bottom: -12px;
    }

    .about h2 {
        font-size: 38px;
    }

    .about p {
        max-width: 400px;
        line-height: 1.9;
    }

.about-flower {
    font-size: 68px;
    color: #a98a39;
}

/* --------------------------------------------------------------------------
   Kontakt a paticka
   -------------------------------------------------------------------------- */

.contact {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 30px;
    padding-top: 48px;
    padding-bottom: 55px;
    border-top: 1px solid #d9ddcf;
}

    .contact h2 {
        margin-top: 12px;
        font-size: 32px;
    }

    .contact h3 {
        margin: 12px 0;
        font-size: 13px;
    }

    .contact p {
        margin-bottom: 12px;
        font-size: 14px;
    }

    .contact a {
        font-size: 13px;
    }

        .contact a:hover {
            text-decoration: underline;
        }

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 23px;
    padding-bottom: 23px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 11px;
}

/* --------------------------------------------------------------------------
   Uzsi obrazovky
   -------------------------------------------------------------------------- */

@media (max-width: 1150px) {
    .hero {
        gap: 20px;
    }

        .hero h1 {
            font-size: 54px;
        }

    .price-stamp {
        width: 104px;
        height: 104px;
    }

        .price-stamp b {
            font-size: 24px;
        }

    .bee-caption {
        font-size: 16px;
    }

    .site-header nav {
        gap: 20px;
    }
}

@media (max-width: 760px) {
    .wrap {
        padding-inline: 23px;
    }

    .site-header {
        flex-wrap: wrap;
        min-height: 90px;
        padding-top: 18px;
        padding-bottom: 18px;
    }

        .site-header nav {
            order: 3;
            width: 100%;
            justify-content: space-between;
            margin-top: 12px;
            font-size: 12px;
        }

        .site-header .small {
            padding: 8px;
            font-size: 10px;
        }

    .brand {
        font-size: 15px;
    }

    .brand-mark {
        width: 39px;
        height: 41px;
        font-size: 30px;
    }

    .hero {
        grid-template-columns: 1fr;
        gap: 32px;
        padding-top: 30px;
        padding-bottom: 35px;
    }

        .hero h1 {
            font-size: 51px;
            letter-spacing: -2.5px;
        }

        .hero p {
            font-size: 14px;
        }

    .hero-note {
        margin-top: 18px;
    }

    .hero-art {
        width: 100%;
        max-width: 480px;
        margin: 5px auto 0;
        gap: 10px;
    }

    .bee-kicker {
        font-size: 8px;
        letter-spacing: 1.3px;
    }

    .price-stamp {
        width: 96px;
        height: 96px;
    }

        .price-stamp b {
            font-size: 22px;
        }

    .bee-caption {
        font-size: 15px;
    }

    .menu-section {
        padding: 38px 0;
    }

    h2 {
        font-size: 28px;
    }

    .section-heading {
        flex-direction: column;
        align-items: start;
        gap: 14px;
    }

    .week-label {
        text-align: left;
    }

        .week-label span {
            display: inline;
            margin-left: 10px;
        }

    .day-tabs {
        gap: 0;
    }

        .day-tabs button {
            padding: 12px 4px;
            text-align: center;
            font-size: 12px;
        }

            .day-tabs button small {
                font-size: 9px;
            }

    .menu-row {
        gap: 12px;
        padding: 19px 4px;
    }

        .menu-row h4 {
            font-size: 14px;
        }

    .meal-price {
        font-size: 13px;
    }

    .meal-no {
        min-width: 18px;
        font-size: 18px;
    }

    .soup {
        flex-wrap: wrap;
        gap: 12px;
        padding: 15px;
    }

        .soup b {
            font-size: 13px;
        }

        .soup .allergens {
            margin-left: auto;
        }

    .menu-foot {
        align-items: center;
        font-size: 10px;
    }

    .about {
        grid-template-columns: 1fr;
        padding-top: 42px;
        padding-bottom: 42px;
    }

        .about h2 {
            font-size: 32px;
        }

        .about > .eyebrow {
            margin-bottom: 0;
        }

    .about-flower {
        position: absolute;
        top: 65px;
        right: 27px;
        font-size: 54px;
    }

    .contact {
        grid-template-columns: 1fr;
        gap: 20px;
        padding-top: 35px;
        padding-bottom: 35px;
    }

        .contact h2 br {
            display: none;
        }

        .contact h3 {
            margin-top: 0;
        }

    .site-footer {
        flex-wrap: wrap;
        font-size: 9px;
    }
}

@media (max-width: 360px) {
    .bee-caption {
        font-size: 13px;
    }
}

/* --------------------------------------------------------------------------
   Tisk - na papir patri cely tyden, nic jineho
   -------------------------------------------------------------------------- */

@media print {
    .site-header,
    .hero,
    .about,
    .contact,
    .site-footer,
    .menu-foot,
    .allergen-legend,
    .day-tabs {
        display: none !important;
    }

    .menu-section {
        padding: 0;
    }

    /* Pri tisku se zalozky ignoruji a vytisknou se vsechny dny. */
    .js-tabs .day-panel {
        display: block !important;
    }

    .day-panel {
        break-inside: avoid;
        margin-top: 18px;
    }

    .wrap {
        padding: 10px;
    }

    .section-heading h2 {
        font-size: 24px;
    }

    body {
        background: var(--white);
    }
}
