:root {
  --primary-color: #0cb149;
  --text-color: #000000;
  --background-color: #fffaff;
  --secondary-color-1: #007ea7;
  --secondary-color-2: #7d5ba6;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}


        /* Header fijo */
        .navbar {
          background-color: white;
          box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
          position: fixed;
          top: 0;
          width: 100%;
          z-index: 1000;
          padding: 10px 0;
      }

      .navbar-brand img {
          max-height: 50px;
      }

      .navbar-nav .nav-link {
          font-size: 18px;
          font-weight: 500;
          color: #333;
          transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out;
      }

      /* Hover en enlaces */
      .navbar-nav .nav-link:hover {
          color: white;
          background-color: #0cb149;
          border-radius: 5px;
          padding: 8px 12px;
      }

      /* Botón de menú en móviles */
      .navbar-toggler {
          border: none;
          outline: none;
      }

      .navbar-toggler:focus {
          box-shadow: none;
      }

      /* Mover navbar a la derecha */
      .navbar-collapse {
          justify-content: flex-end;
      }

      /* Iconos de redes dentro del navbar */
      .social-icons {
          display: flex;
          align-items: center;
          gap: 15px;
          margin-left: 20px;
      }

      .social-icons a {
          color: #333;
          font-size: 20px;
          transition: color 0.3s ease-in-out, transform 0.3s ease-in-out;
      }

      .social-icons a:hover {
          color: #0cb149;
          transform: scale(1.2);
      }

      /* Ajustar el contenido debajo del navbar fijo */
      .content {
          padding-top: 80px;
      }

        .hero {
          background-image: url("img/banner_tractor.png");
          background-size: cover;
          background-position: center;
          color: var(--background-color);
          text-align: center;
          padding: 6rem 0;
          position: relative;
        }

        .hero::before {
          content: "";
          position: absolute;
          top: 0;
          left: 0;
          right: 0;
          bottom: 0;
          background-color: rgba(0, 0, 0, 0.5);
        }

        .hero .container {
          position: relative;
          z-index: 1;
        }

        .hero h2 {
          font-size: 3rem;
          margin-bottom: 1rem;
        }

        .hero p {
          font-size: 1.2rem;
          margin-bottom: 2rem;
        }

        .cta-button {
          display: inline-block;
          background-color: var(--primary-color);
          color: var(--background-color);
          padding: 0.8rem 1.5rem;
          text-decoration: none;
          border-radius: 5px;
          font-weight: bold;
          transition: background-color 0.3s ease, transform 0.3s ease;
        }

        .cta-button:hover {
          background-color: var(--secondary-color-1);
          transform: translateY(-3px);
        }


        /* Estilos seccion "Sobre VisionAgro" */
        .intro-section {
          padding: 80px 0;
          background-color: #f9f9f9;
      }

      .intro-text h2 {
          color: #0cb149;
          font-weight: 700;
          font-size: 2.5rem;
          margin-bottom: 20px;
      }

      .intro-text p {
          font-size: 18px;
          line-height: 1.6;
          color: #333;
      }

      .intro-image img {
          width: 100%;
          max-width: 500px;
          border-radius: 10px;
          box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
          transition: transform 0.3s ease;
      }

      .intro-image img:hover {
          transform: scale(1.05);
      }

      .whatsapp-button {
          display: inline-flex;
          align-items: center;
          background-color: #25d366;
          color: white;
          font-size: 18px;
          font-weight: bold;
          padding: 12px 20px;
          border-radius: 5px;
          text-decoration: none;
          transition: background-color 0.3s ease, transform 0.3s ease;
          box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
      }

      .whatsapp-button i {
          margin-right: 10px;
          font-size: 22px;
      }

      .whatsapp-button:hover {
          background-color: #1ebe5d;
          transform: translateY(-3px);
      }

      @media (max-width: 768px) {
          .intro-text {
              text-align: center;
          }
      }




.featured-products {
  padding: 4rem 0;
}

.featured-products h2 {
  text-align: center;
  margin-bottom: 2rem;
}

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

.product-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.product-card img {
  max-width: 100%;
  height: auto;
  margin-bottom: 1rem;
  border-radius: 5px;
  transition: transform 0.3s ease;
}

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

.product-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.product-card h4 {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  color: #666;
}

.product-card p {
  margin-bottom: 1rem;
  color: #333;
}

.product-actions {
  display: flex;
  justify-content: space-around;
  margin-top: auto;
}

.email-button,
.whatsapp-button {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.email-button {
  background-color: var(--secondary-color-1);
  color: var(--background-color);
}

.whatsapp-button {
  background-color: var(--primary-color);
  color: var(--background-color);
}

.email-button:hover,
.whatsapp-button:hover {
  transform: translateY(-2px);
}

.email-button:hover {
  background-color: var(--primary-color);
}

.whatsapp-button:hover {
  background-color: #128c7e;
}

.email-button i,
.whatsapp-button i {
  margin-right: 0.5rem;
}

.button {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--background-color);
  padding: 0.5rem 1rem;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.button:hover {
  background-color: var(--primary-color);
  transform: translateY(-2px);
}

.center-button {
  text-align: center;
  margin-top: 2rem;
}

/* Formulario de Contacto */
.contact {
  padding: 4rem 0;
}

.contact h2 {
  text-align: center;
  margin-bottom: 2rem;
}

#contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  position: relative;
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group label {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  font-size: 1rem;
  color: #777;
  transition: all 0.3s ease;
  pointer-events: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(12, 177, 73, 0.2);
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label {
  top: -0.5rem;
  left: 0.5rem;
  font-size: 0.8rem;
  background-color: #fff;
  padding: 0 0.3rem;
}

.form-group textarea {
  height: 150px;
  resize: vertical;
}

.submit-button {
  display: block;
  width: 100%;
  padding: 0.8rem;
  background-color: var(--primary-color);
  color: var(--background-color);
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.submit-button:hover {
  background-color: var(--secondary-color-1);
  transform: translateY(-2px);
}
 
/* FIN FORMULARIO DE CONTACTO */

.category-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.category-button {
  background-color: #f0f0f0;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.category-button:hover,
.category-button.active {
  background-color: var(--primary-color);
  color: var(--background-color);
}
@media (max-width: 768px) {
  /* Ajustes generales para el header */
  header .container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .container h2 {
    font-size: 2.5rem;
  }

  .about-content {
    flex-direction: column;
    text-align: center;
  }

  .about-text {
    padding-right: 0;
    margin-bottom: 2rem;
  }

  .footer-section {
    flex: 100%;
    margin-right: 0;
  }
  .boton_whatsapp {
    padding: 30px;
    text-align: center;
    align-items: center;
  }
  .boton_whatsapp a {
    text-align: center;
    align-items: center;
  }
}

#seguinos_redes {
  text-align: center;
  align-items: center;
}

#productos-destacados h2, h3 {
font-family: poppins;
font-weight: 700;
}

#productos-destacados h3 {
  font-weight: 700;
  }

#inicio h1 {
  font-weight: 700;
  text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.4);
  margin-bottom: 10px;
}
#inicio p {
  text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.4);
  margin-bottom: 10px;
}
.mapa_visionagro iframe {
    border: none; /* Elimina el borde por defecto */
    border-radius: 10px; /* Bordes redondeados */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3); /* Sombra para destacar el mapa */
    width: 100%; /* Responsive */
    max-width: 100%; /* Tamaño máximo */
    height: 400px; /* Altura del mapa */
}
.container h2 {
  font-weight: 700;
}

/* PARTE PESADA SECTION */

.heavy-equipment {
  background-color: #f8f9fa;
  padding: 60px 0;
}

.section-title {
  font-weight: bold;
  color: black;
}

.section-subtitle {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 30px;
}

.equipment-card {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  margin-bottom: 20px;
}

.equipment-card img {
  width: 100%;
  border-radius: 5px;
  margin-bottom: 15px;
}

.equipment-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
}

.equipment-card p {
  font-size: 1rem;
  color: #555;
}

.contact-button {
  display: inline-block;
  background-color: #25D366;
  color: white;
  font-size: 18px;
  font-weight: bold;
  padding: 12px 20px;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-top: 20px;
}

.contact-button:hover {
  background-color: #1ebe5d;
  transform: scale(1.1);
}

#productos {
  margin-top: 80px; /* Espacio extra solo antes de la sección de productos */
}

/* 📦 Contenedor general */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 40px 0;
}

/* 🛒 Tarjeta del producto */
.product-card {
  background: white;
  border-radius: 10px;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  text-align: center;
  padding: 20px;
}

.product-card:hover {
  transform: scale(1.05);
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
}

/* 🖼 Imagen */
.product-image-container {
  width: 100%;
  height: 200px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

/* 🔤 Información */
.product-info {
  padding: 10px;
}

.product-title {
  font-size: 22px;
  font-weight: bold;
  color: #0cb149;
  text-transform: uppercase;
}

.product-subtitle {
  font-size: 18px;
  font-weight: normal;
  color: #555;
  font-style: italic;
}

.product-description {
  font-size: 16px;
  color: #333;
  line-height: 1.5;
  text-align: center; /* 👈 Cambié `justify` por `center` */
  padding: 0 15px;
  max-width: 90%; /* 👈 Esto hace que el texto no se expanda demasiado */
  margin: 0 auto; /* 👈 Centra el texto dentro de la tarjeta */
}


/* 🏷 Precio del producto */
.product-price {
  display: none;
  font-size: 18px;
  font-weight: bold;
  color: #0cb149; /* Verde */
  margin-top: 5px;
}

/* 🔴 Stock agotado */
.stock-unavailable {
  font-size: 16px;
  font-weight: bold;
  color: red;
}

/* 🟢 Stock disponible */
.stock-available {
  font-size: 16px;
  font-weight: bold;
  color: #0cb149;
}

/* 🎯 Botones */
.product-actions {
  margin-top: 15px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.button {
  background-color: #0cb149;
  color: white;
  padding: 10px 15px;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease-in-out, background-color 0.3s ease;
}

.button:hover {
  transform: scale(1.1);
}

/* 🏷 Precio del producto */
.product-price {
  font-size: 18px;
  font-weight: bold;
  color: #0cb149; /* Verde */
  margin-top: 5px;
}

/* 🔴 Stock agotado */
.stock-unavailable {
  font-size: 16px;
  font-weight: bold;
  color: red;
}

/* 🟢 Stock disponible */
.stock-available {
  font-size: 16px;
  font-weight: bold;
  color: #0cb149;
}
/* Acomoda los productos en filas de 3 */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Estilos para cada producto */
.product-card {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}

/* Imagen del producto */
.product-image-container {
  width: 100%;
  text-align: center;
  margin-bottom: 10px;
}

.product-image {
  max-width: 100%;
  height: auto;
}

/* Características con puntos verdes */
.product-features {
  list-style: none;
  padding: 0;
  text-align: left;
}

.product-features li {
  display: flex;
  align-items: center;
  font-size: 14px;
  margin: 5px 0;
}

/* Puntos verdes antes de cada característica */
.green-dot {
  width: 8px;
  height: 8px;
  background-color: green;
  border-radius: 50%;
  display: inline-block;
  margin-right: 8px;
}

/* Botones */
.product-actions {
  margin-top: 10px;
}

.product-actions a {
  display: inline-block;
  padding: 8px 12px;
  margin: 5px;
  background-color: #28a745;
  color: white;
  text-decoration: none;
  border-radius: 5px;
}

.product-actions a:hover {
  background-color: #218838;
}

.product-actions .email-button {
  background-color: #007bff;
}

.product-actions .email-button:hover {
  background-color: #0056b3;
}

/* Responsive: Se acomoda a 2 productos por fila en pantallas medianas */
@media (max-width: 1024px) {
  .product-grid {
      grid-template-columns: repeat(2, 1fr);
  }
}

/* Responsive: Se acomoda a 1 producto por fila en pantallas pequeñas */
@media (max-width: 768px) {
  .product-grid {
      grid-template-columns: repeat(1, 1fr);
  }
}

.pagination {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  gap: 10px;
}

.pagination button {
  background-color: #28a745; /* Verde, podés cambiarlo */
  color: white;
  border: none;
  padding: 10px 15px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.pagination button:hover {
  background-color: #218838;
  transform: scale(1.05);
}

.pagination button:disabled {
  background-color: #cccccc;
  cursor: not-allowed;
}

.pagination button.active {
  background-color: #155724;
  font-weight: bold;
}


.footer {
  background-color: #f8f9fa; /* Fondo claro */
  color: #333;
  padding: 30px 0;
  text-align: center;
  border-top: 3px solid #28a745;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer .container {
  max-width: 1100px;
  width: 100%;
  padding: 0 20px;
}

.footer-logo {
  text-align: center;
  margin-bottom: 15px;
}

.footer-logo img {
  max-width: 150px;
}

/* Contenedor principal del footer */
.footer-content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 50px;
  text-align: center;
}

/* Información de contacto */
.footer-info {
  max-width: 300px;
}

.footer-info h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.footer-info p {
  font-size: 14px;
  margin: 5px 0;
}

/* Botón de WhatsApp */
.whatsapp-button {
  display: inline-block;
  background-color: #25d366;
  color: white;
  padding: 10px 15px;
  border-radius: 5px;
  font-size: 14px;
  text-decoration: none;
  margin-top: 10px;
}

.whatsapp-button i {
  margin-right: 5px;
}

/* Redes Sociales */
.footer-social {
  max-width: 300px;
}

.footer-social h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.social-icons a img {
  width: 40px;
  transition: transform 0.3s ease-in-out;
}

.social-icons a img:hover {
  transform: scale(1.1);
}

/* Copyright */
.footer-copy {
  margin-top: 20px;
  font-size: 14px;
  opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-content {
      flex-direction: column;
      text-align: center;
  }

  .footer-logo img {
      max-width: 60%;
  }
}
