* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  list-style: none;
}

body {
  font-family: "Montserrat", sans-serif;
  background-color: rgb(238, 238, 238);
}

/* Ajuste do navbar para centralizar o menu */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #141424;
  padding: 15px 50px;
  position: relative;
}

.logo {
  flex: 3;
  display: flex;
  justify-content: flex-start;
}

.logo img {
  width: 100px;
}

.nav-links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  list-style: none;
  display: flex;
  gap: 40px;
}

.nav-links li {
  display: inline;
}

.nav-links a {
  color: #dbdbdb;
  text-decoration: none;
  font-size: 20px;
  font-weight: bold;
}

.nav-links a:hover {
  color: #f3641c;
}

.contact-button {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.contact-button button {
  background-color: #f3641c;
  color: #141424;
  padding: 10px 15px;
  border-radius: 15px;
  cursor: pointer;
  font-weight: bold;
  position: relative;
  font-size: 20px;
  transition: background-color 0.3s, transform 0.3s;
}

/* Define a animação somente quando o mouse passar por cima do botão */
.contact-button button:hover {
  background-color: #e05a19;
  transform: translateY(-5px);
  animation: none; /* Substitui a animação anterior */
}

/* Animação de subir e descer do botão do "Fale conosco" */
@keyframes floatButton {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

main {
  height: 100%;
}

footer {
  background-color: #141424;
  color: white;
  padding: 20px 50px;
  text-align: center;
  height: auto;
  display: grid;
}

.nav-footer ul {
  list-style: none;
  padding: 0;
  gap: 20px;
}

.nav-footer a {
  color: white;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 15px;
}

.nav-footer a:hover {
  color: #f3641c;
}

.footer-logo img {
  width: 250px;
  justify-content: center;
  justify-items: center;
}
.footer-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding-bottom: 10px;
}

.footer-section {
  margin: 10px;
}

.social-icons i {
  font-size: 50px;
  margin: 10px;
  color: #fff;
}

.social-icons i:hover {
  color: #f3641c;
}
.footer-bottom {
  font-weight: 600;
  color: #fff;
  text-align: center;
  background-color: #383838;
  padding: 10px;
  font-size: 15px;
}

h2 {
  text-align: center;
  font-size: 25px;
  color: #f3641c;
}

.map-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px 0;
}

iframe {
  border: 1px solid #141424;
}

/* Estilo para o link ativo no menu de navegação */
.nav-links a.active {
  color: #f3641c;
  position: relative;
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #f3641c;
}

/* Media query para dispositivos móveis */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    padding: 15px 20px;
  }

  .logo {
    margin-bottom: 15px;
    justify-content: center;
  }

  .nav-links {
    position: relative;
    left: 0;
    transform: none;
    width: 100%;
    justify-content: center;
    margin-bottom: 15px;
    gap: 20px;
  }

  .contact-button {
    justify-content: center;
  }
}
