/* Reset Moderno */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
}

/* Header Responsivo */
.navbar {
  background: white;
  padding: 1rem 2rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.cta-header {
  background: var(--cta);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 5px;
  font-weight: 600;
}

/* Conteúdo Principal */
.container {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.hero-section {
  text-align: center;
  padding: 4rem 0;
  background: linear-gradient(
      rgba(255, 255, 255, 0.9),
      rgba(255, 255, 255, 0.9)
    ),
    url("car-bg.jpg");
  background-size: cover;
  border-radius: 8px;
}

.hero-section h1 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.hero-section p {
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: 2rem;
}

.cta-button {
  background: var(--cta);
  color: white;
  padding: 1rem 2rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s;
}

.cta-button:hover {
  background: #38a169;
}

/* Sobre Fabricantes */
.about-section {
  margin: 4rem 0;
  text-align: left;
}

.about-section h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.about-section p {
  font-size: 1.1rem;
  color: var(--text);
  max-width: 900px;
  margin-bottom: 0.5rem;
}

/* Listagem de Fabricantes */
.listing-card {
  background: white;
  padding: 1.5rem;
  margin-bottom: 1rem;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  transition: transform 0.2s;
}

.listing-card:hover {
  transform: translateY(-2px);
}

.card-content {
  flex: 1;
  margin-right: 2rem;
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.fabricante {
  background: #ebf8ff;
  color: #3182ce;
}

.company {
  font-size: 1.25rem;
  color: var(--primary);
  margin: 0.5rem 0;
}

.details {
  display: flex;
  gap: 1.5rem;
  margin: 0.5rem 0;
}

.produtos {
  gap: 1.5rem;
  margin: 0.5rem 0;
}

.produtos p {
  margin-bottom: 0.5rem;
}

.produtos li {
  list-style: none;
  padding: 0.1rem 0;
}

.produtos-list {
  padding-top: 1rem;
}

.contacts {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.contacts a {
  color: var(--accent);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 5%;
}

.contacts a[href*="whatsapp"] {
  color: #25d366;
}

.endereco {
  font-size: 1.25rem;
  color: var(--primary);
  margin: 0.5rem 0;
  text-align: left;
}

/* Contactos */
.contact-section {
  /* color: white; */
  padding: 4rem 1rem;
  margin: 4rem 0;
  text-align: center;
  border-radius: 8px;
}

.contact-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.contact-section p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.contact-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.contact-buttons a {
  color: white;
  background: #365a59;
  padding: 1rem 2rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s;
}

.contact-buttons a:hover {
  background: #2a5f5d;
  color: white;
}

/*Addres*/
.card-address-map {
  background: white;
  padding: 1.5rem;
  margin-bottom: 1rem;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    display: flex;
  }

  .hero-section h1 {
    font-size: 1.8rem;
  }

  .footer-contact-info {
    width: 100%;
    text-align: center;
    margin-top: 1rem;
  }

  .footer-contact-info a {
    margin: 0 0.5rem;
  }

  .footer-nav {
    width: 100%;
    text-align: center;
    margin-top: 1rem;
  }

  .footer-nav a {
    margin: 0 0.5rem;
  }

  .listing-card {
    flex-direction: column;
    gap: 1rem;
  }

  .info-button {
    width: 100%;
    text-align: center;
  }
}
