@import url(./base.css);

.menu {
  background-image: url("../src/Morena.png");
  height: 110vh;
  background-size: cover;
  background-position-y: center;
  background-repeat: no-repeat;
  text-align: left;
}

.div_menu {
  margin-left: 8rem;
  padding-top: 10rem;
}

.div_menu h1 {
  font-family: var(--fonte-terciaria);
  font-size: 8rem;
  color: #fff;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.75);
}

.div_menu img {
  width: 212px;
  margin-left: 2rem;
}

/* Apresentação Cardápio */

.fundo_tempero {
  background-attachment: fixed;
  background-image: url("../src/folha_fundo.png");
  background-size: auto;
  background-repeat: no-repeat;
  width: 94%;
  padding: 3%;
}

.fundo_laranja {
  background-color: var(--laranja-claro);
  width: 94%;
  padding: 3%;
}

.base_cardapio {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
}

.cardapio_img img {
  height: 600px;
}

.cardapio_tipo {
  width: 40%;
  text-align: left;
}

.tipo_pizza {
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
}

.tipo_pizza h3 {
  font-family: var(--fonte-terciaria);
  font-size: 4rem;
  color: var(--laranja);
  margin-bottom: 0.75rem;
}

.tipo_pizza img {
  width: 150px;
  display: block;
  margin: 5px auto 0;
}

.informacoes_pizza {
  margin-bottom: 1.25rem;
}

.nome_valor_pizza {
  display: flex;
  justify-content: space-between;
}

.nome_pizza {
  font-family: var(--fonte-secundaria);
  font-weight: 500;
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.valor_pizza {
  font-family: var(--fonte-secundaria);
  font-weight: bold;
  font-size: 1.6rem;
  color: var(--laranja);
}

.descricao_pizza {
  font-family: var(--fonte-secundaria);
  color: var(--cinza);
  font-size: 1.25rem;
  width: 75%;
}

button {
  border: var(--laranja);
  border-radius: 7px;
  font-weight: 500;
}

.faca_seu_pedido {
  text-align: center;
  background-image: url("../src/folha_fundo.png");
  background-attachment: fixed;
  background-size: auto;
  background-repeat: no-repeat;
}

.faca_seu_pedido h2 {
  font-size: 5rem;
  font-family: var(--fonte-terciaria);
  color: var(--laranja);
}

.faca_seu_pedido p {
  font-family: var(--fonte-secundaria);
  font-size: 2.25rem;
  font-weight: 200;

  margin-top: 2rem;
}

.formas_de_pedido {
  display: flex;
  justify-content: space-around;
  padding: 5rem 5rem;
}

.formas_de_pedido p {
  font-size: 1.5rem;
  color: black;
}

/* Teste ChatGPT */

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal.hidden {
  display: none;
}

.modal-content {
  background: white;
  background-image: url(../src/folha_fundo.png);
  background-size: cover;
  padding: 20px;
  max-width: 600px;
  width: 90%;
  border-radius: 10px;
  position: relative;
}

.fechar-modal {
  position: sticky; /* Fixa o botão ao rolar */
  top: 0;
  right: 0;
  padding: 10px;
  font-size: 34px;
  cursor: pointer;
  z-index: 10;
  text-align: right;
  display: block;
  margin-left: auto;
}

.modal-content {
  max-height: 80vh;
  overflow-y: scroll;
}

/* Estilização Cardápio */

#titulo-modal {
  font-family: var(--fonte-terciaria);
  font-size: 3rem;
  color: var(--laranja);
  text-align: center;
  padding-bottom: 2rem;
}

hr {
  margin-bottom: 2rem;
}

.item-cardapio h4 {
  font-family: var(--fonte-secundaria);
  font-weight: 500;
  font-size: 1.25rem;
  margin: 0.75rem 0;
}

.item-cardapio p {
  font-family: var(--fonte-secundaria);
  font-size: 1rem;
  margin-bottom: 0.45rem;
}

/* Botões Flutuantes */

.botoes-flutuantes {
  position: sticky;
  bottom: 0;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 10px;
  margin-top: 20px;
  z-index: 5;
}

.botoes-flutuantes a {
  text-decoration: none;
  color: white;
  padding: 10px 15px;
  transition: background 0.3s ease;
}

.botoes-flutuantes a:hover {
  opacity: 0.9;
}

.botoes-flutuantes img {
  width: 50px;
}

/* =============================
   📱 Mobile (até 320px)
   ============================= */
@media (max-width: 320px) {
  /* Div Menu */

  .div_menu {
    margin-left: 2rem;
  }

  .div_menu h1 {
    font-size: 6rem;
  }

  .div_menu img {
    margin-left: 1rem;
    width: 180px;
  }

  /* Imagens Cardápio */

  .base_cardapio {
    margin-top: 2rem;
    justify-content: normal;
  }

  .cardapio_img img {
    height: 400px;
  }

  .tipo_pizza {
    margin-top: 2rem;
  }

  .tipo_pizza h3,
  .faca_seu_pedido h2 {
    font-size: 3.5rem;
  }

  .cardapio_tipo {
    width: 100%;
  }

  .nome_pizza,
  .valor_pizza {
    font-size: 1.25rem;
  }

  .descricao_pizza {
    font-size: 1rem;
  }
  /* Formas de Pedido */

  .formas_de_pedido {
    flex-wrap: wrap;
  }

  .botao {
    font-size: 1rem;
    margin-left: 3rem;
  }

  /* Faça seu pedido */

  .faca_seu_pedido {
    padding-top: 2rem;
  }

  .faca_seu_pedido p {
    font-size: 1.75rem;
  }

  .formas_de_pedido {
    padding: 3.5rem 0;
  }

  .formas_de_pedido a {
    margin-bottom: 3rem;
  }
}
