@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@import url("header.css");
@import url("home.css");
@import url("menu.css");
@import url("testimonials.css");
@import url("footer.css");

:root {
  --color-primary-1: #fff9ea;
  --color-primary-2: #ffe8b4;
  --color-primary-3: #f8d477;
  --color-primary-4: #ffe100;
  --color-primary-5: #ffcb45;
  --color-primary-6: #e9a209;

  --color-neutral-0: #fff;
  --color-neutral-1: #1d1d1d;
}

* {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-primary-1);
}

section {
  padding: 28px 8%;
}

.btn-default {
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary-5);
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: 600;
  box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-default:hover {
  background-color: var(--color-primary-3);
}

.social-media-buttons {
  display: flex;
  gap: 18px;
}

.social-media-buttons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 40px;
  background-color: var(--color-neutral-0);
  font-size: 1.25rem;
  border-radius: 10px;
  text-decoration: none;
  color: var(--color-neutral-1);
  box-shadow: 0px 0px 12px 4px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}

.social-media-buttons a:hover {
  box-shadow: 0px 0px 12px 8px rgba(0, 0, 0, 0.1);
}

.section-title {
  color: var(--color-primary-6);
  font-size: 1.563rem;
}

.section-subtitle {
  font-size: 2.1875rem;
}

/* RESET BÁSICO PARA RESPONSIVIDADE */
* {
  box-sizing: border-box;
}

/* MODAL DE PEDIDO */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background-color: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
  padding: 15px;
}

/* CONTEÚDO DO MODAL */
.modal-content {
  background: #fff;
  color: #333;
  padding: 22px;
  border-radius: 16px;
  width: 100%;
  max-width: 420px;
  max-height: 90vh; /* 🔥 evita cortar no mobile */
  overflow-y: auto; /* 🔥 scroll interno */
  position: relative;
}

/* TÍTULO */
.modal-content h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
}

/* LABELS */
.modal-content label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 0.9rem;
}

/* INPUTS */
.modal-content input,
.modal-content select {
  width: 100%;
  padding: 12px;
  margin-bottom: 14px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 0.95rem;
}

/* BOTÃO FINALIZAR PEDIDO */
.modal-content button {
  width: 100%;
  padding: 14px;
  margin-top: 10px;
  border-radius: 12px;
  border: none;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  background: #facc15; /* 🟡 amarelo */
  color: #1f2937; /* contraste elegante */
  transition: all 0.3s ease;
}

.modal-content button:hover {
  background: #eab308;
  transform: scale(1.03);
}

/* BOTÃO FECHAR */
.close {
  position: absolute;
  right: 16px;
  top: 14px;
  font-size: 24px;
  cursor: pointer;
  color: #333;
}

/* MENSAGEM DE CONFIRMAÇÃO */
.confirmacao {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  padding: 15px;
}

.confirmacao-box {
  background: #fff;
  color: #333;
  padding: 28px;
  border-radius: 16px;
  text-align: center;
  width: 100%;
  max-width: 360px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.confirmacao-box i {
  color: #22c55e;
  font-size: 42px;
  margin-bottom: 12px;
}

/* WHATSAPP FLUTUANTE */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 25px;
  right: 25px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 32px;
  box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.3);
  z-index: 999;
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

.whatsapp-float i {
  line-height: 60px;
}

.whatsapp-float:hover {
  background-color: #20ba5a;
  transform: scale(1.1);
}

/* MOBILE */
@media (max-width: 600px) {
  .modal-content {
    padding: 18px;
    max-height: 92vh;
  }

  .modal-content h2 {
    font-size: 1.2rem;
  }

  .modal-content button {
    font-size: 0.95rem;
    padding: 13px;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 26px;
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-float i {
    line-height: 50px;
  }
}

/* TABLET */
@media (min-width: 601px) and (max-width: 1024px) {
  .modal-content {
    max-width: 480px;
  }
}

/* DESKTOP */
@media (min-width: 1025px) {
  .modal-content {
    max-width: 420px;
  }
}

/* ANIMAÇÃO WHATSAPP */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Ícone flutuante do WhatsApp */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 25px;
  right: 25px;

  background-color: #25d366;
  color: #fff;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 32px;
  text-decoration: none;

  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
  z-index: 999;

  transition:
    transform 0.3s ease,
    background-color 0.3s ease;
  animation: pulse 2s infinite;
}

/* Hover */
.whatsapp-float:hover {
  background-color: #20ba5a;
  transform: scale(1.1);
}

/* Mobile */
@media (max-width: 600px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 26px;
    bottom: 20px;
    right: 20px;
  }
}

/* Animação de pulso */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* CARROSSEL */
.carousel {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.carousel-container {
  display: flex;
  transition: transform 0.6s ease-in-out;
}

.carousel-slide {
  min-width: 100%;
  position: relative;
}

.carousel-slide img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

/* Conteúdo sobre a imagem */
.carousel-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;

  background: transparent; /* REMOVE sombra */
  backdrop-filter: none;
  -webkit-backdrop-filter: none;

  color: #000000;
}

.carousel-content h2,
.carousel-content p {
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.carousel-content h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.carousel-content p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.carousel-btn-link {
  width: fit-content;
  background: #ff7a00;
  color: #fff;
  padding: 12px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition:
    transform 0.3s,
    background 0.3s;
}

.carousel-btn-link:hover {
  background: #ff4500;
  transform: scale(1.05);
}

/* Botões laterais */
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  font-size: 32px;
  padding: 8px 14px;
  cursor: pointer;
  border-radius: 50%;
}

.carousel-nav.prev {
  left: 15px;
}
.carousel-nav.next {
  right: 15px;
}

/* Responsivo */
@media (max-width: 768px) {
  .carousel-slide img {
    height: 260px;
  }

  .carousel-content h2 {
    font-size: 1.8rem;
  }
  .carousel-content p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .carousel-slide img {
    height: 200px;
  }
  .carousel-content {
    padding: 20px;
  }
}
