/* RESET GERAL */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  font-family: Arial, sans-serif;
  background: url('imagens/fundo-galeria.jpeg') no-repeat center center fixed;
  background-size: cover;
  overflow-x: hidden;
  color: #fff;
}

/* HEADER */
header {
  background-color: #c8102e;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
}

.logo img {
  height: 100px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

/* GALERIA PRINCIPAL */
.galeria-fundo {
  padding-top: 40px;
  padding-bottom: 80px;
  background-color: rgba(0, 0, 0, 0.5);
}

/* CARROSSEL */
.carrossel-principal {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  overflow: hidden;
  padding: 40px 0;
  position: relative;
  perspective: 1000px;
}

.carrossel-imagens {
  display: flex;
  justify-content: center;
  align-items: center;
}

.carrossel-imagem {
  width: 100%;
  max-width: 500px;
  transition: transform 0.5s ease, opacity 0.5s ease;
  transform: scale(0.7);
  opacity: 0.6;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: none;
}

.carrossel-imagem.ativa {
  transform: scale(1);
  opacity: 1;
  display: block;
  z-index: 10;
}

/* SETAS */
.seta {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 2rem;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  z-index: 999;
  border-radius: 10px;
}

.seta:hover {
  background-color: rgba(255, 255, 255, 0.5);
}

.seta.esquerda {
  left: 10px;
}

.seta.direita {
  right: 10px;
}

/* WHATSAPP FLUTUANTE */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 20px;
  background-color: #25D366;
  color: #fff;
  border-radius: 50%;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease;
  padding: 0;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-float img {
  width: 80%;
  height: auto;
  object-fit: contain;
}

/* RODAPÉ */
footer {
  background-color: #c8102e;
  color: white;
  padding: 30px 20px;
  font-size: 0.9rem;
}

footer .rodape-conteudo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

footer .logo-rodape img {
  height: 280px;
  max-width: 100%;
}

footer .contato {
  max-width: 600px;
  text-align: left;
}

footer .contato p {
  margin: 8px 0;
  line-height: 1.6;
}

/* RESPONSIVO */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    gap: 10px;
  }

  .carrossel-imagem {
    max-width: 90%;
  }

  #miniaturas img {
    width: 70px;
    height: 50px;
  }

  footer .rodape-conteudo {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  footer .logo-rodape img {
    height: 140px;
  }

  footer .contato {
    text-align: center;
    margin-top: 20px;
  }
}

.card-produto-grande {
  width: 300px;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
  cursor: pointer;
  margin: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-produto-grande img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  display: block;
  padding: 0;
}

.info-produto {
  padding: 15px;
  text-align: center;
  color: #333;
}

.info-produto h3 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.info-produto p {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 10px;
}

.preco {
  color: red;
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 10px;
  display: block;
}

.botao-comprar {
  display: inline-block;
  background: #c8102e;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.3s ease;
}

.botao-comprar:hover {
  background: #a60c24;
}

.miniaturas-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  padding: 30px 20px;
  justify-items: center;
}

@media (min-width: 1024px) {
  .miniaturas-container {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .miniaturas-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

  .card-produto-grande {
    width: 100%;
    margin: 0; /* remove margem para evitar estourar a tela */
  }

  .card-produto-grande img {
    height: 160px;
  }
}

  .card-produto-grande {
    width: 90%;
  }

  .card-produto-grande img {
    height: 160px;
  }
}

.banner-escritorio {
  position: relative;
  width: 100%;
  max-height: 600px;
  overflow: hidden;
}

.banner-escritorio img.img-escritorio {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.btn-banner {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.btn-central {
  padding: 12px 24px;
  background-color: #c8102e;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn-central:hover {
  background-color: #a60c25;
}


