@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@900&display=swap');

body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: 'Raleway', sans-serif;
}

header {
  position: relative;
  height: 100vh; /* O header ocupa 100% da viewport */
  overflow: hidden; /* Garante que a imagem não transborde */
}

/* Certifique-se de que o elemento pai tenha position: relative */
.parent-container {
  position: relative;
  width: 100%;
  height: 100vh; /* Define a altura para cobrir a tela */
  overflow: hidden; /* Garante que o conteúdo não transborde */
}

.bg-image {
  background-image: url('./img/eng.png'); /* Substitua pelo caminho da sua imagem */
  background-size: cover; /* A imagem cobrirá toda a área sem cortar */
  background-position: center; /* Centraliza a imagem */
  background-repeat: no-repeat; /* Não repetir a imagem */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1; /* Coloca a imagem atrás da navbar */
}

/* Adiciona um overlay escuro sobre a imagem */
.bg-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7); /* Cor preta com opacidade */
  z-index: 0; /* Mantém a camada atrás do conteúdo */
}

.navbar {
  background-color: transparent; /* Remove o fundo da barra de navegação */
  position: absolute;
  top: 0;
  width: 100%; /* Navbar ocupa toda a largura da tela */
  z-index: 10; /* Certifica que o menu fique sobre a imagem */
  padding: 1rem;
}

.brand-name {
  font-family: 'Raleway', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: #ffffff;
}

.brand-name:hover {
  background-color: rgba(0, 86, 179, 0.7); /* Azul mais escuro ao passar o mouse */
}

.navbar-light .navbar-nav .nav-link {
  color: #ffffff; /* Texto branco para contraste */
  font-weight: bold;
  padding: 5px 15px;
  text-decoration: none;
}

.navbar-light .navbar-nav .nav-link:hover {
  background-color: rgba(0, 86, 179, 0.7); /* Fundo azul mais escuro ao passar o mouse, com transparência */
  color: #ffffff; /* Mantenha o texto branco */
}

.navbar-light .navbar-nav .nav-link:active,
.navbar-light .navbar-nav .nav-link:focus {
  color: #ffffff; /* Mantém o texto branco ao clicar e focar */
  background-color: rgba(0, 86, 179, 0.7); /* Azul mais escuro */
}

/* Estilo para o ícone do menu hamburger */
.navbar-toggler-icon i {
  color: white; /* Define a cor do ícone como branco */
  font-size: 24px; /* Ajusta o tamanho do ícone */
  border: none;
}

.dropdown-item:hover {
  background-color: rgba(0, 86, 179, 0.7);
}


/* quem somos */
/* Define a largura total da seção e aplica o fundo escuro */
.full-width-section {
  background-color:#14264F !important; /* Fundo escuro */
  width: 100vw; /* Ocupa toda a largura da viewport */
  padding: 30px 0; /* Remove qualquer padding interno */
  margin: 0; /* Remove margem externa */
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  
}

#quem-somos {
  padding-top: 40px; /* Remove o padding superior */
  margin-top: 0; /* Remove o margin superior */
}

/* Remove o espaço entre a seção e o topo da página */
#quem-somos h1,
#quem-somos h2 {
  margin-top: 0; /* Remove qualquer margem superior nos títulos */
}

#quem-somos h2 {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 1rem;
}

#quem-somos p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #f0f0f0;
  text-align: justify;
}

#quem-somos h1 {
  color: #fff;
  font-size: 48px;
}

  
  
  

  /*serviços*/
  #servicos h2 {
    font-size: 2.5rem;
    color: #333;
    text-align: left;
    margin-bottom: 2rem;
  }
  
  /* Estilo geral dos cartões */
  .card {
    border-radius: 10px;
    position: relative;
    transition: transform 1s ease, box-shadow 0.3s ease, border 0.3s ease;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Sombra padrão */
    border: 2px solid transparent; /* Borda inicial invisível */
  }
  
  .card:hover {
    transform: translateY(-10px); /* Eleva o cartão ao passar o mouse */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Aumenta o sombreamento */
    border: 2px solid rgba(0, 40, 85, 0.7); /* Adiciona uma borda suave */
  }
  
  /* Transição suave do conteúdo */
  .original-content, .hidden-content {
    transition: opacity 1s ease; /* Transição suave da opacidade */
  }
  
  /* Esconder o conteúdo de texto inicialmente */
  .hidden-content {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0.9); /* Fundo branco com leve transparência */
    padding: 1.5rem;
    width: 100%;
    height: 100%;
    z-index: 10; /* Faz o texto aparecer sobre o cartão */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 1rem;
    color: #333;
    cursor: pointer;
  }
  
  /* Mostrar o conteúdo oculto suavemente */
  .card:hover .hidden-content {
    opacity: 1;
  }
  
  .card:hover .original-content {
    opacity: 0; /* Gradualmente esconde o conteúdo original */
  }
  
  /* Tamanho da imagem e estilo do título */
  .card-image {
    width: 150px;
    height: 150px;
  }
  
  .card-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #2c3e50;
  }
  
  .corner-icon {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background-color: #002855;
    color: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    cursor: pointer;
    transition: transform 0.3s ease;
  }
  
  .corner-icon:hover {
    transform: scale(1.2); /* Aumenta o ícone ao passar o mouse */
  }
  

  /*contato*/
  #contato h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 2rem;
    text-transform: uppercase;
    text-align: left;
  }
  
  /* Mapa */
  iframe {
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  /* Informações de contato */
  .contact-info h4 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #002855;
  }
  
  .contact-info p {
    font-size: 1rem;
    color: #333;
    margin-bottom: 1.5rem;
  }
  
  /* Botão de solicitação de orçamento */
.solicit-orcamento-btn {
    background-color: #14264F !important; /* Cor de fundo personalizada */
    color: white !important; /* Texto branco */
    font-size: 1.5rem !important;
    padding: 15px 30px !important;
    border-radius: 50px !important;
    text-align: center !important;
    display: block !important;
    width: 100% !important;
    max-width: 400px !important;
    text-transform: uppercase !important;
    transition: background-color 0.3s ease !important;
    border: none !important;
    text-decoration: none !important;
  }
   .solicit-orcamento-btn:hover{
    background-color: #007bff !important;
   }
  
  
  
  
  
  /* Footer */
/* Footer */
.footer {
    background-color: #14264F; /* Fundo escuro */
    color: #fff; /* Texto branco */
    padding: 2rem 0; /* Espaçamento interno */
    position: relative;
}

.footer h3 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.footer .social-icons a {
    font-size: 1.5rem;
    margin: 0 10px;
    color: #fff;
    transition: color 0.3s ease;
}

.footer .social-icons a:hover {
    color: #007bff; /* Cor de destaque ao passar o mouse */
}

.footer p {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.back-to-top {
    position: absolute;
    bottom: 20px;
    left: 20px;
}

.back-to-top a {
    width: 40px;
    height: 40px;
    background-color: #007bff;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.back-to-top a:hover {
    background-color: #0056b3;
}

/* Estilo para o link de "André da Silva Peres" */
.designer-link {
    color: inherit; /* Herda a cor do texto ao redor */
    text-decoration: none; /* Remove o sublinhado */
    font-weight: bold; /* Mantém o negrito */
}

.designer-link:hover {
    color: #007bff; /* Cor de destaque ao passar o mouse */
    text-decoration: underline; /* Adiciona sublinhado ao passar o mouse */
}


  
  /* Fundo cinza claro a partir da seção "Quem Somos" */
.bg-cinza {
    background-color: #f5f5f5; /* Cor cinza clara */
    padding-top: 10px; /* Espaçamento superior */
  }

  html {
    scroll-behavior: smooth;
  }
  

  .whatsapp-image {
    position: fixed;
    bottom: 1.25rem; /* Aproximadamente 20px */
    right: 1.25rem; /* Aproximadamente 20px */
    z-index: 1000;
    display: block;
    transition: all 0.3s ease-in-out;
  }
  
  /* Tamanho original da imagem para telas grandes */
  .whatsapp-image img {
    width: 18.125rem; /* Aproximadamente 290px */
    height: 4.4375rem; /* Aproximadamente 71px */
    box-shadow: 0px 0.25rem 0.625rem rgba(0, 0, 0, 0.1); /* Aproximadamente 4px 10px */
    object-fit: cover;
  }
  
  /* Efeito hover para mudar a opacidade ao passar o mouse */
  .whatsapp-image:hover img {
    opacity: 0.8;
  }
  
  @media (max-width: 768px) {
    .whatsapp-image img {
      content: url('./img/whatsapp.gif'); /* Substitui a imagem por zap.png em telas menores */
      width: 3rem; /* Aproximadamente 144px */
      height: 3rem; /* Altura também ajustada para manter a imagem redonda */
    }
  }