body {
  background-color: #343935;
  color: white;
}

body::before {
  content: "";
  /* Cria um pseudo-elemento */
  position: fixed;
  /* Fixa o pseudo-elemento na tela */
  top: 0;
  left: 0;
  width: 100%;
  /* Largura total */
  height: 100%;
  /* Altura total */
  background-image: url("imgs/logo.webp");
  /* Define a imagem de fundo */
  background-position: center;
  /* Centraliza a imagem */
  background-repeat: no-repeat;
  /* Evita repetição da imagem */
  background-size: contain;
  /* Garante que a imagem caiba na tela */
  opacity: 0.2;
  /* Define a opacidade (baixa visibilidade) */
  z-index: -1;
  /* Coloca o pseudo-elemento atrás do conteúdo principal */
  pointer-events: none;
  /* Garante que o pseudo-elemento não interfira com cliques ou interações */
}
html {
  scroll-behavior: smooth;
}

/* Estilo geral para as seções */
section {
  padding: 100px 20px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

/* Adiciona imagem de fundo com transparência */
section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("imgs/img-fundo.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  /* Transparência */
  z-index: -1;
}

/* Estilo para os botões */
.custom-btn {
  margin: 10px;
  padding: 10px 20px;
  font-size: 1.2rem;
  border-radius: 5px;
  text-decoration: none;
  color: white;
}

#inicio {
  flex-direction: row;
  /* Coloca as colunas lado a lado */
  gap: 20px;
  /* Espaçamento entre as colunas */
}

/* Estilo para as colunas na seção inicial */
.coluna {
  flex: 1;
  /* Divide o espaço igualmente */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Estilo para os botões */
.custom-btn {
  margin: 10px;
  padding: 10px 20px;
  font-size: 1.2rem;
  border-radius: 5px;
  text-decoration: none;
  color: white;
}

.btn-orcamento {
  background-color: #af8c53;
}

.btn-duvidas {
  background-color: #252926;
}

/* Estilo para a imagem na segunda coluna */
.coluna-imagem img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.card-img-top {
  width: 700px;
  height: 200px;
  /* Altura fixa para todas as imagens */
  object-fit: cover;
  /* Garante que as imagens não fiquem distorcidas */
}

/* Estilo para o título "Modelo" */
.card-title {
  font-size: 1.2rem;
  color: #af8c53;
  /* Cor personalizada */
}

/* Estilo para o texto de exemplo */
.card-text {
  font-size: 1rem;
  color: #333;
  /* Cor do texto */
}

/* Estilo para a marca d'água */
#servicos .position-absolute img {
  transition: opacity 0.3s ease;
}

#servicos .position-absolute img:hover {
  opacity: 0.6;
  /* Efeito ao passar o mouse */
}

.img-fluid {
  border-radius: 10px;
  /* Bordas arredondadas */
  transition: transform 0.3s ease;
  /* Efeito de hover */
}

.img-fluid:hover {
  transform: scale(1.1);
  /* Amplia a imagem levemente ao passar o mouse */
}

/* Estilo para o texto */
.small {
  font-size: 0.9rem;
  color: #af8c53;
  /* Cor do texto mais suave */
}

.btn-hover-effect {
  background-color: #af8c53;
  /* Cor de fundo */
  color: #343935;
  /* Cor inicial do texto */
  border-color: #343935;
  /* Cor da borda */
  transition: transform 0.3s ease, color 0.3s ease;
  /* Transição suave */
}

.btn-hover-effect:hover {
  transform: scale(1.1);
  /* Efeito de zoom */
  color: rgb(255, 255, 255);
  /* Altera a cor do texto para um amarelo claro vibrante */
}

/* Estilo para telas pequenas */
@media (max-width: 767.98px) {
  .endereco-responsivo {
    font-size: 1.5rem;
    /* Diminui o tamanho da fonte */
    border-radius: 60px;
    /* Bordas levemente arredondadas */
  }
}

/* Estilo para telas médias e maiores */
@media (min-width: 768px) {
  .endereco-responsivo {
    border-radius: 50rem;
    /* Bordas completamente arredondadas (rounded-pill) */
  }
}

/* Estilo para telas pequenas */
@media (max-width: 767.98px) {
  .siga-nos-responsivo {
    padding: 0.5rem !important;
    /* Reduz o padding */
  }

  .siga-nos-responsivo span {
    font-size: 0.9rem !important;
    /* Diminui o tamanho da fonte do texto */
  }

  .siga-nos-responsivo .fab {
    font-size: 1.2rem !important;
    /* Diminui o tamanho dos ícones */
    padding: 0.25rem !important;
    /* Reduz o padding dos ícones */
  }
}
.custom-btn {
  margin: 10px;
  padding: 10px 20px;
  font-size: 1.2rem;
  border-radius: 25px; /* Bordas arredondadas */
  text-decoration: none;
  color: white;
  transition: transform 0.3s ease; /* Transição suave */
  display: inline-block; /* Garante que o transform funcione corretamente */
}

.btn-orcamento {
  background-color: #79bb28;
}

.btn-duvidas {
  background-color: #79bb28;
}

/* Efeito de aumento ao passar o mouse */
.custom-btn:hover {
  transform: scale(1.05); /* Aumenta o botão em 5% */
}
#mensagemConfirmacao {
  position: fixed;
  top: 50%; /* Posiciona no centro vertical */
  left: 50%; /* Posiciona no centro horizontal */
  transform: translate(-50%, -50%); /* Centraliza exatamente no meio */
  z-index: 1000;
  padding: 20px 40px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  background-color: #28a745; /* Cor de fundo do alerta */
  color: white; /* Cor do texto */
  font-size: 1.2rem;
  text-align: center;
  display: none; /* Oculta inicialmente */
}
.navbar-custom {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.navbar-brand img {
  max-height: 50px;
  transition: max-height 0.3s ease;
}

.nav-link {
  color: #79bb28 !important;
  font-size: 1.2rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: all 0.3s ease;
}

.nav-link:hover {
  transform: translateY(-2px);
  color: #5d9420 !important;
}

.btn-login {
  color: #79bb28;
  border-color: #79bb28;
  font-size: 1.2rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-login:hover {
  background-color: #79bb28;
  color: white;
  transform: translateY(-2px);
}

/* Estilos para mobile */
@media (max-width: 992px) {
  .navbar-brand img {
    max-height: 40px;
  }

  .navbar-collapse {
    background-color: white;
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-top: 10px;
  }

  .nav-link {
    font-size: 1.1rem;
    padding: 0.8rem 1rem;
    border-bottom: 1px solid rgba(121, 187, 40, 0.2);
  }

  .nav-item:last-child .nav-link {
    border-bottom: none;
  }

  .btn-login {
    width: 100%;
    margin-top: 10px;
    text-align: center;
    display: block;
  }

  .navbar-toggler {
    padding: 0.25rem 0.5rem;
    font-size: 1.2rem;
  }

  .navbar-toggler:focus {
    box-shadow: 0 0 0 2px rgba(121, 187, 40, 0.5);
  }
}

/* Ajustes para telas muito pequenas */
@media (max-width: 576px) {
  .navbar-brand img {
    max-height: 35px;
  }

  .nav-link {
    font-size: 1rem;
    padding: 0.7rem 0.8rem;
  }

  .btn-login {
    font-size: 1rem;
    padding: 0.6rem 1rem;
  }

  .container {
    padding: 0 15px;
  }
}

/* Melhoria de acessibilidade para o ícone do menu */
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2852, 57, 53, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.modal-content {
  border-radius: 12px;
  border: none;
}
.modal-header {
  background-color: #79bb28;
  color: white;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}
.btn-close {
  background: transparent
    url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e")
    center/1em auto no-repeat;
}
