/* Paleta de colores a utilizar:
    #06771F - Verde oscuro
    #FFEC00 - Amarillo fuerte
    #F8A600 - Naranja opaco
    #F07C00 - Naranja vivo
    #9999C3 - Lila
    #FEC64A - Amarillo opaco logo
    #00A859 - Verde logo

 */

/*Reseteo de css*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none;
  color: inherit;
}
a:hover {
  text-decoration: none;
}
ul, ol {
  list-style: none;
}

@font-face {
  font-family: 'Town 70 Accent Black';
  src: url(../fonts/town-70-accent-black-1.ttf) format('truetype');
  font-weight: normal;
  font-style: normal;
}

ul li {
  list-style: none;
}

/* ##############################   Topbar   ##############################  */

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #222425;
  color: white;
  padding: 5px 10px;
  font-size: 0.9em;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1030;
  border-bottom: 1px solid #222425;
}

.top-bar .left-content {
  display: flex;
  align-items: center;
}

.top-bar .right-content {
  display: flex;
  align-items: center;
}

.top-bar .horario {
  margin-right: 15px;
}

.top-bar a {
  color: white;
  margin-left: 10px;
  margin-right: 15px;
  text-decoration: none;
}

.top-bar .icon,
.top-bar .itel {
  margin-left: 15px;
}

@media (max-width: 679px) {
  .top-bar {
    flex-direction: column;
    align-items: center;
  }

  .top-bar .left-content,
  .top-bar .right-content {
    width: 100%;
  }

  .top-bar .right-content {
    flex-direction: column;
  }

  .top-bar .icon {
    display: none;
  }
}

@media (max-width: 1029px) {
  .top-bar {
    justify-content: center;
  }

  .top-bar .horario {
    display: none;
  }

  .top-bar .right-content {
    justify-content: center;
  }
}

/* ##############################   Navbar   ##############################*/

.navbar {
  padding: 0;
  height: 50px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 30px;
  z-index: 1020;
  background-color: #00a859;
  border-bottom: 1px solid #00a859;
}

.navbar-brand {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0;
}
.navbar-brand img {
  height: 100%;
  max-height: 50px;
}
.navbar-nav .nav-link {
  font-weight: bold;
  color: #373435  !important; /* Ver este color */
  filter: drop-shadow(0 0px 1px rgb(255, 255, 255));
  text-align: center;
}
.navbar-nav .nav-link:hover {
  color: #f8a600 !important;
  filter: drop-shadow(0 0px 1px rgb(0, 0, 0));
}

.navbar-toggler-icon {
  filter: invert(1);
}
.navbar-container {
  padding: 0;
}
@media (min-width: 992px) {
  .navbar-container {
    margin-top: 1px; /* Para que no se superponga con el top-bar */
  }
}
@media (max-width: 991px) {
  .navbar-nav {
    background-color: #ffffff; /* Color de fondo del menú */
    border: 1px solid #ddd; /* Borde alrededor del menú */
    border-radius: 5px; /* Esquinas redondeadas opcionales */
    padding: 10px; /* Espaciado interno */
  }
}
@media (max-width: 679px) {
  .navbar {
    top: 52px;
  }
}

/* ##############################   Portada   ##############################*/

.portada {
  height: 100vh;

  background-image: url(../img/portadas/portada-2-tiny.jpg);
  background-position: center;
  background-size: cover;
  /* background-attachment: fixed; */
  background-attachment: scroll;


  display: flex;
  align-items: center;
  justify-content: center;
}

.portada-texto {
  width: 60vw;
  color: #ffffff;
  text-align: center;
  position: absolute;
}

.portada-logo {
  width: 60vw;
  height: auto;
  margin-bottom: 20px;
  filter: drop-shadow(0 4px 8px rgba(255, 255, 255, 1));
}

.portada-texto h3 {
  font-size: 1.7em;
  font-weight: bold;

  margin-bottom: 10px;
  filter: drop-shadow(0 0px 8px rgb(0, 0, 0));
}

@media (max-width: 535px) {
  .portada-logo {
    width: 80vw;
  }
  .portada-texto {
    width: 80vw;
  }

  .portada-texto h3 {
    font-size: 1.5em;
  }
  
}

@media (max-width: 392px) {
  .portada-texto h3 {
    font-size: 1.3em;
  }
}

/*###################### Historia 1 ########################### */

.historia {
  padding: 50px 0;
  background-image: url(../img/portadas/fondo-2.png);

  background-size: cover;
  background-position: center;
  /* background-color: #F8A600; */
  box-shadow: 0 -8px 8px rgba(0, 0, 0, 0.2);
  font-size: 1.1em;
  font-weight: 300;
}

.historia .container {
  max-width: 1200px;
  margin: 0 auto;
}

.historia-img {
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.texto-soluciones {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 100%;
}

.historia h2 {
  margin: 0;
  font-size: 2em;
  font-weight: 700;
  color: #333;
}

@media (max-width: 767px) {
  .historia {
    padding: 30px 0;
  }
  .historia h2 {
    font-size: 1.5em;
    text-align: center;
  }
}
@media (max-width: 470px) {
  .historia h2 {
    font-size: 1.2em;
  }
}


/* ##############################   Implementos   ##############################*/

.implementos {
  text-align: center;
  padding: 50px 0;
}

.implementos h1 {
  margin-bottom: 30px;
  font-size: 2.5em;
}

.slider-container {
  width: 100%;
  overflow: hidden;
}

.slider {
  padding: 20px;
  width: 80%;
  margin: 0 auto;

}

.producto {
  display: flex !important;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  background: #f8f8f8;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  max-width: 300px;
  height: 280px;
  margin: 0 10px;
  overflow: hidden;
}

.producto:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

.producto img {
  max-width: 100%;
  max-height: 160px;
  object-fit: contain;
  margin-bottom: 15px;
}

.producto h3 {
  margin: 0;
  font-size: 1.5em;
  text-align: center;
}


.slick-slide {
  overflow: visible; /* Ensure each slide allows overflow */
}

.slick-list {
  overflow: visible; /* Ensure the entire slider allows overflow */
}

.slick-track {
  display: flex;
  align-items: center;
}



/* ##############################   Historia 2   ##############################*/


.historia_2 {
  padding: 50px 0;
  background-image: url(../img/portadas/fondo-naranja.jpg);
  background-size: cover;
  background-position: center;
  font-size: 1.1em;
  font-weight: 300;
}
.historia_2 .container {
  max-width: 60vw;
  height: 70vh;
  margin: 0 auto;
  margin-bottom: 30px;
}
.historia_2 h2 {
  padding: 20px;
  text-align: center;
  margin: 0;
  font-size: 2em;
  font-weight: 700;
  color: #333;
  text-shadow: 2px 2px 4px rgba(71, 71, 71, 0.6);
}
.video {
  width: 100%;
  height: 100%;
  border: 5px solid #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.7);
}
@media (max-width: 767px) {
  .historia_2 .container {
    max-width: 90vw;
    height: 50vh;
  }
  .historia_2 h2 {
    font-size: 1.5em;
  }
}
@media (max-width: 470px) {
  .historia_2 h2 {
    font-size: 1.2em;
  }
}

/* ##############################   Formulario   ##############################*/
.formulario {
  padding: 30px 0;
  background-image: url(../img/portadas/fondo-amarillo.jpg);
  background-size: cover;
  background-position: center;
}
.formulario h2 {
  padding: 20px;
  text-align: center;
  margin: 0;
  font-size: 2em;
  font-weight: 700;
  color: #333;
  text-shadow: 2px 2px 4px rgba(71, 71, 71, 0.6);
}
.formulario {
  text-align: center;
}
.contacto-ubicacion {
  margin-bottom: 20px; /* Ajusta el espacio inferior según sea necesario */
}
.contacto-detalles {
  display: flex;
  justify-content: center;
  gap: 40px; /* Espacio entre cada bloque de detalles */
}
@media (max-width: 767px) {
  .contacto-detalles {
    flex-direction: column;
  }
}

.formulario h3 {
  margin-bottom: 5px;
  text-shadow: 2px 2px 4px rgba(71, 71, 71, 0.3);
}
.contacto-item p {
  margin: 0;
}
.formulario .container {
  height: 1400px;
  width: 100vw;
  margin: 0 auto;
  padding: 50px 0;
}
.form {
  filter: drop-shadow(0 2px 6px rgb(114, 114, 114));
}


/* ##############################   Ubicacion   ##############################*/

.ubicacion {
  display: flex;
  height: 100vh;
}
.ubicacion .mapa,
.ubicacion .info {
  flex: 1;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.ubicacion .mapa {
  /* background-color: #f8a600; */
  margin-top: 50px;
  background-image: url(../img/portadas/fondo-4.png);
  background-size: cover;
}
.ubicacion .mapa iframe {
  height: 80%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}
.ubicacion .info {
  /* background-color: #06771f; */
  background-image: url(../img/portadas/fondo-7.jpg);
  background-size: cover;
  color: white;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
}
.ubicacion .info h2 {
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 20px;
}
.ubicacion .info p {
  font-size: 1.2em;
  margin-bottom: 10px;
}
.ubicacion .info a {
  color: white;
  text-decoration: underline;
}
@media (max-width: 946px) {
  .ubicacion {
    flex-direction: column;
  }
  .ubicacion .mapa{
    padding: 20px;
  }
  .ubicacion .mapa iframe {
    width: 100%;
  }
  .ubicacion .info {
    text-align: center;
  }
}

@media (max-width: 679px) {
  .ubicacion .mapa{
    margin-top: 80px;
  }
}


/* ##############################   Catalogo   ##############################*/

.catalogo {
  padding: 90px 0;
  background-color: #f8f8f8;
}

.catalogo h1 {
  text-align: center;
  margin-bottom: 40px;
}

.catalogo .card {
  border: none  ;
  border-radius: 0px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}
.catalogo .vermas{
  background-color: #06771F  !important;
  border: none;
  border-radius: 0px;
  color: #f8f8f8 !important;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
  transition: background-color 0.2s;
  align-self: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
}
.catalogo .vermas:hover{
  background-color: #FFEC00  !important;
  color: #333 !important;
}
.catalogo .col-md-4 {
  margin-bottom: 25px;
}

.catalogo .card:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.catalogo .image-container {
  width: 100%;
  height: 200px; 
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.catalogo .image-container img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain; 
}

.catalogo .card-body {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 250px; 
}

.catalogo .card-title {
  font-size: 1.25em;
  margin-bottom: 15px;
}

.catalogo .card-text {
  font-size: 1em;
  color: #555;
  flex-grow: 1;
  margin: 0;
}

.catalogo .btn {
  background-color: #007bff;
  border: none;
  color: #fff;
  transition: background-color 0.2s;
  align-self: center;
}

.catalogo .btn:hover {
  background-color: #0056b3;
}


@media (max-width: 991px) {
  .catalogo {
  padding: 90px 0;

  }
  .catalogo .col-md-4 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (max-width: 767px) {
  .catalogo {
    padding: 110px 0;
  }
  .catalogo .col-md-4 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .catalogo .card {
    margin-bottom: 20px;
  }
}

/* ##############################   Footer   ##############################*/

footer {
  background-color: #06771F;
  padding: 20px 0;
  color: rgb(238, 238, 238);
  margin: 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 20px;
  border-bottom: 1px solid #ddd;
  flex-wrap: wrap;
}

.footer-section {
  flex: 1;
  margin-bottom: 20px;
}

.footer-section .logo {
  margin-top: 20px;
  height: 150px;
  width: auto;
}

.footer-section h3 {
  margin-bottom: 10px;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
}

.footer-section ul {
  list-style-type: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 5px;
}

.footer-section ul li a:hover {
  color: #FFEC00;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  flex-wrap: wrap;
}

.footer-icons a {
  margin-left: 10px;
  text-decoration: none;
  font-size: 18px;
}

.footer-icons a:hover {
  color: #FFEC00;
}

.copyright {
  margin: 0;
}

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

  .footer-section {
    width: 100%;
    margin-bottom: 20px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-icons {
    margin-top: 10px;
  }
}

/* ##############################   Productos   ##############################*/

.container-producto {
  padding: 80px 0 0;
}

.section-productos {
  padding: 10px;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.h2-productos {
  color: #06771F;
}

.machine-features ul {
  list-style: none;
  padding: 0;
}

.machine-features ul li {
  background: #eef;
  margin: 10px 0;
  padding: 10px;
  border-left: 5px solid #06771F;
}

/* Gallery */
.machine-gallery .gallery {
  display: flex;
  gap: 10px;
  justify-content: space-around;
  flex-wrap: wrap;
}

.machine-gallery .gallery video {
  max-width: 90%;
  height: auto;
  border: 5px solid #ddd;
}


.titulo-producto {
  text-align: center;
  width: 100%;
}

.aditional-info p{
  text-align: center;
  font-weight: bold;
}

.img-produ {
  width: 40%;
  border: 5px solid #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.7);
}

@media (max-width: 767px) {
  .img-produ {
    width: 80%;
  }
}

.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
  z-index: 1000;
}

.whatsapp-float i {
  line-height: 60px; /* Centra el ícono dentro del botón */
}

.whatsapp-float:hover {
  background-color: #128c7e;
  text-decoration: none;
}


/* ##############################   Nosotros   ##############################*/

.fotos-nosotros {
  padding: 30px;
}
.nosotros {
  padding: 5px 0;
}

.img-nosotros {
  width: 60%;
  border: 5px solid #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.7);
}