body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: linear-gradient(120deg, #232526 0%, #414345 100%);
    margin: 0;
    min-height: 100vh;
    color: #f1f1f1;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

/* Декоративные элементы */
.summer-decor {
    position: fixed;
    z-index: 0;
    pointer-events: none;
}
.summer-decor.sun {
    top: 32px;
    right: 32px;
    width: 100px;
    opacity: 0.18;
}
.summer-decor.leaf {
    bottom: 24px;
    left: 24px;
    width: 80px;
    opacity: 0.12;
}
header {
    background: linear-gradient(90deg, #232526 0%, #414345 100%);
    box-shadow: 0 4px 24px #111a;
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
    position: sticky;
    top: 0;
    z-index: 10;
}
.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 14px 0 10px 0;
    position: relative;
}







.logo {
    height: 60px;
    margin-bottom: 0;
    margin-right: 16px;
    border-radius: 8px;
    box-shadow: 0 4px 18px #23252644;
    vertical-align: middle;
}
.logo-large {
    height: 90px;
    max-width: 160px;
}
.header-titles {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 8px;
}
.main-title {
    color: #ff6500;
    font-size: 1.1em;
    font-weight: 900;
    letter-spacing: 0.5px;
    margin-bottom: 0.5px;
    text-align: center;
    line-height: 1.1;
}
.sub-title {
    color: #ff6500;
    font-size: 1.1em;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.5px;
    line-height: 1.1;
}
@media (max-width: 600px) {
    .sub-title {
        font-size: 0.97em;
        font-weight: 300;
        text-align: center;
        margin-top: 8px;
        letter-spacing: 0.3px;
    }
}
.footer {
    margin-top: 40px;
    padding: 24px 0 16px 0;
    background: #232526;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    border-top: 2px solid #414345;
}
.footer .socials {
    display: flex;
    gap: 24px;
    margin-bottom: 10px;
}
.footer .socials a {
    color: #ff6500;
    font-size: 2em;
    transition: color 0.2s;
}
.footer .socials a:hover {
    color: #fff;
}

h1 {
    margin: 8px 0 0 0;
    font-size: 2.4em;
    color: #f9d423;
    letter-spacing: 2px;
    font-weight: 900;
    text-shadow: 0 2px 8px #23252688, 0 0px 2px #f9d42399;
    padding: 0 8px;
    border-radius: 8px;
    background: rgba(50,50,50,0.17);
    display: inline-block;
    text-align: center;
}
/* Убраны стили для кнопки выхода и submit */

.filter-btn {
    background: #232526;
    color: #ff6500;
    border: 2px solid #ff6500;
    border-radius: 10px;
    padding: 16px 36px;
    font-size: 1.18em;
    margin: 0 20px 20px 0;
    cursor: pointer;
    box-shadow: 0 2px 8px #ff650022;
    transition: background 0.18s, color 0.18s, box-shadow 0.18s;
    font-weight: 700;
    letter-spacing: 1px;
    text-align: center;
}
.filter-btn:hover {
    background: #313235;
    color: #ff6500;
    border: 2px solid #ff6500;
}
.filter-btn.active {
    background: #ff6500;
    color: #232526;
    border: none;
}

.filter-btn[data-cat="all"] {
    background: #232526;
    color: #ff6500;
    border-radius: 10px;
    font-weight: 700;
    border: 2px solid #ff6500;
}
.filter-btn[data-cat="all"]:hover {
    background: #313235;
    color: #ff6500;
    border: 2px solid #ff6500;
}
.filter-btn[data-cat="all"].active {
    background: #ff6500;
    color: #232526;
    border: none;
}

.filter-btn:active, .submit-btn:active, .logout-btn:active, .lang-btn:active, button:active {
    transform: scale(0.96);
    filter: brightness(0.97);
}
.filter-btn.active {
    background: #ff6500;
    color: #232526;
    border: none;
}
.filter-btn:hover,
.submit-btn:hover, .logout-btn:hover, .lang-btn:hover, button:hover {
    background: #232526;
    color: #ff6500;
    border: 2px solid #ff6500;
}


.filter-btn:active, .submit-btn:active, .logout-btn:active {
    transform: scale(0.96);
    filter: brightness(0.97);
}

.filter-btn.active {
    background: #ff6500 !important;
    color: #232526 !important;
    border: none;
    background-image: none !important;
    box-shadow: 0 2px 8px #ff650022;
}
.filter-btn:hover {
    background: #313235;
    color: #ff6500;
    border: 2px solid #ff6500;
    background-image: none !important;
}
.submit-btn:hover, .logout-btn:hover {
    background: #232526;
    color: #ff6500;
    border: 2px solid #ff6500;
}

#category-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin: 28px 0 16px 0;
    opacity: 0;
    animation: fadeInFilters 1s cubic-bezier(.45,1.5,.55,1) 0.2s forwards;
}
@keyframes fadeInFilters {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}
.category-btn {
    background: #ff6500;
    border: none;
    color: #232526;
    border-radius: 10px;
    padding: 16px 36px;
    cursor: pointer;
    font-weight: 700;
    transition: background 0.18s, color 0.18s, box-shadow 0.18s;
    font-size: 1.18em;
    margin: 0 20px 20px 0;
    box-shadow: 0 2px 8px #ff650022;
    will-change: transform;
    letter-spacing: 1px;
    text-align: center;
}
.category-btn:active {
    transform: scale(0.96);
    filter: brightness(0.97);
}
.category-btn.active, .category-btn:hover {
    background: #232526;
    color: #ff6500;
    border: 2px solid #ff6500;
}
.category-btn:active {
    transform: scale(0.96);
    filter: brightness(0.97);
}
.category-btn.active, .category-btn:hover {
    background: #ff4e50;
    color: #fff;
}
#menu-items {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    margin-bottom: 48px;
}
.menu-card {
    background: linear-gradient(120deg, #232526 0%, #414345 100%);
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.25), 0 2px 8px rgba(0,0,0,0.22);
    width: 370px;
    padding: 28px 24px 36px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    transition: transform 0.18s cubic-bezier(.45,1.5,.55,1), box-shadow 0.18s cubic-bezier(.45,1.5,.55,1), opacity 0.5s;
    border: 2px solid #232526;
    opacity: 0;
    animation: fadeInCard 0.8s cubic-bezier(.45,1.5,.55,1) forwards;
    text-align: center;
}
@keyframes fadeInCard {
    from { opacity: 0; transform: translateY(40px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.menu-card:hover {
    transform: translateY(-8px) scale(1.045) rotate(-1deg);
    box-shadow: 0 8px 32px rgba(255, 200, 60, 0.19), 0 4px 16px rgba(255,78,80,0.18);
}
.menu-card:hover {
    transform: translateY(-6px) scale(1.035);
    transform: translateY(-5px) scale(1.03);
}
.menu-card img {
    width: 260px;
    height: 260px;
    object-fit: cover;
    margin-bottom: 18px;
    border-radius: 0px;
    box-shadow: 0 2px 24px rgba(0,0,0,0.25);
}
.menu-card .flavor {
    font-size: 1.08em;
    color: #ff6500;
    margin-bottom: 6px;
    font-weight: 500;
    letter-spacing: 0.5px;
}
.menu-card .category {
    font-size: 1.1em;
    color: #ff6500;
    font-weight: bold;
    margin-bottom: 8px;
    text-align: center;
}
.menu-card .name, .menu-card .flavor, .menu-card .desc {
    color: #fff !important;
}
.menu-card .desc {
    color: #fff !important;
}
.menu-card .price-new {
    color: #3ec300;
    font-weight: bold;
    margin-right: 8px;
}
.menu-card .name {
    font-size: 1.5em;
    font-weight: bold;
    color: #ff6500;
    text-align: center;
}
.menu-card .desc {
    font-size: 1.1em;
    margin: 10px 0 10px 0;
    color: #ff6500;
    text-align: center;
}
.menu-card .desc-ro {
    font-size: 0.95em;
    color: #888;
    margin-bottom: 8px;
}
.menu-card .prices {
    margin-top: 12px;
    font-size: 1.2em;
    text-align: center;
}
.menu-card .price-new {
    color: #3ec300;
    font-weight: bold;
    margin-right: 8px;
}
.menu-card .price-old {
    color: #aaa;
    text-decoration: line-through;
    font-size: 0.98em;
}
.menu-card .promo {
    position: absolute;
    top: 18px;
    right: 18px;
    background: #f9d423;
    color: #fff;
    font-weight: bold;
    padding: 6px 14px;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(249,212,35,0.15);
    font-size: 1em;
}
/* Модальное окно */
.modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0; top: 0; width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.35);
    justify-content: center;
    align-items: center;
}
.modal-content {
    background: #fff;
    padding: 32px 32px 24px 32px;
    border-radius: 24px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.15);
    min-width: 320px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.close {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 1.5em;
    color: #888;
    cursor: pointer;
}
@media (max-width: 600px) {
    header {
        padding: 8px 0 8px 0;
        border-bottom-left-radius: 18px;
        border-bottom-right-radius: 18px;
    }
    .header-content {
        flex-wrap: wrap;
        gap: 8px;
        padding: 8px 0 4px 0;
        position: relative;
    }
    .logo {
        height: 40px;
        margin-right: 8px;
    }
    .lang-btn {
        position: fixed !important;
        right: 14px;
        bottom: 14px;
        top: auto;
        left: auto;
        margin: 0;
        padding: 0;
        width: 38px;
        height: 38px;
        border-radius: 50%;
        font-size: 1em;
        box-shadow: 0 3px 10px #23252655, 0 1px 4px #ff650066;
        background: #ff6500;
        color: #232526;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 9999;
        transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.2s;
        animation: langBtnAppear 0.35s cubic-bezier(.45,1.5,.55,1);
    }
    .lang-btn:active, .lang-btn:hover {
        background: #232526;
        color: #ff6500;
        border: 2px solid #ff6500;
        transform: scale(1.08);
        box-shadow: 0 6px 20px #ff6500aa;
    }
    @keyframes langBtnAppear {
        from { opacity: 0; transform: scale(0.7) translateY(40px); }
        to { opacity: 1; transform: scale(1) translateY(0); }
    }
    .menu-grid {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        gap: 0;
    }
    .menu-card {
        width: 100vw;
        max-width: 100vw;
        min-width: 0;
        margin: 0 auto 24px auto;
        padding: 0;
        border-radius: 22px;
        box-shadow: 0 4px 24px rgba(0,0,0,0.19), 0 2px 8px rgba(255,101,0,0.07);
        display: flex;
        flex-direction: column;
        align-items: stretch;
        overflow: hidden;
    }
    .menu-card img.menu-img {
        width: 100vw;
        height: 100vw;
        object-fit: contain;
        border-radius: 0;
        display: block;
        margin-left: auto;
        margin-right: auto;
        background: #232526;
        padding: 0;
    }
    .menu-card img.menu-img + img {
        width: 100vw;
        height: auto;
        max-width: none;
        object-fit: cover;
        display: block;
        margin-left: auto;
        margin-right: auto;
        padding: 0;
    }
    .menu-info {
        padding: 18px 5vw 16px 5vw;
        text-align: center;
        background: #232526;
    }
}

@media (max-width: 600px) {
    .lang-btn {
        position: fixed !important;
        right: 14px;
        bottom: 14px;
        top: auto;
        left: auto;
        margin: 0;
        padding: 0;
        width: 38px;
        height: 38px;
        border-radius: 50%;
        font-size: 1em;
        box-shadow: 0 3px 10px #23252655, 0 1px 4px #ff650066;
        background: #ff6500;
        color: #232526;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 9999;
        transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.2s;
        animation: langBtnAppear 0.35s cubic-bezier(.45,1.5,.55,1);
    }
    .lang-btn:active, .lang-btn:hover {
        background: #232526;
        color: #ff6500;
        border: 2px solid #ff6500;
        transform: scale(1.08);
        box-shadow: 0 6px 20px #ff6500aa;
    }
    @keyframes langBtnAppear {
        from { opacity: 0; transform: scale(0.7) translateY(40px); }
        to { opacity: 1; transform: scale(1) translateY(0); }
    }
}


    .icon-sun, .icon-leaf, .icon-drink {
        width: 24px;
        height: 24px;
        margin-left: 4px;
    }
    h1 {
        font-size: 1.2em;
    }
    .menu-card {
        width: 97vw;
        padding: 10px 2vw 14px 2vw;
        min-width: unset;
    }
    .menu-card img {
        width: 120px;
        height: 120px;
        margin-bottom: 6px;
    }
    .modal-content {
        min-width: unset;
        width: 95vw;
        padding: 10px 2vw 10px 2vw;
    }
    #category-filters {
        gap: 8px;
        margin: 18px 0 10px 0;
    }
    .filter-btn {
        padding: 8px 16px;
        font-size: 0.95rem;
        margin: 0 6px 6px 0;
    }
}
