* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Roboto', sans-serif;
  color: #333;
  line-height: 1.6;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #27445D;
  padding: 1rem 2rem;
  position: relative; /* Para el menú móvil */
}

.navbar img {
  width: 100px;
}

.navbar .nav-links {
  list-style-type: none;
  display: flex;
  gap: 20px;
}

.navbar .nav-links li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.navbar .nav-links li a:hover {
  text-decoration: underline;
}

.navbar .toggle {
  display: none; /* Ocultar por defecto */
  flex-direction: column;
  cursor: pointer;
}

.navbar .toggle span {
  height: 3px;
  width: 25px;
  background: white;
  margin: 4px 0;
}

.hero {
  background-color: #e0e0e9;
  color: #002f6c;
  text-align: center;
  padding: 100px 20px;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.hero-content .btn {
  background-color: #002f6c;
  color: white;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 5px;
}

.hero-content .btn:hover {
  background-color: #71BBB2;
}

.about-us, .products, .contact, .guide, .redes-sociales {
  padding: 60px 20px;
}

.about-us h2, .products h2, .contact h2 {
  color: #27445D;
  margin-bottom: 20px;
}

.redes-sociales {
  text-align: center;
}

 ul {
  list-style-type: none;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.product-item {
  text-align: center;
}

.product-item img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.product-item img:hover {
  transform: scale(1.05);
}

footer {
  background-color: #497D74;
  color: white;
  text-align: center;
  padding: 20px;
}

/* Estilos Responsivos */
@media (max-width: 768px) {
  .navbar .nav-links {
    display: none; /* Ocultar el menú por defecto */
    flex-direction: column;
    position: absolute;
    top: 60px; /* Ajustar según la altura de la navbar */
    left: 0;
    right: 0;
    background-color: #27445D;
  }

  .navbar .nav-links.active {
    display: flex; /* Mostrar el menú cuando se activa */
  }

  .navbar .toggle {
    display: flex; /* Mostrar el botón de menú en dispositivos móviles */
  }
}

.hero {
  background-image: url('./images/truck.jpg'); /* Change this to the correct path of your image */
  background-size:contain ; /* Ensures the background image covers the entire section */
  background-position: center; /* Centers the image */
  background-repeat: no-repeat; /* Prevents the background from repeating */
  height: 61.8vh; /* Sets the height of the section to fill the viewport */
  display: flex;
  align-items: center;
  justify-content: center;
  color: white; /* Makes sure the text is visible on top of the background */
}

.hero-content {
  text-align: center;
  background-color: rgba(0, 0, 0, 0.5); /* Adds a semi-transparent background to make the text stand out */
  padding: 20px;
  border-radius: 10px;
}

.catalogo {
  text-align: center;
}