/*
  Estilo principal para o site da Prime Full Service Logística.
  Esta folha de estilos define a aparência das seções, tipografia,
  cores e layout responsivo. O objetivo é transmitir profissionalismo
  e modernidade, utilizando tons sóbrios de azul e laranja que
  remetem à confiança e à energia necessárias na área de logística.
*/

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

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

/* Contêiner padrão para centralizar conteúdos */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Cabeçalho fixo com cor sólida e sombra suave */
header {
  background: #4f2ebb; /* tom roxo escuro */
  color: #fff;
  padding: 20px 0;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 100;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

header h1 {
  font-size: 24px;
  margin: 0;
  font-weight: 600;
  display: flex;
  align-items: center;
}

header h1 .highlight {
  color: #aa5aff; /* destaque em roxo claro */
}

header nav ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

header nav ul li {
  margin-left: 20px;
}

header nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

header nav ul li a:hover {
  color: #aa5aff;
}

/* Seção hero com gradiente e centralização de conteúdo */
/* Seção hero com imagem de fundo da empresa e sobreposição roxa */
.hero {
  background: linear-gradient(
      rgba(79, 46, 187, 0.85),
      rgba(79, 46, 187, 0.85)
    ),
    url('../images/hero.jpg') center/cover no-repeat;
  color: #fff;
  display: flex;
  align-items: center;
  text-align: center;
  padding: 160px 0 100px;
}

.hero-content {
  width: 80%;
  margin: 0 auto;
}

.hero h2 {
  font-size: 36px;
  margin-bottom: 10px;
  font-weight: 600;
}

.hero p {
  font-size: 18px;
  margin-bottom: 20px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Botão padrão */
/* Botão primário em tons de roxo */
.btn {
  display: inline-block;
  background: #aa5aff;
  color: #ffffff;
  padding: 12px 30px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease, color 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn:hover {
  background: #8b3df6;
  color: #ffffff;
}

/* Seções principais */
section {
  padding: 80px 0;
}

.about h2,
.services h2,
.contact h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 32px;
  color: #003f5c;
  font-weight: 600;
}

.about p {
  margin-bottom: 15px;
  font-size: 18px;
  text-align: justify;
}

/* Grid de serviços */
.services .service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.services .service-item {
  background: #f7f7f7;
  border-radius: 8px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
}

.services .service-item:hover {
  transform: translateY(-5px);
}

.services .service-item i {
  font-size: 40px;
  color: #aa5aff;
  margin-bottom: 15px;
}

.services .service-item h3 {
  margin-bottom: 10px;
  font-size: 20px;
  color: #4f2ebb;
  font-weight: 600;
}

.services .service-item p {
  font-size: 16px;
  color: #555;
}

/* Seção de contato */
.contact p {
  text-align: center;
  margin-bottom: 30px;
  font-size: 18px;
}

.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  align-items: flex-start;
}

.contact-form {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
  font-family: inherit;
}

.contact-form textarea {
  height: 120px;
  resize: vertical;
}

.contact-form button {
  align-self: flex-start;
}

.contact-info {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-info ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.contact-info ul li {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  font-size: 18px;
  color: #4f2ebb;
}

.contact-info ul li i {
  margin-right: 10px;
  color: #ffa600;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  color: #4f2ebb;
  font-size: 24px;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: #aa5aff;
}

/* Rodapé */
footer {
  background: #4f2ebb;
  color: #ffffff;
  padding: 20px 0;
  text-align: center;
  font-size: 14px;
}

/* Logo no cabeçalho */
.logo {
  height: 40px;
  width: auto;
  margin-right: 12px;
}

/* Conteúdo do cabeçalho em flex para alinhar logo, título e menu */
.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* Responsividade */
@media (max-width: 768px) {
  header nav ul {
    flex-direction: column;
    align-items: center;
  }
  header nav ul li {
    margin-left: 0;
    margin-top: 10px;
  }
  .hero {
    padding: 140px 0 80px;
  }
  .hero h2 {
    font-size: 28px;
  }
}