* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  background-color: #f5f5f5;
  color: #333;
}

/* HEADER */
header {
  background-color: #1c1c1c;
  color: #fff;
  padding: 20px;
  text-align: center;
}

header h1 {
  font-size: 2rem;
}

section.produtos h2 {
  color: white;
}

.produtos h2 {
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;

  /* Glow leve */
  text-shadow:
    0 0 6px rgba(255, 255, 255, 0.4),
    0 0 12px rgba(229, 9, 20, 0.3);
}

header p {
  margin-top: 5px;
  font-size: 1rem;
  color: #ccc;
}

/* LAYOUT */
main {
  max-width: 1100px;
  margin: 20px auto;
  padding: 10px;
}

/* PRODUTOS */
.produtos h2 {
  margin-bottom: 15px;
}

#lista-produtos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.card {
  background-color: #fff;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
}

.card h3 {
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.card p {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 10px;
  flex-grow: 1;
}

.card strong {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.card button {
  background-color: #d62828;
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

.card button:hover {
  background-color: #b71c1c;
}

/* CARRINHO */
.carrinho {
  max-width: 1100px;
  margin: 30px auto;
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.carrinho h3 {
  margin-bottom: 15px;
}

#itens-carrinho {
  list-style: none;
  margin-bottom: 15px;
}

#itens-carrinho li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

#itens-carrinho button {
  margin-left: 5px;
  border: none;
  background-color: #eee;
  cursor: pointer;
  padding: 3px 6px;
  border-radius: 3px;
}

.total {
  font-size: 1.1rem;
  margin-bottom: 15px;
}

/* DADOS CLIENTE */
.dados-cliente,
.entrega,
.pagamento {
  margin-bottom: 15px;
}

.dados-cliente h3,
.entrega h3 {
  margin-bottom: 8px;
}

input[type="text"],
textarea {
  width: 100%;
  padding: 10px;
  margin-top: 8px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

textarea {
  resize: vertical;
}

/* PAGAMENTO */
.pagamento label {
  margin-right: 10px;
}

/* FINALIZAR */
.finalizar {
  width: 100%;
  background-color: #2e7d32;
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s;
}

.finalizar:hover {
  background-color: #1b5e20;
}

/* RESPONSIVO */
@media (max-width: 768px) {
  header h1 {
    font-size: 1.6rem;
  }

  .card {
    padding: 12px;
  }

  .carrinho {
    margin: 20px 10px;
  }
}

/* LAYOUT IFOOD */
.layout {
  max-width: 1200px;
  margin: 20px auto;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
}

/* CARRINHO FIXO */
.carrinho {
  position: sticky;
  top: 20px;
  height: fit-content;
}

/* ITENS */
#itens-carrinho li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

/* BOTÕES DO CARRINHO */
#itens-carrinho button {
  background-color: #eee;
  border: none;
  border-radius: 4px;
  padding: 4px 6px;
  cursor: pointer;
}

/* MOBILE */
@media (max-width: 900px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .carrinho {
    position: relative;
  }
}

/* BOTÃO DARK MODE */
#toggleTheme {
  margin-top: 10px;
  padding: 8px 14px;
  background-color: #fff;
  color: #1c1c1c;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.9rem;
}

/* MODAL */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-content {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  max-width: 400px;
  width: 90%;
}

.modal-content h3 {
  margin-bottom: 10px;
}

#resumoPedido {
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.modal-botoes {
  display: flex;
  justify-content: space-between;
}

.modal-botoes button {
  padding: 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.modal-botoes .confirmar {
  background-color: #2e7d32;
  color: #fff;
}

#itens-carrinho li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.quantidade {
  display: flex;
  align-items: center;
  gap: 6px;
}

.quantidade button {
  width: 28px;
  height: 28px;
  border: 1px solid #444;
  background: transparent;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  border-radius: 4px;
}

.quantidade span {
  min-width: 20px;
  text-align: center;
}

/* ============================= */
/* CATEGORIAS DO CARDÁPIO */
/* ============================= */

.produtos h2 {
  margin-top: 40px;
  margin-bottom: 15px;
  font-size: 1.5rem;
  color: #2c2c2c;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
}

/* Linha decorativa abaixo do título */
.produtos h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #d62828;
  margin-top: 6px;
  border-radius: 2px;
}

/* Container da categoria */
.categoria {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

/* ============================= */
/* CARDS DE PRODUTO */
/* ============================= */

.card {
  background: #ffffff;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: #1c1c1c;
}

.card p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 12px;
  line-height: 1.4;
}

.card strong {
  font-size: 1.1rem;
  color: #d62828;
  margin-bottom: 10px;
  display: block;
}

/* Botão adicionar */
.card button {
  background: #d62828;
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: bold;
  transition: background 0.2s ease;
}

.card button:hover {
  background: #b71c1c;
}

/* ===================== */
/* CATEGORIAS ACCORDION */
/* ===================== */

.categoria {
  margin-bottom: 20px;
  border-radius: 10px;
  overflow: hidden;
  background: #1e1e1e;
}

.categoria-header {
  width: 100%;
  background: #d62828;
  color: #fff;
  padding: 15px 20px;
  font-size: 1.1rem;
  font-weight: bold;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.categoria-header:hover {
  background: #b71c1c;
}

.categoria-header .icone {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.categoria.active .icone {
  transform: rotate(45deg);
}

/* CONTEÚDO COM ANIMAÇÃO */
.categoria-conteudo {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 15px;
}

.categoria.active .categoria-conteudo {
  max-height: 2000px;
  padding: 20px 15px;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-image: url("Imagens/mapamundi.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
body {
  background-color: #0f0f0f;
}

.produtos h2 {
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;

  /* Glow leve */
  text-shadow:
    0 0 6px rgba(255, 255, 255, 0.4),
    0 0 12px rgba(229, 9, 20, 0.3);
}

@keyframes glow {
  0% {
    text-shadow: 0 0 4px rgba(255,255,255,0.3);
  }
  100% {
    text-shadow:
      0 0 6px rgba(255,255,255,0.5),
      0 0 12px rgba(229,9,20,0.4);
  }
}

.produtos h2 {
  animation: glow 2s ease-in-out infinite alternate;
}

.categoria-header {
  background: #d62828;
  color: #ffffff;
  font-weight: 600;
  letter-spacing: 0.5px;

  border: none;
  border-radius: 10px;
  padding: 14px 18px;

  display: flex;
  justify-content: space-between;
  align-items: center;

  cursor: pointer;

  /* Glow leve */
  box-shadow:
    0 0 8px rgba(214, 40, 40, 0.6),
    0 0 16px rgba(214, 40, 40, 0.4);

  transition: all 0.3s ease;
}

.produtos {
  position: relative;
  padding: 30px;
  border-radius: 20px;

  /* Glassmorphism */
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.6);

  border: 1px solid rgba(255, 255, 255, 0.08);
}

.produtos::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0.05),
    rgba(0,0,0,0.3)
  );
  pointer-events: none;
}

.produtos > * {
  position: relative;
  z-index: 1;
}

header {
  text-align: center;
  padding: 40px 20px;
}

header {
  margin: 20px auto;
  max-width: 1200px;

  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border-radius: 20px;
  padding: 30px 20px;

  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);

  text-align: center;
}

header h1 {
  color: #fff;
  font-size: 2.6rem;
  margin-bottom: 10px;

  text-shadow:
    0 0 8px rgba(255, 255, 255, 0.4),
    0 0 18px rgba(255, 170, 0, 0.35);
}

header p {
  color: #e5e5e5;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
}


.footer {
  margin-top: 60px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #fff;
  padding: 40px 20px 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.footer h2 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.footer h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #d62828;
}

.footer p {
  font-size: 0.95rem;
  color: #ccc;
}

.footer a {
  display: block;
  color: #ccc;
  text-decoration: none;
  margin-bottom: 6px;
  transition: 0.2s;
}

.footer a:hover {
  color: #fff;
  transform: translateX(3px);
}

.footer-copy {
  margin-top: 30px;
  text-align: center;
  font-size: 0.85rem;
  color: #aaa;
}

@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer a {
    margin-bottom: 10px;
  }
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.social-icons a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.4rem;
  transition: 0.3s;
}

.social-icons a:hover {
  background: #d62828;
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .social-icons {
    justify-content: center;
  }
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}


.header-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

/* LOGO */
.topo {
  padding: 30px 40px; /* aumenta a área do header */
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo {
  height: 110px;      /* controla pela ALTURA */
  width: auto;
  max-width: none;    /* remove limites escondidos */
  filter: drop-shadow(0 0 10px rgba(255,170,0,0.6));
}

.brand-text h1 {
  font-size: 2.4rem;
  margin: 0;
}

.brand-text p {
  font-size: 1.05rem;
  margin-top: 6px;
}

@media (max-width: 480px) {
  .header-brand {
    flex-direction: column;
    text-align: center;
  }

  .logo {
    height: 85px;
  }

  .brand-text h1 {
    font-size: 1.9rem;
  }

  .brand-text p {
    font-size: 0.95rem;
  }
}

.logo {
  height: 120px;
  width: auto;
}
