@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

 
:root {
    --cor-primaria: #00bfff;
    --cor-sucesso: #28a745;
    --cor-fundo: #121212;
    --cor-card: rgba(30, 30, 30, 0.2); 
    --cor-texto-principal: #f1f1f1;
    --cor-texto-secundario: #aaaaaa;
    --cor-rodape: #111111;
    --cor-neon-rosa: #c026d3;
    --cor-neon-azul: #4f46e5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; 
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--cor-fundo);
    color: var(--cor-texto-principal);
}


 
header {
    background-color: var(--cor-card);
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid #333;
    margin-bottom: 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2); 
    position: relative; 
    z-index: 10; 
    backdrop-filter: blur(5px);
}

header .logo {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

header .logo img {
    width: 60px;
    height: 60px; 
    border-radius: 50%; 
    object-fit: cover; 
    border: 2px solid #444; 
}

header h1 {
    font-size: 2.5rem; 
}

header p {
    color: var(--cor-texto-secundario);
    margin-top: 5px;
}


 
main {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 20px; 
    position: relative;
    z-index: 1;
}

main::before {
    content: '';
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background-image: url('imagens/logo.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 120vw;
    opacity: 0.8; 
    z-index: -1;
}

main h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    background: linear-gradient(90deg, var(--cor-neon-rosa), var(--cor-neon-azul));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 10px rgba(192, 38, 211, 0.5),
                 0 0 10px rgba(79, 70, 229, 0.5);
}


 
.container-pesquisa-e-filtro {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

#botao-menu {
     
    width: 50px;
    height: 50px;
    border-radius: 50%;  
  
    
    background-color: var(--cor-card);  
    backdrop-filter: blur(5px);    
    
     
    border: 1px solid rgba(255, 255, 255, 0.1); 
  
    
    color: var(--cor-texto-principal); 
    font-size: 1.2rem;
     
    display: flex;
    align-items: center;
    justify-content: center;
  
     
    cursor: pointer;
    transition: all 0.3s ease;  
    -webkit-tap-highlight-color: transparent;  
  
     
    box-shadow: 0 0 8px var(--cor-neon-rosa), 
                0 0 8px var(--cor-neon-azul);
}
  
#botao-menu:hover {
     
    background-color: rgba(45, 45, 45, 0.5); 
    
    
    box-shadow: 0 0 12px var(--cor-neon-rosa), 
                0 0 12px var(--cor-neon-azul);
                
   
    transform: scale(1.05);
}

.container-pesquisa {
    flex-grow: 1;
}

#barra-pesquisa {
    width: 100%;
    padding: 15px 20px;
    font-size: 1.1rem;
    color: #f1f1f1;
    background-color: var(--cor-card);
    border: 1px solid #444;
    border-radius: 50px;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: 0 0 7px rgba(192, 38, 211, 0.5), 
                0 0 7px rgba(79, 70, 229, 0.5);
    backdrop-filter: blur(5px);
}

#barra-pesquisa:focus {
    border-color: var(--cor-primaria);
    box-shadow: 0 0 12px rgba(192, 38, 211, 0.8), 
                0 0 12px rgba(79, 70, 229, 0.8);
}

#menu-marcas {
    background-color: var(--cor-card);
    border: 1px solid #333;
    border-radius: 15px;
    padding: 15px;
    margin-bottom: 30px;
    display: none;
    flex-wrap: wrap;
    gap: 10px;
    backdrop-filter: blur(5px);
    box-shadow: 0 0 7px rgba(192, 38, 211, 0.5), 
                0 0 7px rgba(79, 70, 229, 0.5);
}

#menu-marcas.menu-visivel {
    display: flex;
}

.item-marca {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--cor-texto-secundario);
    padding: 8px 15px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    border: 1px solid #444;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

.item-marca:hover {
    color: #fff;
    border-color: var(--cor-neon-rosa);
    background-color: rgba(192, 38, 211, 0.1);
    box-shadow: 0 0 8px rgba(192, 38, 211, 0.5);
}

.item-marca.ativo {
    font-weight: bold;
    background-color: #333;
    color: white;
    border-radius: 20px;
}


 
.container-produtos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px; 
}

.card-produto {
    background-color: var(--cor-card); 
    border-radius: 15px;
    overflow: hidden; 
    text-align: center;
    padding: 20px;
    border: 1px solid #333;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 7px rgba(192, 38, 211, 0.5), 
                0 0 7px rgba(79, 70, 229, 0.5);
    backdrop-filter: blur(5px);
}

.card-produto:hover {
    transform: translateY(-5px); 
    box-shadow: 0 0 12px rgba(192, 38, 211, 0.8), 
                0 0 12px rgba(79, 70, 229, 0.8);
}

.card-produto img {
    max-width: 100%;
    height: 150px;
    object-fit: cover; 
    margin-bottom: 15px;
}

.card-produto h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    min-height: 40px;
}

.card-produto .preco {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--cor-primaria);
    margin-bottom: 20px;
}

.botao-comprar {
    display: inline-flex; 
    align-items: center;  
    justify-content: center; 
    gap: 10px; 
    background: linear-gradient(to right, #c026d3, #4f46e5); 
    color: #ffffff;
    padding: 12px 20px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    border-radius: 50px; 
    border: none; 
    cursor: pointer; 
    transition: transform 0.2s ease, filter 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.botao-comprar:hover {
    transform: scale(1.05); 
    filter: brightness(1.1); 
}

.botao-comprar .fa-whatsapp {
    font-size: 1.2rem; 
}


 
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.visivel {
    opacity: 1;
    visibility: visible;
}

.modal-sabores-container {
    background-color: #1e1e1e;
    padding: 30px;
    border-radius: 15px;
    border: 1px solid #444;
    width: 90%;
    max-width: 500px;
    text-align: center;
    position: relative;
    box-shadow: 0 0 20px rgba(192, 38, 211, 0.5), 
                0 0 20px rgba(79, 70, 229, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal-overlay.visivel .modal-sabores-container {
    transform: scale(1);
}

.modal-fechar-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    color: #aaa;
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

.modal-fechar-btn:hover {
    color: #fff;
}

.modal-produto-info {
    margin-bottom: 20px;
}

.modal-produto-info img {
    max-width: 100%;
    height: 150px;
    object-fit: contain;
    margin-bottom: 15px;
}

.modal-produto-info h3 {
    font-size: 1.5rem;
    color: #f1f1f1;
}

.modal-sabores-container h4 {
    font-size: 1.1rem;
    color: var(--cor-texto-secundario);
    margin-bottom: 15px;
}

.modal-lista-sabores {
    display: grid;
    grid-template-columns: repeat(2, 1fr);  
    gap: 10px;
    margin-bottom: 20px;
    max-height: 220px;
    overflow-y: auto;
    padding: 5px;  
}

.modal-lista-sabores::-webkit-scrollbar {
    width: 6px;
}
.modal-lista-sabores::-webkit-scrollbar-track {
    background: #2c2c2c;
    border-radius: 10px;
}
.modal-lista-sabores::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--cor-neon-rosa), var(--cor-neon-azul));
    border-radius: 10px;
}

.botao-sabor {
    background-color: #333;
    color: #ccc;
    border: 1px solid #555;
    padding: 10px;
    border-radius: 8px; 
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    line-height: 1.4; 
    min-height: 50px; 
    display: flex;  
    align-items: center;
    justify-content: center;
}

.botao-sabor:hover {
    background-color: #444;
    border-color: #777;
    color: #fff;
}

.botao-sabor.selecionado {
    background: linear-gradient(to right, var(--cor-neon-rosa), var(--cor-neon-azul));
    color: #fff;
    border-color: var(--cor-neon-rosa);
    font-weight: bold;
    box-shadow: 0 0 10px rgba(192, 38, 211, 0.5);
}

.modal-aviso-selecao {
    color: #ff6b6b;
    margin-bottom: 15px;
    display: none;
    font-weight: bold;
}


 
footer {
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    background-color: var(--cor-rodape);
    color: var(--cor-texto-principal);
}


 
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    main::before {
      background-size: 150vw;
    }

    main h2 {
        font-size: 2rem;
    }

    .container-produtos {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }

    .card-produto {
        padding: 10px;
         
        background-color: var(--cor-card);
    }
    
    .card-produto img {
        height: 100px;
        margin-bottom: 8px;
    }

    .card-produto h3 {
        font-size: 0.8rem;
        min-height: 30px;
        margin-bottom: 5px;
    }

    .card-produto .preco {
        font-size: 1rem;
        margin-bottom: 10px;
    }
    
    .botao-comprar {
        padding: 8px 12px;
        font-size: 0.8rem;
        gap: 5px;
    }

    .botao-comprar .fa-whatsapp {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    main::before {
        background-size: 200vw;
    }

    .container-produtos {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .modal-lista-sabores {
        grid-template-columns: 1fr;
    }
}

