.hero {
  position: relative;
  width: 100%;
  height: 500px; /* Ajusta la altura según sea necesario */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  object-fit: cover; /* Asegura que la imagen cubra el espacio */
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  padding: 20px;
  border-radius: 10px;
}

.btn1-custom {
  background: rgba(255, 255, 255, 1);
  padding: 10px 21px;
  margin: 10px;
  top: 0;
  left: 0;
  border-radius: 100px; /* Se puede simplificar */
  overflow: hidden;
}

.text-primary {
  color: #121212 !important;
  top: 16px;
  left: 32px;
  font-family: 'Open Sans', sans-serif !important;
  font-weight: 600; /* 'SemiBold' es equivalente a 600 en CSS */
  font-size: auto;
  text-align: center;
}

.text-primary:hover {
  color: #ffffff !important;
}

.filtro1 {
  background: #F45B53;
  padding: 10px 10px;
  margin: 10px;
  top: 0;
  left: 0;
  border-radius: 20px; /* Se puede simplificar */
  overflow: hidden;
}

.filtro2 {
  background: #5358F4;
  padding: 10px 10px;
  margin: 10px;
  top: 0;
  left: 0;
  border-radius: 20px; /* Se puede simplificar */
  overflow: hidden;
}

.filtro3 {
  background: #53F491;
  padding: 10px 10px;
  margin: 10px;
  top: 0;
  left: 0;
  border-radius: 20px; /* Se puede simplificar */
  overflow: hidden;
}

.orden{
  display: flex;
  gap: 10px; /* Espaciado entre los botones */
  flex-wrap: nowrap; /* Evita que los filtros se apilen */
}

.filtrillos{
  display: inline-block; /* Para asegurar el tamaño adecuado */
  padding: 10px 10px;
  border-radius: 20px;
  overflow: hidden;
}

button.btn.btn-primary {
  background: linear-gradient(
        180deg,
        rgb(233, 149, 73) 0%,
        rgb(244, 91, 83) 100%
      );
}

input[type="range"]::-webkit-slider-thumb {
  background: linear-gradient(
        180deg,
        rgb(233, 149, 73) 0%,
        rgb(244, 91, 83) 100%
      );
}

a.btn.btn-primary {
  background-color: white; /* Fondo blanco */
  color: black; /* Texto negro */
  border: 2px solid black; /* Borde negro para mayor contraste */
  border-radius: 50px; /* Bordes redondeados */
  padding: 10px 30px; /* Ajusta el tamaño del botón */
  font-weight: bold;
}

button.btn.btn-outline-secondary {
  border-radius: 50px; /* Bordes redondeados */
  padding: 10px 30px; /* Ajusta el tamaño del botón */
  color: white;
  font-weight: bold;
}

input[type="checkbox"]:checked {
  background: linear-gradient(
    180deg,
    rgb(233, 149, 73) 0%,
    rgb(244, 91, 83) 100%
  );
}

/*Cambiar por colores preferidos despues*/
.badge.bg-secondary {
  background-color: #2d2f2d !important; 
  color: white !important; 
  border-radius: 4px; 
  padding: 12px 12px;
  font-size: 14px; 
  display: inline-block;
}

.truncate-description {
  display: -webkit-box;
  -webkit-line-clamp: 3; /* Número de líneas visibles */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-primary:focus,
.btn-primary:active,
.btn-primary:focus-visible {
  box-shadow: 0 0 0 0.25rem rgba(255, 123, 0, 0.5); /* Naranja personalizado */
  outline: none;
}

/* Asegurar que el slider comience desde la izquierda */
input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  background: linear-gradient(to right, #6c757d 0%, #6c757d var(--value, 0%), #dee2e6 var(--value, 0%), #dee2e6 100%);
  border-radius: 4px;
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 15px;
  height: 15px;
  background: linear-gradient(0deg, rgba(244,91,83,1), rgba(233,149,73,1));
  border-radius: 50%;
  cursor: pointer;
}

/* Estilos para los trabajos */
.trabajo-item {
  transition: all 0.3s ease;
  display: flex;
}

.no-results {
  display: none;
}

.btn-secondary {
  background-color: #121212 !important;
  color: #ffffff !important;
  border-radius: 40px;
  padding-left: 30px;
  padding-right: 30px;
  overflow: hidden;
}