/* ==========================================================================
   Nástupiště DVA:JEDNA (www.nastupistedvajedna.cz)
   Vizuální klon 2jedna.cz nad naším flat-file PHP CMS systémem
   ========================================================================== */

:root {
    --n21-dark: #28292b;
    --n21-olive: rgba(139, 133, 45, 0.96);
    --n21-olive-solid: #8b852d;
    --n21-olive-dark: #6f6a22;
    --n21-text: #28292b;
    --n21-muted: #666666;
    --n21-border: #e5e5e2;
    --n21-bg: #ffffff;
    --n21-bg-soft: #f8f8f5;
    --font-main: 'Heebo', 'Open Sans', Helvetica, Arial, sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-main);
    color: var(--n21-text);
    background-color: var(--n21-bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: var(--n21-olive-solid);
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
    color: var(--n21-dark);
}

main#main-content {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
}

/* ==========================================================================
   1. ÚVODNÍ STRÁNKA (SPLIT LAYOUT – KLON 2JEDNA.CZ)
   ========================================================================== */

.n21-home-split {
    display: flex;
    flex: 1 0 auto;
    width: 100%;
    min-height: calc(100vh - 280px);
}

.n21-home-left {
    width: 40%;
    padding: 4.5% 50px 5% 8%;
    background: var(--n21-bg);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.n21-home-right {
    width: 60%;
    min-height: 680px;
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    position: relative;
}

.n21-home-logo-wrap {
    position: relative;
    display: inline-block;
    max-width: 340px;
    width: 100%;
    margin-bottom: 10px;
}

.n21-home-logo {
    display: block;
    max-width: 100%;
    height: auto;
}

.n21-home-brand-sub {
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: var(--n21-olive);
    margin-bottom: 18px;
}

.n21-divider-dark {
    width: 48px;
    height: 6px;
    background-color: var(--n21-dark);
    margin: 0 0 30px 0;
}

.n21-divider-olive {
    width: 48px;
    height: 5px;
    background-color: var(--n21-olive);
    margin: 14px auto;
}

/* Vertikální menu s ikonou teček (2jedna.cz styl) */
.n21-home-nav {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 34px;
}

.n21-blurb {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--n21-dark);
    cursor: pointer;
    background: none;
    border: none;
    padding: 2px 0;
    text-align: left;
    font-family: var(--font-main);
}

.n21-blurb-icon {
    width: 24px;
    height: auto;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.n21-blurb-text {
    font-size: 25px;
    font-weight: 700;
    letter-spacing: 0.5px;
    line-height: 1.2;
    text-transform: uppercase;
    color: var(--n21-dark);
    text-shadow: 0.06em 0.07em 0em rgba(0, 0, 0, 0.18);
    transition: color 0.2s ease, transform 0.2s ease;
}

.n21-blurb:hover .n21-blurb-text {
    color: var(--n21-olive-solid);
    transform: translateX(4px);
}

.n21-blurb:hover .n21-blurb-icon {
    transform: scale(1.08);
}

.n21-blurb-secondary {
    margin-top: 4px;
}

.n21-blurb-secondary .n21-blurb-text {
    font-size: 18px;
    color: var(--n21-olive-solid);
    text-shadow: none;
}

.n21-blurb-secondary:hover .n21-blurb-text {
    color: var(--n21-dark);
}

/* Otevírací doba karta (místo statického JPG) */
.n21-hours-card {
    border: 3px solid var(--n21-dark);
    padding: 22px 24px;
    max-width: 390px;
    background: #ffffff;
}

.n21-hours-card-title {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--n21-olive);
    margin-bottom: 10px;
}

.n21-hours-line {
    font-size: 19px;
    font-weight: 700;
    color: var(--n21-dark);
    line-height: 1.5;
}

.n21-hours-line.is-closed {
    color: var(--n21-muted);
    font-weight: 600;
}

.n21-hours-meta {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--n21-border);
    font-size: 14px;
    color: var(--n21-muted);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.n21-hours-meta a {
    color: var(--n21-dark);
    font-weight: 600;
}

.n21-hours-meta a:hover {
    color: var(--n21-olive-solid);
}

/* ==========================================================================
   2. HLAVIČKA PODSTRÁNEK
   ========================================================================== */

.n21-sub-header {
    background: #ffffff;
    border-bottom: 1px solid var(--n21-border);
    position: sticky;
    top: 0;
    z-index: 1030;
}

.n21-sub-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.n21-sub-logo-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.n21-sub-logo {
    height: 52px;
    width: auto;
    display: block;
}

.n21-sub-badge {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--n21-olive-solid);
    border-left: 2px solid var(--n21-border);
    padding-left: 12px;
    line-height: 1.25;
}

.n21-sub-nav {
    display: flex;
    align-items: center;
    gap: 22px;
}

.n21-sub-nav a,
.n21-sub-nav button {
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--n21-dark);
    text-decoration: none;
    background: none;
    border: none;
    padding: 6px 2px;
    cursor: pointer;
    position: relative;
}

.n21-sub-nav a:hover,
.n21-sub-nav a.active {
    color: var(--n21-olive-solid);
}

.n21-sub-nav a.active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: var(--n21-olive);
}

.n21-nav-cta {
    background-color: var(--n21-olive-solid) !important;
    color: #ffffff !important;
    padding: 9px 18px !important;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.n21-nav-cta:hover {
    background-color: var(--n21-dark) !important;
    color: #ffffff !important;
}

.n21-mobile-toggle {
    display: none;
    background: none;
    border: 2px solid var(--n21-dark);
    color: var(--n21-dark);
    width: 42px;
    height: 42px;
    border-radius: 4px;
    font-size: 22px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* ==========================================================================
   3. PODSTRÁNKY – ZÁHLAVÍ, JÍDELNÍ A NÁPOJOVÝ LÍSTEK
   ========================================================================== */

.n21-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.n21-section {
    padding: 48px 0 64px;
}

.n21-page-header {
    text-align: center;
    margin-bottom: 40px;
}

.n21-page-title {
    font-size: 38px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--n21-dark);
    margin: 0;
}

.n21-page-subtitle {
    font-size: 16px;
    color: var(--n21-muted);
    margin-top: 8px;
}

/* Rychlá navigace kategorií */
.n21-cat-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
}

.n21-cat-pill {
    display: inline-block;
    padding: 7px 14px;
    border: 1px solid var(--n21-border);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--n21-dark);
    background: var(--n21-bg-soft);
}

.n21-cat-pill:hover {
    border-color: var(--n21-olive-solid);
    background: var(--n21-olive-solid);
    color: #ffffff;
}

/* Kategorie jídelního a nápojového lístku (2jedna.cz styl) */
.n21-menu-category {
    margin-bottom: 46px;
    padding: 28px 30px;
    border: 1px solid var(--n21-border);
    background: #ffffff;
    scroll-margin-top: 90px;
}

.n21-menu-cat-title {
    font-size: 26px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--n21-dark);
    margin: 0 0 6px 0;
    border-bottom: 3px solid var(--n21-olive);
    padding-bottom: 10px;
    display: inline-block;
}

.n21-menu-cat-subtitle {
    font-size: 14.5px;
    color: var(--n21-muted);
    margin: 8px 0 22px 0;
    line-height: 1.6;
}

.n21-menu-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 42px;
    margin-top: 18px;
}

.n21-menu-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.n21-menu-item-top {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.n21-menu-item-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--n21-dark);
    line-height: 1.35;
}

.n21-menu-item-dots {
    flex: 1 1 auto;
    border-bottom: 1px dotted #bdbdb5;
    min-width: 18px;
    position: relative;
    top: -3px;
}

.n21-menu-item-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--n21-olive-solid);
    white-space: nowrap;
}

.n21-menu-item-desc {
    font-size: 14px;
    color: var(--n21-muted);
    line-height: 1.5;
}

.n21-menu-item-allergens {
    font-size: 12px;
    color: #888;
    font-weight: 400;
}

/* Wi-Fi & Alergeny box */
.n21-info-footer-box {
    background: var(--n21-bg-soft);
    border-left: 4px solid var(--n21-olive);
    padding: 20px 24px;
    margin-top: 24px;
}

/* ==========================================================================
   4. DENNÍ MENU & AKCE & REZERVACE
   ========================================================================== */

.n21-iframe-wrap {
    background: #ffffff;
    border: 1px solid var(--n21-border);
    padding: 16px;
    border-radius: 4px;
}

.n21-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 4px;
    border: 2px solid var(--n21-dark);
    background: var(--n21-dark);
    color: #ffffff;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.n21-btn:hover {
    background: var(--n21-olive-solid);
    border-color: var(--n21-olive-solid);
    color: #ffffff;
}

.n21-btn-olive {
    background: var(--n21-olive-solid);
    border-color: var(--n21-olive-solid);
    color: #ffffff;
}

.n21-btn-olive:hover {
    background: var(--n21-dark);
    border-color: var(--n21-dark);
    color: #ffffff;
}

.n21-akce-card {
    background: #ffffff;
    border: 1px solid var(--n21-border);
    padding: 30px;
    margin-bottom: 30px;
}

.n21-akce-date {
    display: inline-block;
    background: var(--n21-olive-solid);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 12px;
    margin-bottom: 12px;
}

.n21-akce-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--n21-dark);
    margin: 0 0 12px 0;
}

.n21-akce-desc {
    font-size: 16px;
    color: #444;
    line-height: 1.7;
    margin-bottom: 18px;
}

.n21-akce-img-wrap {
    text-align: center;
    margin-top: 16px;
}

.n21-akce-img-wrap img {
    max-width: 100%;
    max-height: 620px;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

/* Přizpůsobení barev DnešníOběd rezervačního widgetu */
.do-rez-wrapper {
    --do-rez-primary: #8b852d !important;
}
.do-rez-fab {
    background: #8b852d !important;
}

/* ==========================================================================
   5. PATIČKA (EXACT KLON #28292b Z 2JEDNA.CZ)
   ========================================================================== */

.n21-footer {
    background-color: var(--n21-dark);
    color: #ffffff;
    padding: 58px 0 32px;
    margin-top: auto;
}

.n21-footer-heading {
    font-family: var(--font-main);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 16px;
    color: #ffffff;
    letter-spacing: 4px;
    line-height: 1.45;
    margin: 0 0 16px 0;
}

.n21-footer-text {
    font-size: 16px;
    line-height: 1.8;
    color: #ffffff;
}

.n21-footer-text p {
    margin: 0 0 8px 0;
}

.n21-footer-text a {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.n21-footer-text a:hover {
    color: var(--n21-olive);
}

.n21-footer-phone {
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 24px;
    color: var(--n21-olive) !important;
    line-height: 1.3;
    text-decoration: none !important;
    display: inline-block;
    margin-bottom: 10px;
}

.n21-footer-phone:hover {
    color: #ffffff !important;
}

.n21-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    margin-top: 38px;
    padding-top: 22px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.n21-footer-bottom a {
    color: #ffffff;
}

.n21-footer-bottom a:hover {
    color: var(--n21-olive);
}

.n21-sister-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 4px;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 600;
}

.n21-sister-pill:hover {
    border-color: var(--n21-olive-solid);
    background: var(--n21-olive-solid);
    color: #ffffff !important;
}

/* ==========================================================================
   6. RESPONZIVITA
   ========================================================================== */

@media (max-width: 991px) {
    .n21-home-split {
        flex-direction: column;
    }

    .n21-home-left {
        width: 100%;
        padding: 40px 8% 44px;
    }

    .n21-home-right {
        width: 100%;
        min-height: 360px;
        height: 55vw;
    }

    .n21-menu-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .n21-mobile-toggle {
        display: inline-flex;
    }

    .n21-sub-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        flex-direction: column;
        align-items: stretch;
        padding: 16px 24px 22px;
        gap: 12px;
        border-bottom: 2px solid var(--n21-olive);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    }

    .n21-sub-nav.open {
        display: flex;
    }

    .n21-sub-nav a.active::after {
        display: none;
    }

    .n21-footer-heading {
        font-size: 14px;
    }

    .n21-footer-text {
        font-size: 15px;
    }

    .n21-footer-phone {
        font-size: 20px;
    }
}

@media (max-width: 575px) {
    .n21-blurb-text {
        font-size: 21px;
    }

    .n21-page-title {
        font-size: 28px;
    }

    .n21-menu-category {
        padding: 20px 18px;
    }
}
