body{
  font-family: sans-serif;
  margin: 0;
}




:root {
--primary-color: #31790d;
--background-color: white;
--background-color:black
--dark-color: #151515;
}

html {
font-size: 62.5%;
font-family: 'Poppins', sans-serif;
}

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

/* ********************************** */
/*             UTILIDADES             */
/* ********************************** */
.container {
max-width: 100%;
margin: 0 auto;
}

.heading-1 {
text-align: center;
font-weight: 500;
font-size: 3rem;
}

/* ********************************** */
/*               HEADER               */
/* ********************************** */

.headercustom {
  width: 100%;
  padding: 10px 2px 5px 10px;
}



.container-hero {
background-color: var(--background-color);
  
}

.hero {
display: flex;
justify-content: space-between;
align-items: center;
padding: 0s 0;
}

.customer-support {
display: flex;
align-items: center;
gap: 2rem;
}

.customer-support i {
font-size: 1px;

}

.content-customer-support {
display: flex;
flex-direction: column;
}

.container-logo {
display: flex;
align-items: center;
font-size: 2px;
  
}


.fotodelogo {
  font-size: 5px;
}




.container-logo i {
font-size: 3rem;
}

.container-logo h1 a {
text-decoration: none;
color: #000;
font-size: 3rem;
text-transform: uppercase;
letter-spacing: -1px;
}

.container-user {
display: flex;
gap: 1rem;
cursor: pointer;
}

.container-user .fa-user {
font-size: 3rem;
color: var(--primary-color);
padding-right: 2.5rem;
border-right: 1px solid #e2e2e2;
}

.container-user .fa-basket-shopping {
font-size: 3rem;
color: var(--primary-color);
padding-left: 1rem;
}

.content-shopping-cart {
display: flex;
flex-direction: column;
}




/* ************* NAVBAR ************* */
.navcustom{
  width: 100%;
}




.container-navbar {
background-color: var(--primary-color);
  width: 100%;
}

.navbar {
display: flex;
justify-content: space-between;
align-items: center;
padding: 2rem 0;
}

.navbar .fa-bars {
display: none;
}

.menu {
display: flex;
gap: 2rem;
  padding-left: 10px;
}

.menu li {
list-style: none;
}

.menu a {
text-decoration: none;
font-size: 1.3rem;
color: var(--dark-color);
font-weight: 600;
text-transform: uppercase;
position: relative;
}

.menu a::after {
content: '';
width: 1.5rem;
height: 1px;
background-color: #fff;
position: absolute;
bottom: -3px;
left: 50%;
transform: translate(-50%, 50%);
opacity: 0;
transition: all 0.3s ease;
}

.menu a:hover::after {
opacity: 1;
}

.menu a:hover {
color: #fff;
}

.search-form {
position: relative;
display: flex;
align-items: center;
border: 2px solid #fff;
border-radius: 2rem;
background-color: #fff;
height: 4.4rem;
overflow: hidden;
}

.search-form input {
outline: none;
font-family: inherit;
border: none;
width: 25rem;
font-size: 1.4rem;
padding: 0 2rem;
color: #777;
cursor: pointer;
}

.search-form input::-webkit-search-cancel-button {
appearance: none;
}

.search-form .btn-search {
border: none;
background-color: var(--primary-color);
display: flex;
align-items: center;
justify-content: center;
height: 100%;
padding: 1rem;
}

.btn-search i {
font-size: 2rem;
color: #fff;
}


/*carrito foto */
.carritofoto {
height: 20px;
width: 30px;
left: 30px;
}
/*termina nav*/








h1 {
  color:#31790d;
  font-size: 500px;
  margin-top: 0;
    background: linear-gradient(90deg, red, green);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
    animation: pulse 2s infinite;
    padding: 5px 10px;
}

  

  
 h2 {
    text-align: center;
    color: green;
    font-size: 30px;
  }
  
  p {
    margin: 10px 0;
    font-size: 20px;
  }
  
  img {
    max-width: 100%;
    height: auto;
    display: block;
  }
  
  /* Hero Section */
  .heros {
    background: url('hero-bg.jpg') no-repeat center center/cover;
    color: #fff;
    text-align: center;
    padding: 100px 20px;
  }
  
  .heros h1 {
    font-size: 4.5rem;
    margin-bottom: 20px;
    text-align: center;
  }
  
  .heros .btn {
    text-decoration: none;
    padding: 10px 20px;
    color: #fff;
    background: darkgreen;
    border-radius: 10px;
    font-weight: bold;
    transition: background 0.3s ease;
    font-size: 20px;
  }
  
  .heros .btn:hover {
    background: #e8554c;
  }
  
  /* Quiénes Somos */
  .quienes-somos {
    padding: 50px 20px;
    background: #f9f9f9;
  }
  
  .quienes-somos img {
    margin: 20px auto;
    border-radius: 10px;
    height: 700px;
    width: 700px;
  }
  
  /* Nuestra Misión */
  .mision {
    padding: 50px 20px;
    
  }
  
  .mision-content {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
    
  }
  
  .mision-content img {
    flex: 1;
    border-radius: 10px;
    height: 550px;
  }
  
  .mision-content .text {
    flex: 2;
  }
  
  .mision-content .firma {
    margin-top: 10px;
    font-style: italic;
    color: #555;
  }
  
  /* Visión */
  .vision {
    padding: 50px 20px;
    background: #eaf4ff;
    text-align: center;
  }
  
  /* Valores */
  .valores {
    padding: 50px 20px;
  }
  
  .valores-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
  }
  
  .valores .valor {
    background: #f9f9f9;
    padding: 20px;
    margin: 10px;
    border-radius: 10px;
    text-align: center;
    flex: 1;
    min-width: 250px;
  }
  
  .valores .valor h3 {
    color:darkgreen;
    margin-bottom: 10px;
    font-size: 25px;
  }
  

  h2 {
    font-size: 32px;
  }
  /* Por qué elegir */
  .por-que-elegir {
    background-color: #f9f9f9;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 23px rgba(0, 0, 0, 0.1);
    margin: 2rem 0;
    font-family: 'Arial', sans-serif;
  }
  




  .por-que-elegir h2 {
    font-size: 4rem;
    color: #333;
    margin-bottom: 1rem;
    text-align: center;
    background: linear-gradient(90deg, red, green);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
    animation: pulse 1s infinite;
    padding: 5px 10px;

  }
  
  .por-que-elegir p {
    font-size: 2.1rem;
    color: #666;
    text-align: left;
    margin-bottom: 1.5rem;
  }
  
  .por-que-elegir ul {
    list-style-type: none;
    padding: 0;
  }
  
  .por-que-elegir li {
    font-size: 2rem;
    color: #555;
    padding: 0.5rem 0;
    border-bottom: 1px solid #ddd;
  }
  
  .por-que-elegir li:last-child {
    border-bottom: none;
  }
  
  .por-que-elegir strong {
    color: #000;
  }
  
  
  /* Historia */
  .historia {
    padding: 50px 20px;
  }
  
  .video-container {
    max-width: 800px;
    margin: 0 auto 20px;
  }
  
  .video-container video {
    width: 100%;
    border-radius: 10px;
  }
  
  /* Avances */
  .avances {
    padding: 50px 20px;
    background: #f9f9f9;
  }
  
  .galeria-dinamica {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
  }
  
  .galeria-dinamica .imagen {
    text-align: center;
  }
  
  .galeria-dinamica .imagen img {
    border-radius: 10px;
    transition: transform 0.3s ease;
  }
  
  .galeria-dinamica .imagen img:hover {
    transform: scale(1.05);
  }
  
  /* Repuestos */
  .repuestos {
    padding: 50px 20px;
  }
  
  .productos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    text-align: center;
  }
  
  .productos .producto {
    padding: 10px;
    background: #f9f9f9;
    border-radius: 10px;
  }
  
  .productos .producto img {
    margin-bottom: 10px;
    border-radius: 10px;
    transition: transform 0.3s ease;
  }
  
  .productos .producto img:hover {
    transform: scale(1.05);
  }
  









  


footer {
  background-color: #333;
  color: #fff;
  padding: 40px 20px;
  font-family: Arial, sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-column {
  flex: 1 1 250px;
  margin: 10px;
}

.footer-column h3 {
  margin-bottom: 15px;
  font-size: 18px;
  border-bottom: 2px solid  red;
  display: inline-block;
  padding-bottom: 5px;
}

.footer-column p, .footer-column ul {
  font-size: 14px;
  line-height: 1.8;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  text-decoration: none;
  color: green;        
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: #fff;
}

.social-media a {
  margin: 0 10px;
  display: inline-block;
}

.social-media img {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.social-media img:hover {
  transform: scale(1.2);
}

.footer-bottom {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  border-top: 1px solid #555;
  padding-top: 10px;
}

@media (max-width: 768px) {
  .footer-container {
      flex-direction: column;
      align-items: center;
  }

  .footer-column {
      text-align: center;
  }
}






/* Estilos para el botón flotante de WhatsApp */
.whatsapp-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  padding: 15px;
  font-size: 2rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  z-index: 1000;
  width: 60px; /* Ancho fijo */
  height: 60px; /* Alto fijo */
  display: flex;
  align-items: center; /* Alineación vertical centrada */
  justify-content: center; /* Alineación horizontal centrada */
  text-decoration: none;
}
/* Estiliza el botón flotante de WhatsApp, con posición fija, bordes redondeados, sombra y centro del icono. Comentado por asistente */

.whatsapp-btn:hover {
  background-color: #128C7E;
}
/* Cambia el color del botón flotante al pasar el ratón por encima. Comentado por asistente */

.whatsapp-btn i {
  font-size: 2rem; /* Asegura que el ícono tenga el tamaño adecuado */
}
/* Establece el tamaño del ícono dentro del botón flotante de WhatsApp. Comentado por asistente */
