/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Configurações gerais */
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-image: url("background-solar.jpg");
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  background-color: #f4f9f4; /* Cor secundária para áreas sem imagem */
}



/* Cabeçalho */
header {
  background: #034986; /* Azul escuro */
  color: #fff;
  padding: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: start;
  /* justify-content: space-between; */
  /* gap: 3rem; */
}

header h1 {
  display: flex;
  gap: 1rem;
  align-items: center;
  font-size: 2.5rem;
}
header .logo {
  width: 4rem;
}

header p {
  font-size: 1.2rem;
  font-style: italic;
  margin-left: 8rem
}

/* Navegação */
nav {
  display: flex;
  justify-content: center;
  background: #037d50; /* Verde escuro */
  padding: 0.5rem;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
  text-transform: uppercase;
  font-weight: bold;
  border-radius: 1rem;
  transition: all 0.5s ease;
  margin: 0 2rem;
  padding: .5rem 1rem;
}

nav a:hover {
  color: yellow;
  text-shadow: 0 0 2rem yellow;
}

/* Seção com título elegante */
.section-title {
  font-size: 2rem;
  color: #0056a1;
  margin: 2rem 0 1rem;
  /* text-align: left; */
  border-bottom: 2px solid #037d50;
  display: inline-block;
  padding-bottom: 0.5rem;
  width: 100%;
}

/* Conteúdo principal */
.container {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.section-image {
  display: block;
  width: 100%;
  height: 18rem;
  object-fit: cover;
  margin: 1rem auto;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* Serviços */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.service {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.service h3 {
  color: #037d50;
  margin-bottom: 0.5rem;
}

.service p {
  color: #555;
}

.service-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin-bottom: 1rem;
  border-radius: 5px;
}

/* Formulário de Contato */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form label {
  display: inline-block;
  width: 120px;
  text-align: right;
  margin-right: 1rem;
  font-size: 1rem;
  color: #333;
}

.contact-form input,
.contact-form textarea {
  flex: 1;
  max-width: 400px;
  padding: 0.8rem;
  font-size: 1rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) inset;
}

.contact-form button {
  align-self: center;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  color: #fff;
  background: #037d50;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background: #02693d;
}

/* Rodapé */
footer {
  background: #034986; /* Azul escuro */
  color: #fff;
  text-align: center;
  padding: 1rem 0;
  margin-top: 2rem;
}

footer p {
  font-size: 0.9rem;
}
