@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=Lora:wght@400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&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;
}

.localizacao-contato {
  background-color: #faf3e0;
  padding: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  width: 100%;
  height: 120vh;
}

.localizacao-textos {
  flex: 1;
  padding-right: 30px;
}

.localizacao-contato h2 {
  font-size: 3rem;
  color: #6b8e23;
  margin-bottom: 30px;
}

.localizacao-contato .localizacao,
.localizacao-contato .contato {
  margin: 20px 0;
}

.localizacao-contato h3 {
  font-size: 2rem;
  color: #6b8e23;
  margin-bottom: 15px;
}

.localizacao-contato p {
  font-size: 1.5rem;
  color: #444;
  text-align: justify;
  line-height: 1.8;
}

.mapa {
  flex: 1;
  max-width: 800px; /* Aumentado */
  height: 500px; /* Aumentado */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mapa iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Estilização do botão WhatsApp */
.whatsapp-button {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #25d366;
  color: white;
  font-size: 1.5rem;
  padding: 12px 20px;
  margin-top: 15px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background 0.3s ease-in-out;
  width: fit-content;
}

.whatsapp-button i {
  margin-right: 10px;
}

.whatsapp-button:hover {
  background-color: #1ebe5d;
}

@media screen and (max-width: 1024px) {
  .localizacao-contato {
    margin-top: 200px;
    padding: 80px 30px;
    flex-direction: row;
    flex-wrap: wrap;
    height: auto;
    gap: 40px;
  }

  .localizacao-textos {
    flex: 1 1 100%;
    padding-right: 0;
    margin-top: 100px; /* espaço por causa do header */
  }

  .mapa {
    flex: 1 1 100%;
    height: 400px;
  }

  .localizacao-contato h2 {
    font-size: 2.5rem;
  }

  .localizacao-contato h3 {
    font-size: 1.8rem;
  }

  .localizacao-contato p {
    font-size: 1.3rem;
  }

  header {
    flex-direction: column;
    align-items: center;
    height: auto;
    padding: 10px 5%;
  }

  nav ul {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }

  .logo-img {
    width: 120px;
  }
  .whatsapp-header {
    justify-content: center;
    padding: 8px 15px;
  }

  .whatsapp-header a i {
    font-size: 1.1rem;
  }

  .instagram-header {
    align-items: center;
    margin-top: 12px;
    margin-left: 50px;
  }
}

@media screen and (max-width: 768px) {
  .localizacao-contato {
    flex-direction: column;
    padding: 60px 20px;
    margin: auto;
  }

  .localizacao-textos {
    margin-top: 400px;
  }

  .mapa {
    width: 100%;
    height: 350px;
  }

  .localizacao-contato h2 {
    font-size: 2.2rem;
  }

  .localizacao-contato h3 {
    font-size: 1.6rem;
  }

  .localizacao-contato p {
    font-size: 1.2rem;
  }

  header {
    flex-direction: column;
    align-items: center;
    height: auto;
    padding: 10px 5%;
  }

  nav ul {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }

  .logo-img {
    width: 120px;
    margin-left: 43px;
  }

  .whatsapp-header {
    justify-content: center;
    padding: 8px 15px;
    margin-top: 20px;
    margin-left: 50px;
  }

  .instagram-header {
    align-items: center;
    margin-top: 12px;
    margin-left: 50px;
  }

  .whatsapp-header a i {
    font-size: 1.1rem;
  }
}

@media screen and (max-width: 480px) {
  header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    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: 55px;
  }

  .whatsapp-header a i {
    font-size: 1.1rem;
  }

  .localizacao-contato {
    padding: 50px 15px;
    flex-direction: column;
  }

  .localizacao-textos {
  }

  .mapa {
    height: 300px;
  }

  .localizacao-contato h2 {
    font-size: 2rem;
  }

  .localizacao-contato h3 {
    font-size: 1.4rem;
  }

  .localizacao-contato p {
    font-size: 1.1rem;
  }

  .whatsapp-button {
    display: none;
  }
}
