/*  
   Fonte usada: 'Poppins' do Google Fonts.
   Você pode alterar para outra de sua preferência.
*/

/* RESET BÁSICO */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* HTML e BODY: Fundo fixo com a imagem */
html, body {
  height: 100%; /* Garante que o fundo ocupe 100% da altura da tela */
}
body {
  font-family: 'Poppins', sans-serif;
  color: #333;
  /* Fundo fixo com a imagem. */
  background: url("../img/fundo-fibra.jpg") no-repeat center center fixed;
  background-size: cover;
  /* Se tiver problemas em mobile com 'fixed', trocar por 'scroll' ou remover. */
}

/* HEADER e NAVBAR */
.header {
  position: fixed;      /* Fixa o header no topo */
  width: 100%;
  top: 0;
  left: 0;
  z-index: 999;
  /* Fundo branco translúcido para o header (se quiser ver a imagem por trás) */
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0px 2px 8px rgba(0, 0, 255, 0.2);
  /* Espaço interno para não sobrepor o texto */
  padding: 10px 0;
}

.navbar ul {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
}

.navbar li {
  margin: 0 20px;
}

.navbar a {
  text-decoration: none;
  font-weight: 600;
  color: #333;
  transition: color 0.3s ease;
}

.navbar a:hover {
  color: #0066ff;
}

/* Para evitar que o conteúdo fique sob o header fixo,
   damos um padding-top ao primeiro container ou à primeira seção
*/
.home-section {
  padding-top: 100px;
}

/* SEÇÕES GERAIS */
section {
  min-height: 100vh;
  padding: 60px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* CONTAINER DO CONTEÚDO (translúcido) */
.content-container {
  /* Fundo branco semitransparente: permite ver o fundo atrás */
  background-color: rgba(255, 255, 255, 0.8);
  max-width: 800px;
  width: 100%;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 0 30px rgba(0, 0, 255, 0.2);
  /* Transição para hover */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-container:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 50px rgba(0, 0, 255, 0.3);
}

/* HOME */
.home-section h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  text-align: center;
}

.home-section p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  text-align: center;
}

.btn-cta {
  display: inline-block;
  background-color: #0066ff;
  color: #fff;
  padding: 15px 30px;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn-cta:hover {
  background-color: #004bbd;
}

/* SOBRE e CONTATO (apenas para manter a estrutura, cor de fundo transparente) */
.sobre-section {
  background: transparent;
}
.contato-section {
  background: transparent;
}

/* FORMULÁRIO */
form {
  display: flex;
  flex-direction: column;
}

label {
  margin-top: 15px;
  font-weight: 600;
}

input, textarea {
  margin-top: 5px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.btn-enviar {
  margin-top: 20px;
  background-color: #0066ff;
  color: #fff;
  padding: 15px 30px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  align-self: flex-start;
  transition: background-color 0.3s ease;
}

.btn-enviar:hover {
  background-color: #004bbd;
}

/* RODAPÉ */
.footer {
  text-align: center;
  padding: 20px;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.7);
}

.image-container {
  text-align: center;
  margin-top: 20px; 
}

.car-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px; /* opcional, para cantos arredondados */
  box-shadow: 0 0 20px rgba(0, 0, 255, 0.2); /* sombra opcional */
}