/* Layout responsivo corpo da pagina*/
:root {
  --bg: #f6f7fb;
  --card: #fff;
  --card-aviso:#FFEE8C;
  --accent: #2b6cb0;
  --muted: #6b7280;
  --radius: 12px;
  --shadow: 0 4px 10px rgba(0, 0, 0, 0.9);
}

html, body {
  font-family: "Inter", system-ui, sans-serif;
  margin: 0;
  background: var(--bg);
  color: #111;
  line-height: 1.5;
}

/* Container responsivo */
.container {
  max-width: 1100px;
  margin: auto;
  padding: 16px;
  box-sizing: border-box;
  
 
}

/* Cabeçalho flexível */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  
  
  
  
  
   
}







/* Texto 3D */



h1 {
    
    
    
    margin-bottom: 10px;
    text-align: center;
    
    
    
    
    
   
    color: #000;


text-shadow: 0 5px 0 #ccc,
0 2px 0 #c9c9c9,
0 3px 0 #bbb,
0 4px 0 #b9b9b9,
0 5px 0 #aaa,
0 6px 1px rgba(0,0,0,.1),
0 0 5px rgba(0,0,0,.1),
0 1px 3px rgba(0,0,0,.3),
0 3px 5px rgba(0,0,0,.2),
0 5px 10px rgba(0,0,0,.25),
0 10px 10px rgba(0,0,0,.2),
0 20px 20px rgba(0,0,0,.15);


}
/* Texto 3D END */










hr {
    border: none;
    height: 1px;
    background: linear-gradient(to right, transparent, #334155, transparent);
    margin: 0px 0;
}





/* link */


a {
    display: inline-block;
    padding: 0px 0px;
   /*  background: linear-gradient(135deg, #2b6cb0, #1a4a8b);*/
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

a::after {
    
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: rgba(255,255,255,0.3);
    transform: skewX(-25deg);
    transition: all 0.5s ease;
}

a:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

a:hover::after {
    left: 125%;
}









/* Navegação */
nav a {
  margin-right: 8px;
  padding: 8px 12px;
  background: #fff;
  border-radius: var(--radius);
  text-decoration: none;
  color: #111;
  font-weight: 500;
  transition: background 0.3s, transform 0.2s;
}

nav a:hover {
  background: var(--accent);
  color: #fff;
  transform: scale(1.05);
}




/* 🔹 Destaque do link ativo (página atual) */
 a.ativo {
  background: var(--accent);
  color: #fff;
  font-weight: bold;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);
}




/* Cards */
.card {
  background: var(--card);
  padding: 16px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-top: 12px;
  transition: transform 0.2s;
  font-size: 13px;
}




/* Cards */
.card-aviso {
  background: var(--card-aviso);
  padding: 16px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-top: 12px;
  transition: transform 0.2s;
  font-size: 13px;
}





/* Títulos */
h2, h3 {
  margin-top: 0;
  color: var(--accent);
}

/* Formulários */
input, select, button {
  font-size: 1rem;
  padding: 8px;
  border-radius: var(--radius);
  border: 1px solid #ccc;
  outline: none;
  transition: border-color 0.2s;
}

input:focus, select:focus, button:focus {
  border-color: var(--accent);
}

button {
  background: var(--accent);
  color: white;
  border: none;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s, transform 0.2s;
}

button:hover {
  background: #1e4e8c;
  transform: scale(1.03);
}

/* Imagens */
img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

/* Layout responsivo */
@media (max-width: 900px) {
  .container {
    padding: 12px;
  }
  header {
    flex-direction: column;
    align-items: flex-start;
  }
  nav a {
    margin: 4px 4px 4px 0;
    display: inline-block;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 0.95rem;
  }
  .card {
    padding: 12px;
  }
  
  
  nav a {
    padding: 6px 10px;
    font-size: 0.9rem;
  }
  button {
    width: 100%;
  }
}
/* Layout responsivo corpo da pagina END*/






/* Fundo escuro com blur */

.modal {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(5px);
}

/* Conteúdo centralizado */
.modal-content {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    position: relative;
}

/* Botão fechar */
.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    cursor: pointer;
}

/* Responsivo para celulares */
@media (max-width: 600px) {
    .modal-content {
        width: 95%;
        padding: 15px;
    }
}

/* Fundo escuro com blur  END*/




         
         /* Estilo padrão (para computadores) */
.tamanho-pc-celular {
  width:80%;
  height: 150px;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0,0,0,0.3);
  transition: transform 0.3s;
  
   transform: perspective(800px) rotateX(6deg);
  transform-origin: center;
  transition: transform 300ms ease, box-shadow 300ms ease;
  cursor: default;

  /* sombra geral do bloco para destacar */
  box-shadow:
    0 10px 25px rgba(3, 10, 24, 0.55),
    0 2px 6px rgba(0,0,0,0.25) inset;
  
 
  
}




.link-fundo {
  
}



/* 📱 Quando for tela de celular (até 600px de largura) */
@media (max-width: 600px) {
  .tamanho-pc-celular {
    width: 90%;      /* ocupa quase toda a tela */
    height: 150px;
    border-radius: 8px;
  }
}

  /* Estilo padrão (para computadores) END*/


/* imagem-redonda */

.imagem-redonda {
    display: flex;
    justify-content: center;   /* Centraliza horizontalmente */
    align-items: center;       /* Centraliza verticalmente */
    margin-top: -100px;
    margin-bottom: 0px;
      position: relative;        /* Define base para posicionamento absoluto */
}

.imagem-redonda img {
    width: 150px;
    height: 150px;
    border-radius: 50%;        /* Deixa a imagem redonda */
    object-fit: cover;          /* Corta e ajusta imagem sem distorcer */
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

/* imagem-redonda END */




    
    
        
        
        /* CSS - título 3D chamativo */
.titulo-estabelecimento {
    
    width: 90%;
  height: auto;
  display: inline-block;
  margin: 0;
  padding: 12px 20px;
  font-family: "Poppins", "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: clamp(1.6rem, 4.5vw, 3.2rem); /* responsivo */
  color: #ffffff;
  background: linear-gradient(180deg, #1e90ff 0%, #1157c6 100%);
  border-radius: 12px;
  position: relative;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;

  /* perspectiva para efeito 3D */
  transform: perspective(800px) rotateX(6deg);
  transform-origin: center;
  transition: transform 300ms ease, box-shadow 300ms ease;
  cursor: default;

  /* sombra geral do bloco para destacar */
  box-shadow:
    0 10px 25px rgba(3, 10, 24, 0.55),
    0 2px 6px rgba(0,0,0,0.25) inset;
}

/* Extrusão 3D feita com camadas de text-shadow */
.titulo-estabelecimento {
  text-shadow:
    0 1px 0 rgba(255,255,255,0.12),   /* leve brilho superior */
    0 2px 0 rgba(0,0,0,0.12),
    0 3px 0 rgba(0,0,0,0.12),
    0 4px 0 rgba(0,0,0,0.12),
    0 5px 0 rgba(0,0,0,0.12),
    0 6px 12px rgba(0,0,0,0.45);      /* cast shadow */
}

/* brilho suave por cima */
.titulo-estabelecimento::after{
  content: "";
  position: absolute;
  left: 0%;
  top: 0%;
  width: 100%;
  height: 40%;
  background: linear-gradient(180deg, rgba(255,255,255,0.28), rgba(255,255,255,0.06));
  border-radius: 10px;
  pointer-events: none;
  mix-blend-mode: overlay;
}


/* foco acessível (para navegação por teclado) */
.titulo-estabelecimento:focus {
  outline: 3px solid rgba(255,255,255,0.15);
  outline-offset: 6px;
  border-radius: 12px;
}

/* versão leve (se quiser fundo transparente) */
.titulo-estabelecimento.titulo--outline {
  background: transparent;
  color: #1157c6;
  text-shadow: none;
  border: 3px solid #1157c6;
  box-shadow: 0 8px 20px rgba(17,87,198,0.12);
}

/* ajustes móveis */
@media (max-width: 420px) {
  .titulo-estabelecimento {
      
    padding: 10px 14px;
    font-size: clamp(1.25rem, 6vw, 1.8rem);
    transform: perspective(500px) rotateX(4deg);
  }
  .titulo-estabelecimento::after { top: 8%; height: 35%; }
}

       /* CSS - título 3D chamativo END*/ 






/*fundo inpu muda de cor*/

/*

input[type="number"],
input[type="text"] {
  padding: 10px;
  width: 100%;
  border-radius: 6px;
  border: 2px solid #5b9bd5;
  background-color: #d6eaff; /* azul suave */
  
  
  color: #cc0000; /* vermelho suave */
  font-size: 16px;
  outline: none;
  transition: all 0.3s ease;
}

input[type="number"]:focus,
input[type="text"]:focus {
  background-color: #fff9c4; /* amarelo suave */
  border-color: #ffd54f;
  color: #e74c3c; /* vermelho mais suave */
  box-shadow: 0 8px 20px rgba(17,87,198,0.12);
}



 
/*fundo inpu muda de cor END*/




/* Para dispositivos móveis: celular */


@media (max-width: 768px) {
    textarea {
        width: 95vw; /* quase toda a largura da tela */
        min-height: 83px; /* mais comprido no celular */
        font-size: 18px; /* texto maior e mais legível */
        padding: 16px;
    }
}
/* Para dispositivos móveis: celular END*/






/* botao-flutuante*/


.botao-flutuante {
  position: fixed;
  bottom: 100px;
  right: 20px;
  background-color: #25D366; /* verde WhatsApp */
  color: #000;
  padding: 15px 25px;
  border-radius: 50px;
  font-size: 16px;
  
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  cursor: pointer;
  z-index: 999;
  transition: transform 0.2s, background-color 0.3s;
}

.botao-flutuante:hover {
  background-color: #20b957;
  transform: scale(1.05);
}

/* Ajuste para celular */
@media (max-width: 600px) {
  .botao-flutuante {
    font-size: 14px;
    padding: 12px 18px;
    bottom: 70px;
    right: 15px;
  }
}
/* botao-flutuante END*/

 


/* Hora e rede social*/


.blink {
    animation: piscar-aberto 1s infinite;
}
@keyframes piscar-aberto {
    0% { opacity: 1; }
    50% { opacity: 0.2; }
    100% { opacity: 1; }
}


.link-rede-social {
  color: #0077b6;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}




.sombra-imagem {
  margin: 0;
  padding: -20px;
  width: 35px;
  height: 35px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  border-radius: 8px;
  display: block;
}

/* Ajuste para telas pequenas (como telemóveis) */
@media (max-width: 600px) {
  .sombra-imagem {
    width: 30px;
    height: 30px;
     padding: -20px;
  }
}

/* Hora e rede social END*/



/* Estilo do summary */
details {
  background: #007BFF; /* fundo azul */
  color: #fff;          /* texto branco */
  
  border-radius: 8px;
  padding: 0px 15px;
  margin: 10px 0;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0,0,0,0.9);
  overflow: hidden;
}

/* Estilo do texto quando aberto */
details[open] {
  background: #0056b3;
  transform: translateY(-3px); /* efeito de “top” */
  box-shadow: 0 6px 8px rgba(0,0,0,0.3);
}

/* Remove a seta padrão e adiciona uma personalizada */
details summary {
  list-style: none;
  
  font-size: 14px;  /*Texto abrir*/
}

details summary::-webkit-details-marker {
  display: none;
}



/* Adiciona seta personalizada */
details[open] summary::before {
  content: "- "; 
}
details summary::before {
  content: "+ "; 
}

/* Conteúdo interno */
details div {
  padding-top: 10px;
  line-height: 1.5;
}


/* Estilo do summary END */








/* total Fixado */

#totalFixado {
    position: fixed; bottom: 0; left: 0; width: 100%;
    background: rgba(0,0,0,0.7); backdrop-filter: blur(8px);
    color: white; font-size: 1.2rem;
    padding: 10px; font-weight: bold; z-index: 100;
    border-top: 1px solid rgba(255,255,255,0.2);
}

/* Linha com total à esquerda e botão à direita */
.linha-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.total-esquerda {
    text-align: left;
    flex: 1;
}

.finalizar-direita {
    text-align: right;
    margin-right: 15px;
}

#btnFinalizar {
    background: #993399;
    color: white;
    font-size: 1rem;
    padding: 8px 14px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

#btnFinalizar:hover {
    background: #218838;
}









.quantidade-box {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 5px;
    flex-wrap: wrap;
}

.quantidade-box button {
    border: none;
    color: white;
    font-size: 18px;
    width: 32px;
    height: 36px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}


button.limpar {
    background-color: #6c757d;
    font-size: 16px;
}



.quantidade {
    text-align: center;
    font-size: 16px;
    height: 36px;
    border: 1px solid #ccc;
    border-radius: 5px;
}





/* total Fixado END */






/* Carrossel horizontal */
/* Carrossel horizontal por categoria */
.carousel {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 15px;
    padding: 10px 0;
}

.carousel::-webkit-scrollbar {
    height: 8px;
}

.carousel::-webkit-scrollbar-thumb {
    background-color: rgba(0,0,0,0.3);
    border-radius: 4px;
}

.prato {
    flex: 0 0 auto; /* Mantém tamanho fixo e evita encolher */
    width: 200px;
    background: #fff;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: center;
}

.prato img {
    width: 180px;       /* Largura fixa */
    height: 120px;      /* Altura fixa */
    object-fit: cover;  /* Mantém proporção e recorta o excesso */
    border-radius: 8px;
    margin-bottom: 5px;
}


.quantidade-box {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 5px;
}

.quantidade-box select {
    width: 50px;
}


@media (max-width: 600px) {
    .prato img {
        width: 200px;
        height: 150px;
    }
}




/* Carrossel horizontal por categoria  END*/






/* ==== Animação da mesa ==== */
@keyframes piscar-mesa {
  0%, 100% { border-color: #ff0000; box-shadow: 0 0 10px #ff0000; }
  50% { border-color: #ccc; box-shadow: none; }
}

#mesa.campo-piscando-mesa {
  animation: piscar-mesa 1s infinite;
  animation-iteration-count: 30; /* Pisca 10 vezes */
}

/* Ajuste para celular */
@media (max-width: 600px) {
  #mesa {
    width: 95% !important;
  }
}

/* ==== Animação do cliente ==== */
@keyframes piscar-cliente {
  0%, 100% { border-color: #ff0000; box-shadow: 0 0 10px #ff0000; }
  50% { border-color: #ccc; box-shadow: none; }
}

#cliente.campo-piscando-cliente {
  animation: piscar-cliente 1s infinite;
  animation-iteration-count: 30; /* Pisca 10 vezes */
}

/* Ajuste para celular */
@media (max-width: 600px) {
  #cliente {
    width: 95% !important;
  }
}



/* ==== Animação da mesa END ==== */




  
  