@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Luckiest+Guy&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  border: none;
  scroll-behavior: smooth;
}

:root {
  --vidro: rgba(255, 255, 255, 0.1);
  --main-color: #6EF700;
  --bg-color: #EC8D00;
  --div-color: #EE4B00;
  --footer-color: #6D0006;
  --bgfooter-color: #000000;
  --text-color: #EEFFFF;
  --text-destaque: #CE0000;
  --aberto: #3F266A;
  --fechado: #EE3500;
}

html {
  scroll-padding-top: 80px;
}

button:focus, input:focus {
  outline: 2px solid var(--main-color);
}

.nav-fundo {
  background-color: var(--bg-color);
  position: relative;
  width: 100%;
  padding: 0.5rem 0 0.5rem 0;
  text-align: center;
}

.logo {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  width: 55px;
  height: 55px;
  background: var(--bgfooter-color);
  border-radius: 50%;
  padding: 0.2rem;
}

.topo {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.68);
  margin-top: 1.5rem;
  animation: flutuar 5s ease-in-out infinite;
}

@keyframes flutuar {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* ==== PLACA DE HORÁRIO ==== */
.horario {
  display: inline-block;
  background: var(--fechado);
  color: var(--text-color);
  padding: 0.5rem 1.5rem;
  border-radius: 30px;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.8s ease;
  cursor: default;
  opacity: 1;
}

/* Mantém o estilo "fechado" sólido */
.horario.fechado {
  background: var(--fechado);
  box-shadow: none;
}

/* === PLACA DE HORÁRIO ABERTA COM EFEITO DE NEON E GRADIENTE === */
.horario.aberto {
  background: linear-gradient(135deg, #3F266A, #5D3FD3, #8741FF);
  background-size: 300% 300%;
  animation: gradienteNeon 6s ease-in-out infinite, piscarNeon 2s infinite ease-in-out;
  box-shadow: 0 0 20px rgba(135, 65, 255, 0.6), 0 0 40px rgba(135, 65, 255, 0.4);
  transition: all 0.6s ease;
}

/* Texto da placa aberta com brilho */
.horario.aberto .funcionamento {
  color: var(--text-color);
  text-shadow: 0 0 6px #a66bff, 0 0 12px #a66bff, 0 0 22px #a66bff;
  animation: brilhoNeon 3s infinite ease-in-out;
}

/* Mantém o estilo "fechado" sólido */
.horario.fechado {
  background: var(--fechado);
  box-shadow: none;
}

/* === ANIMAÇÕES === */
@keyframes gradienteNeon {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes piscarNeon {
  0%, 100% {
    opacity: 0.9;
    filter: brightness(1);
  }
  50% {
    opacity: 1;
    filter: brightness(1.3);
  }
}

@keyframes brilhoNeon {
  0%, 100% {
    text-shadow: 0 0 6px #a66bff, 0 0 12px #a66bff, 0 0 22px #a66bff;
  }
  50% {
    text-shadow: 0 0 12px #d3a6ff, 0 0 26px #d3a6ff, 0 0 45px #d3a6ff;
  }
}

/* Modo noite/dia */
/* === MODO DIA (sem brilho forte) === */
.modo-dia .horario.aberto {
  background: var(--aberto);
  box-shadow: 0 0 10px rgba(63, 38, 106, 0.3);
  animation: none; /* sem gradiente nem piscar */
}

.modo-dia .horario.aberto .funcionamento {
  color: var(--text-color);
  text-shadow: none;
  animation: none;
}

/* === MODO NOITE (com neon e gradiente) === */
.modo-noite .horario.aberto {
  background: linear-gradient(135deg, #3F266A, #5D3FD3, #8741FF);
  background-size: 300% 300%;
  animation: gradienteNeon 6s ease-in-out infinite, piscarNeon 2s infinite ease-in-out;
  box-shadow: 0 0 20px rgba(135, 65, 255, 0.6), 0 0 40px rgba(135, 65, 255, 0.4);
}

.modo-noite .horario.aberto .funcionamento {
  color: var(--text-color);
  text-shadow: 0 0 6px #a66bff, 0 0 12px #a66bff, 0 0 22px #a66bff;
  animation: brilhoNeon 3s infinite ease-in-out;
}

/* Placa acende aos poucos */
/* === TRANSIÇÃO SUAVE ENTRE DIA E NOITE === */
html {
  transition: background 2s ease-in-out, color 2s ease-in-out;
}

.horario {
  transition: background 2s ease-in-out, box-shadow 2s ease-in-out, opacity 1.5s ease-in-out;
}

.horario .funcionamento {
  transition: color 2s ease-in-out, text-shadow 2s ease-in-out;
}

/* Brilho acendendo aos poucos */
.modo-noite .horario.aberto {
  animation: acenderNeon 3s ease-in forwards, gradienteNeon 6s ease-in-out infinite, piscarNeon 2s infinite ease-in-out;
}

@keyframes acenderNeon {
  0% {
    opacity: 0.4;
    filter: brightness(0.8);
    box-shadow: 0 0 0 rgba(135, 65, 255, 0);
  }
  100% {
    opacity: 1;
    filter: brightness(1.2);
    box-shadow: 0 0 20px rgba(135, 65, 255, 0.6), 0 0 40px rgba(135, 65, 255, 0.4);
  }
}

/* Texto da placa */
.funcionamento {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-color);
  margin: 0;
  transition: opacity 0.8s ease;
}

/* === ANIMAÇÃO SUAVE DOS PONTINHOS === */
.pontos {
  display: inline-block;
}

.pontos span {
  display: inline-block;
  font-weight: bold;
  animation: pular 1.5s infinite;
}

.pontos span:nth-child(2) { animation-delay: 0.3s; }
.pontos span:nth-child(3) { animation-delay: 0.6s; }

@keyframes pular {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.4; }
  40% { transform: translateY(-5px); opacity: 1; }
}

/* ==== TEXTOS ==== */
.principalh2 {
  font-family: 'Luckiest Guy', cursive;
  font-size: 2.5rem;
  color: var(--text-destaque);
  margin-top: 0.5rem;
  margin-bottom: 0rem;
}

address {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  color: var(--text-color);
  font-weight: 600;
}

body {
  background-color: var(--text-color);
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 300px;
}

h1 {
  font-family: 'Luckiest Guy', cursive;
  font-size: 2.5rem;
  color: var(--div-color);
  text-align: center;
  margin: 2rem 0;
}

h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  margin: 1rem 0 0.5rem 0;
}

p {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  margin: 0.5rem 0;
}

.preco {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--main-color);
  margin: 0.5rem 0;
}

.cardapio-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  padding: 2rem;
}

.cardapio {
  background-color: var(--div-color);
  padding: 1rem;
  border-radius: 15px;
  color: var(--text-color);
  text-align: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  display: flex; /* Ativa flexbox */
  flex-direction: column; /* Organiza conteúdo em coluna */
  justify-content: space-between; /* Espaça o conteúdo para manter o controle embaixo */
  height: 100%; /* Garante que a altura ocupe o espaço disponível */
}

.cardapio img {
  width: 92%;
  border-radius: 15px;
  object-fit: cover;
}

.controle {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.controle button {
  background-color: var(--text-color);
  color: var(--text-destaque);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  border: none;
}

.quantidade {
  width: 40px;
  text-align: center;
  border-radius: 5px;
  padding: 0.3rem;
  border: none;
}

.adicionar {
  background-color: var(--text-color);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  cursor: pointer;
  border: none;
}

.adicionar img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

/* ==== Estilização da área de bebidas === */
/* Título da seção de bebidas */
.titulo-bebidas {
  font-family: 'Luckiest Guy', cursive;
  font-size: 2.5rem;
  color: var(--div-color);
  text-align: center;
  margin: 2rem 0;
}

/* Container geral das bebidas em duas colunas */
.container-bebidas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 20px;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Card individual da bebida */
.bebida-card {
  display: flex;
  background-color: var(--div-color);
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  align-items: center;
  gap: 1rem;
  min-height: 140px;
}

/* Imagem da bebida com fundo vidro */
.bebida-img {
  width: 100px;
  height: auto;
  border-radius: 8px;
  background-color: var(--vidro);
  padding: 6px;
  flex-shrink: 0;
}

/* Área de texto da bebida */
.bebida-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  font-family: 'Poppins', sans-serif;
  color: var(--text-color);
  height: 100%;
  position: relative;
}

/* Nome da bebida */
.bebida-nome {
  font-size: 1.2rem;
  margin: 0;
  font-weight: 600;
}

/* Descrição da bebida */
.bebida-descricao {
  font-size: 0.95rem;
  margin: 0.4rem 0;
}

/* Preço da bebida */
.bebida-preco {
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--main-color); /* verde limão */
  margin-bottom: 3rem; /* espaço para os controles abaixo */
}

/* Controles fixos no canto inferior direito */
.bebida-controle {
  position: absolute;
  bottom: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Botões de + e - */
.bebida-menos,
.bebida-mais {
  background-color: var(--text-color);
  color: var(--text-destaque);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  border: none;
}

/* Campo de quantidade */
.bebida-quantidade {
  width: 40px;
  text-align: center;
  font-size: 0.9rem;
  border-radius: 5px;
  padding: 0.3rem;
  border: none;
}

/* Botão do carrinho */
.bebida-adicionar {
  background-color: var(--text-color);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  cursor: pointer;
  border: none;
}

.bebida-adicionar img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

/* 📱 Responsividade */
@media (max-width: 768px) {
  .container-bebidas {
    grid-template-columns: 1fr;
    padding: 1rem;
  }

  .bebida-card {
    flex-direction: row; /* mantém horizontal */
    flex-wrap: wrap;
  }

  .bebida-img {
    margin-bottom: 0;
  }

  .bebida-info {
    position: relative;
    flex: 1;
  }

  .bebida-controle {
    position: absolute;
    bottom: 10px;
    right: 10px;
  }
}
/* ==== /Estilização da área de bebidas\ === */

.container-enviar {
  display: flex;
  justify-content: flex-end; /* alinha à direita */
  padding: 1rem 1rem 1.5rem; /* espaçamento interno */
}

#enviarPedido {
  background-color: var(--text-destaque);
  color: var(--text-color);
  padding: 1rem 1.5rem;
  border-radius: 30px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 1000;
}

@media (max-width: 768px) {
  .container-enviar {
    justify-content: center; /* centraliza no mobile */
    padding: 2rem 1rem;
  }

  #enviarPedido {
    width: fit-content;
  }
}

.carrinho-preview {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  z-index: 2000;
  justify-content: center;
  align-items: center;
}

.carrinho-conteudo {
  background: white;
  color: black;
  padding: 2rem;
  border-radius: 20px;
  max-width: 400px;
  width: 90%;
  text-align: center;
}

.carrinho-conteudo h2 {
  margin-bottom: 1rem;
}

#itensCarrinho {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  text-align: left;
}

#totalCarrinho {
  font-weight: bold;
  margin-bottom: 1rem;
}

#confirmarPedido {
  background: var(--div-color);
  color: white;
  padding: 1rem;
  border: none;
  border-radius: 10px;
  width: 100%;
  cursor: pointer;
  font-weight: bold;
}

#fecharPreview {
  margin-top: 1rem;
  background: transparent;
  border: none;
  color: var(--div-color);
  font-weight: bold;
  cursor: pointer;
}

/* Animação de entrada do carrinho */
.carrinho-preview {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.carrinho-preview.ativo {
  opacity: 1;
  transform: scale(1);
}

/* Estilo dos itens no carrinho */
#itensCarrinho li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.item-qtd {
  width: 50px;
  margin: 0 0.5rem;
  text-align: center;
}

.remover-item {
  background: transparent;
  border: none;
  color: red;
  font-size: 1.2rem;
  cursor: pointer;
}

/* Footer */
.footer-content {
  background-color: var(--bgfooter-color);
  color: var(--text-color);
  text-align: center;
  padding: 0.5rem 0;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.social-mediafooter a {
    display: inline-flex; /* Flex container inline para centralizar ícones */
    justify-content: center; /* Centraliza horizontal */
    align-items: center; /* Centraliza vertical */
    width: 3rem; /* Largura fixa */
    height: 3rem; /* Altura fixa */
    border: solid 0.15rem var(--div-color); /* Borda circular colorida */
    border-radius: 50%; /* Torna circular */
    font-size: 2.3rem; /* Tamanho do ícone */
    color: var(--text-color); /* Cor da borda e do ícone */
    margin: 0.3rem 1rem 0.8rem 0; /* Margens ao redor */
    transition: 0.5s ease; /* Transição suave ao hover */
    margin-top: 2.5rem; /* Espaço superior */
}

footer p { 
    font-size: 1rem; 
    font-weight: 500;
    margin: 0.5rem 0 1rem;
    color: var(--text-color); 
    text-align: center;
    margin-top: 0.5rem; 
    margin-bottom: 1.2rem; 
}