/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background-color: #f4f4f9;
  color: #333;
}

/* Cabeçalho */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #0056b3;
  padding: 1rem 5%;
  color: white;
}

.navbar .logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 10px; /* Dá um espacinho se você usar imagem + texto */
}

.logo-img {
  max-height: 50px; /* Define a altura máxima do logo. Ajuste este valor conforme o tamanho do seu cabeçalho */
  width: auto; /* Mantém a proporção correta da imagem */
  display: block;
}

/* Caso você decida usar a tag <span class="logo-text"> junto com a imagem */
.logo-text {
  font-size: 1.5rem;
  color: white;
  font-weight: bold;
}

.navbar nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

.navbar nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.navbar nav ul li a:hover {
  text-decoration: underline;
}

.cart button {
  background-color: #ff9800;
  border: none;
  padding: 10px 20px;
  color: white;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
}

.cart button:hover {
  background-color: #e68a00;
}

/* Banner Principal */
.hero {
  background-color: #e3f2fd;
  text-align: center;
  padding: 60px 20px;
}

.hero h2 {
  font-size: 2.5rem;
  color: #0056b3;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.cta-button {
  background-color: #0056b3;
  color: white;
  border: none;
  padding: 15px 30px;
  font-size: 1.1rem;
  border-radius: 5px;
  cursor: pointer;
}

.cta-button:hover {
  background-color: #003d82;
}

/* Seção de Produtos */
.products-section {
  padding: 40px 5%;
}

.products-section h3 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 2rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.product-card {
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.2s;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-image {
  background-color: #eaeaea;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  border-radius: 4px;
  color: #888;
}

.product-card h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.price {
  font-size: 1.3rem;
  color: #28a745;
  font-weight: bold;
  margin-bottom: 15px;
}

.buy-button {
  background-color: #28a745;
  color: white;
  border: none;
  padding: 10px 0;
  width: 100%;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
}

.buy-button:hover {
  background-color: #218838;
}

/* Rodapé */
footer {
  background-color: #333;
  color: white;
  text-align: center;
  padding: 20px 0;
  margin-top: 40px;
}

.footer-content p {
  margin: 5px 0;
}

/* Responsividade básica */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 15px;
  }

  .navbar nav ul {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
}
