@import url('https://fonts.cdnfonts.com/css/biko');
@import url('https://fonts.cdnfonts.com/css/Lato');
@import url('https://fonts.cdnfonts.com/css/Arapey');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

:root {
    --cor-primaria: #a20908;
    --cor-secundaria: #f40919;
    --cor-amarelo: #fccc16;
    --cor-dourado: #fabb18;
    --cor-branco: #ffffff;
    --cor-preto: #000000;
    --cor-cinza: #f5f5f5;
    --cor-cinza-escuro: #333333;
}

a {
    text-decoration: none;
}

body {
    background: linear-gradient(135deg, #000 0%, #a20908 100%);
    min-height: 100vh;
    color: var(--cor-branco);
    line-height: 1.6;
}

/* ====== HEADER ====== */
header {
    background: var(--cor-branco);
    width: 100%;
    padding: 15px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    min-height: 80px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-menu-lateral {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--cor-primaria);
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-menu-lateral:hover {
    background-color: #f0f0f0;
    transform: scale(1.1);
}

.btn-menu-lateral.active {
    background-color: var(--cor-primaria);
    color: var(--cor-branco);
    transform: rotate(90deg);
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    width: 60px;
    height: 60px;
    border-radius: 60%;
    object-fit: cover;
}

.header-center {
    display: flex;
    align-items: center;
    gap: 40px;
}

.menu-item {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--cor-primaria);
    cursor: pointer;
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.menu-item:hover {
    background-color: #f8f0f0;
    transform: translateY(-2px);
}

.menu-item.cardapio-btn {
    display: flex;
    align-items: center;
    gap: 5px;
}

.menu-item.cardapio-btn::after {
    content: "▼";
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.menu-item.cardapio-btn.active::after {
    transform: rotate(180deg);
}

.btn-conta {
    background-color: var(--cor-primaria);
    color: var(--cor-branco);
    padding: 12px 25px;
    border: 2px solid var(--cor-primaria);
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-conta:hover {
    background-color: var(--cor-branco);
    color: var(--cor-primaria);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(162, 9, 8, 0.3);
}

/* ==== FIM DO HEADER ==== */

/* Menu Lateral */
.menu-lateral {
    position: fixed;
    top: 0;
    left: -280px;
    width: 260px;
    height: 100vh;
    background: var(--cor-branco);
    box-shadow: 4px 0 20px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    padding: 80px 0 30px 0;
    transition: left 0.3s ease;
    z-index: 999;
    overflow-y: auto;
}

.menu-lateral.ativo {
    left: 0;
}

.menu-lateral-item {
    padding: 18px 30px;
    font-size: 1.3rem;
    color: var(--cor-cinza-escuro);
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
}

.menu-lateral-item:hover,
.menu-lateral-item.active {
    background-color: var(--cor-primaria);
    color: var(--cor-branco);
    padding-left: 40px;
}

/* Submenu */
.submenu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--cor-branco);
    border: 2px solid var(--cor-primaria);
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1001;
}

.submenu.ativo {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(10px);
}

.submenu-item {
    padding: 15px 20px;
    font-size: 1.1rem;
    color: var(--cor-primaria);
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    display: block;
}

.submenu-item:last-child {
    border-bottom: none;
}

.submenu-item:hover {
    background-color: var(--cor-primaria);
    color: var(--cor-branco);
}

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

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

/* ===== MAIN CONTENT ===== */
.main {
    padding-top: 120px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 120px 2rem 2rem;
}

/* Containers dos Lanches */
.itens {
    display: grid;
    gap: 3rem;
}

.subheaderh2 {
    font-size: 2.5rem;
    color: var(--cor-amarelo);
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 700;
    font-family: 'Biko', sans-serif;
}

.area-lanches,
.area-acompanhamentos,
.area-bebidas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

        .modelos {
            display: none !important;
        }
        
.carrinho {
    position: fixed;
    top: 100px;
    right: 20px;
    background: white;
    border: 2px solid #007bff;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 1000;
    min-width: 250px;
    max-width: 300px;
}

.carrinho h2 {
    margin-top: 0;
    color: #007bff;
    font-size: 18px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.carrinho ul {
    list-style: none;
    padding: 0;
    margin: 10px 0;
    max-height: 200px;
    overflow-y: auto;
}

.carrinho li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.carrinho p {
    margin: 10px 0;
    font-weight: bold;
    border-top: 1px solid #eee;
    padding-top: 10px;
}

        .btn-remover {
            background: #dc3545;
            color: white;
            border: none;
            padding: 4px 8px;
            border-radius: 4px;
            font-size: 12px;
            cursor: pointer;
            margin-left: 10px;
        }
        
        .btn-comprar {
            background: #28a745;
            color: white;
            border: none;
            padding: 10px 15px;
            border-radius: 5px;
            cursor: pointer;
            font-weight: bold;
            margin-top: 10px;
            width: 100%;
        }
        
        #finalizarCompra {
            background: #007bff;
            color: white;
            border: none;
            padding: 12px 20px;
            border-radius: 5px;
            cursor: pointer;
            font-weight: bold;
            width: 100%;
            margin-top: 10px;
        }
        
        .lanche-item {
            background: white;
            border-radius: 10px;
            padding: 15px;
            margin: 15px 0;
            box-shadow: 0 3px 10px rgba(0,0,0,0.1);
            display: none;
        }
        
        .area-lanches,
        .area-acompanhamentos,
        .area-bebidas {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 20px;
            padding: 20px 0;
        }

/* Container Individual do Lanche */
.lanche-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid rgba(252, 204, 22, 0.2);
    transition: all 0.3s ease;
    position: relative;
    backdrop-filter: blur(10px);
}

.lanche-item:hover {
    transform: translateY(-10px);
    border-color: var(--cor-amarelo);
    box-shadow: 0 20px 40px rgba(162, 9, 8, 0.3);
}

.lanche-item--img {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.lanche-item--img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.lanche-item:hover .lanche-item--img img {
    transform: scale(1.1);
}

.lanche-item-info {
    padding: 1.5rem;
}

.lanche-item--nome {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--cor-amarelo);
    margin-bottom: 0.5rem;
    font-family: 'Biko', sans-serif;
}

.lanche-item--preco {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--cor-branco);
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, var(--cor-amarelo), var(--cor-dourado));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.lanche-item--desc {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.5;
    font-family: 'Lato', sans-serif;
}

.btn-comprar {
    background: linear-gradient(45deg, var(--cor-amarelo), var(--cor-dourado));
    color: var(--cor-preto);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    font-family: 'Inter', sans-serif;
}

.btn-comprar:hover {
    background: linear-gradient(45deg, var(--cor-primaria), var(--cor-secundaria));
    color: var(--cor-branco);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(162, 9, 8, 0.3);
}

/* Carrinho */
.carrinho {
    position: fixed;
    top: 120px;
    right: 20px;
    background: rgba(0, 0, 0, 0.95);
    border: 2px solid var(--cor-amarelo);
    border-radius: 15px;
    padding: 1.5rem;
    width: 300px;
    z-index: 998;
    backdrop-filter: blur(10px);
}

.carrinho h2 {
    color: var(--cor-amarelo);
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 600;
    font-family: 'Biko', sans-serif;
}

#itensCarrinho {
    list-style: none;
    margin-bottom: 1rem;
    max-height: 200px;
    overflow-y: auto;
}

#itensCarrinho li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(252, 204, 22, 0.3);
    display: flex;
    justify-content: space-between;
    color: var(--cor-branco);
    font-family: 'Lato', sans-serif;
}

#finalizarCompra {
    background: linear-gradient(45deg, var(--cor-primaria), var(--cor-secundaria));
    color: var(--cor-branco);
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    font-family: 'Inter', sans-serif;
}

#finalizarCompra:hover {
    background: linear-gradient(45deg, var(--cor-amarelo), var(--cor-dourado));
    color: var(--cor-preto);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(252, 204, 22, 0.3);
}

/* ===== FOOTER ===== */
footer {
    background: rgba(0, 0, 0, 0.95);
    padding: 3rem 2rem 2rem;
    border-top: 3px solid var(--cor-amarelo);
    margin-top: 4rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--cor-branco);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    font-family: 'Lato', sans-serif;
}

.footer-links a:hover {
    color: var(--cor-amarelo);
}

.footer-bottom {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-family: 'Lato', sans-serif;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    nav ul {
        gap: 1rem;
    }
    
    .list-menu1 a, #btn-cardapio {
        padding: 0.6rem 1rem;
        font-size: 1.1rem;
    }
    
    .main {
        padding: 100px 1rem 1rem;
    }
    
    .area-lanches,
    .area-acompanhamentos,
    .area-bebidas {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .carrinho {
        position: relative;
        top: auto;
        right: auto;
        width: 100%;
        margin-bottom: 2rem;
    }
    
    .barralateral {
        width: 250px;
    }
    
    .subheaderh2 {
        font-size: 2rem;
    }
    
    .btn-conta .conta {
        padding: 8px 16px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .flex {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .lanche-item-info {
        padding: 1rem;
    }
    
    .lanche-item--nome {
        font-size: 1.1rem;
    }
    
    .lanche-item--preco {
        font-size: 1.3rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    #header {
        padding: 10px 15px;
    }
}

/* Template escondido */
.modelos {
    display: none !important;
}

@media (max-width: 850px){
    .header-center{
        display: inline-block;
    }
}