* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


header{
  Width: 100%;  
}

.container-fluid{ 
  background-color: rgb(255, 255, 255); 
  z-index: 5;  
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
 }

/* Logo y links siguen igual */
.navbar img{
  height: 80px;
  width: 280px;
  margin: 10px 30px;
}

.nav-item{
  font-size: 20px;
  padding: 10px;
}

.navbar-nav .nav-link {
  position: relative;
  color: #000;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px; /* ← FALTABA ESTO */
  background-color: #000;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.navbar-nav .nav-link:hover {
  color: #0d6efd;
}
.navbar-brand .logo{
  transition: all 0.3s ease;
  
}
.navbar-brand .logo:hover{
  transform: scale(1.08);
}
/* Celulares (pantallas de hasta 768px) */
@media (max-width: 768px) {
.navbar img{
  height: 35px;
  width: 100px;
  margin: 0px 1px;
}

.nav-item{
  font-size: 10px;
  padding: 0px;
}
}

/*Contenedor*/  
/* --- Ajuste para que el contenido no se tape con el navbar --- */
.banner {

  z-index: 0;
  position: relative;
  background: url('../Media/1.png') no-repeat center center/cover;
  background-color: #00000000;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 400px;
}

.banner-content {
  margin-top: 100px;
  text-align: center;
  color: rgb(255, 255, 255);
  padding: 200px 40px;
  border-radius: 10px;
}

.btn-banner {
  display: inline-block;
  margin-top: 15px;
  background-color: #636363a8;
  color: #fff;
  padding: 10px 25px;
  border-radius: 5px;
  text-decoration: none;
  border: 2px solid #f3f3f3;
  transition: all 0.3s ease;
}

.btn-banner:hover {
  color: #000;
  background-color: #ffffff;
  border-color: #d47100;
  box-shadow: 0 0 15px #d47100;
  transform: scale(1.08);
}

.linea{
  width: 100%;
  background-color: #383838;
  height: 20px;
}

.cont {
  position: relative;
  width: 100%;
  height: 100vh; /* ocupa toda la altura visible */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cont img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* hace que la imagen se ajuste sin deformarse */
  z-index: 0;
  filter: brightness(0.5); /* oscurece un poco para que el texto resalte */
}

.text {
  position: relative;
  z-index: 1;
  color: white;
  text-align: center;
  max-width: 800px;
  padding: 0 20px;
}

.text h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.text h1::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
  height: 3px;
  background-color: #8d8d8d; /* color de la línea */
  border-radius: 2px;
}

.text p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #f5f5f5;
}

/* Celulares */
@media (max-width: 768px) {
  
  .banner {
   height: 300px;
   margin-top: -70px;
  }
  .banner h1 {
   font-size: 20px;
  }
  .cont {
    height: auto;
    padding: 80px 0;
  }

  .cont img {
    height: 100%;
    position: absolute;
  }

  .text {
    max-width: 90%;
    text-align: center;
    padding: 20px;
  }

  .text h1 {
    font-size: 1.8rem;
  }

  .text p {
    font-size: 1rem;
  }

  .btn-banner {
    font-size: 0.95rem;
    padding: 8px 20px;
  }
}
.cont2 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 30px;
  padding: 50px 20px;
  background-color: #ebebeb;
  text-align: center;
}

.titulo-seccion {
  width: 100%;
  font-size: 2.5rem;
  color: #000000;
  margin-bottom: 30px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cart {
  width: 250px;
  
  background-color: rgb(255, 255, 255);
  border-radius: 20px;
  padding: 20px;
  box-shadow:0 1px 1px #000;
  transition: transform 0.3s ease;
}

.cart:hover {
  transform: translateY(-8px);
  box-shadow:0 10px 20px #000;
}

.icon-bg {
  width: 130px;
  height: 130px;
  background-color: #999999;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 15px;
}

.iconos {
  width: 80px;
  height: 80px;
}

.cart p {
  font-size: 17px;
  color: #222222;
}

.titulo-seccion {
  position: relative;       
  display: inline-block; 
  font-size: 2rem;
  color: #1d1d1d;
  margin-bottom: 40px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.titulo-seccion::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  height: 3px;
  background-color: #000000;   /* color de la línea */
  border-radius: 2px;
}

.cont3{
  width: 100%;
  background: url('../Media/fondo5.jpg') no-repeat center center/cover;
  background-color: #505050;
  height: 180px;
}

.text2{
  text-align: center;
  padding: 30px 0;
  color: #ffffff;
}

/*PARTE DE CARTAS*/
.Cartas {
  display: flex;
  justify-content: center; /* centra horizontalmente */
  align-items: flex-start;
  gap: 20px; /* espacio entre las cartas */
  flex-wrap: wrap; /* permite que bajen si no entran en la pantalla */
  padding: 20px 0;
   background: url('../Media/fondos/retocada_MG_0791_2.jpg') no-repeat center center/cover;
  background-color: #000000ad;
  
}

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.loader {
  border: 4px solid #ccc;
  border-top: 4px solid #616161; /* rojo industrial */
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Ocultar cuando se carga */
body.loaded #preloader {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease;
}

.card{
  transition: transform 0.3s, box-shadow 0.3s;
  border-radius: 50%;
  background: #161616 !important;
  color: white !important;
  padding: 10px;
}

.card:hover {
  border: 1px solid #6b6b6b;
  transform: scale(1.03);
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}
.card img{
  width: 100%;
  height: 350px;        /* o el tamaño que quieras */
  object-fit: cover;    /* recorta sin deformar */
  border-radius: 5px;
}

.card .carousel-item {
  transition: transform 1.5s ease; /* 1.5 segundos y movimiento más suave */
}
.card p{
  text-align: center;
}
.tit {
  margin-top: 20px;
  width: 100%;
  font-size: 2.5rem;
  text-align: center;
  color: #ffffff;
  margin-bottom: 30px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.tit{
  position: relative;       
  display: inline-block;    
  font-size: 2rem;
  color: #ffffff;
  margin-bottom: 40px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.tit::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  height: 3px;
  background-color: #ffffff;   /* color de la línea */
  border-radius: 2px;
}

/* --- Footer --- */
footer {
  background: linear-gradient(180deg, #4a4a4a 0%, #2e2e2e 100%);
  color: #fff;
  padding: 50px 20px 30px;
  font-family: Arial, Helvetica, sans-serif;
}

/* --- Contenedor principal --- */
.footer-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: start;
  text-align: center;
}

/* --- Títulos de cada bloque --- */
.footer-item h4 {
  font-size: 20px;
  margin-bottom: 12px;
  position: relative;
}

.footer-item h4::after {
  content: "";
  display: block;
  width: 70px;
  height: 3px;
  background-color: #ffffff;
  margin: 6px auto 0;
  border-radius: 2px;
}

/* --- Contenido de los bloques --- */
.info p {
  margin: 10px 0;
  font-size: 16px;
}

.redes img {
  width: 60px;
  margin: 8px;
  transition: transform 0.25s ease, filter 0.3s ease;
}

.redes img:hover {
  transform: scale(1.2);
  filter: brightness(1) invert(0);
}

/* --- Mapa --- */
.mapa iframe {
  width: 100%;
  height: 180px;
  border: none;
  border-radius: 10px;
  box-shadow: 0 0 5px rgba(0,0,0,0.4);
}

/* --- Derechos reservados --- */
.footer-bottom {
  text-align: center;
  margin-top: 40px;
}

.footer-bottom hr {
  border: 0;
  border-top: 1px solid #777;
  width: 80%;
  margin: 0 auto 10px;
}

.footer-bottom a {
  color: #00bcd4;
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .footer-container {
    grid-template-columns: 1fr;
  }

  .redes img {
    width: 35px;
  }
  .mapa iframe {
    height: 200px;
  }
}

/* Parte de Nosotros style */
.cont5{
  background: url('../Media/metal1.jpg') no-repeat center center/cover;
  width: 100%;
  margin-top: 90px;
}

.text3 {
  position: relative;
  z-index: 1;
  color: white;
  text-align: center;
  padding: 30px 0px;
}

.text3 h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.text3 h1::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 480px;
  height: 3px;
  background-color: #a8a8a8; /* color de la línea */
  border-radius: 2px;
}

.text3 p {
  padding: 10px;
  font-size: 1.3rem;
  line-height: 1.6;
  color: #f5f5f5;
}

.cont6 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #ffffff;
  padding: 40px;
  border-radius: 12px;
  gap: 30px;
}
.card-body .btn-banner{
  text-align: center;
  width: 100%;
}
.text4 {
  flex: 1;
  text-align: left;
}

.text4 h1 {
  font-size: 2rem;
  color: #222;
  margin-bottom: 15px;
}

.text4 p {
  font-size: 1.1rem;
  color: #292929;
  line-height: 1.6;
}

.img4 {
  flex: 1;
  display: flex;
  justify-content: center;
}

.img4 img {
  max-width: 400px;
  width: 100%;
  border-radius: 10px;
}

/* Responsive (para móviles) */
@media (max-width: 768px) {
  .cont5 {
    margin-top: 20px;
  }
  .cont6 {
    flex-direction: column;
    text-align: center;
  }
  .img4 {
    margin-top: 20px;
  }
  .text4 {
    text-align: center;
  }
  .text3 h1::after {
  width: 100px;
  }
}

/* Carta nosotros*/
.cont7 {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 30px;
  padding: 50px;
  background-color: #acacac;
}

.card1 {
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  flex: 1 1 300px;
  max-width: 400px;
  padding: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card1:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.788);
}

.card1 h1 {
  color: #222;
  font-size: 1.6rem;
  margin-bottom: 15px;
  text-align: center;
}

.card1 p, .card1 ul {
  color: #555;
  font-size: 1.05rem;
  line-height: 1.6;
  text-align: left;
}

.card1 ul {
  list-style: none;
  padding: 0;
}

.card1 ul li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 20px;
}

.card1 ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #000000; /* rojo industrial */
  font-weight: bold;
}

/* Responsive */
@media (max-width: 900px) {
  .cont7 {
    flex-direction: column;
    align-items: center;
    padding: 30px 20px;
  }
  .card1 {
    max-width: 100%;
  }
}

/*Diseño de proyectos*/
.cont8{
  background: url('../Media/fondos/retocada_MG_0791_2.jpg') no-repeat center center/cover;
  width: 100%;
  margin-top: 90px;
}
.work-circles {
  margin-top: 50px;
}

.work-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}

.work-item {
  text-align: center;
  width: 180px;
}

/* Círculo para foto */
.circle-photo {
  width: 150px;
  height: 150px;
  background: #9e9e9e; /* cambia este color si querés */
  border-radius: 10%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  transition: transform 0.25s ease, filter 0.3s ease;
}

.circle-photo:hover {
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.788);
  transform: scale(1.1);
}

/* Imagen recortada dentro del círculo */
.circle-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* recorta bien la foto */
}

.circle-title {
  font-size: 15px;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  line-height: 1.2;
}

.cont9 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgb(209, 209, 209);
  background-image: linear-gradient(to right, #b3b1b1, #FFFFFF);
  padding: 40px;
  gap: 30px;
}

.text5 {
  flex: 1;
  text-align: left;
}

.text5 h1 {
  font-size: 2rem;
  color: #222;
  margin-bottom: 15px;
}

.text5 p {
  font-size: 1.1rem;
  color: #292929;
  line-height: 1.6;
}

.img4 {
  flex: 1;
  display: flex;
  justify-content: center;
}

.img5 img {
  box-shadow: 0 6px 25px rgb(0, 0, 0);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 400px;
  width: 100%;
  border-radius: 10px;
}

/* Responsive (para móviles) */
@media (max-width: 768px) {
  .cont9 {
    flex-direction: column;
    text-align: center;
  }
  .cont8{
    margin-top: 30px;
  }
  .img5 {
    margin-top: 20px;
  }
  .text5 {
    text-align: center;
  }
}

.contacto-invitacion {
  background: url("../Media/negocio.jpg") center/cover no-repeat;
  background-color: #000;
  color: #f5f5f5;
  text-align: center;
  padding: 60px 20px;
}

.Textocontact{
padding: 200px 0;
color: #f5f5f5;
}
.contacto-invitacion p {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.titu{
  width: 100%;
  height: 70px;
  background-color: #1d1d1d;
  text-align:left;
}
.titu h1{
  color: white;
  padding: 10px 50px;
}
/*CATEGORIASSS*/
/* Fondo oscuro tipo banner */
.categoria-section {
  background: linear-gradient(180deg, #0b0b0b, #1a1a1a);
  padding-bottom: 80px;
  padding-top: 80px;
}

/* Título */
.categoria-title {
  color: #fff;
  font-weight: 700;
  font-size: 2.4rem;
  letter-spacing: 1px;
}

/* Descripción */
.categoria-desc {
  max-width: 800px;
  color: #cfcfcf;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Tarjetas de imagen */
.img-card {
  background: #111;
  padding: 10px;
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid #2c2c2c;
  transition: 0.3s;
}

.img-card img {
  border-radius: 10px;
  width: 100%;

}

/* Hover elegante */
.img-card:hover {
  transform: scale(1.03);
  border-color: #aaaaaa;
}
.img-card h5{
  color: #fff;
text-align: center;
margin: 10px;
}
.img-card b{
  color: #fff;

}
.img-card p{
color: #fff;
text-align: left;
margin: 1px;
width: 100%;

}

/*PESTAÑA DE SERVICIOS*/
.cont12 {
  background: 
    linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
    url('../Media/fondos/fondotit.jpg') no-repeat center center/cover;
  width: 100%;
  padding: 60px 0; /* espacio arriba y abajo */
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 90px;
}

.text12 {
  text-align: center;
  color: #fff;
}

.text12 h1 {
  font-size: 3rem;
  font-weight: 700;
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Línea inferior mejorada */
.text12 h1::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  max-width: 350px;
  height: 4px;
  background: linear-gradient(90deg, #f2f2f2, #a8a8a8, #f2f2f2);
  border-radius: 5px;
}

/* Efecto suave al pasar el mouse */
.text12 h1:hover {
  transform: scale(1.03);
  transition: 0.3s ease;
}

.linea2{
  background-color: #141414;
  height: 10px;
  width: 100%;
}

.Galeria {
  background-color: #000;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    height: 500px;
}

.imagen {
    width: 20%;
    height: 500px;
    position: relative;
    overflow: hidden;
}

.imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(0,0,0,0.45);
    color: #fff;
    text-align: center;
    padding: 10px;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

/* ✔ Efecto hover: imagen + texto se agrandan */
.imagen:hover img {
    transform: scale(1.05);
}

.imagen:hover .overlay {
    transform: scale(1.05);
}
/* 📱 Celular (menos de 768px) */
@media (max-width: 768px) {
  .Galeria {
    height: auto;
  }

  .imagen {
    width: 20%;
    height: 220px;
  }

  .overlay {
    font-size: 0.9rem;
    padding: 6px;
  }
}
/* CONTENEDOR GENERAL DE CADA BLOQUE */
.service-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 45px 30px;
  background: #1d1d1d;
  gap: 40px;
  border-bottom: 5px solid #383838; /* línea gris metalúrgica */
}

/* Alternancia izquierda/derecha */
.service-block.left .service-text {
  order: 1;
}

.service-block.left .service-img {
  order: 2;
}

.service-block.right .service-text {
  order: 2;
}

.service-block.right .service-img {
  order: 1;
}

/* TEXTO */
.service-text {
  flex: 1;
  color: #e6e6e6;
}

.service-text h1 {
  font-size: 2rem;
  margin-bottom: 12px;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-left: 5px solid #c7c7c7; /* línea gris metalúrgica */
  padding-left: 12px;
}

.service-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #d4d4d4;
}

/* IMÁGENES */
.service-img {
  flex: 1;
  display: flex;
  justify-content: center;
}

.service-img img {
  width: 100%;
  max-width: 520px;
  border-radius: 10px;
  box-shadow: 0 6px 25px rgba(0,0,0,0.6);
  transition: transform 0.3s ease;
}

/* Hover SOLO en la imagen */
.service-img img:hover {
  transform: scale(1.05);
}

/* RESPONSIVE */
@media (max-width: 768px) {

  .service-block {
    flex-direction: column;
    text-align: center;
    padding: 35px 20px;
  }
  .text12 h1{
    font-size: 2rem;
  }
  .service-text {
    order: 1 !important;
    text-align: center;
  }

  .service-img {
    order: 2 !important;
    margin-top: 10px;
  }

  .service-text h1 {
    border-left: none;
    border-bottom: 4px solid #c7c7c7;
    padding-left: 0;
    padding-bottom: 8px;
    display: inline-block;
  }
}



/*FORMULARIO*/ 


#cont-img {
    background: 
        linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), /* oscurece la imagen */
        url("../Media/fondos/fondotit.jpg") no-repeat center center/cover; 
    height: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Estilo del form encima del fondo */

.form-card {
    box-shadow: 10px 6px 25px rgb(0, 0, 0) !important;
    background: rgba(255, 255, 255, 0.767);
    max-width: 500px;
    border-radius: 12px;
   margin-top: 90px;
  }

  .title-metal {
    font-weight: 700;
    letter-spacing: 1px;
    color: #333;
  }

  .line-metal {
    height: 3px;
    width: 80px;
    background: #777;
    margin: 0 auto;
    border-radius: 10px;
  }

  .captcha-box {
    background: #333;
    color: white;
    font-size: 20px;
    border-radius: 8px;
    min-width: 90px;
    text-align: center;
    user-select: none;
  }

  @media (max-width: 768px) {
  
.form-card {
   margin-top: 10px;
  }
  }
#volque{
     width: 100%;
  height: 250px;        /* o el tamaño que quieras */
  object-fit: cover;    /* recorta sin deformar */
  border-radius: 5px;
}
#horn{
  width: 100%;
  height: 350px;        /* o el tamaño que quieras */
  object-fit: cover;    /* recorta sin deformar */
  border-radius: 5px;
}
#caj{
     width: 100%;
  height: 250px;        /* o el tamaño que quieras */
  object-fit: cover;    /* recorta sin deformar */
  border-radius: 5px;
}
  #repuesto{
    width: 100%;
  height: 200px;        /* o el tamaño que quieras */
  object-fit: cover;    /* recorta sin deformar */
  border-radius: 5px;
}

#bobina{
  width: 100%;
  height: 350px;        /* o el tamaño que quieras */
  object-fit: cover;    /* recorta sin deformar */
  border-radius: 5px;
}