/*
Theme Name: RLF Hidráulicos
Theme URI: https://rlfindustrial.com.br
Author: RLF Hidráulicos
Description: Tema institucional para RLF Hidráulicos, baseado em HTML estático convertido para WordPress.
Version: 1.0
Text Domain: rlf-hidraulicos
*/

body {
  font-family: Arial, sans-serif;
  margin: 0;
  background-color: #f4f4f4;
  color: #333;
}

header {
  background-color: #1f2e3d;
  color: white;
  padding: 20px;
  text-align: center;
}

header p {
  margin: 5px 0 0;
}

nav {
  background-color: #2c3e50;
  padding: 10px;
  text-align: center;
}

nav a {
  color: white;
  margin: 0 15px;
  text-decoration: none;
  font-weight: bold;
}

nav a:hover {
  text-decoration: underline;
}

main {
  padding: 40px 20px;
}

section {
  padding: 40px 0;
}

/* Index / serviços principais */
.titulo-servico {
  text-align: center;
  font-size: 28px;
  font-weight: bold;
  color: #1f2e3d;
  margin-bottom: 20px;
}

.texto-servico {
  max-width: 900px;
  margin: 0 auto;
  text-align: justify;
  font-size: 18px;
  line-height: 1.6;
}

/* Sobre */
.titulo-sobre {
  text-align: center;
  margin-bottom: 20px;
}

.texto-sobre {
  text-align: justify;
  margin: 0 40px;
  font-size: 18px;
  line-height: 1.6;
}

/* Botão voltar / botão principal */
.voltar {
  display: inline-block;
  margin-top: 15px;
  color: #ffffff;
  background-color: #2c3e50;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
}

.voltar:hover {
  background-color: #3d4f63;
}

/* Cards genéricos */
.servicos {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.card {
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  flex: 1;
  min-width: 250px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Clientes / Fornecedores */
.titulo-clientes,
.titulo-fornecedores {
  text-align: center;
  margin-bottom: 30px;
}

.lista-clientes,
.lista-fornecedores {
  max-width: 800px;
  margin: auto;
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.lista-clientes ul,
.lista-fornecedores ul {
  list-style: none;
  padding: 0;
  font-size: 18px;
  line-height: 1.8;
}

.lista-clientes li::before,
.lista-fornecedores li::before {
  content: "✔ ";
  color: #1f2e3d;
  font-weight: bold;
}

/* Grid de logos (clientes / fornecedores) */
.logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.logo-card {
  text-align: center;
  width: 180px;
}

.logo-card img {
  width: 100%;
  height: 100px;
  object-fit: contain;
  background: #f9f9f9;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.logo-card p {
  margin-top: 10px;
  font-weight: bold;
}

/* Contato */
.container-contato {
  max-width: 800px;
  margin: 40px auto;
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.container-contato h2 {
  text-align: center;
  margin-bottom: 20px;
}

.container-contato p {
  font-size: 18px;
  line-height: 1.6;
  text-align: center;
}

.btn-whatsapp {
  display: block;
  width: 250px;
  margin: 30px auto;
  padding: 15px;
  background-color: #25D366;
  color: white;
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
}

.btn-whatsapp:hover {
  background-color: #1ebe5d;
}

/* Footer */
footer {
  background-color: #1f2e3d;
  color: white;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
}

/* Responsivo básico */
@media (max-width: 768px) {
  .texto-sobre {
    margin: 0 20px;
  }

  .logo-card {
    width: 45%;
  }
}

@media (max-width: 480px) {
  .logo-card {
    width: 100%;
  }
}