/* ============================================================
   LUXURY SIDE DRAWER + reduced top menu (Fáze 14.7)
   Top inline nav = 4 primary items (always visible desktop+mobile)
   Side drawer = ALL items, slide-in from left, gold accents
   ============================================================ */

/* Hamburger viditelný vždy (desktop i mobil) */
.nav-burger.nav-burger--always{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 0;
    width: 40px;
    height: 40px;
    padding: 0;
    margin-right: 14px;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    transition: opacity .15s;
}
.nav-burger.nav-burger--always:hover{ opacity: .75; }
.nav-burger.nav-burger--always span:not(.sr-only){
    display: block;
    width: 22px;
    height: 1.5px;
    background: currentColor;
    transition: transform .25s, opacity .25s;
}
.site-header--transparent .nav-burger.nav-burger--always{
    color: rgba(255, 255, 255, .92);
}
.site-header--solid .nav-burger.nav-burger--always,
body:not(.has-hero) .nav-burger.nav-burger--always{
    color: var(--c-ink);
}
/* Když je drawer otevřený → hamburger se změní v X */
.nav-burger.nav-burger--always[aria-expanded="true"] span:not(.sr-only):nth-child(2){ transform: translateY(6.5px) rotate(45deg); }
.nav-burger.nav-burger--always[aria-expanded="true"] span:not(.sr-only):nth-child(3){ opacity: 0; }
.nav-burger.nav-burger--always[aria-expanded="true"] span:not(.sr-only):nth-child(4){ transform: translateY(-6.5px) rotate(-45deg); }
/* Top inline menu — kompaktní 4 items max */
.site-nav-inline{
    display: inline-flex;
    align-items: center;
    gap: 28px;
}
.site-nav-inline > a{
    color: inherit;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 6px 0;
    position: relative;
    transition: color .2s;
    white-space: nowrap;
}
.site-nav-inline > a::after{
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 0;
    height: 1px;
    background: var(--c-gold);
    transition: width .25s ease;
}
.site-nav-inline > a:hover::after,
.site-nav-inline > a.is-active::after{ width: 100%; }
.site-nav-inline > a.is-active{ color: var(--c-gold-light); }
.site-header--transparent .site-nav-inline > a{ color: rgba(255, 255, 255, .92); }
.site-header--transparent .site-nav-inline > a:hover{ color: var(--c-gold-light); }

@media (max-width: 720px) {
/* Mobile — schovej inline menu (jen primary CTA + hamburger zůstanou) */
    .site-nav-inline{ display: none; }
}/* === Side drawer === */
nav.site-drawer,
.site-nav.site-drawer{
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    max-width: 420px;
    height: 100vh;
    background: #0f1714;
    color: rgba(255, 255, 255, .92);
    padding: 0;
    z-index: 1200;
    transform: translateX(-100%);
    transition: transform .35s cubic-bezier(.4, 0, .2, 1);
    box-shadow: 24px 0 64px rgba(0, 0, 0, .35);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    gap: 0;
    align-items: stretch;
    margin: 0;
}
nav.site-drawer.is-open,
.site-nav.site-drawer.is-open{ transform: translateX(0); }
@media (max-width: 720px) {
nav.site-drawer,
    .site-nav.site-drawer{
        max-width: 100%;
    }
}.site-drawer-header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 32px;
    border-bottom: 1px solid rgba(201, 169, 97, .18);
    flex-shrink: 0;
}
.site-drawer-logo{
    color: var(--c-gold-light);
    text-decoration: none;
}
.site-drawer-logo-text{
    font-family: var(--font-serif);
    font-size: 26px;
    letter-spacing: .04em;
}
.nav-close{
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .15);
    color: rgba(255, 255, 255, .8);
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
    transition: all .15s;
}
.nav-close:hover{
    border-color: var(--c-gold);
    color: var(--c-gold-light);
    background: rgba(201, 169, 97, .08);
}
.site-drawer-body{
    flex: 1 1 auto;
    padding: 32px 32px 16px;
    overflow-y: auto;
}
.site-drawer-eyebrow{
    color: rgba(201, 169, 97, .65);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .22em;
    margin-bottom: 18px;
    font-weight: 500;
}
.site-drawer-list{
    list-style: none !important;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.site-drawer-list li{
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.site-drawer-list li:last-child{ border-bottom: 0; }
.site-drawer-list a{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 4px;
    color: rgba(255, 255, 255, .9);
    text-decoration: none;
    transition: color .15s, padding .2s;
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 400;
    letter-spacing: .01em;
    line-height: 1.2;
}
.site-drawer-list a:hover{
    color: var(--c-gold-light);
    padding-left: 12px;
}
.site-drawer-list a.is-active{
    color: var(--c-gold-light);
}
.site-drawer-list a.is-active .site-drawer-link-arrow{ color: var(--c-gold); }
.site-drawer-link-arrow{
    color: rgba(255, 255, 255, .35);
    transition: color .15s, transform .2s;
    flex-shrink: 0;
}
.site-drawer-list a:hover .site-drawer-link-arrow{
    color: var(--c-gold-light);
    transform: translateX(4px);
}
.site-drawer-footer{
    flex-shrink: 0;
    padding: 24px 32px 36px;
    border-top: 1px solid rgba(201, 169, 97, .18);
    background: rgba(0, 0, 0, .15);
    display: flex;
    flex-direction: column;
    gap: 16px;
}
/* Specificity boost: .site-nav a { padding: 16px 0 } (0,0,1,1) by jinak přebíjelo.
   .site-drawer a.site-drawer-phone = (0,0,2,1) → vyhrává. */
.site-drawer a.site-drawer-phone{
    display: flex;
    align-items: center;
    gap: 10px;
    align-self: flex-start;
    padding: 0;
    color: var(--c-gold-light);
    text-decoration: none;
    font-size: 15px;
    letter-spacing: .03em;
    white-space: nowrap;
    transition: color .15s;
}
.site-drawer-phone:hover{ color: #fff; }
.site-drawer-phone svg{ opacity: .75; }
/* CTA tlačítko v drawer — specificity boost proti .site-nav a:hover {color:--c-primary}
   které by jinak nastavilo text na barvu pozadí (nečitelné). Plus padding override
   proti .site-nav a {padding:16px 0}. */
.site-drawer a.site-drawer-cta{
    width: 100%;
    text-align: center;
    padding: 14px 24px;
    font-size: 12px;
    letter-spacing: .18em;
    color: #fff;
    background: var(--c-primary, #b99d75);
    border: 1px solid var(--c-primary, #b99d75);
}
/* Touch zařízení — hover state zůstává "stuck" po tapu, takže ho zakážeme.
   Na desktop @media (hover: hover) hover funguje normálně. */
@media (hover: hover) {
    .site-drawer a.site-drawer-cta:hover {
        background: var(--c-primary-2, #ab916c);
        border-color: var(--c-primary-2, #ab916c);
        color: #fff;
    }
}
.site-drawer a.site-drawer-cta:active {
    transform: scale(0.98);
}
/* ── Lang switcher v drawer ──
   Hlavička ho na mobilu skrývá → musí být v drawer. Design:
   - jemný label „Jazyk" s ikonou globusu
   - segmented control pod ním (full-width, equal columns)
   - active = gold gradient + černý text + jemný shadow
   - každý segment má kód (CS/EN/DE) + plný název (Čeština/English/Deutsch) pod */
.site-drawer-lang-block{
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(201, 169, 97, .15);
}
.site-drawer-lang-label{
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: rgba(255, 255, 255, .42);
    padding: 0 2px;
}
.site-drawer-lang-label svg{
    opacity: .55;
    flex-shrink: 0;
}
.site-drawer-lang-segments{
    display: grid;
    grid-auto-columns: 1fr;
    grid-auto-flow: column;
    gap: 6px;
    padding: 6px;
    background: rgba(0, 0, 0, .22);
    border: 1px solid rgba(201, 169, 97, .15);
    border-radius: 10px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, .25);
}
/* Specificity boost stejně jako u phone — .site-nav a { padding: 16px 0 } přebíjelo. */
.site-drawer a.site-drawer-lang-link{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    min-height: 46px;
    padding: 8px 4px;
    box-sizing: border-box;
    font-family: inherit;
    color: rgba(255, 255, 255, .58);
    text-decoration: none;
    background: transparent;
    border-radius: 6px;
    transition: color .15s ease, background .15s ease, transform .15s ease;
    position: relative;
}
.site-drawer-lang-link:hover{
    color: var(--c-gold-light, #d4b779);
    background: rgba(201, 169, 97, .07);
}
.site-drawer-lang-link:active{ transform: scale(0.97); }
.site-drawer-lang-link.is-active{
    color: #1a1b1a;
    background: linear-gradient(180deg, #d4b779 0%, #c9a961 60%, #b89953 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35);
    pointer-events: none;
    cursor: default;
}
.site-drawer-lang-link.is-active .site-drawer-lang-name{
    color: rgba(26, 27, 26, .55);
}
.site-drawer-lang-code{
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .12em;
    line-height: 1;
}
.site-drawer-lang-name{
    font-size: 9.5px;
    font-weight: 500;
    letter-spacing: .04em;
    color: rgba(255, 255, 255, .35);
    line-height: 1;
    margin-top: 3px;
    text-transform: capitalize;
}
.site-drawer-lang-link:hover .site-drawer-lang-name{
    color: rgba(212, 183, 121, .7);
}
/* Backdrop */
.nav-backdrop{
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .6);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s;
    z-index: 1100;
}
.nav-backdrop.is-open{
    opacity: 1;
    pointer-events: auto;
}
/* Při otevřeném drawer scroll body lock */
body.drawer-open{
    overflow: hidden;
}

@media (max-width: 480px) {
.site-drawer{ max-width: 100%; }
.site-drawer-header{ padding: 18px 22px; }
.site-drawer-body{ padding: 24px 22px; }
.site-drawer-footer{ padding: 20px 22px 28px; }
.site-drawer-list a{ font-size: 19px; padding: 16px 4px; }
}
