@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600&family=Lora:wght@400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;800&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
  font-family: "Playfair Display", serif;
}

/* Header */
header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 5vw;
  background-color: rgba(0, 0, 0, 0.1);
  z-index: 10;
  transition: background-color 0.3s ease;
  flex-wrap: wrap;
  align-items: center;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 10px;
}

.logo-img {
  width: 145px;
  height: auto;
}
/* Navegação */
nav {
  width: auto;
  flex-grow: 1;
}

ul {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 40px;
  list-style-type: none;
  padding: 0;
  margin: 0;
}

li {
  font-size: 1.3rem;
  font-family: "Lora", sans-serif;
  color: #fff; /* Cor padrão */
  transition: all 0.3s ease;
  position: relative;
  margin-left: 50px;
}

/* Estilização especial para o texto degradê no hover */
li:hover {
  background: linear-gradient(45deg, #f7e98e, #f1c857, #d4af37, #b18904);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  cursor: pointer;
}

nav ul li:hover::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #fff;
}

a {
  text-decoration: none;
  color: inherit;
}

a i {
  margin-right: 5px;
}

/* WhatsApp Header */
.whatsapp-header {
  background: linear-gradient(45deg, #43e97b, #25a18b);
  padding: 8px 15px;
  border-radius: 20px;
  box-shadow: 2px 2px 10px rgba(56, 249, 215, 0.4);
  transition: background 0.3s;
  display: flex;
  align-items: center;
  width: max-content;
  margin-right: 13px;
}

.whatsapp-header a {
  display: flex;
  align-items: center;
  font-size: 1rem;
  color: white;
  text-decoration: none;
}

.whatsapp-header a i {
  margin-right: 8px;
  font-size: 1.2rem;
}

/* Efeito hover invertendo as cores do degradê */
.whatsapp-header:hover {
  background: linear-gradient(45deg, #2cc5a9, #38c466);
  cursor: pointer;
}

.instagram-header {
  background: linear-gradient(
    45deg,
    #f09433,
    #e6683c,
    #dc2743,
    #cc2366,
    #bc1888
  );
  padding: 8px 15px;
  border-radius: 20px;
  box-shadow: 2px 2px 10px rgba(204, 24, 136, 0.5);
  transition: background 0.3s;
  display: flex;
  align-items: center;
  width: max-content;
}

.instagram-header a {
  display: flex;
  align-items: center;
  font-size: 1rem;
  color: white;
  text-decoration: none;
}

.instagram-header a i {
  margin-right: 8px;
  font-size: 1.2rem;
}

.instagram-header:hover {
  background: linear-gradient(
    45deg,
    #bc1888,
    #cc2366,
    #dc2743,
    #e6683c,
    #f09433
  );
  cursor: pointer;
}

/* WhatsApp flutuante */
.whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  padding: 10px 15px;
  border-radius: 50px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 9999;
}

.whatsapp a {
  display: flex;
  align-items: center;
  font-size: 1.2rem;
  color: white;
  text-decoration: none;
}

.whatsapp a:hover {
  background-color: #1da851;
  cursor: pointer;
}

.produtos-container {
  background-color: #f1e6d9;
  text-align: center;
  padding: 20px 0;
  width: 100%;
  min-height: 100vh;
  display: grid;
  justify-content: center;
  align-items: start;
  color: white;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.produtos-container h2 {
  margin-top: 128px;
  color: #444;
  font-size: 2.5rem;
  margin-bottom: 20px;
  text-align: center;
  font-family: "Playfair Display", serif;
}

.produtos-container p {
  color: #444;
  font-size: 1.2rem;
  max-width: 800px;
  line-height: 1.8;
  margin: 0 auto 20px;
  text-align: justify;
}

.grid-produtos {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 colunas padrão */
  gap: 20px;
  padding: 20px;
  max-width: 1200px;
  margin: auto;
  margin-bottom: 30px;
}

.card {
  background: white;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.card:hover {
  transform: scale(1.05);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.4s;
}

.card img:hover {
  transform: scale(1.1);
}

/* Imagens específicas */
.prata {
  object-position: 100% 30%;
}
.mamao {
  object-position: 10% 100%;
}
.limao {
  object-position: 10% 45%;
}
.pao {
  object-position: 10% 32%;
}
.vinagre {
  object-fit: contain;
}
.berinjela {
  object-position: 0 93%;
}
.rakyo {
  object-position: 0 30%;
}
.acelga {
  object-position: 0 86%;
}
.gengibre {
  object-position: 0 39%;
}

.farinha {
  object-position: 0 39%;
}

.card h3 {
  margin: 10px 0;
  color: #333;
  font-size: 1.5rem;
}

.categoria-titulo {
  color: #333;
  font-size: 2.3rem;
  margin: 40px 0 20px;
  text-align: center;
  position: relative;
  padding-bottom: 15px;
  font-family: "Merriweather", serif;
}

.categoria-titulo::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, #4a861e, #f8d44c, #4a861e);
}
@media screen and (max-width: 1024px) {
  .produtos-container h2 {
    font-size: 2rem;
    margin-top: 140px;
  }

  .produtos-container p {
    font-size: 1rem;
    padding: 0 20px;
    text-align: justify;
  }

  .card h3 {
    font-size: 1.2rem;
  }

  .categoria-titulo {
    font-size: 1.8rem;
    margin: 30px 0 15px;
  }
}

@media screen and (max-width: 768px) {
  .produtos-container h2 {
    font-size: 1.8rem;
    margin-top: 350px;
  }

  .produtos-container p {
    font-size: 1rem;
    padding: 0 15px;
    text-align: justify;
  }
  .grid-produtos {
    grid-template-columns: repeat(2, 1fr); /* 2 por linha */
    gap: 12px;
    padding: 10px;
  }

  .card {
    padding: 10px;
  }

  .card img {
    height: 160px;
  }

  .card h3 {
    font-size: 1.1rem;
  }

  .categoria-titulo {
    font-size: 1.7rem;
    padding: 0 15px;
  }
  header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    flex-direction: column;
    align-items: center;
    height: auto;
    padding: 10px 5%;
    background-color: rgba(0, 0, 0, 0.1);
  }

  nav ul {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }

  .logo-img {
    width: 120px;
    margin-left: 40px;
  }

  .whatsapp-header {
    align-items: center;
    margin-top: 13px;
    margin-left: 60px;
  }

  .instagram-header {
    align-items: center;
    margin-top: 12px;
    margin-left: 50px;
  }
}

@media screen and (max-width: 480px) {
  .produtos-container h2 {
    font-size: 1.6rem;
    margin-top: 440px;
  }

  .produtos-container p {
    font-size: 0.95rem;
    padding: 0 10px;
  }

  .grid-produtos {
    /* Header para a página "Nossa História" */

    grid-template-columns: repeat(2, 1fr); /* 2 por linha */
    gap: 12px;
    padding: 10px;
  }

  .card img {
    height: 160px;
  }

  .card h3 {
    font-size: 1rem;
  }

  .categoria-titulo {
    font-size: 1.5rem;
    padding: 0 10px;
  }
  header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    flex-direction: column;
    align-items: center;
    height: auto;
    padding: 10px 5%;
    background-color: rgba(0, 0, 0, 0.1);
  }
  nav ul {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }

  .logo-img {
    width: 120px;
    margin-left: 40px;
  }

  .whatsapp-header {
    align-items: center;
    margin-top: 20px;
    margin-left: 60px;
  }
}
