@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@100..900&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
    -webkit-tap-highlight-color: transparent;
}

body {
    color: #222222;
    min-height: 100vh; /* Минимальная высота = высота экрана */
    display: flex;
    flex-direction: column;
    scroll-padding-top: 80px
}

a {
    text-decoration: none;
    color: #222222;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(5px);
    z-index: 4;
}

.sidebar {
    position: fixed;
    top: 0;
    right: -360px;
    width: 360px;
    height: 100vh;
    background: white;
    box-shadow: -3px 0 10px rgba(0, 0, 0, 0.2);
    transition: right 0.3s ease;
    padding: 28px 8px 8px 8px;
    z-index: 5;
}

.sidebar .close-button {
    position: absolute;
    top: 8px;
    left: 8px;
    background:#FFD003;
    color: #000000;
    display: block;
    border: none;
    font-size: 18px;
    cursor: pointer;
    width: 24px;
    height: 24px;
    line-height: 24px;
    border-radius: 50%;
    transition: background .2s;
    user-select: none;
}

.sidebar .close-button:hover {
    background:#da3222;
    color: #fff;
}

.sidebar h2 {
    font-size: 14px;
    color: #828282;
    font-weight: 600;
    margin-top: 16px;
}

.menu-active .overlay {
    opacity: 1;
    visibility: visible;
}

.menu-active .sidebar {
    right: 0;
}

.sidebar section {
    width: 100%;
    height: 64px;
    padding-left: 36px;
    display: flex;
    align-items: center;
    border-bottom: solid 1px #e0e0e0;
    font-size: 14px;
    transition: border-bottom .2s;
    background-size: 28px!important;
}

.sidebar section:hover {
    border-bottom: solid 1px #f35d00;
}

.sidebar section.location {
    background: url(/img/location_bk.svg) no-repeat left center;
}

.sidebar section.phone {
    background: url(/img/call_bk.svg) no-repeat left center;
}

.sidebar section.inst {
    background: url(/img/social_hubs/inst_bk.svg) no-repeat left center;
}

.sidebar section.fb {
    background: url(/img/social_hubs/fb_bk.svg) no-repeat left center;
}

.sidebar section.tiktok {
    background: url(/img/social_hubs/tik_bk.svg) no-repeat left center;
}

.sidebar section.tripadvisor {
    background: url(/img/social_hubs/tripadvisor_bk.svg) no-repeat left center;
}

header {
    width: 100%;
    height: 80px;
    border-bottom: solid 1px #ddd;
    background-color: #fff;
    position: fixed;
    top: 0;
    user-select: none;
    z-index: 3;
}

.content {
    width: calc(100% - 2em);
    max-width: 1200px;
    margin: 0 auto;
}

.content.content-800 {
    width: 800px;
}

.content::selection {
    background: #FFD003!important;
    color: #fff;
}

.content.nav{
    display: flex;
    justify-content: space-between;
	align-items: center;
    height: inherit;
}

.logo {
    display: flex;
    gap: 8px;
    align-items: center;
}

.logo a {
    color: #222222;
    font-size: 24px;
    text-decoration: none;
    font-weight: bold;
}

.logo::before {
    content: "";
    font-size: 5px;
    display: flex;
    align-items: center;
    font-weight: 800;
    text-align: center;
    line-height: 6px;
    width: 50px;
    height: 50px;
    background-color: #FFD003;
    background-image: url(/img/logo-512.webp);
    background-size: cover;
    cursor: pointer;
}

.buttons {
    display: flex;
    gap: 8px;
}

.buttons button {
    width: 48px;
    height: 48px;
    background: transparent;
    border: solid 1px #e0e0e0;
    box-shadow: 0 4px 4px rgba(0, 0, 0, .05);
    color: #222222;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color .2s;
    font-weight: 500;
    font-size: 16px;
}

.buttons button:hover {
    border-color: #f2c660;
    box-shadow: transparent;
}

.buttons .menu {
    background-image: url(/img/menu.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 16px;
}

.poster {
    margin-top: 81px;
    height: 480px;
    /* user-select: none; */
}
.poster .content {
    height: inherit;
    background-image: url(/img/tg2.webp);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: right center;
    display: flex;
    align-items: center;
}

.poster .content h1 {
    font-weight: 400;
    font-size: 45px;
    line-height: 50px;
    width: 70%;
    color: #333333;
}
.poster .content h1::selection {
    background: #FFD003;
    color: #fff;
}

.local-place {
    margin-bottom: 64px;
}

section.place {
    width: 100%;
    height: 120px;
    border-radius: 8px;
    border: solid 1px #e0e0e0;
    box-shadow: 0 4px 4px rgba(0, 0, 0, .05);
    transition: border-color .2s;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 16px;
    background-image: url(/img/next_menu.svg);
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 48px;
    margin-bottom: 16px;
}

section.place:hover {
    border-color: #FFD003;
    box-shadow: none;
}

section.place:hover .img {
    background-size: 105%;
}

section.place .img {
    width: 130px;
    height: 100%;
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
    transition: .4s;
}

section.place .img.brg {
    background-image: url(/img/logo-512.webp);
}

section.place .img.cfe {
    background-image: url(/img/cafe_min.webp);
}

section.place .img.bar {
    background-image: url(/img/bar_min_yellow.webp);
}
section.place .img.paine {
    background-image: url(/img/paine.webp);
}


section.place h3 {
    font-size: 24px;
    line-height: 32px;
}

section.place p {
    font-size: 14px;
    color: #828282;
    line-height: 24px;
}

footer {
    position: relative;
    width: 100%;
    min-height: 48px;
    background-color: #1e272e;
    margin-top: auto;
    padding-top: 16px;
    color: #fff;
}

footer h3 {
    font-weight: 500;
    font-size: 20px;
    line-height: 22px;
    margin-top: 4px;
}

footer p {
    font-size: 14px;
    line-height: 20px;
    font-weight: 200;
}

footer h3::after {
    content: "";
    width: 64px;
    height: 3px;
    background-color: #FFD003;
    display: block;
    margin-top: 4px;
    margin-bottom: 16px;
}

footer .content {
    display: flex;
    gap: 48px;
    padding-bottom: 8px;
}

footer .footer-logo img {
    width: 150px;
}

footer .links {
    display: flex;
    gap: 8px;
}

footer .links .link {
    width: 32px;
    height: 32px;
    margin-top: 4px;
}

footer .links .instagram {
    background-image: url(/img/social_hubs/inst_w.svg);
}

footer .links .fb {
    background-image: url(/img/social_hubs/fb_w.svg);
}

footer .links .tiktok {
    background-image: url(/img/social_hubs/tik_w.svg);
}

footer .links .tripadvisor {
    background-image: url(/img/social_hubs/tripadvisor_w.svg);
}

footer .time-program p,
footer .contact p {
    display: flex;
    gap: 4px;
    align-items: center;
    margin-bottom: 4px;
}

footer .time-program p::before {
    content: "";
    display: block;
    width: 16px;
    height: 16px;
    background-image: url(/img/time.svg);
}

footer .contact p.tel::before {
    content: "";
    display: block;
    width: 16px;
    height: 16px;
    background-image: url(/img/call_w.svg);
    background-size: cover;
}

footer .contact p.addr::before {
    content: "";
    display: block;
    width: 16px;
    height: 16px;
    background-image: url(/img/location.svg);
    background-size: cover;
}

footer .line {
    width: 1px;
    height: 70px;
    background: #f2c660;
    
}

@media screen and (max-width: 768px) {
    .logo {
        align-items: center;
    }

    .logo a {
        font-size: 1em;
        line-height: 1em;
    }

    .poster {
        height: 40vh;
    }

    .poster h1 {
        display: none;
    }

    .content.content-800 {
        padding: 1em;
        width: 100%;
    }

    .content.content-800 h2 {
        margin-bottom: 1em;
    }

    section.place {
        padding-right: 80px;
        height: 110px;
    }

    section.place .img {
        background-size: cover;
        width: 150px;
    }

    section.place .name-place {
        width: 65%;
    }

    section.place h3 {
        font-size: 1em;
        line-height: 1.1em;
    }

    section.place p {
        line-height: 1.1em;
        font-size: .8em;
        margin-top: .5em;
    }

    section.place:hover .img {
        background-size: cover;
    }

    article .content .nav-menu {
        overflow-x: scroll;
        width: 100%!important;
        padding: 1.1em 0;
    }

    .nav-list {
        flex-wrap: nowrap!important;
        width: max-content;
        font-size: 1.2em!important;
    }

    .item-details {
        padding-top: 12px!important;
    }

    .item-price {
        font-size: 1.5em!important;
    }

    .menu-item h3 {
        margin-top: 8px;
    }

    img[src="/img/menu/cafe/temporar.webp"] {
        display: none;
    }

    footer .content {
        display: block;
    }

    footer h3 {
        font-size: 1.6em;
        line-height: 1.1em;
    }
    
    footer p {
        font-size: 1.1em;
    }

    footer .content .footer-logo {
        display: none !important;
    }

    footer .links {
        gap: .8em;
    }

    footer .links .link {
        width: 3em;
        height: 3em;
    }

    footer .footer-block {
        margin-bottom: 2em;
    }
}
