/* GRID rozloženie stránky */
body {
    display: grid;
    grid-template-areas: 
        "header header"
        "nav nav"
        "main aside"
        "footer footer";
    grid-template-columns: 1fr auto;
    grid-template-rows: auto;
    gap: 1em;
    font-family: Arial, Helvetica, sans-serif;
}

header { grid-area: header; }
nav    { grid-area: nav; }
main   { grid-area: main; }
aside  { grid-area: aside; background-color: #f2f2f2;}
footer { grid-area: footer; }

* {
  box-sizing: border-box;
}

/* HLAVIČKA */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1em;
    border: ridge 0.1em #C8C8C8;
}

.left-logo img,
.logo img {
    max-width: 100%;
    height: auto;
}

.site-title a {
    text-decoration: none;
    color: #000;
}

/* MENU */
#menu_box {
    width: 100%;
}

ul#menu {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2em;
    padding-right: 0.5em;
    margin: 0;
    border: ridge 0.1em #C8C8C8;
}

#menu > li {
    list-style: none;
    position: relative;
}

/* SUBMENU - DEFAULT */
#menu li ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #ddd;
    min-width: 150px;
    list-style: none;
    z-index: 1000;
}

/* LINKS */
#menu a {
    color: #000;
    text-decoration: none;
    transition: color 0.3s;
}

#menu a:hover {
    color: #c00;
}

/* SUBMENU LINKS */
#menu li ul li {
    padding: 0.5em 1em;
    white-space: nowrap;
    font-size: 1.1em;
    font-weight: bold;
}

/* LABEL ŠTÝL (hlavný link s klikom na mobile) */
#menu label {
    font-size: 1.5em;
    font-weight: bold;
    cursor: pointer;
    display: block;      /* blok, aby neodsadzovalo text */
    padding: 0.5em 0;
}

table, tr, td, th {
    border: 1px solid black;
    border-collapse: collapse;
    padding: 5px;
}

/*obrazok v tabulke sa zväčší a zaoblia sa rohy*/
.obrazok_tab {
    width: 150px;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.obrazok_tab:hover {
    transform: scale(1.6);
    border-radius: 12px;              /* zaokrúhlené rohy */
    z-index: 10;
}

/* ------------ MOBILE (checkbox) ------------ */
/* Hamburger tlačidlo - mobile */
.hamburger {
    display: none;
    font-size: 1.5em;
    cursor: pointer;
    padding: 0.5em;
    border: ridge 0.1em #C8C8C8; /* stále viditeľné */
}

/* MOBILE */
@media (max-width: 768px) {
    body {
        grid-template-areas: 
            "header"
            "nav"
            "main"
            "aside"
            "footer";
        grid-template-columns: 1fr; /* 1 stĺpec */
    }
    .hamburger {
        display: block;
    }

    /* Menu default skryté */
    #menu_box {
        display: none;
        flex-direction: column;
        width: 100%;
        border: ridge 0.1em #C8C8C8; /* pridaj border aj pre mobil */
        background-color: white;       /* lepšie viditeľné */
        padding: 0.5em 0;              /* malé odsadenie */
        box-sizing: border-box;        /* aby border nepretekal */
    }

    /* Ak je checkbox checked, zobraz menu */
    #hamburger-toggle:checked + .hamburger + #menu_box {
        display: flex;
    }

    /* Menu a submenu */
    ul#menu {
        flex-direction: column;
        gap: 0;
        margin: 0;
        width: 100%;
        border: ridge 0.1em #C8C8C8;
    }

    #menu > li {
        width: 100%;
    }

    #menu li label {
        display: block;
        padding: 0.5em 0;
        cursor: pointer;
        font-weight: bold;
    }

    #menu li ul {
        display: none;
        flex-direction: column;
        padding-left: 0;
        margin: 0;
    }

    #menu li input[type="checkbox"]:checked + label + ul {
        display: flex;
    }

    #menu li ul li {
        padding: 0.5em 0;
    }
}

/* DESKTOP */
@media (min-width: 769px) {
    .hamburger {
        display: none;
    }

    #menu_box {
        display: block !important;
    }

    #menu li:hover > ul {
        display: block;
    }
}

/* Footer fix */
footer {
    text-align: center;
}

/* Úprava rozloženia jedálneho lístku*/
.jedla {
    list-style: none; /* vypne predvolené bodky */
    padding-left: 0;
}

.jedla > li::before {
    content: "";
    display: inline-block;
    width: 32px;   /* veľkosť ikony */
    height: 32px;
    margin-right: 0.5em;
    background-image: url('../images/polievka.gif');
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
}

/* Úprava rozloženia nápojového lístku*/
.napoj {
    list-style: none; /* vypne predvolené bodky */
    padding-left: 0;
}

.napoj > li::before {
    content: "";
    display: inline-block;
    width: 32px;   /* veľkosť ikony */
    height: 32px;
    margin-right: 0.5em;
    background-image: url('../images/napoj.gif');
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
}
ol.podzoznam {
    counter-reset: podzoznam;
    list-style: none; /* vypne predvolenú bodku alebo číslo */
    padding-left: 1.5em; /* odsadenie */
}

ol.podzoznam li {
    counter-increment: podzoznam;
}

ol.podzoznam li::marker {
    content: counter(podzoznam, lower-alpha) ") "; /* len písmeno + zátvorka */
}

/*zrušenie bodiek v zozname ktorý slúži na rýchlejšie prekliknutie v menu*/
.kotva {
    list-style: none;
}

/* Galéria 3×3 responzívna */
.gallery {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}

.gallery img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 6px;
    cursor: zoom-in;
}

/* Lightbox */
#lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
    z-index: 9999;
    cursor: zoom-out;
}

#lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
}

.img_obtekanie {
    display: flex;
    align-items: center;      /* vertikálne vycentrovanie textu */
    gap: 20px;                /* medzera medzi obrázkom a textom */
    margin: 20px 0;
}

/* obrázok */
.img_center {
    width: 450px;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

/* text */
.img_text {
    font-size: 1.1rem;
    line-height: 1.5;
}

/* 📱 MOBIL – text pod obrázkom */
@media (max-width: 768px) {
    .img_obtekanie {
        flex-direction: column;
        text-align: center;
    }
}

.mail {
    color: #e56916;
}

video{
    width: 400px;
}

.mapa{
    width:100%;
    max-width: 450px;
    height:338px;
    border:0;
}