@font-face {
    font-family: 'Etna';
    src: url('/fonts/Etna-Light.woff2') format('woff2'),
         url('/fonts/Etna-Light.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Geist';
    src: url('/fonts/Geist-Regular.woff2') format('woff2'),
         url('/fonts/Geist-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Geist';
    src: url('/fonts/Geist-SemiBold.woff2') format('woff2'),
         url('/fonts/Geist-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* ---- Tokens ---- */
:root {
    --primary: #2B0000;
    --secondary: #FFF4AA;
    --text-dark: #603D2B;
    --text-light: #FFFCE9;
    font-family: "Geist", sans-serif;
    font-weight: 400;
}

/* ---- Reset / base ---- */
* {
    margin: 0;
    padding: 0;
    font-family: "Geist", sans-serif;
    font-weight: 400;
    scrollbar-width: none;
    box-sizing: border-box;
}

body {
    background-color: var(--primary);
    overflow-x: hidden;
}

/* ---- Headings ---- */
h1 {
    font-family: "Etna", sans-serif;
    font-size: clamp(2.5rem, 1.9718rem + 1.6901vw, 4rem);
    line-height: clamp(2.5rem, 1.9718rem + 1.6901vw, 4rem);
}

h2 {
    font-family: "Etna", sans-serif;
    font-size: clamp(2rem, 1.6479rem + 1.1268vw, 3rem);
    line-height: clamp(2rem, 1.6479rem + 1.1268vw, 3rem);
}

h3 {
    font-family: "Etna", sans-serif;
    font-size: clamp(1.5rem, 1.2359rem + 0.8451vw, 2.25rem);
    line-height: clamp(1.5rem, 1.2359rem + 0.8451vw, 2.25rem);
}

/* ---- Buttons ---- */
.primary-btn {
    background: var(--secondary);
    color: var(--primary);
    padding: 14px 20px;
    font-size: 16px;
    border-radius: 4px;
    border: 1px solid var(--secondary);
    transition: all 0.3s;
    cursor: pointer;
    text-align: left;
}

.primary-btn:hover {
    background: var(--primary);
    color: var(--secondary);
}

.secondary-btn {
    background: none;
    color: var(--secondary);
    padding: 14px 20px;
    font-size: 16px;
    border-radius: 4px;
    border: 1px solid var(--secondary);
    transition: all 0.3s;
    cursor: pointer;
    text-align: left;
}

.secondary-btn:hover {
    background: var(--primary);
}

.tertiary-btn {
    background: var(--primary);
    color: var(--secondary);
    padding: 14px 20px;
    font-size: 16px;
    border-radius: 4px;
    border: 1px solid var(--primary);
    transition: all 0.3s;
    cursor: pointer;
    width: 100%;
    text-align: left;
}

.tertiary-btn:hover {
    background: var(--secondary);
    color: var(--primary);
}

/* ============================================================
   NAVIGÁCIA
   ============================================================ */
header {
    width: 100%;
    height: 90px;
    display: flex;
    justify-content: center;
    background: linear-gradient(0deg, rgba(43, 0, 0, 0) 0%, rgba(43, 0, 0, 0.44) 25%, rgba(43, 0, 0, 1) 100%);
    position: fixed;
    z-index: 9999;
}

.nav_container_desktop {
    max-width: 1440px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0px 32px;
    overflow-y: hidden;
}

nav ul.desktop {
    list-style: none;
    text-decoration: none;
    display: flex;
    gap: 24px;
}

nav ul.desktop li a {
    color: var(--secondary);
    padding: 8px 12px;
    border-radius: 12px;
    transition: all 0.3s;
    background-color: rgba(255, 255, 255, 0);
}

nav ul.desktop li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

nav ul.desktop li.active a {
    font-weight: 600;
    color: white;
    text-decoration: underline;
    text-underline-offset: 4px;
}

nav ul.desktop a {
    text-decoration: none;
}

.logo_container img {
    height: 60px;
}

.nav_hamburger {
    height: 40px;
    width: 40px;
    display: none;
    align-items: center;
    justify-content: space-around;
    cursor: pointer;
    padding: 8px 8px;
    border-radius: 12px;
    flex-direction: column;
    transition: all 0.3s;
    background-color: rgba(255, 255, 255, 0);
    gap: 4px;
}

.nav_hamburger__line {
    height: 2px;
    width: 100%;
    background-color: var(--secondary);
}

.nav_hamburger:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

nav div.nav_container_mobile {
    position: fixed;
    top: 0;
    right: 0;
    background-color: var(--secondary);
    height: 100vh;
    width: 100%;
    flex-direction: column;
    visibility: hidden;
    right: -100%;
    transition: right 0.3s ease, visibility 0.3s;
    overflow-y: auto;
}

nav ul.mobile {
    list-style: none;
    text-decoration: none;
}

nav ul.mobile li {
    border-bottom: solid 1px rgba(43, 0, 0, 0.25);
    display: flex;
    align-items: center;
    transition: all 0.3s;
    padding: 12px 0;
}

nav ul.mobile li.active {
    background-color: var(--primary);
}

nav ul.mobile li.active a {
    color: var(--secondary);
}

nav ul.mobile a {
    color: var(--primary);
    text-decoration: none;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 32px;
    transition: all 0.3s;
    font-size: 28px;
}

nav ul.mobile li:hover {
    background-color: var(--primary);
}

nav ul.mobile li:hover a {
    color: var(--secondary);
}

.nav_mobile_exit {
    min-height: 90px;
    display: flex;
    align-items: center;
    margin: 0 32px;
    justify-content: space-between;
}

.nav_exit_btn {
    height: 40px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    padding: 8px 8px;
    border-radius: 12px;
}

.nav_exit_btn:hover {
    background-color: rgba(43, 0, 0, 0.1);
}

.nav_exit_btn__line {
    height: 2px;
    width: 32px;
    background-color: var(--primary);
    position: absolute;
}

.nav_exit_btn__line:nth-child(1) {
    transform: rotateZ(45deg);
}

.nav_exit_btn__line:nth-child(2) {
    transform: rotateZ(-45deg);
}

@media (max-width: 950px) {
    nav ul.desktop {
        display: none;
    }

    .nav_hamburger {
        display: flex;
    }

    nav div.nav_container_mobile.active {
        right: 0;
        visibility: visible;
    }
}

/* ============================================================
   FOOTER
   ============================================================ */
footer.site-footer {
    background: var(--primary);
    display: flex;
    justify-content: center;
    padding: 80px 0 0;
}

footer.site-footer .footer__container {
    width: 100%;
    max-width: 1440px;
    margin: 0 32px;
}

footer.site-footer .footer__cols {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1.4fr;
    gap: 48px;
    padding-bottom: 64px;
}

footer.site-footer .footer__logo img {
    height: 60px;
}

footer.site-footer .footer__col-title {
    color: var(--secondary);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

footer.site-footer .footer__nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-left: -12px;
}

footer.site-footer .footer__nav li a {
    color: var(--secondary);
    padding: 8px 12px;
    border-radius: 12px;
    transition: all 0.3s;
    background-color: rgba(255, 255, 255, 0);
    text-decoration: none;
    display: inline-block;
    width: max-content;
}

footer.site-footer .footer__nav li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

footer.site-footer .footer__nav li.active a {
    font-weight: 600;
    color: white;
    text-decoration: underline;
    text-underline-offset: 4px;
}

footer.site-footer .footer__hours-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 6px 0;
    max-width: 240px;
}

footer.site-footer .footer__hours-row span:first-child {
    color: var(--text-light);
}

footer.site-footer .footer__hours-row span:last-child {
    color: var(--secondary);
}

footer.site-footer .footer__map {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 244, 170, 0.3);
}

footer.site-footer .footer__map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    filter: grayscale(0.3);
}

footer.site-footer .footer__address {
    color: var(--text-light);
    line-height: 24px;
    margin-top: 16px;
}

footer.site-footer .footer__address a {
    color: var(--secondary);
    text-decoration: none;
    transition: all 0.3s;
}

footer.site-footer .footer__address a:hover {
    text-decoration: underline;
}

footer.site-footer .footer__bottom {
    border-top: 1px solid rgba(255, 244, 170, 0.25);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

footer.site-footer .footer__bottom p {
    color: rgba(255, 252, 233, 0.6);
    font-size: 14px;
}

@media (max-width: 950px) {
    footer.site-footer {
        padding-top: 56px;
    }

    footer.site-footer .footer__cols {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    footer.site-footer .footer__logo img {
        height: 48px;
    }

    footer.site-footer .footer__bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

/*Jedálny lístok*/

section.jedalny {
    background: var(--secondary);
    display: flex;
    justify-content: center;
    padding: 164px 0;
}

section.jedalny .container {
    width: 100%;
    max-width: 1504px;
    padding: 0 32px;
    min-height: 100vh;
}

section.jedalny>.container>h1 {
    color: var(--primary);
    margin-bottom: 32px;
}

/* Filtre */
section.jedalny .jedalny__filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 64px;
}

section.jedalny .chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--primary);
    border-radius: 4px;
    background: transparent;
    color: var(--primary);
    padding: 8px 14px;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s;
}

section.jedalny .chip__ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

section.jedalny .chip__ico svg {
    width: 16px;
    height: 16px;
    display: block;
}

section.jedalny .chip:hover {
    background: rgba(43, 0, 0, 0.08);
}

section.jedalny .chip.active {
    background: var(--primary);
    color: var(--secondary);
}

/* Telo: zoznam + panel */
section.jedalny .jedalny__body {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 64px;
    align-items: start;
}

/* Zoznam */
section.jedalny .jedalny__list {
    display: flex;
    flex-direction: column;
}

section.jedalny .dish {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 24px;
    align-items: baseline;
    padding: 22px 0;
    border-bottom: 1px solid rgba(43, 0, 0, 0.3);
    cursor: pointer;
}

section.jedalny .dish__cat {
    font-family: "Geist", sans-serif;
    color: var(--text-dark);
    font-size: 15px;
    text-align: right;
    padding-top: 8px;
}

section.jedalny .dish__name {
    font-family: "Geist", sans-serif;
    color: var(--text-dark);
    font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.4rem);
    line-height: 1.1;
    transition: color 0.2s;
}

section.jedalny .dish.selected .dish__name,
section.jedalny .dish:hover .dish__name {
    color: var(--primary);
}

/* Detailný panel — začína hore, pri scrollovaní sa prilepí; prázdny do hoveru */
section.jedalny .jedalny__panel {
    position: sticky;
    top: 120px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

section.jedalny .panel__cat {
    color: var(--text-dark);
    font-size: 15px;
}

section.jedalny .panel__name {
    color: var(--primary);
    font-weight: 600;
    font-size: 18px;
}

section.jedalny .panel__meta {
    color: var(--text-dark);
    font-size: 15px;
    line-height: 22px;
}

section.jedalny .panel__img {
    margin-top: 12px;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid rgba(43, 0, 0, 0.25);
}

/* Inline detail — len pre mobilný akordeón, na desktope skrytý */
section.jedalny .dish__detail {
    display: none;
}

section.jedalny .dish__chevron {
    display: none;
}

/* ---------- MOBIL ---------- */
@media (max-width: 950px) {
    section.jedalny {
        padding: 120px 0;
    }

    section.jedalny .container {
        padding: 0 32px;
    }

    /* Filtre: horizontálny scroll */
    section.jedalny .jedalny__filters {
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
        margin: 0 -32px 48px;
        padding: 0 32px;
        gap: 10px;
    }

    section.jedalny .jedalny__filters::-webkit-scrollbar {
        display: none;
    }

    section.jedalny .chip {
        flex: 0 0 auto;
    }

    /* Telo: jeden stĺpec, panel skrytý, detail inline */
    section.jedalny .jedalny__body {
        grid-template-columns: 1fr;
        gap: 0;
    }

    section.jedalny .jedalny__panel {
        display: none;
    }

    /* Jedlo ako akordeón */
    section.jedalny .dish {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 16px;
        align-items: center;
        padding: 24px 0;
    }

    section.jedalny .dish__cat {
        text-align: left;
        padding-top: 0;
        grid-column: 1;
        grid-row: 2;
    }

    section.jedalny .dish__main {
        grid-column: 1;
        grid-row: 1;
        display: flex;
        flex-direction: column;
    }

    section.jedalny .dish__name {
        font-size: 1.6rem;
    }

    section.jedalny .dish__chevron {
        grid-column: 2;
        grid-row: 1 / 3;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        border: 1px solid var(--primary);
        border-radius: 4px;
        flex-shrink: 0;
    }

    section.jedalny .dish__chevron svg {
        transition: transform 0.3s;
    }

    section.jedalny .dish.open .dish__chevron svg {
        transform: rotate(180deg);
    }

    /* Inline detail (skrytý, plynulé rozbalenie) */
    section.jedalny .dish__detail {
        display: grid;
        grid-column: 1 / -1;
        grid-template-rows: 0fr;
        transition: grid-template-rows 0.4s ease;
    }

    section.jedalny .dish.open .dish__detail {
        grid-template-rows: 1fr;
    }

    section.jedalny .dish__detail-inner {
        overflow: hidden;
    }

    section.jedalny .dish__detail .panel__meta {
        padding-top: 16px;
    }

    section.jedalny .dish__detail .panel__img {
        aspect-ratio: 4 / 3;
        margin-top: 16px;
        margin-bottom: 8px;
    }
}

/* odkaz na zásady v pätičke */
.footer__bottom a { color: var(--text-light, #FFFCE9); text-decoration: underline; }
.footer__bottom a:hover { opacity: .8; }

/* logo ako odkaz na domov */
.logo-link{display:inline-flex;align-items:center;line-height:0}
