const VehicleImage = ({ src, alt }) => {
  return (
    <div className="w-full h-52 overflow-hidden rounded-t-xl bg-gray-100">
      <img
        src={src}
        alt={alt}
        className="w-full h-full object-cover transition-transform duration-500 ease-out group-hover:scale-110"
        loading="lazy"
      />
    </div>
  );
};

export default VehicleImage;
