/* =====================================================
   GOD OF LANCHES
   CARDÁPIO
   Visual alinhado com a Home
===================================================== */


/* =====================================================
   RESET
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #050505;
    color: #ffffff;
    min-height: 100vh;
}


/* =====================================================
   HEADER
===================================================== */

.header {
    width: 100%;
    height: 76px;

    padding: 0 8%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: #080808;

    border-bottom: 2px solid #ff3c00;

    position: sticky;
    top: 0;

    z-index: 1000;
}


/* =====================================================
   LOGO
===================================================== */

.logo {
    text-decoration: none;

    color: #ff3c00;

    font-size: 28px;
    font-weight: 900;

    letter-spacing: 1px;

    transition: 0.3s;
}

.logo span {
    color: #ffffff;
}

.logo:hover {
    opacity: 0.9;
}


/* =====================================================
   MENU
===================================================== */

.menu {
    display: flex;

    align-items: center;

    gap: 35px;
}

.menu a {
    position: relative;

    color: #ffffff;

    text-decoration: none;

    font-size: 15px;

    font-weight: 700;

    transition: 0.3s;
}

.menu a:hover {
    color: #ff3c00;
}

.menu a.ativo {
    color: #ff3c00;
}


/* =====================================================
   BOTÃO DO CARRINHO
===================================================== */

.botao-carrinho {
    position: relative;

    border: none;

    background: transparent;

    color: #ffffff;

    font-size: 25px;

    cursor: pointer;

    margin-left: 25px;

    transition: 0.3s;
}

.botao-carrinho:hover {
    transform: scale(1.08);
}

.botao-carrinho span {
    position: absolute;

    top: -8px;
    right: -10px;

    width: 20px;
    height: 20px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #ff3c00;

    color: #ffffff;

    border-radius: 50%;

    font-size: 11px;

    font-weight: bold;
}


/* =====================================================
   TÍTULO DO CARDÁPIO
===================================================== */

.titulo-pagina {
    min-height: 350px;

    display: flex;

    align-items: center;
    justify-content: center;

    text-align: center;

    padding: 60px 20px;

    background:
        radial-gradient(
            circle at center,
            rgba(255, 60, 0, 0.08),
            transparent 45%
        ),
        #050505;
}

.titulo-pagina div {
    max-width: 850px;
}

.titulo-pagina span {
    display: block;

    color: #ff3c00;

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 4px;

    margin-bottom: 20px;
}

.titulo-pagina h1 {
    font-size: 58px;

    font-weight: 900;

    line-height: 1.1;

    margin-bottom: 25px;
}

.titulo-pagina h1 strong {
    color: #ff3c00;
}

.titulo-pagina p {
    color: #d0d0d0;

    font-size: 17px;

    line-height: 1.6;
}


/* =====================================================
   CATEGORIAS
===================================================== */

.categorias {
    width: 90%;

    max-width: 1200px;

    margin: 0 auto;

    padding: 50px 0 35px;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 14px;

    flex-wrap: wrap;
}

.categoria {
    border: 1px solid #3a3a3a;

    background: #151515;

    color: #ffffff;

    padding: 13px 24px;

    border-radius: 30px;

    font-size: 14px;

    font-weight: 700;

    cursor: pointer;

    transition: 0.3s;
}

.categoria:hover {
    border-color: #ff3c00;

    color: #ff3c00;

    transform: translateY(-2px);
}

.categoria.ativa {
    background: #ff3c00;

    border-color: #ff3c00;

    color: #ffffff;
}


/* =====================================================
   ÁREA DOS PRODUTOS
===================================================== */

.cardapio {
    width: 90%;

    max-width: 1200px;

    margin: 0 auto 70px;

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 25px;
}


/* =====================================================
   CARD DO PRODUTO
===================================================== */

.produto {
    background: #111111;

    border: 1px solid #292929;

    border-radius: 12px;

    overflow: hidden;

    display: flex;

    min-height: 235px;

    transition: 0.3s;
}

.produto:hover {
    transform: translateY(-5px);

    border-color: #ff3c00;

    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.45);
}


/* =====================================================
   IMAGEM DO PRODUTO
===================================================== */

.produto-imagem {
    width: 180px;

    min-width: 180px;

    display: flex;

    align-items: center;
    justify-content: center;

    background:
        radial-gradient(
            circle,
            rgba(255, 60, 0, 0.10),
            transparent 65%
        ),
        #151515;

    font-size: 72px;
}


/* =====================================================
   INFORMAÇÕES
===================================================== */

.produto-info {
    flex: 1;

    padding: 25px;

    display: flex;

    flex-direction: column;

    justify-content: center;
}

.produto-info h2 {
    font-size: 23px;

    margin-bottom: 10px;
}

.produto-info p {
    color: #aaaaaa;

    font-size: 14px;

    line-height: 1.6;

    margin-bottom: 20px;
}


/* =====================================================
   DESTAQUE
===================================================== */

.destaque {
    width: fit-content;

    display: inline-block;

    background: #ff3c00;

    color: #ffffff;

    padding: 5px 9px;

    border-radius: 4px;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1px;

    margin-bottom: 10px;
}


/* =====================================================
   PREÇO + BOTÃO
===================================================== */

.produto-final {
    margin-top: auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;
}

.produto-final strong {
    color: #ff3c00;

    font-size: 21px;

    white-space: nowrap;
}


/* =====================================================
   BOTÃO ADICIONAR
===================================================== */

.btn-pedir {
    border: none;

    background: #ff3c00;

    color: #ffffff;

    padding: 11px 16px;

    border-radius: 6px;

    font-size: 11px;

    font-weight: 800;

    cursor: pointer;

    transition: 0.3s;
}

.btn-pedir:hover {
    background: #ff551f;

    transform: translateY(-2px);
}


/* =====================================================
   CARRINHO
===================================================== */

.carrinho {
    position: fixed;

    top: 0;

    right: -420px;

    width: 400px;

    height: 100vh;

    background: #111111;

    z-index: 2000;

    box-shadow:
        -8px 0 30px rgba(0, 0, 0, 0.6);

    display: flex;

    flex-direction: column;

    transition: right 0.4s ease;
}

.carrinho.aberto {
    right: 0;
}


/* =====================================================
   CABEÇALHO DO CARRINHO
===================================================== */

.carrinho-header {
    padding: 25px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    border-bottom: 1px solid #333333;
}

.carrinho-header h2 {
    font-size: 24px;
}

.carrinho-header button {
    background: transparent;

    border: none;

    color: #ffffff;

    font-size: 22px;

    cursor: pointer;

    transition: 0.3s;
}

.carrinho-header button:hover {
    color: #ff3c00;

    transform: rotate(90deg);
}


/* =====================================================
   ITENS DO CARRINHO
===================================================== */

.carrinho-itens {
    flex: 1;

    padding: 20px;

    overflow-y: auto;
}

.carrinho-vazio {
    text-align: center;

    color: #888888;

    margin-top: 50px;
}


/* =====================================================
   ITEM DO CARRINHO
===================================================== */

.item-carrinho {
    background: #1d1d1d;

    border: 1px solid #292929;

    border-radius: 9px;

    padding: 15px;

    margin-bottom: 15px;

    display: grid;

    grid-template-columns: 1fr auto auto;

    gap: 10px;

    align-items: center;
}

.item-info h3 {
    font-size: 16px;

    margin-bottom: 5px;
}

.item-info span {
    color: #ff3c00;

    font-weight: bold;

    font-size: 14px;
}


/* =====================================================
   QUANTIDADE
===================================================== */

.quantidade {
    display: flex;

    align-items: center;

    gap: 8px;
}

.quantidade span {
    min-width: 20px;

    text-align: center;

    font-weight: bold;
}

.btn-quantidade {
    width: 28px;

    height: 28px;

    border: none;

    border-radius: 5px;

    background: #ff3c00;

    color: #ffffff;

    cursor: pointer;

    font-weight: bold;

    transition: 0.2s;
}

.btn-quantidade:hover {
    background: #ff5a28;

    transform: scale(1.05);
}


/* =====================================================
   REMOVER PRODUTO
===================================================== */

.btn-remover {
    border: none;

    background: transparent;

    color: #ffffff;

    cursor: pointer;

    font-size: 18px;

    transition: 0.2s;
}

.btn-remover:hover {
    color: #ff3c00;

    transform: scale(1.15);
}


/* =====================================================
   RODAPÉ DO CARRINHO
===================================================== */

.carrinho-footer {
    padding: 25px;

    border-top: 1px solid #333333;
}

.total {
    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 20px;

    font-size: 18px;
}

.total strong {
    color: #ff3c00;

    font-size: 25px;
}


/* =====================================================
   FINALIZAR PEDIDO
===================================================== */

.btn-finalizar {
    width: 100%;

    padding: 15px;

    border: none;

    border-radius: 7px;

    background: #ff3c00;

    color: #ffffff;

    font-size: 15px;

    font-weight: 800;

    cursor: pointer;

    transition: 0.3s;
}

.btn-finalizar:hover {
    background: #ff5a28;

    transform: translateY(-2px);
}


/* =====================================================
   COMBO
===================================================== */

.combo {
    width: 90%;

    max-width: 1200px;

    margin: 0 auto 70px;

    padding: 35px 40px;

    background:
        linear-gradient(
            135deg,
            #ff3c00,
            #c92f00
        );

    border-radius: 12px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}

.combo span {
    font-size: 11px;

    font-weight: 800;

    letter-spacing: 2px;
}

.combo h2 {
    font-size: 28px;

    margin: 8px 0;
}

.combo p {
    color: #ffffff;

    opacity: 0.9;
}

.combo > strong {
    font-size: 32px;

    white-space: nowrap;
}


/* =====================================================
   FOOTER
===================================================== */

footer {
    background: #080808;

    border-top: 1px solid #222222;

    text-align: center;

    padding: 30px 20px;

    color: #888888;

    font-size: 14px;
}

footer strong {
    color: #ff3c00;
}


/* =====================================================
   SCROLLBAR
===================================================== */

.carrinho-itens::-webkit-scrollbar {
    width: 6px;
}

.carrinho-itens::-webkit-scrollbar-track {
    background: #111111;
}

.carrinho-itens::-webkit-scrollbar-thumb {
    background: #444444;

    border-radius: 10px;
}

.carrinho-itens::-webkit-scrollbar-thumb:hover {
    background: #ff3c00;
}


/* =====================================================
   RESPONSIVIDADE
===================================================== */

@media (max-width: 1000px) {

    .header {
        padding: 0 5%;
    }

    .cardapio {
        grid-template-columns: 1fr;
    }

    .titulo-pagina h1 {
        font-size: 48px;
    }
}


/* =====================================================
   CELULAR
===================================================== */

@media (max-width: 600px) {

    .header {
        height: auto;

        min-height: 70px;

        padding: 15px 5%;

        flex-wrap: wrap;

        gap: 15px;
    }

    .logo {
        font-size: 21px;
    }

    .menu {
        order: 3;

        width: 100%;

        justify-content: center;

        gap: 20px;
    }

    .botao-carrinho {
        margin-left: auto;
    }


    .titulo-pagina {
        min-height: 280px;

        padding: 40px 20px;
    }

    .titulo-pagina h1 {
        font-size: 38px;
    }

    .titulo-pagina p {
        font-size: 15px;
    }


    .categorias {
        padding-top: 30px;
    }

    .categoria {
        font-size: 12px;

        padding: 10px 15px;
    }


    .produto {
        flex-direction: column;
    }

    .produto-imagem {
        width: 100%;

        min-width: 100%;

        height: 150px;

        min-height: 150px;
    }

    .produto-info {
        padding: 20px;
    }


    .produto-final {
        flex-wrap: wrap;
    }

    .btn-pedir {
        flex: 1;
    }


    /* CARRINHO */

    .carrinho {
        width: 100%;

        right: -100%;
    }

    .carrinho.aberto {
        right: 0;
    }


    /* COMBO */

    .combo {
        flex-direction: column;

        align-items: flex-start;

        padding: 30px;
    }

    .combo h2 {
        font-size: 23px;
    }

    .combo > strong {
        font-size: 27px;
    }

}

